
.flex {
    display: flex;
    justify-content: center;
    align-items: center
}

.bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center
}

.layui-layer-msg {
    min-width: 180px;
    border: 1px solid #D3D4D3;
    box-shadow: none
}


.wrap .main {
    background: url("/public/userlogin.png") #E8F2FC no-repeat;
    background-size: contain; /* 完整把图片放进容器，不会裁切，可能留空白 */
    background-position: 400px center;
}

.wrap .main > div {
    justify-content: space-between;
    width: 1050px;
    margin: 0 auto
}

.wrap .main > div .main-left {
    width: 600px;
    height: 418px;
}

.wrap .main > div .main-right {
    width: 360px;
    height: 370px;
    overflow: hidden;
    background-color: #fff;
    box-sizing: border-box
}

.wrap .main > div .main-right .tab {
    cursor: pointer
}

.wrap .main > div .main-right .tab p {
    color: #333333;
    text-align: center;
    font-size: 16px;
    width: 180px;
    height: 55px;
    line-height: 55px;
    border-bottom: 1px solid #F4F4F4;
    font-weight: bold
}

.wrap .main > div .main-right .tab p:first-of-type {
    border-right: 1px solid #F4F4F4
}

.wrap .main > div .main-right .tab p.tab-active {
    border-bottom: 2px solid #F0282E
}

.wrap .main > div .main-right .content-items .content-item:first-of-type .phone p {
    width: 42px;
    height: 42px;
    background-image: url(/public/webpic/phone.png)
}

.wrap .main > div .main-right .content-items .content-item:first-of-type .phone input {
    width: 258px;
    height: 42px;
    line-height: 42px
}

.wrap .main > div .main-right .content-items .content-item:last-of-type .vaild p {
    width: 42px;
    height: 42px;
    background-image: url(/public/webpic/vaild.png)
}

.wrap .main > div .main-right .content-items .content-item:last-of-type .vaild input {
    width: 258px;
    height: 42px;
    line-height: 42px
}

.wrap .main > div .main-right .mode1 {
    display: none
}

.wrap .main > div .main-right .form {
    width: 300px;
    margin: 34px auto 36px;
    position: relative
}

.wrap .main > div .main-right .service {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 1px solid #DDDDDD;
    right: -110px
}

.wrap .main > div .main-right .service p:first-of-type {
    width: 32px;
    height: 32px;
    margin: 10px auto 13px;
    overflow: hidden;
    background-image: url(./../image/pcregister/service.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 32px
}

.wrap .main > div .main-right .service p:last-of-type {
    text-align: center;
    font-size: 12px;
    color: #333333;
    line-height: 12px
}

.wrap .main > div .main-right .form .form-item {
    width: 300px;
    overflow: hidden
}

.wrap .main > div .main-right .form-item-phone-tip, .wrap .main > div .main-right .form-item-code-tip, .wrap .main > div .main-right .form-item-name-tip, .wrap .main > div .main-right .form-item-contact-tip, .wrap .main > div .main-right .form-item-contact2-tip {
    visibility: hidden;
    background-image: url(/public/webpic/defalut.png);
    background-repeat: no-repeat;
    background-size: 15px;
    background-position: left top;
    display: inline-block;
    height: 24px;
    font-size: 12px;
    color: #C5C5C5;
    line-height: 14px;
    padding-left: 20px
}

.wrap .main > div .main-right .form-item-phone-tip-active, .wrap .main > div .main-right .form-item-name-tip-active, .wrap .main > div .main-right .form-item-contact-tip-active, .wrap .main > div .main-right .form-item-code-tip-active, .wrap .main > div .main-right .form-item-contact2-tip-active {
    background-image: url(/public/webpic/active.png)
}

.wrap .main > div .main-right .form-item input {
    box-sizing: border-box;
    height: 44px;
    line-height: 44px;
    width: 258px;
    padding-left: 20px;
    padding-right: 20px;
    border: 1px solid #ddd;
    outline: 0;
    color: #333;
    font-size: 14px
}

.wrap .main > div .main-right .form-item.code input {
    width: 172px
}

.wrap .main > div .main-right .form-item input:focus, .wrap .main > div .main-right .form-item.code input:focus {
    border: 1px solid #757575
}

.wrap .main > div .main-right .code button {
    width: 84px;
    height: 44px;
    outline: none;
    background-color: #fff;
    border: 1px solid #ddd;
    border-left: 0;
    color: #333;
    font-size: 13px;
    cursor: pointer
}

.wrap .main > div .main-right .code button:hover {
    color: #E32319
}

.wrap .main > div .main-right .phone > p, .wrap .main > div .main-right .code > p, .wrap .main > div .main-right .name > p, .wrap .main > div .main-right .contact > p {
    width: 44px;
    height: 44px;
    font-size: 14px;
    line-height: 42px;
    color: #666666;
    text-align: center;
    border: 1px solid #DDDDDD;
    border-right: 0;
    background-color: #F7F7F7
}

.wrap .main > div .main-right .phone > p {
    background-image: url("/public/webpic/phone.png");
    background-size: 14px 21px;
    background-position: center
}

.wrap .main > div .main-right .code > p {
    background-image: url("/public/webpic/vaild.png");
    background-size: 18px 22px;
    background-position: center
}

.wrap .main > div .main-right .name > p {
    background-image: url("/public/webpic/user.png");
    background-size: 20px 20px;
    background-position: center
}

.wrap .main > div .main-right .contact > p {
    background-image: url("/public/webpic/upass.png");
    background-size: 20px 20px;
    background-position: center
}

.wrap .main > div .main-right .getCode {
    color: #666666 !important
}

.wrap .main > div .main-right .submit {
    width: 300px;
    height: 44px;
    line-height: 44px;
    background: #E32319;
    text-align: center;
    outline: 0;
    border: 0;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    margin-top: 10px;
}

.wrap .main > div .main-right .to-reg {
    display: block;
    height: 52px;
    line-height: 42px;
    color: #E32319;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #F1F1F1
}
.wrap .main > div .main-right .to-reg:hover {
   background-color: #E32319;
    color: #ffffff;
    border-top: 1px solid #E32319
}
