/* VARIABLES */

:root {
    --orange-100: #FFF4EB;
    --orange-200: #FFC28A;
    --orange-300: #FF830F;
    --orange-400: #EE7100;
    --orange-500: #A84600;
    --orange-600: #803500;
    --orange-700: #4D1F00;
    --blue-100: #EBF3FC;
    --blue-200: #96C6FA;
    --blue-300: #388FE0;
    --blue-400: #1074CB;
    --blue-500: #115EA3;
    --blue-600: #0C3B5E;
    --blue-700: #082338;
    --tomato: #EB5A00;
    --delay: 8s; /* Must match the Delay in login.js*/
}

/* BASIC CSS RESET */

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html, body, #root, #__next {
    height: 100%;
}

body {
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    font-family: "Roboto Flex", Roboto, Arial, sans-serif;
    font-size: 16px;
    color: #333;
}


a {
    color: var(--blue-400);
}

    a:hover {
        color: var(--blue-500);
    }

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
    margin: 0;
    padding: 0;
    font-weight: 400;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

img, picture, video, canvas, svg {
    display: block;
}

input, button, textarea, select {
    font: inherit;
}

/* Begin CSS */

h1, h2 {
    font-weight: 500;
}

h3, h4, h5 {
    font-weight: 300;
}

h1 {
    font-size: 52px;
}

h2 {
    font-size: 48px;
}

h3 {
    font-size: 36px;
}

h4 {
    font-size: 28px;
}

h5 {
    font-size: 24px;
}

h6 {
    font-size: 20px;
}

.subtitle {
    font-size: 18px;
}

.main {
    display: flex;
    height: 100%;
    min-height: 700px;
}

