/* These styles are mobile first */

/* Basic Styles */
html {
    height: 100%;
    margin: 0px;
    padding: 0px;
}

body {
    height: 100%;
    margin: 0px;
    padding: 0px;
    font-family: Calibri, "Myriad Pro", "Gill Sans MT", arial, verdana, helvetica, sans-serif;
    color: #000000;
    font-size: 12px;
    background-color: white;
}

/* Validation */
.text-danger {
    color: red;
}

.field-validation-valid {
    visibility: hidden;
}

.field-validation-error {
    visibility: visible;
}

.validation-summary-errors > ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Sections */

.main-container {
    background-image: url(https://blobs-us1.buildinglink.com/properties/loginpage/4029f793-0f95-45d8-b815-08f857cc6ebb?Expires=1795144067&Signature=MEYCIQCtE4OCuShszxxGoatSztyu-AXPUak77uaKP60CFB68iQIhAONfNWqNUe0tNkPrXWgJ8XvUI8deQVd0B-S7HyEo0XU3&Key-Pair-Id=KVLVG6D4HKES6);
    background-repeat: no-repeat;
    background-position: -310px -172px;
    background-size: cover;
    height: 700px;
}

.titles {
    position: absolute;
    top: 255px;
    background-color: white;
    padding-left: 3rem;
    padding-top: 20px;
    width: 100%;
    height: 400px;
}

.title__top {
    margin: 0;
    font-family: Georgia, sans-serif;
    font-weight: bold;
    font-size: 36px;
}

.title__sub {
    margin: 0;
    font-family: Arial, sans-serif;
    font-weight: normal;
    font-size: 16px;
}

.title__extra {
    margin: 5px 0 0 0;
    font-family: Arial, sans-serif;
    font-weight: normal;
    font-size: 14px;
    opacity: .9;
}

form {
    position: absolute;
    bottom: 6rem;
    height: 50vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: white;
    padding: 20px 32px 20px 32px;
}

.sign-in-buttons-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
}

.area__top {
    display: none;
    font-size: 18px;
    font-style: italic;
}

.marketing-link {
    display: none;
}

.area__bottom {
    position: absolute;
    bottom: 1rem;
    display: none;
}

.terms-copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
}

.copyright__before {
    display: none;
}

.btn {
    height: 40px;
}

.form-control {
    margin-bottom: 1rem;
    height: 40px;
}

.login-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 16px;
}

.login-options .checkbox {
    margin-top: 0;
    margin-bottom: 0;
}

.login-form {
    justify-content: flex-start;
    padding-right: 25px;
    padding-left: 25px;
    font-family: "Roboto", sans-serif;
}

.login-form #label__username,
.login-form #label__password {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 2px;
}

.login-form #label__password,
.login-form .login-options {
    margin-top: clamp(8px, calc(50vh - 406px), 16px);
}

.login-form .form-control {
    height: clamp(40px, calc(50vh - 374px), 48px);
    margin-bottom: 0;
    border-color: #8C9EAF;
    border-radius: 8px;
}

.login-form .form-control:focus {
    border-color: #006EB8;
}

.login-form .login-options {
    justify-content: flex-start;
}

.login-form .login-options a {
    margin-left: auto;
}

.login-form .login-options .checkbox label {
    display: flex;
    align-items: center;
    column-gap: 4px;
    padding-left: 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

.login-form .login-options input[type="checkbox"] {
    position: static;
    flex: none;
    width: 15px;
    height: 15px;
    margin: 2.5px;
    border: 1.5px solid #668199;
    border-radius: 2px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.login-form .login-options input[type="checkbox"]:checked {
    border-color: #006EB8;
    background: #006EB8 url("/account/login-templates/b6aba769-b9ce-4e3a-b54c-6479ce8aa332/checkbox-checked.svg") center / 13px no-repeat;
}

.login-form .login-options input[type="checkbox"]:focus-visible {
    outline: 2px solid #006EB8;
    outline-offset: 2px;
}

.login-footer .terms-copyright {
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    line-height: 25px;
}

.login-footer .terms-copyright a {
    color: inherit;
    text-decoration: underline;
}

.login-form .login-options a,
.login-form .sign-in-buttons-links > a {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #006EB8;
}

.login-form .sign-in-buttons-links {
    margin-top: clamp(12px, calc(50vh - 367px), 55px);
}

.login-form #LoginButton {
    height: clamp(44px, calc(50vh - 367px), 55px);
    margin-bottom: clamp(8px, calc(50vh - 398px), 24px);
    border-color: #006EB8;
    border-radius: 8px;
    background-color: #006EB8;
    font-weight: 500;
    font-size: 16px;
}

.login-form #LoginButton:hover,
.login-form #LoginButton:focus {
    border-color: #005A96;
    background-color: #005A96;
}

.div__reset-password_guest-login {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

#GuestLoginLink {
    background-color: #451d1d;
    padding: 4px;
    border-radius: 4px;
}

#GuestLoginLink a:link,
#GuestLoginLink a:visited,
#GuestLoginLink a:hover,
#GuestLoginLink a:active {
    color: White;
}

/* General purpose */
.w-100 {
    width: 100%;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* Override bootstrap */

.radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] {
    bottom: 5px;
}

/* Display Footer in devices that fit */
@media (min-height: 668px) {
    .area__bottom {
        display: unset;
    }
}

/* Styles for non-mobile devices */
@media (min-width: 768px) {
    body {
        background-color: #f7f6f4;
        background-image: url();
        background-position: 50% 0%;
        background-repeat: repeat-x;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .main-container {
        height: 795.2px;
        width: 1261.4px;
        background-position: unset;
    }
    .area__top {
        width: 1261.4px;
        display: flex;
        justify-content: space-between;
        align-items: end;
    }
    .titles {
        position: relative;
        top: 5rem;
        left: 16rem;
        padding-left: unset;
        padding-top: unset;
        width: 400px;
        background-color: unset;
        width: unset;
    }
    .title__top {
        font-size: 48px
    }
    .title__sub {
        font-size: 18px;
    }
    form {
        width: 430px;
        height: 345px;
        position: relative;
        left: 70rem;
        bottom: -42px;
        border: 1px solid #E6EAED;
        background-color: white;
    }
    label {
        margin-bottom: 0;
    }
    .area__bottom {
        width: 1261.4px !important;
        position: unset;
        top: unset;
        display: flex;
        justify-content: space-between
    }
    .terms-copyright {
        flex-direction: row;
    }
    .copyright__before {
        display: inline;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
    .marketing-link {
        display: inline;
    }
    .checkbox {
        margin-top: 0;
        margin-bottom: 0;
    }
    #LoginButton {
        width: 35%;
    }

    .login-form {
        justify-content: space-between;
        padding-right: 32px;
        padding-left: 32px;
    }

    .login-form .form-control,
    .login-form #LoginButton {
        height: 40px;
    }

    .login-form .sign-in-buttons-links {
        margin-top: 16px;
    }
}

@media (forced-colors: active) {
    .login-form .login-options input[type="checkbox"] {
        -webkit-appearance: auto;
        appearance: auto;
    }
}

@media (max-width: 380px) {
    .login-form {
        padding-right: 24px;
        padding-left: 24px;
    }

    .login-form .login-options {
        column-gap: 6px;
    }
}
