﻿body {
    margin: 0;
}

main {
    font-family: Inter;
    font-style: normal;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: white;
}

body.ng-office-forgot-page #content {
    max-width: 400px;
}

body.ng-office-forgot-page .login-request #content {
    max-width: 500px;
}

body.ng-office-forgot-page .login-request .input-wrap,
body.ng-office-forgot-page .login-request .btn {
    margin: 0;
}

body.ng-office-forgot-page .forgotUserIdPasswordDiv a:first-child {
    margin-right: 0;
}

body.ng-office-forgot-page tr,
body.ng-office-forgot-page .input-wrap {
    width: 400px;
    margin: 0 auto;
    margin-top: 30px;
}

body.ng-office-forgot-page .btn {
    width: 400px;
    margin: 0 auto;
    display: block;
}

.logo {
    height: 59px;
}

nav {
    display: flex;
    flex-direction: row;
    margin: 20px 50px;
    align-items: center;
}

#nav-links {
    margin-left: auto;
    display: inline-flex;
    list-style: none;
}

    #nav-links li {
        margin-left: 50px;
        font-size: 16px;
        font-weight: 700;
        display: flex;
        align-items: center;
    }

        #nav-links li.nonlink {
            font-weight: initial;
        }

        #nav-links li img,
        #footer-nav-links li img {
            max-width: 20px;
            margin-right: 10px;
        }

        #nav-links li a {
            font-weight: 500;
        }

.main-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: auto;
    max-width: 1200px;
    width: 1200px;
}

.left-content {
    justify-content: left;
}

#content_wrapper.main-content {
    flex: 1;
    align-items: center;
}

    #content_wrapper.main-content input.margin-bot {
        margin-bottom: 30px;
    }

#login-form {
    width: 35%;
}

.show-pass {
    margin-top: 30px;
}

.main-content h3 {
    font-size: 28px;
    font-weight: 700;
}

#alert {
    background-color: rgba(244, 117, 33, 0.10);
    border: 1px solid rgb(220, 107, 47);
    border-radius: 5px;
    padding: 5px 10px;
}

    #alert h3 {
        margin: 0;
        font-size: 14px;
        font-weight: 800;
    }

    #alert p {
        font-weight: 300;
        line-height: 1.3em;
        margin-top: 5px;
        margin-bottom: 0;
    }

#api-content {
    position: relative;
    width: 65%;
}

    #api-content .gray-loading {
        width: 100%;
        height: 96%;
        margin-top: 30px;
        position: absolute;
        z-index: 1111;
        margin-left: 20px;
        border-radius: 10px;
        animation: colorshift 5s infinite alternate;
    }

    #api-content .dynamic-content {
        display: none;
    }

#main-img {
    max-width: 475px;
    margin: 0 auto;
    display: block;
}

#embedded-video {
    margin: 0 auto;
    display: block;
    max-width: 575px;
    padding-top: 30px;
}

#offer-box {
    position: absolute;
    right: 0;
    width: 350px;
    z-index: 1;
    opacity: 1;
    transition: all .5s linear;
}

    #offer-box .offer-gradient {
        box-shadow: 0px 5px 15px 0px rgba(20, 110, 245, 0.10);
        box-sizing: border-box;
        background: white;
        background-clip: padding-box;
        border: solid 1px transparent;
        border-radius: 5px;
        padding: 15px;
        position: relative;
    }

        #offer-box .offer-gradient:before {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            z-index: -1;
            margin: -1px;
            border-radius: inherit;
            background: linear-gradient(#004099, #9CB8DB);
        }

    #offer-box p.head {
        margin: 0;
        font-size: 16px;
        font-weight: 700;
    }

    #offer-box p.body {
        margin-bottom: 0;
        font-size: 15px;
        font-weight: 400;
    }

    #offer-box a::after {
        display: block;
        content: '';
        background-image: url(https://www.nextgen.com/-/media/themes/nextgen/common/common/images/icon-circle-right.svg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        width: 14px;
        height: 22px;
        margin-left: 10px;
    }

    #offer-box.vid-playing {
        opacity: 0;
    }

#left-offer img,
#right-offer img {
    height: 50px;
    width: auto;
    max-height: 60px;
}

#bottom-offers {
    display: flex;
    margin-top: 20px;
    justify-content: space-around;
}

    #bottom-offers p.head {
        font-size: 14px;
        font-weight: 700;
        margin: 10px 0;
    }

    #bottom-offers p.body {
        font-size: 14px;
        font-weight: 300;
        margin-top: 10px;
        margin-bottom: 0;
    }

    #bottom-offers #left-offer,
    #bottom-offers #right-offer {
        text-align: center;
        width: 45%;
    }

a {
    color: #0A64EB;
    font-weight: 600;
    text-decoration: none;
}

