/* ============================================================
   RED ROPE BOOTSTRAP / ASTRA
   Custom styles only
   ============================================================

   IMPORTANT:
   Bootstrap 4 is responsible for:
       .container
       .row
       .col-*
       .img-fluid
       .d-*
       .flex-*
       .m-*
       .p-*
       etc.

   This file should NOT recreate Bootstrap's grid.

   The .rr-bootstrap wrapper is used only to scope Red Rope's
   custom styles and prevent them leaking into the rest of
   the WordPress/Astra site.
   ============================================================ */


/* ============================================================
   1. RED ROPE WRAPPER
   ============================================================ */

.rr-bootstrap {
    box-sizing: border-box;
}

.rr-bootstrap *,
.rr-bootstrap *::before,
.rr-bootstrap *::after {
    box-sizing: border-box;
}


/* ============================================================
   2. IMAGES
   ============================================================ */

/* Bootstrap normally supplies .img-fluid.
   This is kept here as a defensive rule for Red Rope content. */

.rr-bootstrap .img-fluid,
.rr-bootstrap .img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}


/* ============================================================
   3. RED ROPE CONTENT FIGURES
   ============================================================ */

.rr-bootstrap .rr_content-image,
.rr-bootstrap .rr-content-image {
    margin-bottom: 1.25rem;
}

.rr-bootstrap .rr_content-image img,
.rr-bootstrap .rr-content-image img {
    display: block;
}


/* Mobile image behaviour */

