.slider-caption.top-left {
    max-width: 33.333%;
    justify-content: flex-start;
    top: 12vh;
}

.nameplate-container,
.slogan-container,
.price-buttons-container,
.services-container {
    margin: 1rem 0px;
}

.nameplate-container img {
    max-width: 180px;
}

.slider-caption.bottom-right {
    top: unset !important;
    bottom: 12vh;
    max-width: unset;
    position: absolute;
    display: flex;
    justify-content: flex-end;
    right: 10px;
}

#features-section {
    background-color: #fff;
    padding: 2rem;
}

.home-section {
    width: 100vw;
    height: calc(100vh - 100px);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-items: flex-start;
    align-items: flex-start;
    min-height: 700px;
}
.home-section.content-bottom {
    align-items: flex-end;
}

#new-hs-section {
    background-image: url(../images/home/mg-ev-section-estacion-back.jpg);
    flex-direction: column;
    justify-content: space-between;
    padding: 50px 0;
}
#new-hs-section .parallax-left-left-container {
    padding-bottom: 0;
}
#technology-section {
    background-image: url(../images/home/mg-ev-section-bateria-back.jpg);
}
#engine-section {
    background-image: url(../images/home/mg-ev-section-motores-back.jpg);
}
#control-section {
    background-image: url(../images/home/mg-ev-section-udidad-control-back.jpg);
}

.new-hs-image-container {
    margin-top: 3rem;
    margin-left: 2rem;
}

.section-nameplate {
    max-width: 350px;
    height: auto;
}
.feature-box .fbox-content h3.title {
    color: var(--themecolor);
    font-size: 1.5rem;
    font-family: var(--themefont);
    text-transform: none;
}
.feature-box .fbox-content h5.subtitle {
    color: var(--textcolor);
    font-size: 1rem;
    font-family: var(--themefont);
    text-transform: none;
}
.fbox-border.fbox-effect .fbox-icon i {
    color: var(--textcolor);
}
.fbox-border.fbox-effect .fbox-icon i:hover,
.fbox-border.fbox-effect:hover .fbox-icon i {
    color: #fff;
    box-shadow: 0 0 0 1px var(--themecolor);
}
.fbox-border.fbox-effect .fbox-icon i:hover,
.fbox-border.fbox-effect:hover .fbox-icon i .top-cart-item-image:hover,
.grid-filter.style-3 li.activeFilter a,
.post-timeline .entry:hover .entry-timeline,
.post-timeline .entry:hover .timeline-divider,
.cart-product-thumbnail img:hover,
.fbox-outline .fbox-icon a,
.fbox-border .fbox-icon a,
.heading-block.border-color::after,
.page-item.active .page-link,
.page-link:focus,
.dark .cart-product-thumbnail img:hover {
    border-color: var(--textcolor);
}
.fbox-border.fbox-effect .fbox-icon i::after {
    background-color: var(--themecolor);
}

.border-left-blue {
    border-left: 1px solid var(--themecolor);
}
.one-page-arrow {
    bottom: 0px;
}

#content {
    z-index: 900;
}

/** coming soon takeover **/

#takeover .modal-content {
    border: none;
}
#takeover .modal-body .row {
    justify-content: space-between;
    flex-direction: column;
    height: 85vh;
}

#takeover .modal-content .modal-body {
    background-image: url(../images/zs-presale/mg-zs-2023-takeover-back-desktop.html);
    background-size: cover;
    background-position: center;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    overflow: hidden;
    min-height: 750px;
}
#takeover .modal-body.takeover-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    height: 10%;
    z-index: 99;
}

#takeover .modal-body.takeover-footer {
    display: flex;
    justify-content: space-between;
    height: 10%;
    margin-top: 30px;
}

#takeover .modal-body.takeover-footer .takeover-footer-logo,
#takeover .modal-body.takeover-footer .takeover-footer-enjoy {
    height: 50px;
}

#takeover .modal-body.takeover-title {
    color: white;
    font-size: 35px;
}

#takeover .close.close-modal,
.fancybox-close-small,
.close.back {
    top: 10% !important;
    right: 10% !important;
}

.video-container {
    height: calc(100vh - 140px);
    min-height: 500px;
}

#takeover .takeover-title {
    font-size: 2.9rem;
    font-weight: lighter;
}

.mfp-container {
    padding: 0;
}

.fancybox-close-small:after {
    font-size: 40px !important;
    font-weight: lighter !important;
    border: none !important;
    color: white !important;
    width: unset !important;
    height: unset !important;
    top: unset !important;
    right: unset !important;
}

.fancybox-close-small {
    position: absolute;
    z-index: 10;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 1) !important;
    width: 40px;
    height: 40px;
    transition: 0.4s all;
    color: white !important;
    opacity: 1;
    border-radius: 0 !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.fancybox-close-small:hover,
.fancybox-close-small:focus {
    opacity: 0.5;
    color: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
}
.fancybox-bg,
.mfp-bg,
.dark .bg-overlay-bg,
.bg-overlay-bg.dark {
    background-color: rgba(0, 0, 0, 0.8) !important;
}
.fancybox-close-small:hover:after {
    color: #fff !important;
    background: transparent !important;
}

@media (min-width: 768px) {
    .btn.btn-sm {
        padding: 0.35rem 1.7rem;
        font-size: 1.1rem;
        margin: 5px 5px;
    }
}

