﻿html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: Arial;
}

#LoginModalContainer {
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.LightBorder {
    border: 0.5px solid #D9D9D9;
}

#LoginButton {
    width: 241px;
    height: 48px;
    font-size: 24px;
    font-weight: 600;
    color: #0473B3;
    background-color: #EBF1F4;
    place-self: center;
    border-radius: 15px;
    padding-bottom: 45px;
}

#LoginButton:hover {
    background-color: #0173B6;
    color: #EBF1F4;
}

#PaceLogoImage {
    width: 100%;
    height: 100%;
}

#WelcomeHeader {
    grid-row: 1;
    font-size: 32px;
}

#WelcomeSubHeader {
    font-size: 20px;
    text-align: center;
}

#ErrorHeader {
    grid-row: 2;
    font-size: 20px;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 20fr;
    place-items: center center;
}

#ErrorHeader img {
    margin-bottom: 2px;
}

#LanguageSelect {
    border: none;
}

    #LanguageSelect:focus {
        outline: none;
        box-shadow: none;
    }

.modal-body hr {
    margin: 15px 0px;
    border-color: #FBAE31;
    width: 90%;
}

.dropdown-toggle::after {
    color: #EBF1F4;
}

#sso_btn {
    place-self: center;
    font-size: 20px;
    color: white;
}

#sso_btn:hover {
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
}

#sso_btn:active {
    cursor: pointer;
}

#LoginModal {
    background-color: transparent;
    border: none;
}

#LoginModalBody {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    background-color: #1A1A1A;
    color: #EBF1F4;
}

#PaceLogoImageContainer {
    grid-row: 1;
    grid-column: 2;
    place-self: center center;
    width: 50%;
    height: auto;
}

.WelcomeMessageContainer {
    display: flex;
    flex-direction: column;
    place-items: center center;
    margin-top: 25px;
}

.LoginForm {
    display: flex;
    flex-direction: column;
    place-items: center;
    margin-top: 30px;
}

.FormInputContainer {
    width: 75%;
    place-items: center;
}

.FormInputContainer label {
    font-size: 20px;
}

.dropdown-menu {
    transform: translate3d(-27px, 39px, 0px) !important;
    width: 200px;
}

#RememberCheckboxContainer {
    display: flex;
    place-items: center;
    gap: 15px;
    width: fit-content;
    margin: 10px 0px;
}

#CheckboxBackground {
    border-radius: 5px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center center;
    transition: background-color 250ms ease-in-out;
}

#CheckIcon {
    transition: display 250ms ease-in-out;
}

.checked {
    background-color: #EBF1F4;
}

.unchecked {
    background-color: #1A1A1A;
    border: 1px solid #EBF1F4;
}

.dropdown-toggle::after {
    color: #EBF1F4 !important;
}

input.form-control {
    font-size: 20px;
}

input.invalid {
    border: 2px solid #ff9999;
}

.modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -55%) !important;
    margin: 0px;
}

#LoginButtonContainer,
#SsoButtonContainer {
    text-align: center;
}

#SsoButtonContainer {
    margin-top: 20px;
}

.dropdown-menu {
    max-height: 200px;
    overflow: auto;
}

@media (max-width: 1000px) {
    #LoginModalContainer {
        width: 100%;
        height: 100%;
    }

    #LoginModalBody {
        display: grid;
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    #PaceLogoImageContainer {
        grid-row: 1;
        grid-column: 1;
        place-self: center;
    }

    .WelcomeMessageContainer {
        grid-row: 2;
        grid-column: 1;
        display: grid;
        grid-template-columns: 1fr;
        place-items: center center;
        height: 15%;
        margin-top: 15px;
    }

    .LoginForm {
        grid-row: 3;
        grid-column: 1;
        display: grid;
        grid-template-columns: 1fr;
        place-items: center;
        margin-top: 30px;
    }

    .modal-body hr {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .modal-dialog {
        height: 100%;
        top: 0px;
        left: 0px;
        transform: none !important;
    }

    #LoginModal {
        height: 100%;
    }

    .WelcomeMessageContainer {
        height: 50%;
        margin-top: 10px;
    }

    .LoginForm {
        grid-row: 3;
        grid-column: 1;
        display: grid;
        grid-template-columns: 1fr;
        place-items: center;
        margin-top: 0px;
        grid-template-rows: 2fr 2fr 1fr 1fr 1fr 2fr 2fr;
    }

    #LoginModalBody {
        grid-template-rows: 1fr 1fr 5fr;
        border-radius: 0px;
    }

    .FormInputContainer {
        margin-bottom: 0px;
    }

    #RememberCheckboxContainer {
        margin: 0px;
    }

    .modal-body hr {
        margin: 0px;
    }

    #LoginButtonContainer,
    #SsoButtonContainer {
        margin-top: 0px;
    }
}