@media (max-width: 600px) {

    .rr-bootstrap figure.rr_content-image,
    .rr-bootstrap figure.rr-content-image {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    .rr-bootstrap figure.rr_content-image img,
    .rr-bootstrap figure.rr-content-image img {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

}


/* ============================================================
   4. RED ROPE SPACING
   ============================================================

   Only keep these if Bootstrap's own utility classes are not
   available on the relevant page.
   ============================================================ */

.rr-bootstrap .m-0 {
    margin: 0 !important;
}

.rr-bootstrap .mt-1 {
    margin-top: .25rem !important;
}

.rr-bootstrap .mt-2 {
    margin-top: .5rem !important;
}

.rr-bootstrap .mt-3 {
    margin-top: 1rem !important;
}

.rr-bootstrap .mt-4 {
    margin-top: 1.5rem !important;
}

.rr-bootstrap .mt-5 {
    margin-top: 3rem !important;
}

.rr-bootstrap .mt-6 {
    margin-top: 4.5rem !important;
}

.rr-bootstrap .mb-1 {
    margin-bottom: .25rem !important;
}

.rr-bootstrap .mb-2 {
    margin-bottom: .5rem !important;
}

.rr-bootstrap .mb-3 {
    margin-bottom: 1rem !important;
}

.rr-bootstrap .mb-4 {
    margin-bottom: 1.5rem !important;
}

.rr-bootstrap .mb-5 {
    margin-bottom: 3rem !important;
}

.rr-bootstrap .mb-6 {
    margin-bottom: 4.5rem !important;
}

.rr-bootstrap .p-0 {
    padding: 0 !important;
}

.rr-bootstrap .p-1 {
    padding: .25rem !important;
}

.rr-bootstrap .p-2 {
    padding: .5rem !important;
}

.rr-bootstrap .p-3 {
    padding: 1rem !important;
}

.rr-bootstrap .p-4 {
    padding: 1.5rem !important;
}

.rr-bootstrap .p-5 {
    padding: 3rem !important;
}

.rr-bootstrap .pb-0 {
    padding-bottom: 0 !important;
}

.rr-bootstrap .pb-1 {
    padding-bottom: .25rem !important;
}

.rr-bootstrap .pb-2 {
    padding-bottom: .5rem !important;
}

.rr-bootstrap .pb-3 {
    padding-bottom: 1rem !important;
}

.rr-bootstrap .pb-4 {
    padding-bottom: 1.5rem !important;
}

.rr-bootstrap .pb-5 {
    padding-bottom: 3rem !important;
}

.rr-bootstrap .pt-0 {
    padding-top: 0 !important;
}

.rr-bootstrap .pt-1 {
    padding-top: .25rem !important;
}

.rr-bootstrap .pt-2 {
    padding-top: .5rem !important;
}

.rr-bootstrap .pt-3 {
    padding-top: 1rem !important;
}

.rr-bootstrap .pt-4 {
    padding-top: 1.5rem !important;
}

.rr-bootstrap .pt-5 {
    padding-top: 3rem !important;
}

.rr-bootstrap .px-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.rr-bootstrap .px-4 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.rr-bootstrap .py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.rr-bootstrap .py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}


/* ============================================================
   5. RED ROPE IMAGE ZOOM / CROPPING
   ============================================================ */

.rr-bootstrap .rr-zoom-1,
.rr-bootstrap .rr-zoom-2,
.rr-bootstrap .rr-zoom-3,
.rr-bootstrap .rr-zoom-4 {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.rr-bootstrap .rr-zoom-1 img,
.rr-bootstrap .rr-zoom-2 img,
.rr-bootstrap .rr-zoom-3 img,
.rr-bootstrap .rr-zoom-4 img {
    display: block;
    border-radius: inherit;
}


/* Scale crop */

.rr-bootstrap .rr-zoom-1 img {
    transform: scale(1.09);
    transform-origin: center;
    margin: -12px !important;
}


/* Caption space when zoom crop is used */

.rr-bootstrap figure:has(img.rr-zoom-1) {
    padding-bottom: 34px !important;
    z-index: 9999;
}


/* ============================================================
   6. RED ROPE WIDTH UTILITIES
   ============================================================ */

.rr-bootstrap .w-25 {
    width: 25% !important;
}

.rr-bootstrap .w-50 {
    width: 50% !important;
}

.rr-bootstrap .w-75 {
    width: 75% !important;
}

.rr-bootstrap .w-100 {
    width: 100% !important;
}


/* ============================================================
   7. RED ROPE DISPLAY UTILITIES
   ============================================================ */

.rr-bootstrap .d-block {
    display: block !important;
}

.rr-bootstrap .d-inline {
    display: inline !important;
}

.rr-bootstrap .d-inline-block {
    display: inline-block !important;
}

/*
.rr-bootstrap .d-flex {
    display: flex !important;
}
*/
.rr-bootstrap .d-none {
    display: none !important;
}


/* ============================================================
   8. RED ROPE FLEX UTILITIES
   ============================================================

   These are intentionally NOT applied to rows or columns.
   They only apply when the corresponding utility class is
   explicitly placed on an element.
   ============================================================ */

.rr-bootstrap .flex-row {
    flex-direction: row !important;
}

.rr-bootstrap .flex-column {
    flex-direction: column !important;
}

.rr-bootstrap .justify-start {
    justify-content: flex-start !important;
}

.rr-bootstrap .justify-center {
    justify-content: center !important;
}

.rr-bootstrap .justify-end {
    justify-content: flex-end !important;
}

.rr-bootstrap .justify-between {
    justify-content: space-between !important;
}

.rr-bootstrap .justify-around {
    justify-content: space-around !important;
}

.rr-bootstrap .align-start {
    align-items: flex-start !important;
}

.rr-bootstrap .align-center {
    align-items: center !important;
}

.rr-bootstrap .align-end {
    align-items: flex-end !important;
}


/* ============================================================
   9. TEXT UTILITIES
   ============================================================ */

.rr-bootstrap .text-left {
    text-align: left !important;
}

.rr-bootstrap .text-center {
    text-align: center !important;
}

.rr-bootstrap .text-right {
    text-align: right !important;
}

.rr-bootstrap .text-muted {
    color: #6c757d !important;
}

.rr-bootstrap .text-bold {
    font-weight: 700 !important;
}

.rr-bootstrap .text-italic {
    font-style: italic !important;
}


/* ============================================================
   10. BORDER UTILITIES
   ============================================================ */

.rr-bootstrap .border {
    border: 1px solid #dee2e6 !important;
}

.rr-bootstrap .border-0 {
    border: 0 !important;
}

.rr-bootstrap .border-top {
    border-top: 1px solid #dee2e6 !important;
}

.rr-bootstrap .border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}

.rr-bootstrap .border-left {
    border-left: 1px solid #dee2e6 !important;
}

.rr-bootstrap .border-right {
    border-right: 1px solid #dee2e6 !important;
}

.rr-bootstrap .rounded {
    border-radius: .25rem !important;
}

.rr-bootstrap .rounded-sm {
    border-radius: .2rem !important;
}

.rr-bootstrap .rounded-lg {
    border-radius: .5rem !important;
}


/* ============================================================
   11. SHADOW UTILITIES
   ============================================================ */

.rr-bootstrap .shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

.rr-bootstrap .shadow {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

.rr-bootstrap .shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.15) !important;
}


