body {
    padding: 0;
    margin: 0;
    background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 .font-body,
body,
label {
    font-family: Helvetica, sans-serif;
    line-height: normal;
    color: white;
    font-size: 17px;
}

h1 {
    font-size: 3rem;
    margin: none;
    white-space: nowrap;
    font-weight: 400;
}

h5 {
    font-size: 1.5rem;
    white-space: nowrap;
    font-weight: 400;
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
}

.d-none {
    display: none;
}

.wrapper {
    opacity: 0;
}

.center {
    text-align: center !important;
}

/*slider*/
div.juxtapose {
    width: 100vw;
    height: 100vh;
}

div.jx-image.jx-left,
div.jx-image.jx-right {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center !important;
    background-attachment: fixed;
}

div.jx-image.jx-left.mg-left {
    background-image: url(../images/mg-new-home-gv-back.jpg);
}

div.jx-image.jx-right.mg-right {
    background-image: url(../images/mg-new-home-ev-back.jpg);
}

.jx-slider .jx-handle div.jx-controller img {
    display: none;
}
.content-container {
    min-width: 300px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: fit-content;
    padding: 1rem 2rem;
    text-align: center;
    flex-direction: column;
}

div.mg-fv-wrapper {
    position: absolute;
    height: 100%;
    top: 4rem;
    left: 2.5rem;
    border-left: 5px solid #d42529;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

div.mg-ev-wrapper {
    position: absolute;
    height: 100%;
    top: 4rem;
    right: 2.5rem;
    border-right: 5px solid #00b1ff;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
}
div.mg-section-title {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 100%;
    margin-bottom: 1rem;
}
div.ev-section-title {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}
.title-image {
    max-height: 70px !important;
    width: auto !important;
}
.mg-title {
    margin-left: 0.5rem;
}
.mg-button {
    padding: 0.5rem 1.7rem;
    font-size: 1.1rem;
    margin: 5px 5px;
    color: #fff;
    transition: 0.4s all;
    text-decoration: none;
    font-weight: bold;
    z-index: 3;
}

.mg-ev-button {
    background: #00b1ff;
    color: #fff;
    background: linear-gradient(90deg, rgba(0, 177, 255, 1) 0%, rgba(0, 243, 255, 1) 100%);
}
.mg-fv-button {
    background: #d42529;
}

.mg-ev-button:hover {
    box-shadow: 0px 0px 10px 2px #00f3ff;
    opacity: 0.9;
    color: #fff;
}

.mg-fv-button:hover {
    background: #a0121a;
    color: #fff;
}

.takeover-button {
    padding: 1rem 2.2rem;
    font-size: 1.3rem;
    margin: 5px 15px;
}

.transparent-button {
    background: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid white;
    transition: 0.4s all;
    color: white;
}
.transparent-button.no-background {
    background: transparent !important;
}
.transparent-button:hover,
.transparent-button:active,
.transparent-button.no-background:hover {
    background: #d42529 !important;
    color: white;
}

/*social icons*/
.social-icons.mg-fv .si-facebook,
.social-icons.mg-fv .si-twitter,
.social-icons.mg-fv .si-instagram,
.social-icons.mg-fv .si-call,
.social-icons.mg-fv .si-email3,
.social-icons.mg-fv .si-youtube,
.social-icons.mg-fv .si-tiktok,
.social-icons.mg-fv .si-linkedin {
    color: #d42529;
    transition: 0.4s all;
    padding: 10px;
}

.social-icons.mg-fv .si-facebook:hover,
.social-icons.mg-fv .si-twitter:hover,
.social-icons.mg-fv .si-instagram:hover,
.social-icons.mg-fv .si-call:hover,
.social-icons.mg-fv .si-email3:hover,
.social-icons.mg-fv .si-tiktok:hover,
.social-icons.mg-fv .si-youtube:hover,
.social-icons.mg-fv .si-linkedin:hover {
    opacity: 0.5;
}

.social-icons.mg-ev .si-facebook,
.social-icons.mg-ev .si-twitter,
.social-icons.mg-ev .si-instagram,
.social-icons.mg-ev .si-call,
.social-icons.mg-ev .si-email3,
.social-icons.mg-ev .si-youtube,
.social-icons.mg-ev .si-tiktok,
.social-icons.mg-ev .si-linkedin {
    color: #00b1ff;
    transition: 0.4s all;
    padding: 10px;
}

.social-icons.mg-ev .si-facebook:hover,
.social-icons.mg-ev .si-twitter:hover,
.social-icons.mg-ev .si-instagram:hover,
.social-icons.mg-ev .si-call:hover,
.social-icons.mg-ev .si-email3:hover,
.social-icons.mg-ev .si-tiktok:hover,
.social-icons.mg-ev .si-youtube:hover,
.social-icons.mg-ev .si-linkedin:hover {
    opacity: 0.5;
}

.social-icons.mg-fv {
    padding-top: 1rem;
    position: absolute;
    bottom: 6rem;
    left: calc(50vw - 168px);
}

.social-icons.mg-ev {
    padding-top: 1rem;

    position: absolute;
    bottom: 6rem;
    right: calc(50vw - 168px);
}
.social-icons ul li {
    float: left;
}

.mg-logo {
    width: 80px;
    height: 80px;
}

.fv-section-description,
.ev-section-description {
    margin-bottom: 1.5rem;
    width: 100%;
}

.logo-container.mg-fv-logo-container {
    position: relative;
    margin-left: 50vw;
    margin-top: 2rem;
}
.page-transition-wrap,
.css3-spinner {
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
}
.logo-container.mg-ev-logo-container {
    position: relative;
    margin-right: 50vw;
    margin-top: 2rem;
}

.loader-home {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}
.loader-home .loader-logo {
    width: 80px;
    height: 80px;
}

.how-to-use {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.how-to-use .instructions {
    height: 111px;
    width: auto;
    margin-top: 10rem;
}

.how-to-use .instructions.vertical {
    width: 111px;
    height: auto;
    margin-top: 0;
    margin-left: 15rem;
}

#takeover .modal-content .modal-body {
    background-image: url(../images/takeover/mg-ezs-takeover-desktop-img.jpg);
    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 .close.close-modal,
.fancybox-close-small,
.close.back {
    top: 5% !important;
    right: 5% !important;
}
#takeover .takeover-subtitle {
    font-size: 2.2rem;
    font-weight: 400;
}

#takeover .takeover-title {
    font-size: 4.2rem;
    font-weight: 400;
}

#takeover .modal-body .row {
    justify-content: space-between;
    flex-direction: column;
    height: 85vh;
    min-height: 700px;
}

