.home .master_header,
.home .customnav {
    background-color: transparent !important;
    transition: 300ms all ease;
}

.home .master_header {
    position: fixed;
}

.home .top_bar_wrapper {
    background-color: #fff0;
}

.home .top_bar .multiple_currency_widget .form-control {
    background: #fff0;
    border: 1px solid #8a8f9a;
}

.home .mobile_header {
    background-color: #fff0;
    transition: 300ms all ease;
}

.home.scrolled .mobile_header {
    background-color: #fff;
}

.home.scrolled .top_bar .multiple_currency_widget .form-control {
    background: #fff0;
    border: 1px solid var(--color-secondary);
    color: var(--color-secondary);
}

.home .mobile_header i {
    color: #fff;
}

.home.scrolled #sidebar_currency_list,
.home.scrolled .left-top-widet .widget-container p {
    color: var(--color-secondary);
}

.home.scrolled .top_bar_wrapper {
    background-color: #fff;
}

.home.scrolled .mobile_header i {
    color: var(--color-secondary);
}

.home.scrolled .master_header,
.home .customnav {
    background-color: var(--color-secondary) !important;
}

.home .master_header.navbar-fixed-top-master,
.home .customnav {
    background-color: #ffffff !important;
}

.home .logo img {
    filter: brightness(0) invert(1);
}

.home.scrolled .logo img {
    filter: none;
}

.home .menu_username,
.home #access .with-megamenu .sub-menu li:hover>a,
.home .signuplink,
.home #access ul.menu>li>a,
.home #access a,
.home #access ul ul a,
.home #access .menu li:hover>a,
.home #access .menu li:hover>a:active,
.home #access .menu li:hover>a:focus {
    color: #fff;
}

.home.scrolled .menu_username,
.home.scrolled #access .with-megamenu .sub-menu li:hover>a,
.home.scrolled .signuplink,
.home.scrolled #access ul.menu>li>a,
.home.scrolled #access a,
.home.scrolled #access ul ul a,
.home.scrolled #access .menu li:hover>a,
.home.scrolled #access .menu li:hover>a:active,
.home.scrolled #access .menu li:hover>a:focus {
    color: var(--color-secondary);
}

.home .mobile-logo img {
    filter: brightness(0) invert(1);
}

.home.scrolled .mobile-logo img {
    filter: none;
}

.youtube-header-video {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.youtube-header-video__wrapper {
    display: flex;
    justify-content: center;
    height: 100%;
    width: 100%;
    align-items: center;
    position: absolute;
}

.youtube-header-video__player,
.youtube-header-video__player-mobile {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background: #f3f3f3;
    overflow: hidden;
}

.youtube-header-video__player {
    height: 100%;
}

.youtube-header-video__player::after,
.youtube-header-video__player-mobile::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #000;
    opacity: 0.3;
}

.youtube-header-video__player-mobile {
    overflow: hidden;
    aspect-ratio: 9/16;
}

.youtube-header-video__player-mobile::before {
    content: "";
    display: block;
    padding-top: 177.78%;
}

.youtube-header-video__player-mobile .plyr {
    position: absolute;
    aspect-ratio: 9/16;
    top: 0;
}

.youtube-header-video__player-mobile .youtube-header-video__image {
    aspect-ratio: 9/16;
    background-size: cover;
    background-position: center;
    width: 100%;
    display: block;
}

.youtube-header-video__player.video-play .youtube-header-video__image,
.youtube-header-video__player-mobile.video-play .youtube-header-video__image {
    opacity: 0;
}

.youtube-header-video__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: opacity 300ms ease;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/wcAAwAB/epKkioAAAAASUVORK5CYII=");
    background-position: center;
    min-height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
}

.youtube-header-video__image--mobile {
    object-fit: cover;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    aspect-ratio: 9/16;
    object-position: center;
}

.youtube-header-video__inner {
    width: 100%;
    height: 100%;
    position: relative;
    bottom: 0;
    z-index: 10;
}

.youtube-header-video__content {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translate3d(0, -50%, 0);
}

.youtube-header-video__heading {
    text-align: center;
    margin-bottom: 40px;
}

.youtube-header-video__heading--title,
.youtube-header-video__heading--subtitle {
    color: #fff;
}

.youtube-header-video__heading--title {
    font-size: 52px;
    will-change: opacity, transform;
    opacity: 1;
    visibility: visible;
    animation: fadeIn 1s ease-in-out;
    margin-bottom: 20px;
}

.youtube-header-video__heading--subtitle {
    font-size: 32px;
    margin-bottom: 52px;
}

.youtube-header-video__heading--mobile-filter {
    display: block;
    width: 100%;
    min-height: 200px;
}

@media (min-width: 991px) {
    .youtube-header-video__heading--mobile-filter {
        display: none;
    }
}

.plyr {
    height: 100%;
    width: 100%;
}

.plyr .plyr__video-preview {
    display: none !important;
}

.youtube-header-video__player .plyr__video-wrapper {
    position: absolute !important;
    top: -100px;
    width: 150vw !important;
    height: 150vh !important;
}

@media (max-width: 768px) and (max-height: 768px) {
    .youtube-header-video {
        min-height: calc(768px + 60px) !important;
    }

    .plyr__video-wrapper {
        min-height: calc(768px + 60px) !important;
    }
}

