html, body, div, form, input, label {
    margin:0;
    padding:0;
}

body {
    font-size: 11px;
    line-height: 1.2em;
    background: url(../images/esup/tyler_logo_dot.svg) no-repeat -185px -30px;
    background-size: 800px;
}
body[data-tenant=aoc] {
    background: url(/content/images/aoc/login/water-mark-AOC.png) no-repeat -50px 70px;
}

.login_form a {
    color: #26aae1;
    text-decoration: underline;
}

.login_form a:hover {
    text-decoration: none;
}

ul {
    margin: 0 0 0 20px;
    padding: 8px 0;
}

li {
    list-style-image: url('../images/list_arrow.gif');
    line-height: 1.2em;
    padding: 6px 0;
}

/* stretch content to the bottom of the browser window */
#login_outer_container {
    display: flex;
    align-items: stretch;
    height: 100vh;
}

#login_inner_container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#login_content {
    display: flex;
    flex-grow: 1;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

#login_top_banner {
    background-color: var(--heading-color);
    width: 100%;
    min-height: 60px;
}

.esup[data-env=dev] #login_outer_container #login_top_banner,
.esup[data-env=devlocal] #login_outer_container #login_top_banner,
.esup[data-env=dev] #login_outer_container #login_subheading,
.esup[data-env=devlocal] #login_outer_container #login_subheading {
    background-color: black;
}
.esup[data-env=qa] #login_outer_container #login_top_banner,
.esup[data-env=qa] #login_outer_container #login_subheading {
    background-color: #444444;
}

#login_footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#login_footer > #version {
    height: 20px;
    margin: 20px 0 5px 0;
}

#login_footer > #legal {
    background-color: #E7EBF1;
    height: 60px;
    padding: 10px 0;
}
#login_footer > #version,
#login_footer > #legal {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: justify;
}

#login_footer > #version > div {
    text-align: left;
    font-weight: 500;
}

#login_footer > #legal > div {
    display: flex;
    align-items: center;
}

#login_footer > #legal > div > div:first-child {
    flex-grow: 1;
}

.legal-text {
    max-width: 725px;
}

#login_footer > #legal div.logo {
    display: none;
}

#login_footer > #version > div,
#login_footer > #legal > div {
    width: 1200px;
    padding: 0 10px;
}

.form_right {
    width: 100%;
    margin: 12px 0;
    padding: 0;
    text-align: right;
}

#login_logo {
    width: 100%;
    min-height: 100px;
    margin: 10px 0 10px 0;
    background-image: url(../images/esup/tylertech_logo.svg);
    background-repeat: no-repeat;
    background-position: center;
}
/* client-specific logos */
body[data-tenant=clarknv] #login_logo {
    background: url("/content/images/7106/Login_Logo.png") no-repeat scroll 0 0 transparent;
    width: 218px;
    min-height: 225px;
    mask-image: unset;
    -webkit-mask-image: unset;
    margin: -50px 0 0 0;
}
body[data-tenant=aoc] #login_logo {
    background: url("/content/images/aoc/login/logo_login_AOC.png") no-repeat scroll 0 0 transparent;
    width: 432px;
    min-height: 250px;
    mask-image: unset;
    -webkit-mask-image: unset;
}

#login_subheading {
    mask-image: url(/images/esup/esup_logo.svg);
    mask-repeat: no-repeat;
    mask-position-x: left;
    mask-position-y: center;
    -webkit-mask-image: url(/images/esup/esup_logo.svg);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position-x: center;
    -webkit-mask-position-y: center;
    background-color: var(--heading-color);
    min-height: 60px;
    width: 425px;
}

.login_form_wrapper {
    font-size: 1.2em;
    width: 100%;
}

.login_form_wrapper#login > div:first-child,
.login_form_wrapper#login > div:last-child {
    display: none;
}

.login_form_wrapper#login > div:nth-child(2) {
    display: flex;
    flex-direction: column;
}
.login_title {
    color: var(--heading-color);
    font-weight: 600;
    font-size: 1.1em;
    line-height: 30px;
    margin: 10px 0 0 0;
    padding: 0 20px;
}

