/* 
* Adrc slider
 */

.drc_tab_slider {
    display: block;
}

.drc_tab_slider .drc_slider-main {
    width: 100%;
}

.drc_tab_slider .carousel-nav {
    width: 100%;
}


/* 
* Adrc tabs
 */

.drc_tabs {}

.drc_tabs .tab-content {
    position: relative;
}

.drc_tabs .tab-content .brand-logo {
    position: absolute;
    padding: 5% 0 5%;
    top: 0;
    left: 50%;
    max-width: 385px;
    transform: translateX(-50%);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.drc_tabs .tab-content .brand-logo img {
    max-width: 142px;
    width: 100%;
}

.drc_tabs .tab-content .brand-logo .logo-link {
    display: flex;
    margin-bottom: 30px;
    width: 100%;
}

.drc_tabs .tab-content .brand-logo .button {
    font-size: 12px;
    margin: 0;
}

.drc_tabs .tab-content .tab-content-inner {
    position: relative;
    width: 100%;
}

.drc_tabs .tab-content .tab-content-inner img {
    height: auto;
    width: 100%;
}

.drc_tabs .tab_nav {
    display: none;
}

.drc_tabs .tab_nav .nav-item {
    position: relative;
    /* border-bottom: 1px solid #f3f3f3; */
    cursor: pointer;
}

.drc_tabs .tab_nav .nav-item:nth-child(1) {
    border-bottom: 1px solid #f3f3f3;
}

.drc_tabs .tab_nav .nav-item:nth-child(1):after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #f3f3f3;
    position: absolute;
    left: 0;
    top: 0;
}

.drc_tabs .tab_nav .nav-item:after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #f3f3f3;
    position: absolute;
    left: 0;
    bottom: 0;
}

.drc_tabs .tab_nav .nav-item a {
    display: inline-block;
}

.drc_tabs .tab_nav .nav-item a h3 {
    font-size: 30px;
    color: #3C3C3C !important;
    margin-bottom: 10px;
}

.drc_tabs .tab_nav .nav-item a .description {
    font-size: 16px;
    color: #3C3C3C;
}


/* 
* Adrc custom title
 */

.drc-title {
    display: flex;
    width: 100%;
}

.drc-title>div {
    width: 100%;
}

.drc-title .section-title-center {
    text-align: center;
}

.drc-title.section-title-container .drc-sub-title {
    font-size: 24px;
    font-weight: 600;
}

.drc-title.section-title-container .drc-main-title {
    font-size: 48px;
    font-weight: 400;
}

.drc-title .section-title a {
    margin: 0;
    padding: 0;
}

.ap-custom-title .ap-custom-sub-title {
    font-size: 18px;
    line-height: 30px;
}

.ap-custom-title .ap-custom-main-title {}


/* Custom video */

.drc_video>.mobile-video {
    display: none;
}

.module-video {
    background-position: top center;
    background-repeat: no-repeat;
    overflow: hidden;
    min-height: 400px;
    height: 100%;
    position: relative;
}

.placeholder-image {
    right: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    top: 0;
    position: absolute;
    object-position: 50% 50%;
    object-fit: cover;
    font-family: 'object-fit: cover;';
}

.module-video iframe {
    top: 0 !important;
}

.module-video video,
.module-video source {
    bottom: 0;
    left: 0;
    min-height: 100%;
    min-width: 100%;
    position: absolute;
}

.loaded .ytplayer-container {
    display: block;
}

.loaded .placeholder-image {
    opacity: 0;
}

.ytplayer-container {
    bottom: 0;
    height: 100%;
    left: 0;
    min-width: 100%;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 3;
}


/* .placeholder-image {
    height: 100%;
    left: 0;
    min-height: 100%;
    min-width: 100%;
    position: fixed;
    top: 0;
    z-index: 1;
} */

.ytplayer-shield {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
}

.ytplayer-player {
    position: absolute;
}

@media (max-width: 1099px) {
    .drc_tabs .tab-content {
        display: block !important;
        margin-bottom: 30px;
    }
}

@media (max-width: 990px) {
    .drc_video .module-video {
        display: none;
    }
    .drc_video>.mobile-video {
        display: block;
    }
}

@media (max-width: 768px) {
    .drc_tabs .tab-content {
        margin-bottom: 10px;
    }
    .drc-title h3.sub-title {
        font-size: 18px;
    }
    .drc-title.section-title-container h2.main-title {
        font-size: 28px;
    }
    .drc_tabs .tab-content .brand-logo {}
    .drc_tabs .tab-content .brand-logo .button {
        font-weight: normal;
    }
}

