/** 登录页面样式 */

body {
    background-image: url("../images/bg_login2.svg");
    background-position: center 110px;
    background-repeat: no-repeat;
    background-size: 100%;
    background-color: #f0f2f5;
}

.login-wrapper, body, html {
    height: 100%
}

.login-wrapper {
    overflow: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.login-body {
    padding: 10px 0 !important;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 50%;
    transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.login-body > .layui-card {
    width: 445px;
    box-sizing: border-box;
    padding: 50px 0 0 0;
    margin: 20px auto;
    background: #FFFFFF;
    border: 1px solid #EFEFEF;
    box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 0.15);
    border:1px solid #b3b3b3;
}

.login-body .layui-card-header {
    font-weight: 500;
    font-size: 24px;
    text-align: center;
    padding-bottom: 20px;
    height: initial;
    letter-spacing: 5px;
}
.login-body .layui-card-header img{
    margin-bottom: 20px;
}

.login-body .layui-form-pane{
    padding:30px 55px;
}

.login-body .layui-form-pane .layui-form-label {
    width: 78px;
    overflow: visible;
    height: 42px;
    line-height: 26px;
}

.login-body .layui-form-pane .layui-input-block {
    /*margin-left: 78px;*/
    margin-left: 0;
    min-height: 42px;
}
.login-body .layui-form-pane .layui-input{
    height: 50px;
    background-color: #F7F7F7;
}

.login-body .layui-form-pane .layui-btn-fluid{
    height: 56px;
    font-size: 20px;
    background-color: #e2242e;
}

.login-body .layui-form-pane .layui-form-item{
    margin-bottom: 30px;
}

.login-body .layui-form-pane .layui-form-item:last-child{
    margin-bottom: 0;
}

.login-body .login-captcha {
    width: 100%;
    cursor: pointer;
    height: 52px;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    box-sizing: border-box;
}

.login-body .login-other > * {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    font-size: 14px;
}

.login-body .login-other .layui-icon {
    position: relative;
    top: 2px;
    font-size: 26px;
}

.login-body .login-other a:hover {
    opacity: .8;
}
.login-body .login-back-txt{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 1316px;
    height: 188px;
    z-index: -1;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    background: url("/assets/common/images/log_txt.png") no-repeat center;
}

.layui-icon-login-qq {
    color: #3492ED
}

.layui-icon-login-wechat {
    color: #4DAF29
}

.layui-icon-login-weibo {
    color: #CF1900
}

/** 底部样式 */
.login-footer {
    text-align: center;
    line-height: 30px;
    color: rgba(255, 255, 255, 0.7) !important;
    padding-bottom: 20px;
}

.login-footer span {
    padding: 0 5px
}

.login-footer a {
    padding: 0 5px;
    color: rgba(255, 255, 255, 0.7) !important;
}

.login-footer a:hover {
    color: rgba(255, 255, 255, 0.4) !important;
}

/** 头部样式 */
.login-header {
    font-family: Myriad Pro, Helvetica Neue, Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 10px;
}

.login-header img {
    height: 35px;
}

/** 移动设备样式 */
@media screen and (min-height: 590px) {
    .login-footer {
        position: absolute;
        bottom: 0;
        width: 100%;
    }
}

@media screen and (min-height: 670px) {
    .login-body {
        padding: 110px 10px 40px 10px;
    }
}

/** 辅助样式 */
.layui-link {
    color: #e2242e !important;
}

.layui-link:hover {
    opacity: .8;
}

.pull-right {
    float: right;
}

.inline-block {
    display: inline-block;
}

.login-header {
    color: rgba(0, 0, 0, .85) !important;
}

.login-footer {
    color: rgba(0, 0, 0, 0.7) !important;
}

.login-footer a {
    color: rgba(0, 0, 0, 0.7) !important;
}

.login-footer a:hover {
    color: rgba(0, 0, 0, 0.4) !important;
}

.login-background{
    position: absolute;
    top: 0;
    left: 5vw;
    height: 100%;
    display: flex;
    align-items: center;
}
.login-background .background-img{
    background: url("/assets/common/images/login_img.png") no-repeat center;
    background-size: cover;
    width: 27.5vw;
    height: 27.5vw;
}
.login-background .login-back-txt{
    text-align: right;
    margin-right: 2.5vw;
    color: #003c3c;
    font-size: 16px;
}
.login-background .login-back-txt p:nth-child(1){
    font-size: 1.8125em;
    font-weight: 500;
}

.login-background .login-back-txt p:nth-child(2){
    font-size: 3.625em;
    font-weight: bold;
}

@media screen and (max-width: 1600px){
    .login-background .login-back-txt{
        font-size: 14px;
    }
}

@media screen and (max-width: 1400px){
    .login-background .login-back-txt{
        font-size: 12px;
    }
    .login-body{
        transform: translateY(-50%) scale(.8);
        -webkit-transform: translateY(-50%) scale(.8);
        -moz-transform: translateY(-50%) scale(.8);
        -ms-transform: translateY(-50%) scale(.8);
        -o-transform: translateY(-50%) scale(.8);
    }
}

@media screen and (max-width: 1280px){
    .login-background .login-back-txt{
        font-size: 10px;
    }
}
