﻿* {
    padding: 0;
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

body {
    font-size: 0.8em;
    color: #333;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    overflow-x: hidden;
    background-color: #2E363F;
    padding: 0;
    background: #2E363F;
}

html, body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

[class^="icon-"], [class*="icon-"] {
    background-image: url(/imgs/glyphicons-halflings-white.png);
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

#logo-login {
    display: block;
    margin: auto;
}

#particles-js {
    width: 100vw;
    height: 100vh;
    position: relative;
    background-image: url(/imgs/bg.png);
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    margin-left: auto;
    margin-right: auto;
}

.public-login {
    margin: auto;
    padding-bottom: 20px;
    background: -webkit-linear-gradient(#00416A,#E4E5E6);
    background: -moz-linear-gradient(#00416A,#E4E5E6);
    background: -o-linear-gradient(#00416A,#E4E5E6);
    background: -ms-linear-gradient(#00416A,#E4E5E6);
    background: linear-gradient(#37414b,#1f262d);
    border: 1px solid #37414b;
    border-radius: 5px;
    box-shadow: 0 0 5px 1px #1f262d;
    animation: myfirst .3s;
}

@keyframes myfirst {
    from {
        opacity: 0;
        top: -100px;
    }

    to {
        opacity: 1;
    }
}

.logoBox {
    padding: 20px;
    border-bottom: 1px solid #1f262d;
    background-color: #454a50;
    background: -webkit-linear-gradient(#1f262d,#37414b);
    background: -moz-linear-gradient(#1f262d,#37414b);
    background: -o-linear-gradient(#1f262d,#37414b);
    background: -ms-linear-gradient(#1f262d,#37414b);
    background: linear-gradient(#1f262d,#37414b);
}

.control-group {
    margin: auto;
    width: 80%;
    height: 40px;
    margin-top: 30px;
    text-align: center;
}

.clear {
    clear: both;
}

.control-login-text {
    color: #fff;
    width: 50px;
    height: 40px;
    float: left;
}

.control-login-usernametext {
    background: #28b779;
}

.control-login-password {
    background: #ffb848;
}

.icon-login-username {
    width: 16px;
    height: 16px;
    margin-top: 12px;
    margin-left: 18px;
    background-position: -168px 0px;
}

.icon-login-password {
    width: 16px;
    height: 16px;
    margin-top: 12px;
    margin-left: 18px;
    background-position: -240px -142px;
}

.control-login-username {
    height: 40px;
    border: 0px;
    background-color: #F00;
    /* float: left; */
    line-height: 16px;
    border-radius: 0px;
    font-size: 14px;
    margin: 0 0 0 50px;
}

.text-login {
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 40px;
    * height: 34px;
    border-radius: 0px;
    padding: 5px;
    background-color: #fff;
    outline: none;
    font-size: 14px;
}

.text-login-username {
    border: 1px solid #28b779;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border linear .2s, box-shadow linear .2s;
    -moz-transition: border linear .2s, box-shadow linear .2s;
    -o-transition: border linear .2s, box-shadow linear .2s;
    transition: border linear .2s, box-shadow linear .2s;
}

.text-login-password {
    border: 1px solid #ffb848;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border linear .2s, box-shadow linear .2s;
    -moz-transition: border linear .2s, box-shadow linear .2s;
    -o-transition: border linear .2s, box-shadow linear .2s;
    transition: border linear .2s, box-shadow linear .2s;
}

#bnt_reset {
    width: 100px;
    height: 30px;
    border: 0px;
    border-radius: 0px;
    background-color: #5bb75b;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
    background-color: #49afcd;
    background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
    background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
    background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
    background-image: linear-gradient(to bottom, #5bc0de, #2f96b4);
    background-repeat: repeat-x;
    border-color: #2f96b4 #2f96b4 #1f6377;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

    #bnt_reset:hover {
        background-color: #1c94b7;
        background-image: -moz-linear-gradient(top, #1c94b7, #2f96b4);
        background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#1c94b7), to(#2f96b4));
        background-image: -webkit-linear-gradient(top, #1c94b7, #2f96b4);
        background-image: -o-linear-gradient(top, #1c94b7, #2f96b4);
        background-image: linear-gradient(to bottom, #1c94b7, #2f96b4);
        background-repeat: repeat-x;
        border-color: #2f96b4 #2f96b4 #1f6377;
        border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0);
        filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    }

.bnt_login, .bnt_login_close {
    width: 100px;
    height: 30px;
    border: 0px;
    border-radius: 0px;
    background-color: #5bb75b;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
    background-image: -moz-linear-gradient(top, #62c462, #51a351);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
    background-image: -webkit-linear-gradient(top, #62c462, #51a351);
    background-image: -o-linear-gradient(top, #62c462, #51a351);
    background-image: linear-gradient(to bottom, #62c462, #51a351);
    background-repeat: repeat-x;
    border-color: #51a351 #51a351 #387038;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.bnt_login, #bnt_reset {
    cursor: pointer;
}

    .bnt_login:hover {
        background-color: #5bb75b;
        background-image: -moz-linear-gradient(top, #258825, #51a351);
        background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#258825), to(#51a351));
        background-image: -webkit-linear-gradient(top, #258825, #51a351);
        background-image: -o-linear-gradient(top, #258825, #51a351);
        background-image: linear-gradient(to bottom, #258825, #51a351);
        background-repeat: repeat-x;
        border-color: #51a351 #51a351 #387038;
        border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);
        filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    }

@media (min-width:768px) {
    .public-login {
        width: 700px;
        position: absolute;
        top: calc(50% - 150px);
        left: calc(50% - 350px);
    }
}

@media (max-width:767px) {
    .public-login {
        width: calc(100% - 40px);
        position: absolute;
        top: calc(50% - 250px);
        left: 20px;
    }
}
