@font-face {
    font-family: OpenSans;
    src: url(../font/open-sans/OpenSans-Regular.ttf);
}

@font-face {
    font-family: OpenSans-Bold;
    src: url(../font/open-sans/OpenSans-Bold.ttf);
}

body {
    margin: 0;
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #0A2C3E;
    opacity: 0.90;
    -moz-opacity: 90%;
    -webkit-opacity: 90%;
    z-index: 1;
}

.background {
    position: fixed;
    width: 100%;
    height: 100%;
    background: url(../background) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    z-index: 0;
}

.password-reset-request-view {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: scroll;
    z-index: 2;
}

.password-reset-request-box {
    position: relative;
    display: flex;
    text-align: center;
    flex-direction: column;
    top: 24%;
    height: max-content;
}

.image-box {
    text-align: center;
    margin-bottom: 100px;
}

p {
    margin: 0;
    font-size: 14px;
    color: #FFFFFF;
    text-align: center;
}

label {
    margin-top: 10px;
    margin-left: 13px;
    height: 21px;
    font-family: OpenSans, sans-serif;
    line-height: 1.31;
    letter-spacing: -0.39px;
    color: #FFFFFF;
    display: flex;
    margin-bottom: 5px;
}

form, #password-reset-request-success-message {
    margin: 0 auto;
}

.error-input {
    border: #D32336 1px solid;
}

.error-message {
    font-family: OpenSans-Bold, sans-serif;
    font-size: 16px;
    line-height: 1.31;
    letter-spacing: -0.39px;
    color: #D32336;
    text-transform: uppercase;
    margin-left: 13px;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: left;
}

.success-message {
    font-family: OpenSans, sans-serif;
    font-size: 14px;
    line-height: 1.31;
    letter-spacing: -0.39px;
    color: #FFFFFF;
    margin-left: 13px;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: left;
}

.info-message {
    font-family: OpenSans, sans-serif;
    font-size: 14px;
    line-height: 1.31;
    letter-spacing: -0.39px;
    color: #FFFFFF;
    margin-left: 13px;
    margin-top: 15px;
    text-align: left;
}

input#username {
    background-color: #376278;
    color: #FFFFFF;
}

input {
    border: none;
    width: 95%;
    border-radius: 4px 4px 0 0;
    background-color: #376278;
    height: 45px;
    border-bottom: #FFFFFF 1px solid;
    color: #FFFFFF;
    font-size: 14px;
    font-family: OpenSans, sans-serif;
    padding-left: 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#submit-password-reset-request-btn {
    margin: 25px auto 30px;
    display: block;
    width: 130px;
    height: 45px;
    border-radius: 5px;
    border-color: transparent;
    box-shadow: 2px 2px 4px 0 rgba(10, 44, 62, 0.5);
    background-color: #4FBDE6;
    font-family: OpenSans-Bold, sans-serif;
    font-size: 14px;
    letter-spacing: -0.36px;
    text-align: center;
    color: #0f384d;
    cursor: pointer;
}

#password-reset-request-success-message {
    margin: 25px auto 30px;
    display: block;
    text-align: center;
}

.avio-table {
    box-shadow: 0 0 6px 4px rgba(10, 44, 62, 0.75);
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: 5px;
    width: 500px;
    display: block;
}

tbody {
    width: 100%;
    display: inline-table;
    height: 100%;
}

.hidden-input {
    display: none;
}


@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (orientation: landscape) {
    .avio-password-reset-request-logo {
        width: 250px !important;
    }

    .password-reset-request-box {
        top: 5% !important;
    }

    .avio-table {
        width: 400px !important;
        height: unset !important;
    }

    .image-box {
        margin-bottom: 75px !important;
    }

    #submit-password-reset-request-btn {
        margin: 10px auto 10px !important;
    }

    #password-reset-request-success-message {
        margin: 10px auto 10px !important;
    }
}


/* Smartphones small (landscape) ----------- */
@media only screen
and (min-width: 250px)
and (max-width: 850px)
and (orientation: landscape) {
    .image-box {
        margin-bottom: unset !important;
        width: 90% !important;
        display: inline-block !important;
        vertical-align: middle !important;
        margin-top: 8% !important;
        position: relative !important;
    }

    .password-reset-request-view {
        overflow: unset !important;
    }

    .password-reset-request-box {
        flex-direction: row !important;
        top: 14% !important;
    }

    .avio-password-reset-request-logo {
        width: 200px !important;
    }

    .avio-table {
        width: 285px !important;
        height: unset !important;
    }

    form {
        margin: unset !important;
        display: inline-block !important;
        width: 100%;
    }

    #submit-password-reset-request-btn {
        height: 35px !important;
        margin: 10px auto 10px !important;
    }

    #password-reset-request-success-message {
        margin: 10px auto 10px !important;
    }
}

/* Smartphones small (portrait) ----------- */
@media only screen
and (min-width: 250px)
and (max-width: 850px)
and (orientation: portrait) {
    .avio-password-reset-request-logo {
        width: 200px !important;
    }

    .avio-table {
        width: 285px !important;
        height: unset !important;
    }

    .password-reset-request-box {
        top: 14% !important;
    }

    .image-box {
        margin-bottom: 50px !important;
    }
}