@media (min-width: 1024px) {
    .home .master_header.navbar-fixed-top-master .top_bar_wrapper {
        opacity: 0 !important;
    }
}

#adv-search-mobile {
    margin-bottom: 0;
}

@media (max-width: 512px) {
    .youtube-header-video {
        min-height: calc(100vh + 100px);
        height: 100%;
        margin-bottom: 30px;
    }

    .youtube-header-video__heading {
        padding-inline: 20px;
        width: 100%;
        height: auto;
        min-height: 200px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }

    .youtube-header-video__inner {
        bottom: 0;
    }

    .youtube-header-video__content {
        /* top: auto;
    bottom: -150px;
    transform: translate3d(0, 0, 0); */
        top: 0;
        bottom: 0;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: end;
        justify-content: end;
        transform: translate3d(0, 0, 0);
        height: 100%;
    }

    .youtube-header-video__heading--title {
        font-size: 32px;
        margin-bottom: 20px;
        will-change: opacity, transform;
        opacity: 1;
        visibility: visible;
        animation: fadeIn 1s ease-in-out;
    }

    .youtube-header-video__heading--subtitle {
        font-size: 22px;
        will-change: opacity, transform;
        opacity: 1;
        visibility: visible;
        animation: fadeIn 1s ease-in-out;
    }
}

@media (max-width: 764px) {
    .youtube-header-video__player .plyr__video-wrapper {
        position: absolute !important;
        top: -20%;
        left: -65%;
        width: 250% !important;
        height: 100% !important;
    }

    .youtube-header-video__player-mobile .plyr__video-wrapper {
        top: -95px !important;
    }

    .youtube-header-video__heading--mobile-filter{
        max-height: 400px;
    }
}

@media screen and (max-width: 512px) and (min-height: 800px) {
    .youtube-header-video {
        min-height: calc(100vh + 50px);
        height: 100%;
        margin-bottom: 60px;
    }

    .youtube-header-video__player-mobile .plyr__video-wrapper {
        top: -57px !important;
    }
}

@media (min-width: 1025px) {
    .youtube-header-video__player-mobile {
        opacity: 0;
        visibility: hidden;
    }
}

@media (max-width: 1024px) {
    .youtube-header-video__player.with-mobile-video {
        display: none;
    }
}

@media (min-width: 764px) and (max-width: 1024px) {
    .youtube-header-video__player-mobile .plyr__video-wrapper {
        transform: scale(1.4);
    }
}

.listing_video_player .image_thumbnail {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: all 300ms ease;
}

.listing_video_desktop.video-play .image_thumbnail,
.listing_video_mobile.video-play .image_thumbnail {
    opacity: 0;
    visibility: hidden;
}

.content_wrapper.listing_wrapper {
    max-width: 100%;
}

.listing_video_player .video_wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.listing_video_player.with-mobile-video .listing_video_desktop {
    visibility: hidden;
}

@media (min-width: 515px) {
    .listing_video_player.with-mobile-video .listing_video_desktop {
        visibility: visible;
    }

    .listing_video_player.with-mobile-video .listing_video_mobile {
        opacity: 0;
        visibility: hidden;
    }
}

@media (max-width: 515px) {
    .listing_video_player.with-mobile-video .listing_video_mobile {
        opacity: 1;
        visibility: visible;
    }
}

@media screen and (max-width: 512px) {
    .youtube-header-video__heading--title {
        min-height: 83px;
    }

    .youtube-header-video__heading--subtitle {
        min-height: 48px;
    }

    .youtube-header-video__heading--mobile-filter{
        min-height: 380px;
    }
}

.listing_video_mobile .plyr {
    width: 100vw;
    height: 100vh;
    top: 0;
}

.listing_video_mobile .plyr__video-wrapper {
    width: 100vw;
    height: 100%;
    top: -90px;
    position: absolute;
}

.listing_video_desktop .plyr__video-wrapper {
    position: absolute;
    width: 110vw;
    height: 110vh;
    top: -10px;
}

@media (max-width: 400px) and (min-height: 750px) {
    .listing_video_mobile .plyr__video-wrapper {
        top: -140px;
    }
}

@media (max-width: 674px) {
    .listing_video_desktop .plyr__video-wrapper {
        width: 120vw;
        height: 380px;
        top: 0;
        left: -10%;
    }
}

@media (max-width: 512px) {
    .listing_video_desktop .plyr__video-wrapper {
        width: 170vw;
        height: 85vh;
        top: -50%;
        transform: scale(1.3);
    }
}

@media (min-width: 674px) and (max-width: 991px) {
    .listing_video_desktop .plyr__video-wrapper {
        width: 130vw;
        height: 90vh;
        top: -50%;
        left: 0;
    }
}

@media (min-width: 1024px) {
    .listing_video_desktop .plyr__video-wrapper {
        transform: scale(1.2);
    }
}

@media (min-width: 1024px) and (max-width: 1700px) {
    .listing_video_desktop .plyr__video-wrapper {
        height: 110%;
    }
}

@media (min-width: 500px) and (max-width: 1024px) {
    .listing_video_desktop .plyr__video-wrapper {
        top: -30%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}