footer {
    max-width: 1200px;
    margin: 30px auto;
    font-weight: 400;
    font-size: 12px;
    width: 1200px;
}

    footer .legal-info a {
        color: #000;
    }

    footer .footer-lede {
        font-weight: 600;
        margin-bottom: 0;
    }

    footer ul {
        display: inline-flex;
        list-style: none;
        padding: 0;
        gap: 10px;
        margin: 5px 0;
    }

        footer ul.legal-info li:not(:last-child)::after {
            content: "|";
            margin-left: 10px;
        }

    footer .footer-content {
        margin: 0;
        line-height: 20px;
    }

.mobile-nav-toggle {
    display: none;
}


#footer-nav-links {
    display: none;
}

#login-form iframe {
    width: 100%;
}

#offer-box a {
    display: flex;
}

#frmButtons {
    margin-top: 30px;
}

.input-wrap {
    position: relative;
    width: 100%;
    margin-top: 30px;
    display: block;
}


.b {
    position: absolute;
    top: -8px;
    left: 25px;
    background-color: white;
    padding: 0 5px;
    font-weight: 600;
    font-size: 14px;
}

select,
.input-wrap input {
    padding: 10px;
    padding-left: 30px;
    border: 1px solid;
    border-image: linear-gradient(90deg, #D34209 -0.19%, #891129 100.19%) 1;
    border-image-width: 2px;
    width: 100%;
    height: 50px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    box-sizing: border-box;
    background-color: white;    
}


.heading {
    font-size: 1.375rem;
    margin: 20px 0px 20px 0;
    font-weight: 700;
}

.input-border-wrapper {
    border-radius: 4px;
    width: fit-content;
    overflow: hidden;
    width: 100%;
}


.btn {
    padding: 10px;
    background-color: #0A68F5;
    color: white;
    height: 50px;
    width: 100%;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    box-sizing: border-box;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}

.forgotUserIdPasswordDiv a {
    font-weight: 400;
    float: right;
}

    .forgotUserIdPasswordDiv a:first-child {
        float: none;
        margin-right: 15px;
    }

#agreement {
    color: #666;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}

    #agreement a {
        color: #666;
        text-decoration: underline;
    }

.close-offer {
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px;
    cursor: pointer;
}

.login-request {
    justify-content: space-between;
}

#modal-popup {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: #0000004a;
    z-index: 1;
    align-items: center;
    justify-content: center;
}

    #modal-popup.js-closed {
        display: none;
    }

    #modal-popup.js-open {
        display: flex;
    }

    #modal-popup #modal-body {
        position: relative;
        padding: 0 15px;
        width: 70%;
    }

#modal-body #video-modal {
    width: 100%;
}

#close-modal {
    background: white;
    font-size: 35px;
    font-weight: 700;
    position: absolute;
    right: 0px;
    top: -50px;
    z-index: 11;
    border-radius: 50%;
    cursor: pointer;
}

    #close-modal span {
        position: relative;
        top: -2px;
        padding: 0px 8px;
    }

@media screen and (max-width:1385px) {
    .logo {
        height: 50px;
    }

    #nav-links li {
        margin-left: 35px;
    }
}

@media screen and (max-width:1350px) {
    .logo {
        height: 40px;
    }

    #nav-links li {
        margin-left: 40px;
    }
}

@media screen and (min-width:1200px) and (max-width:1225px) {
    #nav-links li {
        margin-left: 35px;
        font-size: 14px;
    }
}

@media screen and (max-width:1199px) {
    .main-content, footer {
        max-width: 1024px;
    }

    .logo {
        height: 40px;
    }

    #nav-links li {
        font-size: 14px;
        margin-left: 25px;
    }

    footer ul.legal-info li:not(:last-child)::after {
        margin-left: 2px;
    }

    nav {
        margin: 20px 20px;
    }
}

@media screen and (max-width:1025px) {
    nav {
        margin: 30px 10px;
        align-items: center;
    }

    .logo {
        height: 33px;
    }

    #nav-links {
        padding: 0;
    }

        #nav-links li {
            margin-left: 15px;
        }

    .main-content {
        justify-content: space-around;
    }

    .main-content,
    footer {
        max-width: 768px;
    }

    #login-form {
        width: 45%;
    }

    #api-content {
        width: 45%;
        display: flex;
        flex-direction: column;
    }

        #api-content #offer-box {
            position: initial;
            margin-top: 10px;
            margin-left: auto;
        }

        #api-content #main-img,
        #api-content #embedded-video {
            width: 100%;
            margin-top: 40px;
            max-width: 500px;
        }

        #api-content #bottom-offers {
            margin-top: 10px;
        }

    #bottom-offers p.head {
        font-size: 18px;
    }

    #bottom-offers p.body {
        font-size: 14px;
    }

    footer ul {
        display: flex;
        flex-wrap: wrap;
    }

    #sidebar {
        padding-left: 30px;
    }
}



