﻿html {
    height: 100%;
}

body {
    height: 100%;
    background-image: url(images/signform-back.png);
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #fff;
    background-size: cover;
}
.inpopup {
    background-image: none;
}
.main-root {
    height: 100%;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.form-wrapper, .main-container > div {
    width: 500px;
    height: 690px;
}

.main-container {
    min-height: 500px;
    width: 1000px;
    position: relative;
    border-radius: 16px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: rgb(23 25 29 / 20%) 0px 8px 20px -8px;
    display: flex;
    transition: .3s;
    opacity: 0;
    margin-top: 100px;
}
    .main-container > div {
        background-color: white;
        height: 690px;
    }
/*在弹窗中显示的样式*/
.inpopup .main-container {
    transition: none;
    box-shadow: none;
    margin-top: 0;
}
.mpic-container {
    background: url(/views/main/signform/images/mp-corner.png) 0 0 no-repeat;
}
.mpic-style {
    width: 355px;
    height: 371px;
    background: url(/views/main/signform/images/mp-image.png) 0 0 no-repeat;
    transform: scale(0.92);
}
.form-wrapper {
    top: 0px;
    display: flex;
    position: absolute;
    box-sizing: border-box;
    padding: 50px 55px 40px 55px;
    flex-direction: column;
    justify-content: space-between;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-timing-function: ease;
    -webkit-animation-fill-mode: both;
    -moz-animation-duration: 0.5s;
    -moz-animation-timing-function: ease;
    -moz-animation-fill-mode: both;
    -o-animation-duration: 0.5s;
    -o-animation-timing-function: ease;
    -o-animation-fill-mode: both;
    animation-duration: 0.5s;
    animation-timing-function: ease;
    animation-fill-mode: both;
}

    .form-wrapper .goback {
        color: #868f9a;
        width: 36px;
        height: 32px;
        margin: -26px 0 10px -30px;
        border: #cbd2d9 solid 1px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

        .form-wrapper .goback:hover {
            border: none;
            background-color: #f3f7fb;
        }

        .form-wrapper .goback:before {
            font-family: "FontAwesome";
            content: '\f053';
        }

    .form-wrapper h1 {
        font-size: 38px;
        font-weight: bold;
        color: #243042;
        margin: 0;
    }

    .form-wrapper h3 {
        color: #636c78;
        font-size: 16px;
        padding-top: 10px;
        margin: 0;
    }

        .form-wrapper h3 > a {
            color: #0080ff;
        }

            .form-wrapper h3 > a:after {
                content: '\f138';
                font-family: "FontAwesome";
                font-weight: 900;
                padding-left: 4px;
            }
/*登陆/注册类型选择*/
.switcher {
    display: flex;
    width: fit-content;
    position: relative;
    padding: 5px;
    margin-bottom: 22px;
    border-radius: 10px;
    background-color: #f3f7fb;
}

/*登陆/注册类型选择背景滑块*/
.switch-chunk {
    opacity: 1;
    height: 39px;
    background: #fff;
    position: absolute;
    border-radius: 8px;
    transition: all .25s ease-out;
    box-sizing: border-box;
    box-shadow: 0px 2px 4px rgba(23,28,39,0.14);
}

.switcher > a {
    display: block;
    padding: 9px 12px;
    color: #868f9a;
    font-size: 16px;
    z-index: 31;
    transition: .35s;
}

    .switcher > a:hover,
    .switcher > a.active {
        color: #3b444f;
    }
/*手机验证码登陆滑块*/
.signin .switcher > a:nth-child(1).active ~ .switch-chunk {
    width: 138px;
    left: 5px;
}
/*帐号密码登陆滑块*/
.signin .switcher > a:nth-child(2).active ~ .switch-chunk {
    width: 120px;
    left: 142px;
}
/*手机注册滑块*/
.signup .switcher > a:nth-child(1).active ~ .switch-chunk {
    width: 120px;
    left: 5px;
}
/*邮箱注册滑块*/
.signup .switcher > a:nth-child(2).active ~ .switch-chunk {
    width: 88px;
    left: 125px;
}
/*找回密码*/
.findpwd .switcher > a:nth-child(1).active ~ .switch-chunk {
    width: 88px;
    left: 5px;
}

.findpwd .switcher > a:nth-child(2).active ~ .switch-chunk {
    width: 88px;
    left: 93px;
}

.input-container {
    display: none;
}

/*输入框底部子容器*/
.inpunder {
    margin: -15px 0 15px 0;
    text-align: right;
    min-height: 20px;
}

    .inpunder.hide {
        opacity: 0;
    }

    /*子链接*/
    .sublink, .inpunder > a {
        font-size: 15px;
        color: #868f9a;
        transition: .3s;
    }

        .sublink:hover, .inpunder > a:hover {
            color: #0080ff;
        }
/*输入框提示*/
.tips-msg {
    color: #ff4350;
    font-size: 15px;
    margin: 3px 0 15px 0;
}

    .tips-msg.hold {
        min-height: 24px;
    }
    .tips-msg:empty {
        margin: 0;
        font-size: 0;
        margin-bottom: 25px;
    }
    .tips-msg:empty:before {
        visibility: hidden;
    }

    .tips-msg:before {
        content: '\f071';
        font-family: 'FontAwesome';
        font-weight: 900;
        margin-right: 4px;
    }

    .tips-msg a {
        color: #ff4350;
        border-bottom: #ff4350 solid 1px;
        margin: 2px;
    }

        .tips-msg a:hover {
            font-weight: bold;
        }
/*注册、登录按钮*/
.button-container {
    margin-top: 10px;
}

    .button-container input, .button-container button {
        width: 100%;
        height: 62px;
    }

/*快捷登录*/
.quick-caption {
    position: relative;
    text-align: center;
}

.caption-line {
    position: absolute;
    height: 1px;
    width: 100%;
    top: 10px;
    background: linear-gradient(to right,rgba(0,0,0,0) 0%, rgb(239,234,246) 15%, rgb(239,234,246) 85%, rgba(0,0,0,0) 100%);
}

.caption-text {
    position: relative;
    padding: 5px 10px;
    font-size: 14px;
    background-color: white;
    color: #a4a9af;
    z-index: 10;
}

.quick-signin {
    width: 100%;
    height: 72px;
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
}

    .quick-signin a {
        width: 64px;
        height: 64px;
        display: block;
        border-radius: 50%;
        overflow: hidden;
        transition: .35s;
    }

        .quick-signin a img {
            width: 32px;
            height: 32px;
            margin-left: -128px;
            user-select: none;
        }

.signin-wexin {
    background: rgba(0,196,125,.1);
}

    .signin-wexin:hover {
        background: rgba(0,196,125,.25);
    }

    .signin-wexin img {
        filter: drop-shadow(#00c47d 144px 16px);
    }

.signin-qq {
    background: rgba(0,162,255,.1);
}

    .signin-qq:hover {
        background: rgba(0,162,255,.25);
    }

    .signin-qq img {
        filter: drop-shadow(#00a2ff 144px 16px);
    }

.signin-weibo {
    background: rgba(232,40,40,.1);
}

    .signin-weibo:hover {
        background: rgba(232,40,40,.25);
    }

    .signin-weibo img {
        filter: drop-shadow(#e82828 144px 16px);
    }
/*页面表单切换*/
.signup, .signin, .findpwd, .mverify, .spassword, .usetup {
    z-index: 0;
    opacity: 0;
}

.anchor {
    display: none;
}
/*各种表单窗体的显示控制*/
#signin:target ~ .signin,
#signup:target ~ .signup,
#findpwd:target ~ .findpwd,
#mverify:target ~ .mverify,
#spassword:target ~ .spassword,
#usetup:target ~ .usetup {
    z-index: 9;
    -webkit-animation-name: fadeInLeft;
    -moz-animation-name: fadeInLeft;
    -o-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
    -webkit-animation-delay: .1s;
    -moz-animation-delay: .1s;
    -o-animation-delay: .1s;
    animation-delay: .1s;
}

#signin:target ~ div:not(div[class~=signin]),
#signup:target ~ div:not(div[class~=signup]),
#findpwd:target ~ div:not(div[class~=findpwd]),
#mverify:target ~ div:not(div[class~=mverify]),
#spassword:target ~ div:not(div[class~=spassword]),
#usetup:target ~ div:not(div[class~=usetup]) {
    z-index: 0;
    -webkit-animation-name: fadeOutLeft;
    -moz-animation-name: fadeOutLeft;
    -o-animation-name: fadeOutLeft;
    animation-name: fadeOutLeft;
}

/*默认显示窗体*/
/*.signin {
    opacity: 1;
    z-index: 9;
}*/

@-webkit-keyframes fadeInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
    }
}

@-moz-keyframes fadeInLeft {
    0% {
        opacity: 0;
        -moz-transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        -moz-transform: translateX(0);
    }
}

@-ms-keyframes fadeInLeft {
    0% {
        opacity: 0;
        -ms-transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        -ms-transform: translateX(0);
    }
}

@-o-keyframes fadeInLeft {
    0% {
        opacity: 0;
        -o-transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        -o-transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.fadeInLeft {
    -webkit-animation-name: fadeInLeft;
    -moz-animation-name: fadeInLeft;
    -o-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
}

@-webkit-keyframes fadeOutLeft {
    0% {
        opacity: 1;
        -webkit-transform: translateX(0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateX(-20px);
    }
}

@-moz-keyframes fadeOutLeft {
    0% {
        opacity: 1;
        -moz-transform: translateX(0);
    }

    100% {
        opacity: 0;
        -moz-transform: translateX(-20px);
    }
}

@-ms-keyframes fadeOutLeft {
    0% {
        opacity: 1;
        -ms-transform: translateX(0);
    }

    100% {
        opacity: 0;
        -ms-transform: translateX(-20px);
    }
}

@-o-keyframes fadeOutLeft {
    0% {
        opacity: 1;
        -o-transform: translateX(0);
    }

    100% {
        opacity: 0;
        -o-transform: translateX(-20px);
    }
}

@keyframes fadeOutLeft {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-20px);
    }
}

.fadeOutLeft {
    -webkit-animation-name: fadeOutLeft;
    -moz-animation-name: fadeOutLeft;
    -o-animation-name: fadeOutLeft;
    animation-name: fadeOutLeft;
}
