@font-face {
    font-family: "News Gothic Regular";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("https://builderportalapp.blob.core.windows.net/duke-id/non-prod/assets/NewsGothicBTRoman.woff2") format('woff2'),
    url("https://builderportalapp.blob.core.windows.net/duke-id/non-prod/assets/NewsGothicBTRoman.woff") format('woff')
}

html * {
    font-family: "News Gothic Regular", Arial, Helvetica, sans-serif;
}

body {
    display:flex;
    height: 100vh;
    margin: 0;
    font-size: 14px;
}

#background,
#background::before {
    height: 100vh;
    width: 100vw;
    position: absolute;
}
#background {
    background-image: url("https://builderportalapp.blob.core.windows.net/duke-id/non-prod/assets/dukeid-background-2023-08-11.jpg");
    background-size: cover;
}
#background::before {
    content: '';
    background-color: #005984;
    filter: opacity(70%);
}

.hide {
    display: none !important;
}

/**==CARD==**/
.card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0 2px 1px -1px rgba(0, 0, 0, .2), 0 1px 1px 0 rgba(0, 0, 0, .14), 0 1px 3px 0 rgba(0, 0, 0, .12);
    border-radius: 4px;
    align-items: center;
    width: 500px;
    margin: auto;
    padding: 30px;
    text-align: center;
    z-index: 1;
}

.card__content {
    margin: auto;
    width:95%;
}

.card-logo {
    height: 50px;
    width: 150px;
    margin: 0 auto;
    padding-bottom: 30px
}
/**==End Card ==**/

/**======BUTTONS======**/

.buttons {
    letter-spacing: .35px;
    display: flex;
    flex-direction: column;
}

.buttons--row {
    display:flex;
    letter-spacing: .35px;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
}

.link-button {
    color: #00789e;
    text-decoration: none;
    letter-spacing: .35px;
    border-bottom: 1px solid #00789e;
}

.link-button:hover {
    color: #005984;
}

button {
    border: 1px solid #00789e;
    border-radius: 4px;
    font-size: 14px;
    letter-spacing: .35px;
    line-height: 16px;
    min-height: 44px;
    min-width: 120px;
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
    margin-top: 10px;
}

.center-button {
    width: -moz-fit-content;
    width: fit-content;
    text-align: center;
    margin: auto;
}

.primary-button {
    background-color: #00789e;
    color: #ffffff;
}

.primary-button:hover:enabled {
    background-color: #076f94 !important;
    cursor: pointer;
}

.secondary-button {
    background-color: #ffffff;
    color: #00789e;
}

.secondary-button:hover:enabled {
    background-color: #f2f4f4 !important;
    cursor: pointer;
}

.primary-button:disabled {
    background-color: rgba(0, 120, 158, .4);
    border: 1px solid rgba(0, 120, 158, .4);
    cursor: not-allowed;
    color: rgba(0, 0, 0, 0.26);
}

.btn-toggle-visibility {
    background: none;
    border: none;
    color: #006060;
    font-size: 14px;
    height: 14px;
    min-height: 20px;
    min-width: auto;
    margin: 0;
    position: absolute;
    padding: 0 !important;
    top: 40px;
    right: 16px;
}

.input__holder .btn-toggle-visibility {
    background: none;
    border: none;
    color: #006060;
    font-size: 14px;
    height: 14px;
    min-height: 20px;
    min-width: auto;
    margin: 0;
    position: absolute;
    padding: 0 !important;
    top: 40px;
    right: 16px;
}

.btn-toggle-visibility:hover {
    cursor: pointer;
    text-decoration: underline;
}

.btn-toggle-visibility:focus {
    border:none;
    text-decoration: underline;
}
/**======END-BUTTONS======**/

/**==INPUTS==**/

form {
    margin: 0 auto;
    width: 95%;
}

.form__title {
    font-size:18px;
    font-weight: 600;
    color: #005984;
    letter-spacing: .35px;
}

.form__instructions {
    font-size: 14px;
    letter-spacing: .35px;
}

input {
    border: none;
    border-bottom: 1px solid #757575;
    border-radius: 0px;
    display: block;
    font-size: 16px;
    height: 28px;
    z-index: 3;
    width: 100%;
}

input:focus {
    outline: none;
}

.input__holder {
    padding: 20px;
    position: relative;
}

.input-label-text {
    display: block;
    text-align: left;
    color: #005984;
    font-family: "Roboto";
    font-size: 13px;
    width: 100%;
}

.input-label-icon {
    position: absolute;
    left: 3px;
    top: calc(50% - 0.5em); /* Keep icon in center of input, regardless of the input height */
}

.input-label-icon-suffix {
    position: absolute;
    right: -10px;
    top: calc(50% - 0.5em); /* Keep icon in center of input, regardless of the input height */
}

input{
    padding-left: 5px;
}

/* input:invalid {
	border-bottom: 4px solid red;
} */

.input-with-icon {
    margin-left: 10px;
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}

.card .error {
    display:block;
    height:20px;
    color: #9e1b32;
    padding: 5px;
}

/**==END-INPUTS==**/

/* BOTTOM BARS ================================= */
.bar {
    display: block;
    position: relative;
    width: 102% !important;
}

.bar-icon {
    margin-left: 10px;
    width: 102% !important;
}

.bar:before,
.bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: #5264AE;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.bar:before {
    left: 50%;
}

.bar:after {
    right: 50%;
}

input:focus~.bar:before,
input:focus~.bar:after {
    width: 50%;
}
/*==End Bars==*/

/**===LOADER===**/
#loading {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.7;
    background-color: #fff;
    z-index: 99;
}

#loading-image {
    height:50px;
    z-index: 100;
}
/*==End Loader ==*/


/**===Password Criteria ===**/
/*** Password Requirements **/

.criteria-list ul{
    display:flex;
    -ms-flex:1;
    margin-top:30px !important;
    padding: 0px !important;
}

.password-criteria li {
    display:flex !important;
    -ms-flex: 1;
    flex-direction: column;
}

.password-criteria {
    background-color: #f3fbfd;
    padding: 10px 0px 10px 0px;
    text-align:center;
    color: #696969;
}

.criteria-check {
    height:24px;
}

@media only screen and (max-width: 500px) {
    .criteria-list {
        display:flex;
        -ms-flex: 1;
        justify-content: center;
        text-align: left;
        margin-top: 10px;
    }

    .password-criteria li {
        display:block !important;
        margin-top:5px;
    }

    .criteria-list ul{
        display:block;
        margin-top: 10px !important;
    }

    .criteria-check {
        height:24px;
        vertical-align: middle;
        margin-right:8px;
    }

}
/**===END PASSWORD CRITERIA===**/

/**==UTILS==**/
.padding--top {
    padding-top: 20px;
}

.inline-block {
    display:inline-block;
}

.padding--bottom--none {
    padding-bottom: 0px;
}

.grey-text {
    color: #696969;
}

.green-text {
    color: #00853f
}

.red-text {
    color: #9e1b32
}

/**==END-UTILS==**/

/* Hide Azure overaly */
#simplemodal-overlay, #simplemodal-container {
    display: none !important;
}