.login_form,
#login-recovery .error-box,
#login-recovery form,
#password-change form {
    color: #2C3651;
    padding: 20px;
    text-align: left;
    background-color: rgb(255 255 254 / 50%);
}

.grad_body_msg {
    margin: 0;
    font-size: 1em;
    text-align: left;
}
.grad_body_msg > p:not(:last-child) {
    margin-bottom: 10px;
}

/* small (mobile) screen only */
@media only screen and (max-width: 640px) {
    .ui_message_login {
        margin: 0 20px;
        width: unset;
    }

    #forgot-pass .light_input,
    #login .light_input {
        width: 100%;
    }

    #login_subheading {
        width: 355px;
    }

    #login-recovery ul {
        margin-left: 20px;
    }

    .grad_body_msg {
        padding: 6px 20px;
    }
}

/* extra small screen (e.g. Galaxy Fold) */
@media only screen and (max-width: 300px) {
    #login_subheading {
        width: 255px;
    }
}

/* medium screen and up */
@media only screen and (min-width: 768px) {
    .ui_message_login {
        margin: 0;
        width: 600px;
    }

    #login_logo {
        width: 750px;
        min-height: 140px;
    }

    .login_title {
        font-size: 22px;
        margin: 25px 0 10px 0;
        width: 600px;
    }

    .login_form_wrapper#login {
        display: flex;
        grid-template-columns: unset;
    }

    .login_form_wrapper {
        font-size: 1.2em;
        width: 750px;
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .login_form_wrapper#login > div:nth-child(2) {
        align-items: center;
    }

    .login_form {
        display: grid;
        grid-template-columns: 60% 40%;
        padding: 25px 50px;
        width: 550px;
        border: 1px solid #939598;
        border-radius: 15px;
    }

    #login .light_input {
        width: 90%;
    }

    #forgot-pass form[name=forgot_user] {
        text-wrap: nowrap;
        width: 40%;
    }

    #forgot-pass form[name=forgot_user] .light_input {
        width: 100%;
    }

    #forgot-pass form[name=forgot_pass] .light_input {
        width: 65%;
    }

    #login_footer > #legal div.logo {
        background: url(../images/esup/tylertech_logo.svg);
        background-repeat: no-repeat;
        height: 50px;
        width: 130px;
        display: block;
    }

    #login_footer > #legal {
        text-align: start;
    }

    #login-recovery .login_title {
        margin: 25px 0 10px 210px;
        margin-right: auto;
    }

    #login-recovery .error-box,
    #login-recovery form {
        width: 325px;
    }

    #login-recovery .error-box,
    #login-recovery form,
    #password-change form {
        padding: 25px 50px;
        border: 1px solid #939598;
        background-color: #fff;
        border-radius: 15px;
        margin-bottom: 20px;
    }

    .grad_body_msg {
        padding: 6px;
    }

}

/* xl screens and up */
@media (min-width: 1280px) {
    #login_logo {
        margin: 25px 0 25px 0;
    }

    .login_form_wrapper#login {
        display: flex;
        width: 100%;
        grid-template-columns: 1fr 750px 1fr;
    }

    .login_form_wrapper#login > div:first-child,
    .login_form_wrapper#login > div:last-child {
        display: block;
    }
}

.smallForm {
    width: 400px;
}

#login_instruct {
    margin-bottom: 20px;
    font-size: 1.2em;
    white-space: nowrap;
}

#login_left {
    display: flex;
    flex-direction: column;
}

#login_right {
    display: flex;
    flex-direction: column;
    line-height: 1.4em;
    padding-top: 25px;
}

#login_right > div {
    display: inline;
}

#login_right > div > .chevron::after {
    content: "\203A";
    font-size: 20px;
    font-weight: 600;
    color: #26aae1;
    vertical-align: bottom;
    margin-left: 1px;
}

#login_right > .tyler-identity > a,
#login_right > .tyler-identity > .chevron::after {
    color: #283B91;
}

