﻿#header-wrap.transparent,
#header.transparent-header {
    background-color: transparent !important;
}
#header {
    position: absolute;
}
#logo img {
    width: auto !important;
}
.header-row {
    display: flex;
    justify-content: flex-start;
}
.primary-menu {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
}

.one-page-menu.menu-container {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.col_full {
    vertical-align: middle;
}

.landing-container {
    display: none;
    opacity: 1;
}

/* slider */
.landing-slider {
    display: flex;
    flex-direction: column;
    align-content: flex-end;
    justify-content: space-between;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    min-height: 900px;
}
.slider-element .container,
.slider-element .container-fuild {
    height: auto;
}

/*
.landing-zs-slider {background-image: url(https://wwwctn.blob.core.windows.net/ff81db8f-c661-450b-a8ab-47e77239dc67/promos/landing-page/mg-zs-back-desktop.jpg);}
.landing-zs-2-slider {background-image: url(https://wwwctn.blob.core.windows.net/ff81db8f-c661-450b-a8ab-47e77239dc67/promos/landing-page/mg-zs-2-back-desktop.jpg);}
.landing-hs-slider {background-image: url(https://wwwctn.blob.core.windows.net/ff81db8f-c661-450b-a8ab-47e77239dc67/promos/landing-page/mg-hs-back-desktop.jpg);}
.landing-hs-2-slider {background-image: url(https://wwwctn.blob.core.windows.net/ff81db8f-c661-450b-a8ab-47e77239dc67/promos/landing-page/mg-hs-2-back-desktop.jpg);}
.landing-mg5-slider {background-image: url(https://wwwctn.blob.core.windows.net/ff81db8f-c661-450b-a8ab-47e77239dc67/promos/landing-page/mg-mg5-back-desktop.jpg);}
.landing-rx8-slider {background-image: url(https://wwwctn.blob.core.windows.net/ff81db8f-c661-450b-a8ab-47e77239dc67/promos/landing-page/mg-rx8-back-desktop.jpg);}
.landing-gt-slider {background-image: url(https://wwwctn.blob.core.windows.net/ff81db8f-c661-450b-a8ab-47e77239dc67/promos/landing-page/mg-gt-back-desktop.jpg);}
.landing-rx5-slider {background-image: url(https://wwwctn.blob.core.windows.net/ff81db8f-c661-450b-a8ab-47e77239dc67/promos/landing-page/mg-rx5-back-desktop.jpg);}
.landing-one-slider {background-image: url(https://wwwctn.blob.core.windows.net/ff81db8f-c661-450b-a8ab-47e77239dc67/promos/landing-page/mg-one-back-desktop.jpg);}
.landing-ehs-slider {background-image: url(https://wwwctn.blob.core.windows.net/ff81db8f-c661-450b-a8ab-47e77239dc67/promos/landing-page/mg-ehs-back-desktop.jpg);}
.landing-zsev-slider {background-image: url(https://wwwctn.blob.core.windows.net/ff81db8f-c661-450b-a8ab-47e77239dc67/promos/landing-page/mg-zsev-back-desktop.jpg);}
*/

.slider-container #slider {
    padding: 1rem;
    padding-top: 100px;
}

/* promo buttons */
.container.promo-buttons {
    width: 100%;
    padding-bottom: 40px;
}

.play-button a {
    width: 100%;
    display: flex;
    align-content: center;
    justify-content: flex-end;
}

.play-button a img {
    height: 75px;
    width: auto;
}

.play-button-container {
    width: 40%;
}

.play-path {
    fill: white;
    transition: 0.4s all;
}
.play-path:hover {
    fill: #d42529;
}

.overlay .overlay-wrap {
    transition: 0.4s all;
}
.overlay .overlay-wrap i.icon-line-plus {
    font-size: 4rem;
    margin-left: -2rem;
    margin-top: -2rem;
}

.overlay-wrap .overlay-trigger-icon i {
    padding: 30px;
    font-size: 2rem;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0px;
    top: unset;
    left: unset;
}

.overlay-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-content {
    color: white;
}
.text-content .heading-block {
    margin: 0px;
    border: none;
    border-left: 6px solid #d42529;
}
.text-content h4,
.text-content p {
    text-transform: none;
    color: white;
}
.heading-block::after {
    margin-top: 1rem;
}
.landing-footer {
    background-size: cover;
    border: none !important;
}

.footer-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}
.footer-container img {
    width: 25%;
}
.footer-title,
.footer-subtitle {
    color: white;
}

.footer-title {
    font-size: 2rem;
}
.footer-subtitle {
    font-size: 1rem;
}

