﻿html, body {
    height: 100%;
}

html, body, nav, ul, li, h2, h3, figure, h1, p, section, dl, dd, dt {
    padding: 0px;
    margin: 0px;
}

html {
    font-family: "Microsoft Yahei","Helvetica Neue",Helvetica,STHeiTi,Arial,sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    min-width: 320px;
}

img {
    border: 0;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.left {
    float: left;
}

.right {
    float: right;
}

.block {
    display: block;
}

input {
    outline: none;
}

.clear {
    clear: both;
    margin: 0px;
    padding: 0px;
    display: block;
}

.hide {
    display: none;
}

.noindent {
    text-indent: 0 !important;
}

.login {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: url(../images/1-1.jpg) no-repeat bottom center;
    background-size: cover;
}
.vCode {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: url(../images/backgroup.jpg) no-repeat bottom center;
    background-size: cover;
}
.portal {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: url(../images/backgroup.jpg) no-repeat bottom center;
    background-size: 100% 100%;
}

.portal .head {
    height: 4rem;
    background: url(../images/14.jpg) repeat-x;
    background-size: auto 100%;
}

.portal .head>img{
    width: 10rem;
    float: left;
    margin: 0.5rem 6rem 0 3rem;
}

.portal .head .left li{
   background: #fff;
   height: 2.6rem;
   margin: 0.7rem 1rem 0 0;
   padding: 0.3rem 1rem;
   box-sizing: border-box;
   float: left;
   border-radius: 10px;
   line-height: 2rem;
}

.portal .head .right li {
    height: 3rem;
    margin: 0.5rem 2rem 0 0;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
    float: right;
    line-height: 2rem;
    color: #fff;
}

.portal .head .left li img{
    width: 1.4rem;
    margin: 0.3rem 1rem 0 0;
    float: left;

}
.portal .head .right li img {
    width: 1.4rem;
    margin: 0.3rem 1rem 0 0;
    float: left;
}

.portal .flex1{
    width: 70%;
    max-width: 1440px;
    margin: 0 auto 5rem;
}

.portal .flex2{
    width: 55%;
    max-width: 1020px;
    margin: 0 auto;
}

.portal .slides li{
    text-align: center;
}

.portal .flex-direction-nav .flex-nav-prev a:before{
    background: url(../images/23.png) no-repeat center;
    background-size: contain;
}
.portal .flex-direction-nav .flex-nav-next a:before{
    background: url(../images/24.png) no-repeat center;
    background-size: contain;
}

    .login .logo {
        position: absolute;
        left: 2rem;
        top: 2rem;
        width: 6rem;
    }

        .login .logo img {
            width: 100%;
        }

    .login .footer {
        position: absolute;
        right: 4rem;
        bottom: 2rem;
        color: #fff;
        font-size: 1.5rem;
    }

@media (min-width: 769px) {
    .login .box, .vCode .box {
        position: absolute;
        left: 50%;
        top: 0;
        width: 30rem;
        margin-left: -15rem;
    }
    .vCode .box {
        top: 14vw;
    }
    .vCode::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 50%;
        background: url(../images/11.png) no-repeat top center;
        background-size: 100% auto;
        z-index: -1;
    }
}

.code_box {
    width: 100%;
    height: 4rem;
    margin-bottom: 4vw;
}
.code_box .code-num {
    float: left;
    width: 15%;
    margin-right: 2%;
    height: 4rem;
    border: #E6E8ED solid 1px;
    background: #fff;
    border-radius: 10px;
    box-sizing: border-box;
    text-align: center;
    font-size: 1.5rem;
}

.code_box .code-num:last-child {
    margin-right: 0;
}