#takeover .text-container {
    padding-top: 3rem;
}

.takeover-buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.close.close-modal,
.close.back {
    position: absolute;
    top: 10%;
    right: 10%;
    z-index: 10;
    background-color: transparent;
    border: 1px solid white;
    width: 60px;
    height: 60px;
    opacity: 0.4;
    transition: 0.4s all;
    color: white;
    border-radius: 0 !important;
}

.close.close-modal:hover,
.close.close-modal:focus,
.close.back:hover,
.close.back:focus {
    opacity: 1;
    color: white;
}

.close.close-modal i {
    font-size: 3rem;
}

@media (max-width: 991px) {
    div.jx-image.jx-left.mg-left {
        background-image: url(../images/mg-new-home-gv-back-mobile.jpg);
        z-index: 1;
    }

    div.jx-image.jx-right.mg-right {
        background-image: url(../images/mg-new-home-ev-back-mobile.jpg);
        z-index: 0;
    }
    div.mg-fv-wrapper {
        height: 100vh;
        width: 100%;
        top: 0;
        left: 0;
        border-left: unset;
        display: flex;
        align-items: center;
        flex-direction: column;
        align-content: center;
        justify-content: space-between;
    }

    div.mg-ev-wrapper {
        position: fixed;
        height: 100vh;
        top: 0;
        right: 0;
        border-right: unset;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        width: 100%;
    }

    .logo-container {
        display: none;
    }
    .social-icons.mg-fv {
        bottom: 6rem;
        left: calc(50vw - 125px);
    }
    .social-icons.mg-ev {
        padding-top: 1rem;
        bottom: unset;
        right: calc(50vw - 130px);
        top: 6rem;
    }
    .mg-fv-wrapper .content-container {
        margin-top: 4rem;
    }
    .mg-ev-wrapper .content-container {
        margin-bottom: 4rem;
    }

    .vertical .jx-handle div.jx-controller {
        height: 80px;
        width: 80px;
        display: flex;
        margin-left: auto;
        margin-right: auto;
        top: -40px;
        position: relative;
        border-radius: 50%;
        border: 1px solid black;
        justify-content: center;
        align-items: center;
    }
    .vertical .jx-handle div.jx-controller img {
        display: block;
        width: 50%;
        height: 50%;
    }
    .vertical .jx-handle div.jx-arrow.jx-right {
        bottom: -30%;
        border-color: #000 transparent;
    }

    .vertical .jx-handle div.jx-arrow.jx-left {
        top: -33%;
        border-color: transparent transparent #000 transparent;
        z-index: 2;
    }
    .vertical div.jx-handle:hover div.jx-arrow.jx-left,
    .vertical div.jx-handle:active div.jx-arrow.jx-left {
        left: 0px !important;
        top: -20px !important;
    }
    .vertical div.jx-handle:hover div.jx-arrow.jx-right,
    .vertical div.jx-handle:active div.jx-arrow.jx-right {
        right: 0px !important;
        bottom: -20px !important;
    }

    #takeover .modal-content .modal-body {
        background-image: url(../images/takeover/mg-ezs-takeover-mobile-img.jpg);
    }
    #takeover .close.close-modal,
    .fancybox-close-small,
    .close.back {
        top: 2% !important;
    }
}

@media (max-width: 767px) {
    .takeover-button {
        padding: 0.5rem 1.7rem;
        font-size: 1.3rem;
        margin: 5px 10px;
    }

    .takeover-buttons-container {
        padding: 0;
    }
    #takeover .takeover-title {
        font-size: 3rem;
    }
    #takeover .takeover-subtitle {
        font-size: 2rem;
    }
    .close.close-modal,
    .close.back {
        width: 40px;
        height: 40px;
    }
    .close.close-modal i {
        font-size: 2rem;
    }

    #takeover .modal-body .row {
        height: 80vh;
        min-height: 400px;
    }
    #takeover .modal-content .modal-body {
        min-height: unset;
    }
}
@media (max-width: 360px) {
    #takeover .takeover-title {
        font-size: 2.5rem;
    }
    #takeover .takeover-subtitle {
        font-size: 1.5rem;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    #takeover .modal-body .row {
        justify-content: space-between;
        flex-direction: column;
        height: 85vh;
        min-height: 600px;
    }
}