.landing-footer .container.center {
    display: flex;
    justify-content: center;
    padding: 0px;
}

#footer .footer-widgets-wrap {
    width: 65%;
    padding: 30px 0px;
}

footer.landing-footer #copyrights,
#footer {
    background-color: black !important;
    color: white;
}

footer.landing-footer #copyrights a {
    color: white;
    transition: all 0.4s;
    text-decoration: underline;
}

footer.landing-footer #copyrights a:hover {
    color: rgba(255, 255, 255, 0.5);
}

.social-icons-container {
    width: fit-content;
    padding: 1rem;
    border-top: 1px solid #d42529;
}

/*social icons*/
.footer-social-icons .si-facebook,
.footer-social-icons .si-twitter,
.footer-social-icons .si-instagram,
.footer-social-icons .si-call,
.footer-social-icons .si-email3,
.footer-social-icons .si-youtube,
.footer-social-icons .si-tiktok {
    color: white;
    transition: 0.4s all;
    padding: 10px;
}

.footer-social-icons .si-facebook:hover,
.footer-social-icons .si-twitter:hover,
.footer-social-icons .si-instagram:hover,
.footer-social-icons .si-call:hover,
.footer-social-icons .si-email3:hover,
.footer-social-icons .si-tiktok:hover,
.footer-social-icons .si-youtube:hover {
    color: rgba(255, 255, 255, 0.5);
    background-color: transparent !important;
}

.footer-social-icons {
    padding-top: 30px;
    display: flex;
    justify-content: center;
}

.footer-social-icons ul li {
    float: left;
}

.container.promo-buttons .row {
    align-items: center;
    align-content: center;
    justify-content: center;
    width: 100%;
}

.promo-buttons,
.services-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: white;
    flex-direction: column;
}

.services-container {
    padding-left: 3rem;
}

.services-container .service-element {
    line-height: 1.2;
    font-size: 1rem;
}

.promo-buttons .models-text {
    color: white;
    font-size: 1.5rem;
    line-height: 1;
    border-right: 1px solid white;
    padding-right: 3rem;
}

.promo-buttons .models-text .title {
    font-size: 2rem;
    font-weight: bolder;
}

.promo-buttons .models-text .subtitle {
    font-size: 1.2rem !important;
}

.promo-buttons .models-text .second-subtitle {
    font-size: 1rem;
}

.promo-buttons .models-text .title,
.promo-buttons .models-text .subtitle,
.promo-buttons .models-text .second-subtitle {
    line-height: 1.2;
}

/**Gallery**/
.insides-container,
.outsides-container {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0px;
}

.bg-overlay-content {
    padding: 0px !important;
}

/* form */
.card {
    border-radius: unset;
}

