html, body {
    height: 100%;
    overflow:auto;
}

.bg {
    width: 100%;
    height: 100vh;
    background-image: url(../image/pc-1207886_1920.jpg);
    background-position: center;
    background-color: rgba(161, 158, 158, 0.8);
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 200px;
    box-sizing: border-box;
}

.form-box {
    background-color: #ffffff;
    width: 320px;
    padding-left: 10px;
    padding-right: 10px;
    box-shadow: 0 2px 16px #c0bbbb, 0 0 2px #c0bbbb, 0 0 2px #c0bbbb;
    border-radius: 5px;
   
    float:right;
}

.nav {
    padding-top: 10px;
}

.nav-tabs > li {
    width: 50%;
    text-align: center;
}

    .nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
        border: none;
        border-bottom: 3px solid #00bbee;
    }

    .nav-tabs > li > a {
        color: #555;
        font-size: 18px;
    }

        .nav-tabs > li > a, .nav-tabs > li > a:hover {
            background-color: #ffffff;
            border: none;
        }

            .nav-tabs > li > a:hover {
                color: #f17c28;
            }

.form-horizontal, .sw-box {
    padding: 15px 5px 8px;
}

#sw img {
    width: 150px;
    height: 150px;
}

.login, .login:hover {
    width: 100%;
    background-color: #f17c28;
    color: #ffffff;
}

.picture {
    width: 80%;
    height: 600px;
}

.top {
    background-color: rgba(255, 255, 255, 0.9);
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    padding-left: 5%;
    justify-content: flex-start;
    box-sizing: border-box;
}

    .top .line {
        width: 1px;
        height: 30px;
        background-color: rgb(161, 158, 158);
        margin-left: 10px;
        margin-right: 10px;
    }

    .top .top-logo {
        width: 230px;
    }

    .top .text {
        font-size: 19px;
        color: #5f9de9;
        letter-spacing: 2px;
    }

.sw-box {
    text-align: center;
}

#sw .tip {
    margin-top: 7px;
}

.forget-ps {
    text-align: right;
}

#qrcode img {
    margin: 0 auto;
}
@media screen and (max-width: 768px) {
    .form-box {
        float: none;
        margin: 0 auto
    }
    .bg{
        padding-right:0 !important;
    } 
}
    .container .row {
        margin-top:50px;
    }

.div-block {
    width: 249px;
    background-color: #1BC5FF;
    color: #fff;
    height: 320px;
    margin-left: 40px;
    border-radius: 10px;
    border: 1px solid #fff;
}

    .div-block:hover {
        background-color: #f0ad4e;
        color: #fff;
        border: 1px solid #fff;
    }

        .div-block:hover .am-icon-max-large {
            color: #f0ad4e
        }

        .div-block h3 {
            margin-top: 15px;
            font-size: 22px;
        }

        .div-block p {
            text-align: left;
            margin-top: 35px;
        }

            .div-block p span {
                display: block;
                margin-top: 10px;
                height: 20px;
                font-size: 15px;
                line-height: 15px
            }

.warp-container {
    margin-top: 115px;
    height: 521px;
    padding-top: 60px;
}
@media(max-width:1200px) {
    .container {
        width: auto !important;
    }

    .div-block {
        width:240px;
    }
}

@media(max-width:1000px) {

    .container {
        width: auto !important;
    }

    .col-md-2 {
        width: 25%;
    }

    .col-md-10 {
        width: 70%;
    }
    .left-contact-box {
        display: none;
    }

    .home-container {
        padding: 80px 0 0 30px !important;
    }
}

@media (max-width: 886px) {
    .container {
        text-align:center;
    }

    .home-container {
        padding:0 !important;
        text-align:left;
    }


    .login-form.selected {
        float: none !important;
        margin: 15px auto;
    }

    .card-box-content {
        margin-top:130px;
    }
}

@media (max-width: 768px) {

    .col-md-2 {
        width:58%;
    }
    .col-md-10 {
        width: 100%;
        margin-top: -50px;
    }

    .navbar-toggle {
        position: inherit !important;
        left: 0 !important;
        top: 0 !important;
        margin-top:15px;
    }

    #nav-menu {
        margin-top:50px !important;
    }

    .navbar-default h1 {
        margin-top: 10px !important;
        font-size:30px;
    }

    .home-container h1 {
        font-size:24px;
    }

    .home-container ul li {
        font-size:14px !important;
    }

    .warp-container {
        margin-top: 90px;
        padding-top: 30px;
    }

    .div-block {
        width:80%;
    }
        .div-block p {
            margin-left:25% !important;
        }
}

@media(max-width:525px) {
    .login-form.selected {
        width: 331px;
        height: 315px !important;
        margin-top: -110px;
        top: 180px;
    }

    .login-form h3 {
        font-size: 18px;
        margin-bottom: 0;
    }

    .login-form {
        padding: 10px 10px;
    }

    .btn-li-login {
        width: 308px;
    }

    .row:last-child {
        margin-top:0;
    }

    .navbar-default img{
        width:180px !important;
    }

    .login-form li input {
        width:270px;
    }

    .col-md-12 {
        padding-left: 0;
    }
}

@media(max-width:375px) {

    .login-form.selected {
        width: 300px;
    }
    .col-md-12 {
        font-size: 12px;
    }

    .login-form li input {
        width: 240px;
    }

    .btn-li-login {
        width: 278px;
    }
}

@media(max-width:320px) {

    .login-form.selected {
        width: 290px;
    }
    .login-form {
        padding: 10px 10px;
    }

        .login-form.selected {
            height:315px !important;
        }

        .login-form li input {
            width: 230px;
        }

        .container .row {
            margin-top: 25px;
        }


    .btn-li-login {
        width: 268px;
    }

    .div-block p {
        margin-left: 20% !important;
    }
}