﻿html, body {
    height: 100%;
    width: 100%;
    font-family: 'Roboto';
}

/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

.logonBody {
    background: #e2e2e2;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-content: space-around;
    height: 100%;
}

.loginMain {
    display: flex;
    justify-content: center;
    color: #343A40;
}

.loginForm {
    background-color: white;
    height: 112%;
}

.login-inputs-container {
    display: grid;
    grid-auto-columns: 90%;
    grid-gap: 28px;
    justify-content: center;
    margin: 35px 0 0 0;
}

.forgot-pw-inputs-container {
    margin: 50px 15px;
}

    .forgot-pw-inputs-container > .row {
        margin-top: 20px;
    }

.forgotPwDescription {
    margin-bottom: 36px;
}

.forgot-pw-body > div:first-child {
    text-align: center;
}

.set-pw-inputs-container {
    margin: 35px 15px;
}

    .set-pw-inputs-container > div:nth-child(2n+2) {
        display: flex;
        margin-bottom: 15px;
    }

    .set-pw-inputs-container > div:last-child {
        display: flex;
        justify-content: center;
    }

.eye-button {
    color: #28AAE1;
    margin: 10px 5px;
    width: 12px;
}

.textbox-and-validation {
    height: 50px;
}

.login-row {
    display: flex;
    flex-flow: column;
}

.login-button {
    place-self: center;
    width: 225px;
}

    .login-button:hover {
        background-color: #28AAE1 !important;
        color: white !important;
    }

.login-external-button {
    place-self: center;
    width: 225px;
    background-color: white;
    border: solid #a5a5a5 1px;
    color: #a5a5a5;
    font-weight:  normal;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .login-external-button:hover {
        color: #3d3d3d !important;
        border: solid #3d3d3d 1px !important;
        font-weight: bold;
    }

    .login-external-button .ms-logo {
        width: 22px;
        height: 22px;
        display: inline-block;
        vertical-align: middle;
        background: none;
        margin-right: 6px;
    }

.login-headertext {
    display: flex;
    justify-content: center;
    color: white;
}

    .login-headertext h4 {
        font-size: 20px !important;
        margin: -10px 0 0 -6px;
        color: #bcb9b9;
    }

.forgotPasswordLink {
    text-align: center;
    margin-top: 15px;
}

    .forgotPasswordLink > a {
        color: #28AAE1;
        text-decoration: none;
    }

.TwoFactorMethodSelection {
    width: 100%;
    padding: 8px;
    margin: 5px;
    background-color: #28AAE1;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}

.TwoFactorMethodIcon {
    width: 40px;
    height: 40px;
    margin: 0 10px 0 0;
    filter: invert(1);
}

.TwoFactorMethodSelection:hover .TwoFactorMethodIcon {
    filter: invert(71%) sepia(10%) saturate(2427%) hue-rotate(45deg) brightness(101%) contrast(81%);
}

.validation-summary-errors {
    width: 475px;
    height: 18px;
    background-color: white;
}


.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1000;
    display: flex !important;
    align-items: center;
    justify-content: center;
}


.dialog-modal {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.2);
    padding: 24px 32px 16px 32px;
    min-width: 320px;
    max-width: 50vw;
    /* Center the dialog in the overlay */
    margin: 0;
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dialog-content {
    margin-bottom: 16px;
}

.dialog-actions {
    text-align: right;
}



footer {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: grid;
    grid-template-columns: 115px 80px 1fr;
    width: 99%;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.btn-default {
    background-color: #28AAE1;
    color: white !important;
}

.btn-error {
    background-color: #ff1313;
    color: white !important;
}

    .btn-error:hover {
        background-color: #b30000 !important;
        color: white !important;
    }


/*
    ---------------------------------------------------------------------------------------------------------------------------------    
        Media Queries                                                   ----                                Media Queries
    ---------------------------------------------------------------------------------------------------------------------------------
*/

    @media (max-width: 300px) {
        /* small Mobile screens */
        .header-login {
            background: #343a40;
            padding: 10px 0;
            display: flex;
            justify-content: center;
        }

        .loginForm {
            background-color: white;
            height: 112%;
        }

        footer {
            position: absolute;
            bottom: -11px;
            left: 10px;
            display: grid;
            grid-template-columns: 115px 80px 1fr;
            width: 99%;
        }

        footer p {
            font-size: 0.8rem;
            position: relative;
            left: -39px;
            bottom: 2px;
        }

        footer *:first-child {
            height: 20px;
            margin: -4px 3px 0px 0px;
        }

            footer *:last-child {
                justify-self: end;
                margin: -8px 8px 0px -56px;
                height: 30px;
            }

    }

@media (max-width: 500px) and (min-width: 301px) {
    /* Mobile screens */

    .header-login {
        background: #343a40;
        height: 100px;
    }

    .loginForm {
        background-color: white;
        height: 112%;
        width: 300px;
    }

    .logo-container {
        display: flex;
        place-content: center;
        padding: 10px 0;
    }

        .logo-container img {
            height: 65px;
            margin: -3px 0;
        }

    .login-headertext {
        margin-left: 15px;
        font-size:0.85rem
    }

        .login-headertext h4 {
            font-size: 0.95rem !important;
            color: #bcb9b9;
        }

    .ccs-logo {
        max-height: 110px;
        padding: 10px 0 2px 0;
    }

    footer p {
        font-size: 0.8rem;
        position: relative;
        left: -19px;
    }

    footer *:first-child {
        height: 20px;
        margin: -2px 4px 10px 20px;
    }

    footer *:last-child {
        justify-self: end;
        margin: -9px 20px 0 0;
        height: 35px;
    }
}


    @media (min-width: 500px) {
        /* Desktop Screens */

        .loginMain {
            display: flex;
            justify-content: center;
            color: #343A40;
        }

        .loginForm {
            width: 500px;
            height: 540px;
            background-color: white;
        }

        .header-login {
            background: #343a40;
            height: 150px;
        }

        .logo-container {
            display: flex;
            place-content: center;
        }

            .logo-container img {
                height: 100px;
            }

        .ccs-logo {
            max-height: 110px;
            padding: 32px 0 8px 0;
        }

            footer *:first-child {
                height: 25px;
                margin: -2px 4px 10px 20px;
            }

            footer *:last-child {
                justify-self: end;
                margin: -9px 20px 0 0;
                height: 40px;
            }
    }