.check-container {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.text-container {
    padding-top: 2rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.text-container .text-nameplate {
    max-width: 300px;
}

.text-container .subtitle-container {
    color: white;
    font-size: 2.3rem;
}

.text-container .subtitle-container .slide-heading {
    line-height: normal;
    border-left: 6px solid #d42529;
    font-size: 2.2rem;
    font-weight: normal;
    padding-left: 1rem;
}

.controls-container,
.controls-container .card-body {
    background: rgb(49, 50, 51);
    background: linear-gradient(45deg, rgba(49, 50, 51, 1) 0%, rgba(29, 30, 32, 1) 48%, rgba(23, 24, 26, 1) 100%);
    height: 100vh;
    border: none;
}
.card-body h6 {
    font-weight: normal;
}
.controls-container .card-body {
    padding: 4rem 2rem !important;
}

.controls-container .card-body p {
    color: white;
    font-size: 17px !important;
}

.controls-container .card-body h2 {
    font-weight: 400;
    line-height: normal;
}
.separator {
    margin: 1rem 0rem;
    width: 100%;
    height: 1px;
    background-color: white;
}
.title-margin {
    margin-top: 50px;
}

.widget.clearfix {
    margin-top: 30px;
}

.mg-logo-corner {
    transform: skew(0deg);
    width: 33%;
    margin-right: 15px;
}

.landing-page-container,
.form-container {
    background: rgb(49, 50, 51);
    background: linear-gradient(45deg, rgba(49, 50, 51, 1) 0%, rgba(29, 30, 32, 1) 48%, rgba(23, 24, 26, 1) 100%);
    padding: 0 50px;
    height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
}
.card-header-container {
    background-image: url(../images/distribuidores/mg-img-distribuidor.jpg.html);
    width: 100%;
    height: 18vw;
    background-size: cover;
    background-position: center 30%;
    padding: 0px;
    position: relative;
}
.card-header-container div.landing-page-name {
    color: white;
    font-size: 17px;
    position: absolute;
    left: 0;
    bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(-255deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 92%, rgba(0, 0, 0, 0) 92%, rgba(0, 0, 0, 0) 100%);
    width: fit-content;
    height: 50px;
    padding-left: 30px;
    padding-right: 35px;
}

.landing-card {
    border: none !important;
    background-color: #f1f2f2;
}

.card-body .mb-1.color {
    font-weight: 400;
}

.card-body .card-title.mb-2 {
    color: #58595b;
    font-weight: normal;
    margin-bottom: 2vh !important;
}

.card-body:not(.controls) {
    border-bottom: 1px solid #939598;
    margin: 3rem 2rem 0px 2rem;
    padding: 0;
}

.card-body.buttons {
    border-bottom: none;
    margin: 1rem 10px;

    text-align: center;
    display: inline-block;
    vertical-align: middle;
}

.card-body.buttons .button {
    display: inline-block;
    vertical-align: middle;
    margin: 10px 10px 10px 10px !important;
}
.contact-button {
    margin-top: 0px !important;
}

.mobile-footer {
    display: none;
}
.desktop-footer {
    display: block;
}
p.register-text {
    font-size: 0.8rem !important;
    line-height: normal;
}

.register-button-header {
    display: none;
    margin-left: 15px;
}

.slider-element .slide-terms {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    position: absolute;
    bottom: 10px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .card-header-container {
        height: 40vw;
    }
    .card-header-container div.landing-name {
        font-size: 17px;
    }

    /*
    .landing-zs-slider {background-image: url(https://wwwctn.blob.core.windows.net/ff81db8f-c661-450b-a8ab-47e77239dc67/promos/landing-page/mg-zs-back-mobile.jpg);}
    .landing-hs-slider {background-image: url(https://wwwctn.blob.core.windows.net/ff81db8f-c661-450b-a8ab-47e77239dc67/promos/landing-page/mg-hs-back-mobile.jpg);}
    .landing-hs-2-slider {background-image: url(https://wwwctn.blob.core.windows.net/ff81db8f-c661-450b-a8ab-47e77239dc67/promos/landing-page/mg-hs-2-back-mobile.jpg);}
    .landing-mg5-slider {background-image: url(https://wwwctn.blob.core.windows.net/ff81db8f-c661-450b-a8ab-47e77239dc67/promos/landing-page/mg-mg5-back-mobile.jpg);}
    .landing-rx8-slider {background-image: url(https://wwwctn.blob.core.windows.net/ff81db8f-c661-450b-a8ab-47e77239dc67/promos/landing-page/mg-rx8-back-mobile.jpg);}
    .landing-gt-slider {background-image: url(https://wwwctn.blob.core.windows.net/ff81db8f-c661-450b-a8ab-47e77239dc67/promos/landing-page/mg-gt-back-mobile.jpg);}
    .landing-one-slider {background-image: url(https://wwwctn.blob.core.windows.net/ff81db8f-c661-450b-a8ab-47e77239dc67/promos/landing-page/mg-one-back-mobile.jpg);}
    .landing-rx5-slider {background-image: url(https://wwwctn.blob.core.windows.net/ff81db8f-c661-450b-a8ab-47e77239dc67/promos/landing-page/mg-rx5-back-mobile.jpg);}
    .landing-ehs-slider {background-image: url(https://wwwctn.blob.core.windows.net/ff81db8f-c661-450b-a8ab-47e77239dc67/promos/landing-page/mg-ehs-back-mobile.jpg);}
    .landing-zsev-slider {background-image: url(https://wwwctn.blob.core.windows.net/ff81db8f-c661-450b-a8ab-47e77239dc67/promos/landing-page/mg-ehs-back-mobile.jpg);}
    */

    .slider-container #slider {
        padding-top: 100px;
        flex-direction: column;
        justify-content: space-between;
        align-content: space-between;
        padding-bottom: 1rem;
    }

    .text-container {
        padding-top: 1rem;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }
    .text-container .text-nameplate {
        max-width: 50%;
        padding-top: 4rem;
    }

    .text-container .subtitle-container {
        font-size: 1.3rem;
        padding-top: 30px;
    }
    .container,
    #header.full-header .container,
    .container-fullwidth {
        padding: 10px !important;
    }

    #header {
        padding-top: 5px;
    }
    .container.promo-buttons {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .promo-buttons .models-text {
        font-size: 1rem;
        padding: 0 2rem;
    }

    .promo-buttons .models-text .title {
        font-size: 1.4rem;
        font-weight: bold;
    }

    .promo-buttons .models-text .subtitle {
        font-size: 1.2rem !important;
    }
    .container.promo-buttons .row {
        justify-content: flex-end;
        width: 100%;
    }
    .services-container {
        padding: 0px;
        padding-left: 10px;
    }
    .slider-container {
        height: 100vh;
    }
    .play-button-container {
        padding-top: 10px;
        font-size: initial;
    }
    .services-container .service-element {
        font-size: 0.9rem;
    }

    .col-6.clearfix.bgcolor {
        padding: 0px;
    }
    .text-content {
        padding: 2rem !important;
    }
    .text-content h4 {
        font-size: 1.2rem;
    }
    .text-content p {
        font-size: 0.9rem !important;
    }

    .login-register-container input[type="checkbox"] {
        width: 30px;
        height: 30px;
    }

    #copyrights {
        padding: 0px;
    }
    #copyrights .container {
        display: block;
    }
    #footer .footer-widgets-wrap {
        width: 100%;
        padding: 30px 0px;
    }

    .header-size-custom #logo img {
        height: auto;
        width: 100%;
        max-width: 220px;
        max-height: unset;
    }

    .slider-element .slide-terms {
        bottom: -10px;
        left: 0px;
        font-size: 0.5rem;
    }
    .separator {
        width: 90%;
    }

    #header {
        padding-top: 5px;
        width: 100%;
    }
}
@media (max-width: 992px) {
    .desktop-footer {
        display: none;
    }

    .mobile-footer {
        display: block;
    }
    .landing-page-container,
    .form-container {
        height: auto;
    }
    .controls-container,
    .controls-container .card-body {
        height: auto;
    }
}
@media (max-width: 767px) {
    .card-header-container {
        height: 40vw;
    }
    .card-header-container div.landing-name {
        font-size: 17px;
    }

    .landing-page-container {
        height: auto;
        overflow-y: unset;
    }
    .text-container {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    .text-container .text-nameplate {
        max-width: 40%;
        padding-top: 10px;
        margin-right: 1rem;
    }
    .text-container .subtitle-container {
        font-size: 1rem;
        padding-top: 1rem;
    }
    .container,
    #header.full-header .container,
    .container-fullwidth {
        padding: 10px !important;
    }

    .container.promo-buttons {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .promo-buttons .models-text {
        font-size: 1rem;
        padding: 0px;
    }

    .promo-buttons .models-text .title {
        font-size: 1.2rem;
        font-weight: bold;
    }

    .promo-buttons .models-text .subtitle {
        font-size: 1rem !important;
    }
    .promo-buttons .models-text .second-subtitle {
        font-size: 0.7rem !important;
    }
    .container.promo-buttons .row {
        justify-content: flex-end;
    }
    .services-container {
        padding: 0px;
        padding-left: 10px;
    }
    .slider-container {
        height: 100vh;
    }
    .play-button-container {
        padding-top: 10px;
        font-size: initial;
    }
    .services-container .service-element {
        font-size: 0.7rem;
    }

    .col-6.clearfix.bgcolor {
        padding: 0px;
    }
    .text-content {
        padding: 1.2rem !important;
    }
    .text-content h4 {
        font-size: 1rem;
    }
    .text-content p {
        font-size: 0.7rem !important;
    }

    .login-register-container input[type="checkbox"] {
        width: 30px;
        height: 30px;
    }

    #copyrights {
        padding: 0px;
    }
    #copyrights .container {
        display: block;
        font-size: 0.6rem;
    }
    #footer .footer-widgets-wrap {
        width: 100%;
        padding: 30px 0px;
    }
    .register-button-header {
        display: block;
    }

    .slider-element .slide-terms {
        max-width: 70%;
        left: 0px;
        bottom: 0px;
        font-size: 0.5rem;
        line-height: 1;
    }
    .text-container .subtitle-container .slide-heading {
        font-size: 1.5rem;
    }
}
@media (max-width: 767px) and (orientation: portrait) {
    .slide-heading img.logo-buen-fin,
    .text-container .text-nameplate {
        height: 25vw;
    }

    .slider-container,
    .landing-slider {
        min-height: 100vh !important;
    }
    .play-button-container {
        width: 40%;
    }
    .slider-element .slide-terms {
        width: auto;
        text-align: left;
    }
    .play-button a img {
        height: 50px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 1040px;
    }
}

@media (max-width: 330px) {
    #logo img {
        min-width: 130px !important;
        width: 130px !important;
        height: auto !important;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .col-6.services-container {
        max-width: 33.33333%;
    }
    .col-6.models-text {
        max-width: 33.333333%;
    }
    .play-container {
        max-width: 33.333333%;
    }

    .slider-element .slide-terms {
        max-width: 75%;
    }
}
