/* top level elements */

body {
    background-color: #006BA7;
}

h1, h3, p, label {
    color: white;
}

h1 a, h1 a:hover, h3 a, h3 a:hover {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

/* fonts */

h1, h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    font-size: 24px;
    line-height: 36px;
}

p {
    font-family: 'Lato', sans-serif;
    font-size: 17px;
    line-height: 24px;
}

label {
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    line-height: 30px;
}

/* layout */

h1, h3, p {
    margin-top: 12px;
}
.wrap-close{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 5px 10px;
    gap: 10px;
    width: 97px;
    height: 38px;
    float: right;
    margin-right: 20px;
    margin-top: -60px; 
    background: #FFFFFF;
    border-radius: 5px;
    cursor: pointer;
}
.wrap-img-title{
    width: 24px;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 28px;
    text-align: center;
    color: #000000;
    display: flex;
}
.close-icon{
  margin-right: 15px;
}
.wrap-close:hover {
    color: black;
    background-color: #E6F3FA;
    border-color: #E6F3FA;
}

div.container {
    min-width: 270px;
    max-width: 600px;
    padding-bottom: 15px;
    text-align: center;
    margin-top: 80px;
}

div.input-container {
    margin-top: 12px;
}

.classroom-login .input-container:nth-of-type(1) {
    margin-top: 22px !important;
}

div.btn-container {
    width: 280px;
    margin-top: 24px;
    margin-left: auto;
    margin-right: auto;
}

.create-account div.btn-container {
    margin-top: 60px;
}

.create-account div.cal-policy {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color:#ffffff;
    margin-top: 16px;
}

a.cal-link{
    color:#ffffff;
    text-decoration: underline;
}

div.row {
    margin-top: 20px;
}

div.col-left {
    padding-right: 10px;
}

div.col-right {
    padding-left: 10px;
}

/* visual elements */

