@charset "utf-8";
/* CSS Document */

* {
    box-sizing: border-box;
}

html {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}
body {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    color: #333645;
    font: normal 14px/18px 'Liberation Sans', Helvetica, Arial, sans-serif;
    background: #fff;
}

p {
    margin: 0;
    padding: 6px 0;
}
a {
    color: #4db5ef;
    text-decoration: underline;
}
a img {
    border: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    position: relative;
    font-weight: normal;
}
.fl {
    float: left;
}
.fr {
    float: right;
}
.fn {
    float: none;
}
.tal {
    text-align: left;
}
.tac {
    text-align: center;
}
.tar {
    text-align: right;
}
.ucase {
    text-transform: uppercase;
}
.lcase {
    text-transform: none;
}
.bold {
    font-weight: bold;
}
.italic {
    font-style: italic;
}
.ovhid {
    overflow: hidden;
}
form,
ol,
ul,
li,
menu {
    margin: 0;
    padding: 0;
}
input {
    border-radius: 0;
    box-shadow: none;
    color: #515151;
    font: normal 14px/16px 'Liberation Sans', Helvetica, Arial, sans-serif;
}
textarea {
    resize: none;
    overflow: auto;
    border-radius: 0;
    box-shadow: none;
    color: #515151;
    font: normal 14px/18px 'Liberation Sans', Helvetica, Arial, sans-serif;
}
input[type='file'],
input[type='submit'],
input[type='checkbox'],
input[type='checkbox'] ~ label {
    cursor: pointer;
}
ol,
ul,
li {
    list-style: none;
}
* {
    outline: none;
}

#mainbackground {
    width: 100%;
    min-height: 100%;
    background-color: #eff6ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    position: relative;
}
#login_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    padding-bottom: 30px;
    width: 100%;
}
#login_box form {
    padding: 40px;
    max-width: 420px;
    width: 100%;
    background-color: #dfedff;
    border-radius: 4px;
}
#mainbackground .logo_box {
    padding-bottom: 30px;
}
@media (min-width: 769px) {
    #mainbackground .logo_box {
        padding-bottom: 90px;
    }
}
#mainbackground img.logo {
    display: block;
    max-width: 100%;
}
#login_box .input {
    position: relative;
}
#login_box .input:before {
    content: '';
    position: absolute;
    left: 40px;
    top: 8px;
    width: 1px;
    height: 27px;
    background: rgba(255, 255, 255, 0.1);
}
#login_box .error {
    position: absolute;
    display: none;
    right: -56px;
    top: 50%;
    translate: 0 -50%;
    width: 42px;
    height: 42px;
    text-indent: -9000px;
    background: #e0473c url(../interface/loginpage_error.png) no-repeat center center;
    border: 1px solid #fa8f87;
}
#login_box .error:before {
    content: '';
    position: absolute;
    left: -5px;
    top: 17px;
    width: 8px;
    height: 8px;
    background: #e0473c;
    border-left: 1px solid #fa8f87;
    border-top: 1px solid #fa8f87;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
#login_box .input input {
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 0 18px;
    width: 100%;
    height: 42px;
    color: #333645;
    background: #fff;
    border: none;
    border-radius: 5px;
}
#login_box .input input:-webkit-autofill,
#login_box .input input:-webkit-autofill:hover,
#login_box .input input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset;
}
#login_box .submit {
    margin: 0;
    padding: 10px 0 0;
}
#login_box .submit input {
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 42px;
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 22px;
    border-radius: 4px;
    background: #30b5ef;
    border: none;
}
#login_box .forgot {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 0;
}
#login_box .forgot a {
    color: #1b4587;
    font-weight: bold;
    text-decoration: none;
}
/* #login_box .forgot a:hover {
    color: #000;
    text-decoration: underline;
} */

#login_box p.errorText {
    color: #ff0000;
    display: none;
}

#mainbackground .footer {
    background-color: #ffffff;
    width: 100%;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    color: #1f264d;
}

#mainbackground .footer a {
    color: #1f264d;
    text-decoration: none;
    font-weight: bold;
    display: block;
    margin-right: 5px;
}