/* ============================================================
   12. POSITION UTILITIES
   ============================================================ */

.rr-bootstrap .position-relative {
    position: relative !important;
}

.rr-bootstrap .position-absolute {
    position: absolute !important;
}

.rr-bootstrap .position-fixed {
    position: fixed !important;
}


/* ============================================================
   13. FLOAT UTILITIES
   ============================================================ */

.rr-bootstrap .float-left {
    float: left !important;
}

.rr-bootstrap .float-right {
    float: right !important;
}

.rr-bootstrap .float-none {
    float: none !important;
}

.rr-bootstrap .clearfix::after {
    content: "";
    display: block;
    clear: both;
}


/* ============================================================
   14. BACKGROUND UTILITIES
   ============================================================ */

.rr-bootstrap .bg-light {
    background-color: #f8f9fa !important;
}

.rr-bootstrap .bg-white {
    background-color: #fff !important;
}

.rr-bootstrap .bg-dark {
    background-color: #343a40 !important;
    color: #fff !important;
}

.rr-bootstrap .bg-primary {
    background-color: #007bff !important;
    color: #fff !important;
}

.rr-bootstrap .bg-secondary {
    background-color: #6c757d !important;
    color: #fff !important;
}


/* ============================================================
   15. OVERFLOW
   ============================================================ */

.rr-bootstrap .overflow-hidden {
    overflow: hidden !important;
}

.rr-bootstrap .overflow-auto {
    overflow: auto !important;
}


/* ============================================================
   16. CARDS
   ============================================================ */

.rr-bootstrap .card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
}

.rr-bootstrap .card-body {
    flex: 1 1 auto;
    padding: 1.25rem;
}

.rr-bootstrap .card-title {
    margin-bottom: .75rem;
    font-size: 1.25rem;
}

.rr-bootstrap .card-text {
    margin-top: 0;
    margin-bottom: 1rem;
}

.rr-bootstrap .card-img-top {
    width: 100%;
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
}


/* ============================================================
   17. BUTTONS
   ============================================================ */

.rr-bootstrap .btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition:
        background-color .15s ease-in-out,
        border-color .15s ease-in-out;
}

.rr-bootstrap .btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.rr-bootstrap .btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.rr-bootstrap .btn-light {
    color: #212529;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}


/* ============================================================
   18. ALERTS
   ============================================================ */

.rr-bootstrap .alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.rr-bootstrap .alert-primary {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}

.rr-bootstrap .alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.rr-bootstrap .alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.rr-bootstrap .alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}


/* ============================================================
   19. BADGES
   ============================================================ */

.rr-bootstrap .badge {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

.rr-bootstrap .badge-primary {
    color: #fff;
    background-color: #007bff;
}

.rr-bootstrap .badge-secondary {
    color: #fff;
    background-color: #6c757d;
}

.rr-bootstrap .badge-success {
    color: #fff;
    background-color: #28a745;
}


/* ============================================================
   20. LIST GROUPS
   ============================================================ */

.rr-bootstrap .list-group {
    display: block;
    padding-left: 0;
    margin-bottom: 1rem;
}

.rr-bootstrap .list-group-item {
    position: relative;
    display: block;
    padding: .75rem 1.25rem;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);
}

