/* CSS for Individual Page */

@import url(index.css);

#homepagePosts article {
    position: relative;
}

#homepagePosts article:nth-child(1):before {
    content: '';
    position: absolute;
    top: 1em;
    z-index: 2;
    left: 1em;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 40px 40px 0 0;
    border-color: #00B8D7 transparent transparent transparent;
}

#homepagePosts article:nth-child(2):before {
    content: '';
    position: absolute;
    top: 1em;
    z-index: 2;
    left: 1em;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 40px 40px 0 0;
    border-color: #EF0078 transparent transparent transparent;
}

#homepagePosts article:nth-child(3):before {
    content: '';
    position: absolute;
    top: 1em;
    z-index: 2;
    left: 1em;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 40px 40px 0 0;
    border-color: #00AD64 transparent transparent transparent;
}

#homepagePosts article:nth-child(1) .elementor-post__meta-data {
    color: #00B8D7;
}

#homepagePosts article:nth-child(2) .elementor-post__meta-data {
    color: #EF0078;
}

#homepagePosts article:nth-child(3) .elementor-post__meta-data {
    color: #00AD64;
}

#homepageClientsGallery .e-gallery-item.elementor-gallery-item {
    max-width: 200px;
}

#homepageClientsGallery a.elementor-gallery-title {
    /* text-decoration: underline; */
    font-size: 1.125rem;
}

#homepageClientsGallery a.elementor-item.elementor-gallery-title.elementor-item-active {
    text-decoration: underline;
}

/* Cannes Lions 2023 Page */

.large-hero-section .cannes-rsvp-section .wp-block-column,
.large-hero-section .flex-basis-auto .wp-block-column {
    flex-basis: auto !important;
}

@media(min-width: 767px) {
    .cannes-rsvp-video {
        margin-top: -50px;
    }
}


#cannesLions2023.twoUp.rev>* {
    /* align-items: start!important; */
}

.cannes-lions-background {
    background-image: url('https://kerv.ai/wp-content/uploads/2023/05/Cannes-Cafe-Blue-1-scaled.webp');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    z-index: 1;
    position: relative;
    min-height: 1200px;
}

.cannes-lions-text {
    color: #f8f7c1;
}

.cannes-lions-cup {
    position: absolute;
    bottom: 0;
    right: 0;
}

#cannesForm {
    z-index: 2;
}

#trbLogo img {
    max-height: 50px !important;
    width: auto !important;
}

nav#cannes2023ScheduleTabs .nav {
    display: flex !important;

}

#cannes2023ScheduleTabs .elementor-tab-title {
    font-weight: 600;
    color: #000;
    text-shadow: none;
}

#cannes2023ScheduleTabs .elementor-tab-title.elementor-active {
    color: #EB0084;
    text-decoration: underline;
    background-color: #f2f2f2;
    border-radius: 10px;
    border: none;
}

#cannes2023ScheduleTabs .elementor-tabs-wrapper {
    border-radius: 10px;
    background: #f2f2f2;
}

#cannes2023ScheduleTabs .elementor-tabs-wrapper {
    border-bottom: none;
}

.nav-tabs.tabbable {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    font-weight: bold;
}

.nav-tabs.tabbable::-webkit-scrollbar {
    -webkit-appearance: none;
}

.nav-tabs.tabbable::-webkit-scrollbar:vertical {
    width: 11px;
}

.nav-tabs.tabbable::-webkit-scrollbar:horizontal {
    height: 11px;
}

.nav-tabs.tabbable::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid white;
    /* should match background, can't be transparent */
    background-color: rgba(0, 0, 0, .5);
}

.nav-tabs.tabbable::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 8px;
}

.cannesSpacerSvg:before {
    content: '';
    left: 0;
    top: -50px;
    height: 50px;
    width: 100%;
    position: absolute;
    background: url('https://kerv.ai/wp-content/uploads/2023/05/blue-pattern.svg');
}

.cannes-content ul>li {
    padding-bottom: 1em;
}

.cannesPartners {
    gap: 40px;
}

#cannesMeetingRequest {
    background-image: url('https://kerv.ai/wp-content/uploads/2023/05/pattern.webp');
    background-color: rgb(24, 23, 36);
}

.cannesVideoContainer video {
    border: 4px solid #EEB5D3;
}

/* @media(min-width: 992px) {
    #cannesForm {
        position: relative;
        top: -200px;
    }
} */

#cannesSpeakers img {
    background-color: none !important;
}

.speaker-image {
    width: 100px;
}

.cannes-speaker-name {}

.cannes-speaker-title {
    color: #A3A3A3;
    margin-bottom: 0;
}

.cannes-speaker-company {
    color: #c9c6c6;
}

@media(min-width: 992px) {
    .cannes-lions-background {
        min-height: 1200px;
    }

    .cannes-images-col img {
        max-width: 50% !important;
    }

    .cannes-images-col {
        transform: translate(-5%, 15%);
    }

    nav#cannes2023ScheduleTabs {
        max-width: 50%;
        margin: 0 auto;
    }

    .cannesVideoContainer {
        position: relative;
    }

    /* 
    .cannesVideoContainer video {
        position: absolute;
        left: 6vw;
    } */
}

@media(max-width: 991px) {
    #cannesLions2023.twoUp.rev>* {
        display: block;
    }

    .cannes-lions-background {
        min-height: 1500px;
    }
}

@media(max-width: 767px) {
    .cannes-lions-cup {
        bottom: -35px;
    }

    .cannes-lions-background {
        max-height: 900px;
    }

    .cannes-hero-text {
        font-size: 2.5rem !important;
    }
}

@media(max-width: 450px) {

    .cannes-lions-background {
        min-height: 1500px;
    }
}

@media(max-width: 367px) {

    .cannes-lions-background {
        min-height: 1500px;
    }
}

@media(min-width: 2500px) {
    .cannes-lions-background {
        min-height: 120vh;
    }
}

.ray-ban-page-header [class*="cls-"] {
    font-family: 'Playfair Display', serif;
}