body, html {
    height: 100%;
    width: 100%;
    margin: 0;
    font-family: "Arial";
    font-weight: lighter;
    color: #626262;
    background-color: #E5ECFE;
}
.cont {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: right;
    background: url("../images/bg.png?v=1.1") no-repeat center center;
    background-size: cover;

}

.loginBox {
    width: 340px;
    box-shadow: 0px 0px 37px 0px #A8B8F3;
    border-radius: 10px;
    padding: 50px;
    height: 422px;
    background-color: rgba(255,255,255,0.3);
    border: 1px solid #FEFEFE;
    margin-right: 20%;
}
@media screen and (max-width: 800px) {
    .loginBox{
        position: fixed;
        top: 50%;
        left: 50%;
        margin-top: -211px;
        margin-left: -220px;
        margin-right: 0px;
        display: inline-block;
        background-color: #F2F5FF;
    }
}

.loginBox-header{
    text-align: center;
    padding: 10px 0px;
}
.loginBox-header h1{
    padding: 10px 0px;
    color: #0F1621;
    font-size: 20px;
    position: relative;
    text-align: center;
    font-weight: bold;
}
.loginBox-header h1::before{
    content: "";
    display: inline-block;
    height: 1px;
    background-color: #646C80;
    width: 90px;
    position: absolute;
    top: 50%;
    right: 10px;
}
.loginBox-header h1::after{
    content: "";
    display: inline-block;
    height: 1px;
    background-color: #646C80;
    width: 90px;
    position: absolute;
    top: 50%;
    left: 10px;
}
.loginBox-header span{
    color: #646C80;
}

.userImage {
    border-radius: 50%;
    overflow: hidden;
    width: 120px;
    height: 120px;
    margin: 10px auto 30px;
}
img {
    width: 100%;
}
.loginBox-main{
    padding-top: 40px;
}
.loginBox-main, .input-wrapper {
    position: relative;
    width: 100%;
    display: block;
    height: 48px;
    margin-bottom: 25px;
}
.loginBox-main .layui-icon{
    display: inline-block;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 10px;
    top: 13px;
}
.loginBox-main .layui-user{
    background: url("../images/login-account@2x.png") no-repeat center;
    background-size: cover;
}
.loginBox-main .layui-password{
    background: url("../images/login-password@2x.png") no-repeat center;
    background-size: cover;

}

.error-email, .error-pass {
    position: absolute;
    top: 5px;
    padding: 5px 10px;
    right: 0;
    color: white;
    background-color: #66e8dc;
    border-radius: 10px;
}
.triangle {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #66e8dc;
    position: absolute;
    right: 18px;
    bottom: -8px;
}
input {
    display: block;
    height: 48px;
    line-height: 48px;
    padding-left: 40px;
    width: 297px;
    border-radius: 24px;
    background-color: transparent;
    border: 1px solid #6B76A5;
}
input[type="button"] {
    width: 100%;
    margin-top: 80px;
    background-color: #4765E9;
    border: 1px solid #4765E9;
    color: white;
    font-weight: bold;
    padding-left: 0px;
    font-size: 16px;

}
.warning {
    border-color: red
}
.confirmation {
    width: 200px;
    position: absolute;
    top: 0;
    border-radius: 50%;
    overflow: hidden;
    height: 200px;
    left: 50%;
    margin-left: -100px;
    top: 50%;
    margin-top: -100px;
    box-shadow: 10px 10px 10px;
    z-index: 10
}
.overlay {
    background: rgba(14, 14, 14, 0.57);
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9;}
.showOk {
    animation: showOk 1s ease 1 normal;
    width: 200px;
    height: 200px;
}
@keyframes showOk {
    from {
        transform: scale(0);
        opacity: 0
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}