#login_right > .tyler-identity {
    margin-top: 17px;
}

#login_right > .tyler-identity > a > span {
    font-weight: 600;
}

#login_grid {
    display: grid;
    grid-template-columns: 90px 1fr;
    row-gap: 10px;
}

/* center label side of grid */
#login_grid > div:nth-child(odd) {
    display: flex;
    align-items: center;
}

.light_input {
    height: 25px;
    padding: 4px 5px;
    color: #2c3651;
    background-color: white;
    border: 1px solid #939598;
    border-radius: 2px;
    font-size: 12px;
}

.doc_head_wrapper {
    width: 750px;
}

div.smallForm div.doc_head_wrapper {
    width: 100%;
}

.doc_head_title {
    float: left;
    text-align: left;
    line-height: 25px;
    font-size: 1.4em;
    margin: 5px;
    padding: 0;
}

.doc_container {
    border-bottom: 1px dashed #ddd;
    width: 100%;
    margin: 0;
    padding: 12px 0 3px 0;
    text-align: left;
}

.doc_icon {
    margin: 0;
    padding: 0 15px 0 8px;
    text-align: center;
    float: left;
}

.doc_details {
    float:left;
    width: 72%;
    margin: 0;
    padding: 0;
    text-align: left;
}

.doc_title {
    font-size: 0.9em;
    font-weight: bold;
    color: #1d2a5b;
    margin: 0;
    padding: 0px 0;
    text-align: left;
}

.doc_subtitle {
    font-size: 0.6em;
    color: #fff;
    margin: 0;
    padding: 0 8px;
    font-weight: normal;
}

.doc_desc {
    font-size: 0.8em;
    color: #1d2a5b;
    margin: 0;
    padding: 2px 8px;
}

.doc_desc ul {
    margin: 0 0 0 20px;
    padding: 0;
}

.doc_desc ul li {
    list-style-image: url('../images/list_arrow.gif');
}

.doc_desc ol {
    margin: 0 0 0 40px;
    padding: 0;
}

.doc_desc ol li {
    margin: 6px 0;
    padding: 0;
    list-style-image:none;
    list-style: decimal;
}

.doc_links {
    float: right;
    margin: 0;
    padding: 0 5px 0 0; /* top 27px to align with left-side icon */
}

.grad_body_text {
    margin: 0;
    padding: 6px;
    font-size: 1em;
    text-align: center;
}

.grad_body_text_header {
    margin: 0;
    padding: 6px;
    font-size: 1.0em;
    font-weight: bold;
    text-align: center;
}

.sm_box {
    margin: 15px 2%;
    padding: 12px 4px;
    font-size: 0.8em;
    width: 45%;
    border: 1px solid #939598;
    border-radius: 15px;
    background-color: #fff;
    min-width: 20em;
}

.sm_box div.grad_body_text {
    text-wrap: auto;
}

#forgot_un_box {
    width: auto;
}

#login-recovery form #login_grid {
    grid-template-columns: 110px 1fr;
}

#login-recovery form #login_grid .light_input {
    width: 100%;
}

.system-message-container {
    margin: 20px 0 25px 0;
}
.system-message-container div:not(:last-child) {
    margin-bottom: 6px;
}

#login_message_bottom {
    padding: 0 50px;
}

#login_message_bottom > #message_first {
    color: orangered;
}

#login_message_bottom > #message_first, #login_message_bottom > #message_second {
    padding-top: 30px;
}

.ui_message_login {
    background-color: #F3C7C7;
    border: 1px dashed #990000;
    color: #990000;
    font-size: 13px;
    line-height: 1.4em;
    padding: 6px 12px;
    text-align: center;
    border-radius: 6px;
    margin-bottom: 1em;
    width: 625px;
}

.ui_message_login a {
    text-decoration: underline;
    color: #b00;
    font-weight: normal;
}

.ui_message_login ul {
    margin: 0 0 0 40%;
    padding: 0;
    text-align: left;
    color: #d00;
}
