:root {
    --beige: #EAE9E4;
    --blue: #144f76;
    --light-pink: #d0938f;
}

.d-flex {
    display: flex;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.flex-direction-column {
    flex-direction: column;
}

.object-fit-cover img {
    object-fit: cover;
}

.object-position-left img {
    object-position: left;
}

.object-position-right img {
    object-position: right;
}

/*Gradient overlay for banner*/
.gradient-overlay {
    position: relative;
}

.gradient-overlay::before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background: linear-gradient(160deg, var(--blue) 0%, rgba(25, 82, 119, 0.97) 26.11%, rgba(85, 115, 138, 0.64) 62.56%, rgba(199, 179, 173, 0) 100%);
    opacity: 0.66;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}

/*Formats styles*/
.subtitle,
.subtitle h2.et_pb_module_heading {
    text-transform: uppercase;
    font-size: 16px;
    font-family: 'Aaux Next Medium', sans-serif !important;
    line-height: calc(30 / 16);
    letter-spacing: calc((50 / 1000) * 16px);
}

.medium-container {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.uppercase-text {
    text-transform: uppercase;
}

/*Instagram Feed styles*/
.section-instagram-feed .sb_instagram_header {
    padding-bottom: 25px;
}

.section-instagram-feed .sbi_feedtheme_title_wrapper h3 {
    color: var(--blue) !important;
    font-weight: 400;
    font-size: 25px;
    font-family: 'petersburg-web', sans-serif;
    padding-bottom: 5px;
}

.section-instagram-feed .sb_instagram_header:not(.sbi_centered) .sbi_feedtheme_header_text .sbi_bio_info {
    display: none;
}

.section-instagram-feed #sb_instagram .sbi_meta {
    color: var(--light-pink);
}

.section-instagram-feed #sb_instagram .sbi_meta svg path {
    fill: var(--light-pink);
}

.section-instagram-feed #sb_instagram .sbi_bio {
    max-width: 550px;
    font-size: 16px;
    font-family: 'Aaux Next Medium', sans-serif;
}

.section-instagram-feed #sb_instagram .sbi_info {
    text-align: left;
}

.section-instagram-feed #sb_instagram .sbi_info p,
.section-instagram-feed #sb_instagram .sbi_meta {
    padding-left: 0;
}

.section-instagram-feed #sb_instagram .sbi_meta > span:first-child {
    margin-left: 0 !important;
}

.section-instagram-feed .sbi-owl-dots .sbi-owl-dot span {
    width: 10px;
    height: 10px;
}

.section-instagram-feed .sbi-owl-dots .sbi-owl-dot span:focus {
    opacity: .25 !important;
}

.section-instagram-feed .sbi_carousel .sbi_dot.sbi_active:nth-of-type(n+2) {
    opacity: 0 !important;
    pointer-events: none !important;
}


.content-with-image h2 {
    font-weight: 400;
}

/*Custom button style*/
.custom-button {
    max-width: 258px;
    width: 100%;
    text-align: center;
    font-weight: 500 !important;
    transition: background-color .3s ease-in-out, border-color .3s ease-in-out, color .3s ease-in-out;
}

body #page-container .et_pb_button.custom-button:focus,
body #page-container .et_pb_button.btn-lightbox-video--play:focus {
    background-color: var(--blue) !important;
    color: var(--beige) !important;
    border-color: var(--blue) !important;
}

.parallax-image-with-content {
    overflow: hidden;
    position: relative;
}

/*Fancybox toolbar top position*/
body.admin-bar .fancybox-toolbar {
    top: 32px;
}

/*Styles for button which open lightbox video*/
.btn-lightbox-video.btn-lightbox-video--play {
    width: 128px;
    height: 128px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.btn-lightbox-video.btn-lightbox-video--play span {
    display: block;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 22.5px 0 22.5px 45px;
    border-color: transparent transparent transparent var(--beige);
    transform: rotate(0deg);
    margin-left: 10px;
}

.full-image-wrapper:has(.btn-lightbox-video):before {
    content: '';
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

.full-image-wrapper:has(.btn-lightbox-video):hover:before {
    cursor: pointer;
    opacity: .3;
}

/*Change z-index for fancybox*/
.fancybox-container {
    z-index: 99999;
}

/*Parallax image styles. Class for column where image*/
.parallax-image {
    position: relative;
}

.parallax-image .et_pb_image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    clip-path: inset(0);
}

.parallax-image img {
    position: fixed;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: -1;
}

/*Parallax image style for reverse section*/
.full-image-wrapper-reverse.parallax-image img {
    left: unset;
    right: 0;
}

/*Jarallax class for column where image*/
.jarallax {
    position: relative;
    z-index: 1;
}

.jarallax .jarallax-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.full-image-wrapper-reverse.jarallax .jarallax-img {
    object-position: left !important;
}

.full-image-wrapper.jarallax .jarallax-img {
    object-position: right !important;
}

/* Styles for section with video background */
.section-video-bg {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Styles for iframe background */
.section-video-bg iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Ensure wrapper fills the section */
.section-video-bg .fluid-width-video-wrapper {
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
}

/* Ensure column fills the section height */
.section-video-bg .et_pb_column {
    height: 100%;
}

/* Styles for video and its container */
.section-video-bg .et_pb_video_box,
.section-video-bg .et_pb_video_box video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.banner-video h1 {
    font-weight: 400;
}

.parallax-image-with-content h1,
.parallax-image-with-content h2,
.parallax-image-with-content h3,
.parallax-image-with-content h4,
.parallax-image-with-content h5 {
    font-weight: 400;
}

/*Tablet down*/
@media screen and (max-width: 980px) {
    .et_pb_section_parallax.et_pb_column_empty.et_pb_column {
        display: block;
    }

    .mb-flex-reverse {
        flex-flow: column-reverse;
    }

    .mb-flex-wrap {
        flex-wrap: wrap;
    }

    .mb-w-100 {
        width: 100%;
    }

    .et_mobile_device .et_pb_section_parallax .et_pb_parallax_css {
        background-attachment: fixed !important;
    }

    .parallax-image img {
        width: 100% !important;
    }

    .section-video-bg .section-video-bg__vimeo {
        transform: scale(1.7);
    }
}

/*Mobile down*/
@media screen and (max-width: 767px) {
    .section-video-bg .section-video-bg__vimeo {
        transform: scale(2.5);
    }

    .section-instagram-feed .sbi-owl-dots .sbi-owl-dot:hover span {
        opacity: .25;
    }

    .section-instagram-feed .sbi-owl-dots .sbi-owl-dot.active:hover span {
        opacity: 1;
    }
}

/*Tablet up*/
@media screen and (min-width: 980px) {
    .full-image-wrapper {
        margin-right: 15px !important;
    }

    .full-image-wrapper-reverse {
        margin-left: 15px !important;
    }

    .column-width-35 {
        width: 35% !important;
    }

    .column-width-65 {
        width: 65% !important;
    }

    .mb-20 {
        margin-bottom: 20px;
    }

    .parallax-image.column-width-65 img {
        width: 65% !important;;
    }
}






