main {
    display: flex;
    justify-content: center;
    align-items: center;
    /*background-image: url("/static/common/img/login-hero.jpg");*/
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    min-height: 80vh;
}

select {
    background: white !important;
}

.forgot-pass {
    border: 1px solid #bdbdbd;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.85);
    width: 280px;
    height: auto;
    color: black;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    padding-bottom: 25px;
}

.message {
    border: 1px solid #bdbdbd;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.85);
    width: 320px;
    height: auto;
    color: black;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    padding-bottom: 35px;
}

.pass-form {
    border: 1px solid #bdbdbd;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.85);
    width: 320px;
    height: auto;
    color: black;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.error-link-card, .password-done {
    border: 1px solid #bdbdbd;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.85);
    width: 320px;
    height: auto;
    color: black;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    padding: 0 35px 35px 35px;
}

.password-done a {
    color: #9D2235;
}

.password-done a:focus {
    background: none;
    border: 2px solid black;
    color: #9D2235;
    outline: none;
}

.error-title, .password-done h1, .pass-form h1 {
    font-size: 21px;
    text-align: center;
    margin-top: 15px;
}

.pass-form li {
    padding-bottom: 15px;
    font-size: 14px;
}

.pass-form input {
    width: 221px;
    height: 30px;
    border-radius: 5px;
    border: 1px solid;
    padding-left: 8px;
}

.pass-form ul {
    padding-left: 25px;
    padding-right: 15px;
    padding-top: 10px;
}

.pass-form label {
    font-weight: bold;
    padding-bottom: 10px;
    font-size: 15px;
    width: 231px;
}

.field-container .field-error {
    padding-top: 10px;
    font-size: 14px;
    width: 230px;
}

.firstp {
    margin-bottom: 20px;
}

#forgot-title, #message-title {
    display: grid;
    justify-content: center;
    margin-top: 15px;
    /*margin-bottom: 35px;*/
    font-size: 21px;
}

#forgot-title h1, #message-title h1 {
    font-size: 21px;
}

.forgot-pass p {
    display: grid;
    justify-items: left;
    width: 221px;
}

.message p {
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.forgot-pass label {
    font-weight: bold;
    padding-bottom: 10px;
    font-size: 15px;
}

.field-container {
    display: grid;
    justify-content: center;
}

.forgot-pass input {
    width: 221px;
    height: 30px;
    border-radius: 5px;
    border: 1px solid;
    padding-left: 8px;
}

form {
    margin-bottom: 15px;
    display: grid;
    justify-items: center;
    grid-row-gap: 15px;
}

#reset-button {
    margin: 15px 0;
    background-color: #9D2235;
    border: 2px solid rgba(255, 255, 255, 0);
    border-radius: 5px;
    color: white;
    padding: 10px 0;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    width: 125px;
    outline: none;
}

/* reverse on hover */
#reset-button:hover {
    background-color: rgba(255, 255, 255, 0);
    border: 2px solid #9D2235;
    color: #9D2235;
}

#reset-button:focus {
    background-color: rgba(255, 255, 255, 0);
    border: 2px solid #9D2235;
    color: #9D2235;
}

.pass-change {
    margin-top: 15px;
    background-color: #9D2235;
    border: 2px solid rgba(255, 255, 255, 0);
    border-radius: 5px;
    color: white;
    padding: 10px 0;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    width: 125px;
    outline: none;
}

.pass-change:hover {
    background-color: rgba(255, 255, 255, 0);
    border: 2px solid #9D2235;
    color: #9D2235;
}

.pass-change:focus {
    background-color: rgba(255, 255, 255, 0);
    border: 2px solid #9D2235;
    color: #9D2235;
}

.user-instr {
    padding-top: 10px;
}

@media screen and (min-width: 768px) {
    .forgot-pass {
        width: 320px;
    }

    .message {
        width: 350px;
    }

    #forgot-title h1 {
        font-size: 22px;
    }

    #forgot-title, #message-title {
        margin-top: 20px;
    }

    main {
        min-height: 90vh;
    }
}