.layui-input:focus, .layui-textarea:focus {
    border-color: #0f69ce !important;
}
.layui-form-danger + .layui-form-select .layui-input, .layui-form-danger:focus {
    border-color: #ff5722 !important;
}
.layui-btn-primary:hover {
    border-color: #0f69ce;
}
.layui-form-item{
    width:292px;
}
html, body {
    width: 100%;
    min-height: 100%;
}
body{
    background:url(../images/bg.jpg) no-repeat center;
    background-size:cover;
  
}
.p{
    position:absolute;
    left:0;
    bottom:0;
    height:calc(100% - 180px);
}
.p img {
    object-fit: contain;
    max-width: 100%;
    bottom:0;
    position:absolute;
}
h1 {
    color: #0f69ce;
    font-size: clamp(1.5rem, 1.6rem + 1.5vw, 3rem);
    padding: 60px 0 0 100px;
}
.loginbox{
    background-color:#fff;
    border-radius:5px;
    position:absolute;
    top:22%;
    right:15%;
    padding:38px;
    box-shadow:0 0 10px rgba(255,255,255,.5);
}
h3 {
    color: #0f69ce;
    font-size: clamp(1rem, 0.9rem + 2vw, 1.5rem);
    text-align:center;
}
.blue {
    background: #0f69ce;
}
.more{
    text-align:right;    
    margin:30px 0 20px;
}
.more a {
    color: #b2b2b2;
}
.more a:hover{
    color:#0f69ce;
}
.links{
    display:flex;
    justify-content:space-between;
}
.type {
    font-size: clamp(0.9rem, 0.8rem + 1.5vw, 1.1rem);
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    cursor: pointer;
}
.type span.current{
    font-weight:bold;
    position:relative;
}
.type span.current:after{
    content:"";
    display:block;
    position:absolute;
    width:80%;
    height:2px;
    background:#0f69ce;
    left:50%;
    transform:translateX(-50%);
    bottom:0px;
}
.inputbox .item{
    display:none;
}
.inputbox .item.show{
    display:block;
}

/*注册*/
.reg{
    background:url(/images/bg1.jpg) no-repeat;
    
}
.reg h1{
    text-align:center;
    padding-left:0;
}
.content{
    background-color:#fff;
    width:90%;
    max-width:1000px;
    min-height:calc(100% - 200px);
    margin:50px auto 0;
    border-radius:5px;
    box-shadow:0 0 10px rgba(216,240,255,.5);
    padding:3vw 1.5vw;
}
.reg .layui-form-item{
    margin:25px auto;
    width:300px;
}
.tip{
    color:#888;
    padding-top:5px;
}

/*登录后*/
.center{
    display:flex;
    justify-content:center;
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:100%;
    padding:0 1vw;
    box-sizing:border-box;
}
.part {
    border-radius: 50%;
    width: 320px;
    height: 320px;
    box-shadow: 0 0 25px rgba(255,255,255,.8);
    text-align: center;
    color: #fff;
    padding: 40px;
    margin: 0 40px;
    transition: all .3s;
}
.part:hover{
    transition:all .3s;
    transform:translateY(-20px);
}
.part1 {
    background-image: linear-gradient(#19cfeb,#00a3e7);
}
.part2 {
    background-image: linear-gradient(#22e5c2,#1bb874);
}
.part h5 {
    font-size: clamp(1rem, 0.9rem + 1.5vw, 1.8rem);
    padding-bottom:20px;
}
.part p {
    font-size: clamp(1rem, 0.9rem + 1.4vw, 1.5rem);
    line-height:2;
}
@media only screen and (max-width:1920px) {
}

@media only screen and (max-width:1736px) { 
    /*1560-1736*/
    .loginbox{
        right:10%;
    }
    .part{
        margin:0 15px;
    }
}

@media only screen and (max-width:1559px) {
    /*1400-1559*/
}

@media only screen and (max-width:1399px) {
    /*1200-1399*/
}

@media only screen and (max-width:1199px) {
    /*960-1199*/
    
}

@media only screen and (max-width:959px) {
    /*768-959*/
    body {
        background: url(../images/bg1.jpg) no-repeat center;
        background-size: cover;
    }
    h1{
        padding:60px 0 0 0;
        text-align:center;
    }
    .loginbox{
        right:50%;
        transform:translateX(50%);
    }
    .content{
        margin-top:30px;
    }
    .part {
        border-radius: 20px;
        padding:20px;
    }

}

@media only screen and (max-width:767px) {
    /*480-767*/
    .loginbox{
        padding:6vw 4vw;
    }
    .part{
        width:48%;
        margin:0 5px;
        padding:20px 10px;
    }
}

@media only screen and (max-width:479px) {
    /*小于等于479*/
}