.content {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

/* Login area - Left side */

.login {
    display: flex;
    margin: auto;
    flex-direction: column;
    padding: 0 20px;
    max-width: 440px;
    width: 100%;
}

.logo {
    align-self: center;
    margin: 10px 20px; /* visually centers the logo */
}

    .logo > img {
        width: 180px;
    }

.login-form label {
    display: block;
    margin-bottom: 5px;
}

.form-input {
    width: 100%;
    height: 40px;
    margin-bottom: 24px;
    padding: 0 10px;
}

.form-checkbox {
    margin-right: 8px;
    height: 16px;
    width: 16px;
    accent-color: var(--blue-400);
}

.login-button {
    appearance: none;
    background-color: var(--orange-400);
    border: none;
    border-radius: 4px;
    color: #ffffff;
    font-weight: 600;
    margin-top: 20px;
}

    .login-button:hover {
        background-color: var(--tomato);
        cursor: pointer;
    }

.login-form input:focus {
    outline-color: var(--blue-300);
}


.map-info {
    display: flex;
    font-family: "Outfit", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 24px 0;
    border: 1px solid #eee;
    border-radius: 8px;
    grid-row-gap: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

    .map-info h5 {
        font-size: 22px;
        font-weight: 500;
        color: #555;
    }

    .map-info .subtitle {
        font-size: 14px;
        color: var(--orange-400);
        margin-bottom: 4px;
    }

.map-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-row-gap: 4px;
    color: #333;
}

.map-feature-icon {
    height: 28px;
}

.icon-circle {
    margin: 4px;
    padding: 3px;
    display: flex;
    height: 24px;
    width: 24px;
    border-radius: 12px;
    background-color: var(--orange-400);
}

    .icon-circle > img {
        height: 16px;
        width: 16px;
    }

/* Animations for Ads */

@keyframes zoomFadeIn {
    0% {
        transform: scale(1.0);
        opacity: 0;
    }

    4% {
        opacity: 1;
    }

    98% {
        opacity: 1;
    }

    100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    4% {
        opacity: 1;
    }

    98% {
        opacity: 1;
    }
    100% { opacity: 0; }
}

/* Info area - Right side */

.content.right {
    flex-direction: row;
    background-color: #222;
}

@media (max-width: 1279px) {
    .content.right {
        display: none;
    }
}

.info {
    font-family: "Outfit", Arial, sans-serif;
    position: absolute;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    opacity: 0;
    visibility: hidden;
}

    .info.active {
        opacity: 1;
        visibility: visible;
    }

    .info > img {
        position: absolute;
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .info.active > img {
        transform: scale(1.15);
        animation: zoomFadeIn var(--delay) linear;
    }

.info-content {
    position: relative;
    margin: auto;
    padding-bottom: 10vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    grid-row-gap: 16px;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    opacity: 0;
}

.info.active .info-content {
    animation: fadeInOut var(--delay) linear;
}

.info-content h1,
.info-content h2 {
    color: var(--orange-400);
}

.info-content h1,
.info-content h2,
.info-content h3,
.info-content h4 {
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.divider {
    margin: 20px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.13);
    width: 100%;
}

.bullet-list {
    margin: 0 8px;
    list-style: none;
    font-size: 17px;
    color: #eee;
}

    .bullet-list li {
        margin-bottom: 20px;
        display: flex;
        align-self: center;
    }

        .bullet-list li:last-child {
            margin-bottom: 0;
        }

        .bullet-list li::before {
            content: url(../Images/login/circle-check-outline.svg);
            margin-right: 12px;
            display: block;
            transform: scale(1.24);
        }

.button-info {
    appearance: none;
    border: none;
    height: 40px;
    padding: 12px 24px;
    border-radius: 4px;
    background-color: var(--orange-400);
    text-decoration: none;
    text-shadow: none;
    color: #fff;
    font-weight: 600;
}

    .button-info:hover {
        background-color: var(--tomato);
        color: #fff;
        cursor: pointer;
    }

.litening-logo {
    height: 72px;
    width: 72px;
    background-color: #fff;
    padding: 12px 6px 6px 6px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.store-logo {
    margin-left: 16px;
    height: 40px;
}

.dot {
    margin: 0 6px;
    height: 14px;
    width: 14px;
    border: 1px solid rgba(190, 190, 190, 0.9);
    border-radius: 8px;
    background-color: rgba(225, 225, 225, 0.4);
    cursor: pointer;
}

    .dot:hover {
        background-color: rgba(225, 225, 225, 0.7);
    }

    .dot.active {
        background-color: rgba(255, 255, 255, 0.9);
        transition: all 0.3s linear;
    }

.background-gradient {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#00051977, #000500DD);
}

/* footer left */

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0 86px;
}

/* footer right */

.footer.absolute {
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* CSS HELPER CLASSES - Keep on bottom of css */

.hidden {
    display: none;
}

.flex-row {
    display: flex;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-gap-24 {
    grid-gap: 24px;
}

.mr-16 {
    margin-right: 16px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.text-center {
    text-align: center;
}

.black-link {
    color: #333;
}

#login-errors {
    font-size: 14px;
    color: #690000;
    margin: 10px 0 10px 0;
}

    #login-errors ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }
    
.ms-login-container {
    text-align: center;
    margin: 20px 0;
}

.ms-login-link {
    display: inline-block;
}

.ms-login-link img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

#system-notice {
    margin-bottom: 20px;
}

    #system-notice h6 {
        background-color: red;
        color: #FFFFFF;
        text-align: center;
        line-height: 2;
        vertical-align: middle;
        padding: 0 10px;
        margin: 0;
    }

#system-notice-container {
    max-height: 155px;
    overflow: auto;
}

#system-notice ul {
    margin-top: 0;
    padding: 8px 8px 8px 15px;
    font-size: 14px;
    list-style-type: none;
}

#equip-form {
    font-size: 14px;
}

    #equip-form ul {
        list-style-type: none;
        padding-left: 5px;
        overflow: auto;
        max-height: 350px;
    }

    #equip-form li {
        line-height: 1.9em;
    }