.rr-bootstrap .list-group-item + .list-group-item {
    border-top-width: 0;
}

.rr-bootstrap .list-group-item.active {
    z-index: 2;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}


/* ============================================================
   21. MEDIA OBJECT
   ============================================================ */

.rr-bootstrap .media {
    display: flex;
    align-items: flex-start;
}

.rr-bootstrap .media-body {
    flex: 1;
}


/* ============================================================
   22. CALLOUT / FEATURE BOX
   ============================================================ */

.rr-bootstrap .callout {
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border-left: .25rem solid #007bff;
    background-color: #f8f9fa;
}

.rr-bootstrap .feature-block {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: .25rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}


/* ============================================================
   23. NAV TABS
   ============================================================ */

.rr-bootstrap .nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

.rr-bootstrap .nav-tabs .nav-item {
    margin-bottom: -1px;
}

.rr-bootstrap .nav-tabs .nav-link {
    border: 1px solid transparent;
    padding: .5rem 1rem;
}

.rr-bootstrap .nav-tabs .nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}


/* ============================================================
   24. PROGRESS BARS
   ============================================================ */

.rr-bootstrap .progress {
    display: flex;
    height: 1rem;
    overflow: hidden;
    background-color: #e9ecef;
    border-radius: .25rem;
}

.rr-bootstrap .progress-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-color: #007bff;
}


/* ============================================================
   25. TABLES
   ============================================================ */

.rr-bootstrap .table {
    width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    border-collapse: collapse;
}

.rr-bootstrap .table th,
.rr-bootstrap .table td {
    padding: .75rem;
    border-top: 1px solid #dee2e6;
}

.rr-bootstrap .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,.05);
}

.rr-bootstrap .table-bordered {
    border: 1px solid #dee2e6;
}

.rr-bootstrap .table-bordered th,
.rr-bootstrap .table-bordered td {
    border: 1px solid #dee2e6;
}

/* ============================================================
   HOME PAGE — EXPLORE RED ROPE — FOUR COLUMNS
   ============================================================ */

.rr-bootstrap .rr-section-inner > .row {
    display: flex;
    flex-wrap: wrap;
}

.rr-bootstrap .rr-section-inner > .row > .col-12 {
    position: relative;
    width: 100%;
}

@media (min-width: 768px) {
    .rr-bootstrap .rr-section-inner > .row > .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* custom override - clyclone slider */

.cycloneslider-template-standard .cycloneslider-pager span {
    background: #8FB996 !important;
    border-color: #8FB996 !important;
}

.cycloneslider-template-standard .cycloneslider-pager span.cycle-pager-active {
    background: #EB0E0E !important;
    border-color: #EB0E0E !important;
}



/* prevent search spyglass wrap  */
@media (min-width: 922px) and (max-width: 1128px) {

    #ast-desktop-header .main-header-menu {
        flex-wrap: nowrap !important;
        overflow: hidden !important;
    }

}

/* SAFARI FOOTER DEBUGGING *//*
@supports (-webkit-touch-callout: none) {

    .site-footer-below-section,
    .site-footer-below-section-1,
    .site-footer-below-section-1 .ast-footer-copyright,
    .site-footer-below-section-1 .ast-builder-layout-element {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    box-shadow: none !important;
    transform: none !important;
}

}*/
/*
@supports (-webkit-touch-callout: none) {

    #colophon,
    .site-footer,
    .site-primary-footer-wrap,
    .site-below-footer-wrap,
    .site-below-footer,
    .ast-builder-grid-row-container,
    .ast-builder-grid-row-container-inner {

        margin-left: 0 !important;
        margin-right: 0 !important;

        padding-left: 0 !important;
        padding-right: 0 !important;

        left: 0 !important;
        right: 0 !important;

        transform: none !important;

        width: 100% !important;
        max-width: 100% !important;

        outline: 2px dashed red !important;
    }
}

@supports (-webkit-touch-callout: none) {

    #colophon {
        overflow-x: hidden !important;
    }

}*/