div.gradient-separator {
    width: 86%;
    margin-left: auto;
    margin-right: auto;
    height: 1px;
    margin-top: 16px;
    background: transparent linear-gradient(90deg, #0080C7 0%, lightblue 50%, #0080C7 100%) 0% 0% no-repeat padding-box;
}

img.wb-logo {
    width: 100%;
    margin-top: 16px;
}

/* form elements */

input.form-control, select.form-control {
    height: 46px;
    background-image: none !important;
    font-size: 13px;
    line-height: 28px;
    font-weight: 400;
    font-family: Arial, Helvetica, sans-serif;
}
.form-label-custom {
    font-size: 15px;
    line-height: 30px;
    font-weight: 400;
    font-family: 'Raleway';
}
.form-label-custom {
    font-size: 13px;
    line-height: 23px;
    font-weight: 600;
    font-family: 'Raleway';
}

.required-indicator {
    color: #FFD700;
    font-weight: bold;
    margin-left: 2px;
}

.required-fields-note {
    color: white;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    text-align: left;
    margin-top: 8px;
    margin-bottom: 4px;
}

.required-fields-note .required-indicator {
    margin-left: 0;
}
.form-signin-heading {
    font-size: 21px;
    line-height: 28px;
    font-weight: 700;
    font-family: 'Raleway';
}

select.form-control:invalid {
    color: #6c757d;
}

/* form validation */

div.input-container {
    position: relative;
}

.was-validated input.form-control:invalid, .was-validated input.form-control:valid {
    border-width: 2px;
}

.invalid-tooltip, .invalid-login-tooltip, .invalid-username-tooltip, .invalid-secAnswer-tooltip {
    background-color: #DE0042;
    padding: 12px;
    margin-top: 10px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.classroom-login .invalid-tooltip, .classroom-login .invalid-username-tooltip {
    top: -35px;
    width: 60%;
}

.invalid-secAnswer-tooltip {
    top: 100%;
    width: 60%;
}

.classroom-login .invalid-login-tooltip {
    bottom: 55px;
    width: 100%;
}

div.invalid-tooltip:before, div.invalid-login-tooltip:before, div.invalid-username-tooltip:before, div.invalid-secAnswer-tooltip:before {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    top: -8px;
    left: 50%;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #DE0042;
}

div.invalid-tooltip.class-login:before, div.invalid-login-tooltip.class-login:before, div.invalid-username-tooltip.class-login:before {
    bottom: -8px;
    border-top: 8px solid #DE0042;
    border-bottom: none;
    top: auto;
}

div.invalid-login-tooltip, div.invalid-username-tooltip, div.invalid-secAnswer-tooltip {
    width: 100%;
    color: white;
    position: absolute;
    z-index: 5;
    max-width: 100%;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.25rem;
}

div.invalid-username-tooltip a, div.invalid-secAnswer-tooltip a {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

/* buttons */

button.btn {
    font-size: 12px;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
}

button.btn:focus {
    outline: black solid 1px;
    outline-offset: 4px;
    box-shadow: none;
}

button.btn-primary, button.btn-primary:focus {
    color: black;
    background-color: white;
    border-color: white;
}

button.btn-primary:hover {
    color: black;
    background-color: #E6F3FA;
    border-color: #E6F3FA;
}

button.btn-primary:not(:disabled):not(.disabled):active {
    background-color: #B3D9EE;
}

button.btn-secondary {
    color: #0080C7;
    background-color: white;
    border-color: #0080C7;
}

button.btn-secondary:hover {
    color: #0080C7;
    background-color: #E6F3FA;
    border-color: #0080C7;
}

button.btn-secondary:not(:disabled):not(.disabled):active {
    color: #0080C7;
    background-color: #B3D9EE;
    border-color: #0080C7;
}

button.btn-outline-primary {
    color: white;
    border-color: white;
}

button.btn-outline-primary:hover {
    color: white;
    background-color: #FFFFFF4D;
    border-color: white;
}

button.btn-outline-primary:not(:disabled):not(.disabled):active {
    color: white;
    background-color: #FFFFFF99;
    border-color: white;
}

.btn.btn-outline-primary.btn-lg.btn-block {
    color: #007BC7;
    background-color: #FFFFFF;
    white-space: nowrap;
    -webkit-appearance: none;
}

a.lnk-forgot-password {
    color: #A9FDB6;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    line-height: 17px;
    text-decoration: underline;
    cursor: pointer;
}

a.lnk-need-help {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    line-height: 21px;
    color: #FFFFFF;
    cursor: pointer;
}

button.btn-success {
    background-color: #BAC900;
    border-color: #C5D800;
}

button.btn-success:hover {
    background-color: #BAC900;
    border-color: #C5D800;
}

button.btn-success:focus {
    background-color: #BAC900;
    border-color: #C5D800;
}

button.btn-success:not(:disabled):not(.disabled):active {
    background-color: #BAC900;
    border-color: #C5D800;
}

button.btn span.spinner-border {
    margin-right: 10px;
}

/* modal */

div.modal h3 {
    color: black;
    margin: 20px;
}

div.modal div.modal-body {
    padding: 25px;
}

div.modal img#greenCheck {
    position: relative;
    top: -75px;
    margin-bottom: -75px;
}

*[tabindex="0"]:focus, :focus, .form-control:focus {
    outline: #000000 auto 3px;
}

.create-account .invalid-tooltip.error-name {
    width: 55%;
}

.create-account .invalid-tooltip.error-acc-type, .create-account .invalid-tooltip.error-secu-ques {
    width: 70%;
}

.create-account .invalid-tooltip.error-email {
    width: 60%;
}

.create-account .invalid-tooltip.error-username:nth-child(2) {
    width: 75%;
}

.create-account .invalid-tooltip.error-retype-pwd {
    width: 65%;
}

.create-account .invalid-tooltip.error-username,.create-account .invalid-tooltip.error-password, .create-account .invalid-tooltip.error-security-ans {
    width: 100%;
}

/* responsive */

@media (min-width:400px) {
    p {
        font-size: 14px;
    }
    button.btn {
        font-size: 14px;
        line-height: 28px;
    }
    div.btn-container {
        width: 300px;
    }
    .classroom-login .invalid-tooltip, .classroom-login .invalid-username-tooltip {
        width: 40%;
    }
    .create-account .invalid-tooltip.error-name {
        width: 35%;
    }
    .create-account .invalid-tooltip.error-acc-type, .create-account .invalid-tooltip.error-secu-ques, .create-account .invalid-tooltip.error-email, .create-account .invalid-tooltip.error-retype-pwd {
        width: 45%;
    }
    .create-account .invalid-tooltip.error-username:nth-child(2) {
        width: 55%;
    }
    .create-account .invalid-tooltip.error-security-ans {
        width: 60%;
    }
}

@media (min-width:400px) and (max-width:1919px) {
    a.lnk-forgot-password {
        font-size: 16px;
        line-height: 19px;
    }
    a.lnk-need-help {
        font-size: 19px;
        line-height: 22px;
    }
}

@media (min-width:960px) and (max-width:1919px) {
    p {
        font-size: 18px;
        line-height: 28px;
    }
}

@media (min-width:1920px) {
    p {
        font-size: 14px;
        line-height: 32px;
    }
    a.lnk-forgot-password {
        font-size: 18px;
        line-height: 22px;
    }
    a.lnk-need-help {
        font-size: 22px;
        line-height: 26px;
    }
}