@media (max-width: 1024px) {
    .parallax-left-left-container {
        padding-left: 30px;
        padding-right: 30px;
        background-color: rgba(0, 0, 0, 0.5);
    }
    #new-hs-section {
        background-image: url(../images/home/mg-ev-section-estacion-back-mobile.jpg);
    }
    #technology-section {
        background-image: url(../images/home/mg-ev-section-bateria-back-mobile.jpg);
    }
    #engine-section {
        background-image: url(../images/home/mg-ev-section-motores-back-mobile.jpg);
    }
    #control-section {
        background-image: url(../images/home/mg-ev-section-udidad-control-back-mobile.jpg);
    }
    .new-hs-image-container {
        margin-top: 3rem;
        margin-left: 0;
        text-align: center;
    }
    .section-nameplate {
        max-width: 300px;
    }
    .home-section {
        height: calc(100vh - 60px);
        min-height: 700px;
    }
    .border-left-blue {
        border-left: none;
    }
}

@media (max-width: 767px) {
    .btn-sm,
    .btn-group-sm > .btn {
        font-size: 0.7rem;
        margin: 5px;
    }

    #takeover .modal-body.takeover-rx8 .takeover-header {
        flex-direction: column;
    }
    #takeover .modal-body.takeover-rx8 .takeover-title {
        font-size: 20px;
    }
    #takeover .modal-body.takeover-rx8 .takeover-footer {
        flex-direction: column;
    }

    #takeover .close.close-modal,
    .fancybox-close-small,
    .close.back {
        top: 5% !important;
        right: 5% !important;
    }
    #takeover .slider-arrow-left,
    #takeover .slider-arrow-right,
    #takeover .action.action-close {
        margin: 0px;
    }
}

@media (max-height: 610px) and (max-width: 767px) {
    .swiper-slide,
    #slider.slider-element.swiper_wrapper {
        min-height: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .car-slider-image,
    .slotholder {
        left: 30% !important;
    }
    .description-container {
        font-size: 1.5vw !important;
        line-height: 15px;
    }
    .slider-text-container {
        max-width: 100% !important;
    }
    .price-buttons-container {
        max-width: 50% !important;
        align-items: flex-start;
        margin-left: 10px;
    }
    .enjoy-container {
        top: 255px !important;
        right: 10px;
    }

    .enjoy-container img {
        max-height: 100px;
    }

    .find-dealer-right {
        width: 85%;
        top: 50px;
    }
}

@media (max-width: 519px) {
    .car-slider-selection {
        padding: 2vh 10px 10vh;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .slider-caption.bottom-right {
        bottom: 35vh;
    }

    .price-buttons-container {
        left: 4vw !important;
        align-items: flex-start;
        bottom: 15%;
    }

    .enjoy-container {
        bottom: 42%;
        width: 20%;
        top: unset !important;
        left: 4vw;
    }

    .slider-text-container {
        top: 2vh !important;
        left: 0px;
    }
    .slider-text-container .title-container img {
        max-width: 180px;
    }

    .title-container.title-with-labels {
        padding: 2vw 11vw 1vw 10vw;
    }

    .title-container.title-container.title-with-labels img {
        max-width: 160px;
    }

    .title-label.year {
        font-size: 1.5rem;
    }

    .slider-caption.price-buttons-container .button.button-large {
        padding: 0 17px;
        font-size: 12px;
        height: 34px;
        line-height: 34px;
    }

    .find-dealer-right {
        margin: 0px;
        margin-top: 80vh;
    }

    .about-us-container {
        background-position: center;
        background-size: 200%;
    }
    #takeover .close.close-modal,
    .close.back {
        top: 5% !important;
        right: 5% !important;
    }

    #takeover .modal-content .modal-body .row,
    #takeover .modal-content .modal-body {
        min-height: 580px;
        height: auto !important;
    }
}

@media (min-width: 1024px) and (max-height: 800px) {
    .swiper-slide,
    #slider.slider-element.swiper_wrapper {
        min-height: 800px;
    }
}

@media (max-width: 360px) {
    .swiper-slide,
    #slider.slider-element.swiper_wrapper,
    #slider.slider-element.swiper_wrapper .swiper-slide {
        min-height: 100vh;
    }
    #takeover .modal-content .modal-body .row {
        height: 85vh;
    }
    #takeover .modal-content .modal-body {
        height: 85vh !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .nameplate-container img {
        max-width: 75%;
    }
    .slogan-container {
        font-size: 1.5rem;
        width: fit-content;
        max-width: 60%;
    }

    .enjoy-container img {
        max-height: 100px;
    }

    .price-buttons-container {
        max-width: 100% !important;
        flex-direction: row;
        align-items: flex-start;
        margin-left: 10px;
    }
    .nameplate-container,
    .slogan-container,
    .price-buttons-container,
    .price-caption {
        margin: 0.5rem 0px;
        padding: 0.5rem 0px;
    }
    .services-container {
        font-size: 0.9rem;
        padding: 1.2rem 0.7rem;
    }
    .slider-caption .price-caption {
        font-size: 1.6rem;
    }
    #takeover .modal-content .modal-body {
        background-image: url(../images/zs-presale/mg-zs-2023-mini-home-img-mobile.html);
    }
}
