@import url('instanda-alto-base.css');

html,
body,
.background-colour,
.background-image,
.main-content,
.login-container {
    height: auto;
    min-height: max(100%, 100vh);
}

body {
    font-family: "Public Sans", sans-serif;
    font-weight: 500;
    font-size: 12px;
    background-color: transparent;
}

.background-colour {
    background-color: var(--dark);
    position: relative;
}

.background-image {
    background-repeat: no-repeat;
    background-position: right -200px top -200px;
    background-size: 594px;
    opacity: 0.3;
    position: absolute;
    width: 100%;
    height: 100%;
}

.page-title {
    font-size: 32px;
    margin-bottom: 20px;
}

a {
    color: var(--teal);
    text-decoration: underline;

    &:hover {
        color: var(--teal-hover);
    }

    &:disabled {
        opacity: 50%;
    }
}

.container-fluid {
    margin: 0;
    padding: 0;
    position: relative;
}

.login-container {
    height: auto;
    min-height: 100vh;
    opacity: 1;
}

.btn-primary-red {
    border-radius: 10px;
}

.btn-login {
    position: relative;
    z-index: 1000;
    width: 100%;
    height: 60px;
    display: block;
    padding-left: 24px;
    padding-right: 24px;
    font-weight: 600;
    font-size: 20px;
}

.btn-learn {
    width: 168px;
    height: 46px;
    display: block;
    font-weight: 700;
    font-size: 14px;
}

.rounded-10 {
    border-radius: 10px;
}

.logo {
    height: 19px;
    margin-top: 23px;
    margin-left: 21px;
    display: block;
}

.toggle-visibility {
    display: block;
}

.toggle-font-color {
    color: var(--muted);
}

.form-check-input {
    margin-top: 0;
}

.left-content {
    width: 100%;
    max-width: 450px;
    padding: 0 20px;
}

.left-side .release {
    width: 100%;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    justify-content: center;
    margin: 30px 0 0;
    margin-top: auto;
}

.left-side .reset-password-container {
    margin-top: -250px;
}

.left-side {
    width: 50%;
    height: auto;
}

.left-side,
.right-side {
    display: flex;
    justify-content: center;
}

    .left-side > picture {
        grid-area: picture;
    }

.left-side > .left-content {
    grid-area: signin;
    align-self: stretch;
}

.left-side {
    display: grid;
    grid-template-areas:
        "picture picture picture"
        ".  signin ."
        ". . .";
    grid-template-rows: auto 1fr;
    justify-content: space-between;
    background-repeat: no-repeat;
    background-position: right -200px bottom -200px;
    background-size: 594px;
}

.right-side {
    height: auto;
    width: 50%;
    min-height: 100%;
    background-repeat: no-repeat;
    background-position: right -200px top -200px;
    background-size: 594px;
    background-blend-mode: overlay;
}

.right-content {
    max-width: 520px;
    padding: 20px;
    z-index: 200;
}

    .right-content .top-section {
        width: 500px;
        height: 300px;
        padding-top: 52px;
        padding-left: 40px;
        padding-right: 170px;
        background-color: var(--snow);
        position: relative;
        overflow: hidden;
    }

        .right-content .top-section img.dashboard {
            top: 20%;
            right: -140px;
            position: absolute;
        }

        .right-content .top-section p.tag-title {
            font-size: 28px;
            font-weight: 700;
        }

        .right-content .top-section p {
            font-size: 16px;
            line-height: 28px;
        }

    .right-content .middle-section {
        position: relative;
        top: -50px;
        left: 240px;
        width: 290px;
        padding-top: 18px;
        padding-left: 72px;
        font-weight: 400;
        background-color: var(--snow);
    }

        .right-content .middle-section img.knowledge {
            top: 28px;
            left: 16px;
            margin: 0 auto;
            position: absolute;
        }

        .right-content .middle-section .middle-section-title {
            color: var(--teal);
            font-size: 24px;
            font-weight: 700;
        }

        .right-content .middle-section p {
            font-weight: 400;
            font-size: 14px;
        }

    .right-content .bottom-section {
        color: var(--white);
        text-align: center;
    }

        .right-content .bottom-section .bottom-section-title {
            font-weight: 600;
            font-size: 30px;
            line-height: 100%;
        }

        .right-content .bottom-section p {
            font-size: 16px;
            line-height: 138%;
        }
/* Screens smaller than 1366px */
@media only screen and (max-width: 1366px) {
    .background-image {
        background-position: right -200px bottom -200px;
    }
    .login-container {
        padding-top: 60px;
        min-height: 100vh;
        height: auto;
    }

    .logo {
        width: 100%;
        height: 24px;
        margin: 0 auto 30px auto;
    }

    .left-side {
        width: 100%;
        height: auto;
        min-height: 100%;
    }

    .left-content {
        justify-content: start !important;
    }

    .left-side .reset-password-container {
        margin-top: 0;
    }

    .page-title {
        color: var(--white);
        margin: 50px auto;
        justify-content: center;
    }

    .toggle-font-color {
        color: var(--white);
    }

    .toggle-center-align {
        justify-content: center;
    }

    .toggle-visibility {
        display: none;
    }

    .forgot-password {
        margin: 0 0 0 auto;
    }

    .btn-login {
        height: 48px;
    }

    .field-validation-error, .input-validation-error {
        color: var(--validation-error);
    }

    .input-validation-error {
        border-color: var(--validation-error);
    }

    .release-mobile-bottom {
        position: relative;
        left: auto;
        right: auto;
        bottom: 0;
        width: 100%;
        margin: auto 0 12px 0 !important;
        text-align: center;
        transform: none;
    }

    .container-fluid img.alto-background {
        top: unset;
        bottom: -200px;
    }

    .right-side {
        display: none;
    }
}
/* Screens between 1367px and 1920px */
@media only screen and (min-width: 1367px) and (max-width: 1920px) {
    .left-side {
        background-color: white;
    }

    .left-side .release {
        margin-top: 30px;
    }
}
/* Large desktop: 1920px and up */
@media only screen and (min-width: 1921px) {
    .login-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .logo {
        height: 44px;
        width: 100%;
        margin: 0 auto 30px auto;
    }

    .left-side, .right-side {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        flex: 0 0 auto !important;
    }

    .left-content, .right-content {
        justify-content: start !important;
    }

    .right-content {
        margin-top: 20px;
    }

    .left-side .reset-password-container {
        margin-top: 0;
    }

    .left-side .release {
        margin: 0;
    }

    .page-title {
        color: var(--white);
        margin: 50px auto;
        justify-content: center;
    }

    .toggle-font-color {
        color: var(--white);
    }

    .toggle-center-align {
        justify-content: center;
    }

    .toggle-visibility {
        display: none;
    }

    .field-validation-error, .input-validation-error {
        color: var(--validation-error);
    }

    .input-validation-error {
        border-color: var(--validation-error);
    }

    .right-side {
        background-image: unset !important;
        height: unset;
        min-height: unset;
    }

    .left-side {
        background-position: right -200px top -200px;
        padding-top: 80px;
    }
}