@media (min-width: 640px) {
    .drc_tabs .tab-content .brand-logo {
        padding: 10% 0 5%;
    }
    .drc_tabs .tab-content .brand-logo img {
        max-width: 260px;
    }
    .drc_tabs .tab-content .brand-logo .button {
        font-size: 16px;
    }
}

@media (min-width: 1100px) {
    .drc_tab_slider {
        width: 100%;
    }
    .drc_tabs {
        display: flex;
        width: 100%;
    }
    /* Style left: 60% right: 40% */
    .drc_tabs .tab-contents,
    .drc_tabs.style-6-4 .tab-contents {
        width: 55%;
    }
    .drc_tabs .tab_nav,
    .drc_tabs.style-6-4 .tab_nav {
        width: 45%;
    }
    /* Style left: 50% right: 50% */
    .drc_tabs.style-5-5 .tab-contents {
        width: 50%;
    }
    .drc_tabs.style-5-5 .tab_nav {
        width: 50%;
    }
    /* Style left: 40% right: 60% */
    .drc_tabs.style-4-6 .tab-contents {
        width: 45%;
    }
    .drc_tabs.style-4-6 .tab_nav {
        width: 55%;
    }
    .drc_tabs .tab-content .brand-logo {
        padding: 15% 0 5%;
    }
    .drc_tabs .tab-content .brand-logo img {
        max-width: 385px;
    }
    .drc_tabs .tab-content .brand-logo .button {
        font-size: 18px;
        line-height: 48px;
        min-height: 50px;
        font-weight: normal;
    }
    .drc_tabs .tab_nav {
        display: flex;
        flex-direction: column;
        padding: 0 !important;
    }
    .drc_tabs .tab_nav .nav-item {
        flex: 1;
        display: flex !important;
        align-items: center;
        padding: 15px 20% 15px 156px!important;
        position: relative;
        width: 100%;
        z-index: 99;
    }
    .drc_tabs .tab_nav .nav-item::before {
        background-color: #F7FBFF;
        content: "";
        display: none;
        position: absolute;
        top: 0;
        left: -40px;
        height: 100%;
        width: 40px;
    }
    .drc_tabs .tab_nav .nav-item.active {
        background-color: #F7FBFF;
    }
    .drc_tabs .tab_nav .nav-item.active {
        padding-left: 116px !important;
    }
    .drc_tabs .tab_nav .nav-item.active::before {
        display: block;
    }
    .drc_tabs .tab-content .brand-logo .logo-link {
        display: flex;
        margin-bottom: 126px;
        width: 100%;
    }
    .drc-title.section-title-container .drc-sub-title {}
    .drc-title.section-title-container .drc-main-title {
        line-height: 96px;
    }
    .ap-custom-title .ap-custom-sub-title {
        font-size: 30px;
        line-height: 50px;
    }
}

.form_drc-advanced-search-v2 {
    position: relative;
    padding: 15px 0;
}

.advanced_search_loading {
    background-color: rgba(255, 255, 255, 0.8);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    z-index: 99;
    max-width: 250px;
    height: 100%;
    width: 100%;
}

.advanced_search_loading.active {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: .5rem;
    row-gap: 1.5rem;
    width: 100%;
}


/* 
.advanced_search_loading:after {
    content: "Processing data";
    color: #cb1d29;
    flex: 0 100%;
    font: 700 1.3rem "Caveat", cursive;
    text-align: center;
} */

.advanced_search_loading div {
    background-color: #cb1d29;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: loading-effect 1s cubic-bezier(.77, .8, .58, 1) infinite var(--delay, .2s) alternate-reverse;
}

.advanced_search_loading div:nth-child(2) {
    --delay: .4s;
}

.advanced_search_loading div:nth-child(3) {
    --delay: .6s;
}

.advanced_search_loading div:nth-child(4) {
    --delay: .8s;
}

.advanced_search_loading div:nth-child(5) {
    --delay: 1s;
}

@keyframes loading-effect {
    0% {
        box-shadow: 0 0 4px 1px #fff3;
        opacity: .2;
        transform: translateY(3px) scale(1.1);
    }
    100% {
        opacity: .8;
        transform: translateY(-3px);
    }
}