html,
body {
    width: 100%;
}

body {
    background: url(../img/4.jpg) no-repeat;
    background-size: 100%;
    position: fixed;
    height: 100%;
    background-position: center 0;
    background-size: 100% 100%;
    background-attachment: fixed;
}

a.link {
    text-decoration: none;
    cursor: pointer;
    color: #a5d1ec;
    font-size: 14px;
}

a:hover {
    text-decoration: none;
}

.bg {
    width: 320px;
    height: 320px;
    position: relative;
    position: absolute;
    left: -85px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    margin: auto;
    z-index: 1;
}


.submit {
    margin-right: 11px;
    background: #2f9cd4;
    border-radius: 0.5em;
    outline: none;
    padding: 8px;
    width: 100%;
    cursor: pointer;
    color: #bbdfff;
    border: 1px solid #2f9cd4;
    transition: border linear 0.2s,
        box-shadow linear 0.2s;
}

.submit:hover {
    background: #84c0de;
}

.wrapper {
    display: flex;
    width: 100%;
    color: #bbdfff;
    padding: 3px 0px;
    font-weight: 600;
    display: -webkit-flex;
}

.box1 {
    flex: 0 1 80px;
    line-height: 45px;
}

.box2 {
    flex: 1;
}




#validCodeImg {
    width: 34%;
    float: right;
    height: 38px;
}

.box2 input[type="text"],
.box2 input[type="password"] {
    padding: 8px;
    width: 100%;
    font-size: 1.1em;
    color: #bbdfff;
    background: #87b5d9;
    font-weight: 400;
    border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
    -o-border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    box-shadow: 5px -5px 5px #638baf;
    border: 3px solid #87b5d9;
    transition: border linear 0.2s,
        box-shadow linear 0.2s;
}


.validCodeBox {
    display: none;
    border: none;
}

.box2 .validCodeDiv {
    width: 55%;
    float: left;
}

.layui-form-item .layui-form-checkbox[lay-skin=primary] {
    margin-top: 0px;
}

@media (min-width:800px) and (max-width:1200px) {
    .bg {
        width: 320px;
        height: 320px;
    }
}