.login .box > p {
    font-size: 1.65rem;
    text-align: center;
    margin: 5vh 0;
}
.vCode .box > p {
    font-size: 1.65rem;
    text-align: center;
    margin-bottom: 4vw;
}
.portal .main > p {
    font-size: 1.65rem;
    text-align: center;
    margin: 5vw 0 4vw;
}
.login .box .ins {
    padding: 0 1rem 1rem;
    background: #fff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 0 10px #e0e2e4;
}

    .login .box .ins p.title {
        font-size: 1.25rem;
        text-align: center;
        border-bottom: 1px solid #eeeeef;
        margin-bottom: 1rem;
        line-height: 3rem;
        color: #ea002a;
    }

    .login .box .ins .input-group2 {
        background: #eeeeef;
        padding: 0.5rem;
        border-radius: 6px;
        margin-bottom: 1rem;
        position: relative;
        display: block;
    }

        .login .box .ins .input-group2 img {
            width: 1.5rem;
            margin: 0.25rem 0;
        }

        .login .box .ins .input-group2 .psd {
            cursor: pointer;
        }

        .login .box .ins .input-group2 input {
            width: 21rem;
            margin: 0 1rem;
            border: 0;
            height: 2rem;
            outline: none;
            background: none;
        }

    .login .box .ins .code {
        margin-bottom: 1rem;
    }

        .login .box .ins .code > input {
            float: left;
            width: 13.5rem;
            border: 1px solid #c8c9ca;
            border-radius: 6px;
            height: 3rem;
            padding: 0 1rem;
        }

        .login .box .ins .code .incode {
            border-radius: 6px;
            overflow: hidden;
            float: right;
            border: 1px solid #c8c9ca;
            height: 3rem;
        }

            .login .box .ins .code .incode .left {
                width: 10.5rem;
                height: 3rem;
                border-right: 1px solid #c8c9ca;
            }

                .login .box .ins .code .incode .left img {
                    max-width: 100%;
                    max-height: 100%;
                }

            .login .box .ins .code .incode .right {
                width: 3rem;
            }

                .login .box .ins .code .incode .right img {
                    width: 1.75rem;
                    margin: 10px auto 0;
                    cursor: pointer;
                }

    .login .box .ins .pas {
        margin-bottom: 1rem;
        color: #ea002a;
    }

        .login .box .ins .pas .left input {
            border: 1px solid #c8c9ca;
            border-radius: 6px;
            width: 1.5rem;
            height: 1.5rem;
            color: #717071;
            vertical-align: middle;
        }

        .login .box .ins .pas .right a {
            color: #00d2b3;
        }

    .login .box .ins .submit, .vCode .box .ins .submit {
        cursor: pointer;
        display: block;
        height: 3rem;
        line-height: 3rem;
        color: #fff;
        text-align: center;
        background: url(../images/9-1.png) repeat-x;
        background-size: auto 100%;
        border-radius: 6px;
    }


@media (max-width: 768px) {
    .vCode::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 50%;
        background: url(../images/12.png) no-repeat top center;
        background-size: 100% auto;
        z-index: -1;
    }
    .vCode .box > p, .code_box {
        margin-bottom: 10vw;
    }
    .login {
        background-size: 150% 100%;
    }
    .login .logo {
        display: none;
    }

    .login .footer {
        display: none;
    }
    .login .box > p {
        display: none;
    }
        .login .box {
            margin: 3rem 2rem 0;
            background: #fff;
            border-radius: 10px;
            display: inline-block;
            border-top-left-radius: 2rem;
            border-top-right-radius: 2rem;
        }
    .vCode .box {
        margin: 30vw 2rem 0;
    }

    .login .box .ins .input-group2 input {
        width: calc(100% - 5rem);
    }

        .login .box .ins .code > input {
            width: 100%;
            margin-bottom: 1rem;
        }
}


.overlay {
    background: #000000;
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.5;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.lds-facebook {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-facebook div {
        display: inline-block;
        position: absolute;
        left: 8px;
        width: 16px;
        background: #edf7ff;
        animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
    }

        .lds-facebook div:nth-child(1) {
            left: 8px;
            animation-delay: -0.24s;
        }

        .lds-facebook div:nth-child(2) {
            left: 32px;
            animation-delay: -0.12s;
        }

        .lds-facebook div:nth-child(3) {
            left: 56px;
            animation-delay: 0;
        }

@keyframes lds-facebook {
    0% {
        top: 8px;
        height: 64px;
    }

    50%, 100% {
        top: 24px;
        height: 32px;
    }
}

#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 50%;
    font-size: 17px;
}

    #snackbar.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 50%;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 50%;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 50%;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 50%;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