@media screen and (max-width:900px) {
    nav {
        display: block;
        margin: 20px;
    }

    #nav-links {
        overflow: hidden;
        transition: opacity 0.5s;
        display: none;
    }

    #nav-links {
        padding: 0;
        opacity: 0;
        width: 100%;
        z-index: 2;
        position: absolute;
        padding: 0;
        background: white;
        border-bottom: 1px solid black;
        left: 0;
    }

        #nav-links li {
            margin-left: 0;
            margin-top: 10px;
            padding-left: 20px;
        }

    .logo {
        display: inline-block;
        height: 33px;
        margin-bottom: 20px;
    }

    .mobile-nav-toggle {
        display: inline-block;
        width: 35px;
        height: 30px;
        float: right;
        position: relative;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
    }

        .mobile-nav-toggle span {
            display: block;
            position: absolute;
            height: 3px;
            width: 100%;
            background: #000;
            border-radius: 9px;
            opacity: 1;
            left: 0;
            -webkit-transform: rotate(0deg);
            -moz-transform: rotate(0deg);
            -o-transform: rotate(0deg);
            transform: rotate(0deg);
            -webkit-transition: .25s ease-in-out;
            -moz-transition: .25s ease-in-out;
            -o-transition: .25s ease-in-out;
            transition: .25s ease-in-out;
        }


            .mobile-nav-toggle span:nth-child(1) {
                top: 0px;
            }

            .mobile-nav-toggle span:nth-child(2), .mobile-nav-toggle span:nth-child(3) {
                top: 10px;
            }

            .mobile-nav-toggle span:nth-child(4) {
                top: 20px;
            }

        .mobile-nav-toggle.open span:nth-child(1) {
            top: 18px;
            width: 0%;
            left: 50%;
        }

        .mobile-nav-toggle.open span:nth-child(2) {
            -webkit-transform: rotate(45deg);
            -moz-transform: rotate(45deg);
            -o-transform: rotate(45deg);
            transform: rotate(45deg);
        }

        .mobile-nav-toggle.open span:nth-child(3) {
            -webkit-transform: rotate(-45deg);
            -moz-transform: rotate(-45deg);
            -o-transform: rotate(-45deg);
            transform: rotate(-45deg);
        }

        .mobile-nav-toggle.open span:nth-child(4) {
            top: 18px;
            width: 0%;
            left: 50%;
        }

        .mobile-nav-toggle.open ~ #nav-links {
            display: block;
            opacity: 1;
            padding-bottom: 10px;
            top: 85px;
            margin: 0;
        }


    .main-content {
        display: block;
        margin-top: 17px;
        width: initial;
    }

        .main-content #login-form {
            width: initial;
        }

    footer {
        width: initial;
    }

    #api-content {
        width: 100%;
    }

        #api-content #offer-box {
            width: 100%;
            order: 2;
        }

        #api-content #main-img {
            width: 100%;
            margin-top: 60px;
            order: 1;
        }

        #api-content #bottom-offers {
            display: block;
            order: 3;
        }

    #bottom-offers #left-offer, #bottom-offers #right-offer {
        text-align: left;
    }

    footer ul#footer-nav-links {
        position: initial;
        display: block;
        border-bottom: none;
    }

    footer .footer-lede {
        margin-bottom: 20px;
        margin-top: 40px;
    }

    footer .copyright {
        display: block;
        width: 100%;
        margin-bottom: 20px;
    }

    footer ul.legal-info li:first-child::after {
        content: "";
    }

    footer .footer-content {
        margin-top: 20px;
    }

    section.main-content,
    footer {
        margin-left: 20px;
        margin-right: 20px;
    }

    #footer-nav-links {
        font-size: 16px;
        font-weight: 700;
    }

        #footer-nav-links li {
            margin-left: 0;
            margin-top: 20px;
            padding-left: 0;
        }

            #footer-nav-links li a {
                font-weight: 500;
            }

    #sidebar {
        padding-left: 30px;
    }

    #modal-body #video-modal {
        margin: 0 auto;
    }
}


@media screen and (max-height:650px) {
    .input-wrap {
        margin-top: 20px;
    }
}

@media screen and (max-height:600px) {

    select,
    .input-wrap input {
        font-size: 14px;
        height: 45px;
    }

    .forgotUserIdPasswordDiv a {
        font-size: 16px;
    }

    .btn {
        height: 45px;
    }

    #modal-popup #modal-body {
        width: 50%;
    }

    #close-modal {
        top: -45px;
    }
}


/* loading animiation */
@keyframes colorshift {
    0% {
        background-color: #ededed;
        box-shadow: 0 0 15px 2px #EDEDED;
    }

    100% {
        background-color: #ddd8d8;
        box-shadow: 0 0 15px 2px #b5b5b5;
    }
}
