* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline
}

html{
    width: 100%;
    height: 100%;
    background-image: url("../images/bac.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

body {
    font-family: microsoft yahei;
    text-align: center;
}

.login-container {
    margin: 10% auto 0;
    color: #fff;
}

.register-container {
    margin: 6% auto 0
}

@media (min-width: 670px) {
    .login-container {
        margin: 8% auto 0
    }
}

h1 {
    font-size: 30px;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .2)
}

form {
    position: relative;
    width: 305px;
    margin: 15px auto 0;
    text-align: center
}

input {
    width: 270px;
    height: 42px;
    line-height: 42px;
    margin-top: 25px;
    padding: 0 15px;
    background: #2d2d2d;
    background: rgba(45, 45, 45, .15);
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid #3d3d3d;
    border: 1px solid rgba(255, 255, 255, .15);
    -moz-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1) inset;
    -webkit-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1) inset;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1) inset;
    font-family: microsoft yahei, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .1);
    -o-transition: all .2s;
    -moz-transition: all .2s;
    -webkit-transition: all .2s;
    -ms-transition: all .2s
}

input:-moz-placeholder {
    color: #fff
}

input:-ms-input-placeholder {
    color: #fff
}

input::-webkit-input-placeholder {
    color: #fff
}

input:focus {
    outline: 0;
    -moz-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1) inset, 0 2px 7px 0 rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1) inset, 0 2px 7px 0 rgba(0, 0, 0, .2);
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1) inset, 0 2px 7px 0 rgba(0, 0, 0, .2)
}

button {
    cursor: pointer;
    width: 300px;
    height: 44px;
    margin-top: 25px;
    padding: 0;
    background: rgba(6, 127, 228, .71);
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: 0;
    -moz-box-shadow: 0 15px 30px 0 rgba(255, 255, 255, .25) inset, 0 2px 7px 0 rgba(0, 0, 0, .2);
    font-family: microsoft yahei, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .1);
    -o-transition: all .2s;
    -moz-transition: all .2s;
    -webkit-transition: all .2s;
    -ms-transition: all .2s
}

button:hover {
    -moz-box-shadow: 0 15px 30px 0 rgba(255, 255, 255, .15) inset, 0 2px 7px 0 rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 15px 30px 0 rgba(255, 255, 255, .15) inset, 0 2px 7px 0 rgba(0, 0, 0, .2);
    box-shadow: 0 15px 30px 0 rgba(255, 255, 255, .15) inset, 0 2px 7px 0 rgba(0, 0, 0, .2)
}

button:active {
    -moz-box-shadow: 0 15px 30px 0 rgba(255, 255, 255, .15) inset, 0 2px 7px 0 rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 15px 30px 0 rgba(255, 255, 255, .15) inset, 0 2px 7px 0 rgba(0, 0, 0, .2);
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, .1) inset, 0 1px 4px 0 rgba(0, 0, 0, .1);
    border: 0 solid #016fcb
}

.connect {
    margin-top: 18px;
    width: 100%;
    font-size: 14px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .2)
}

.connect p {
    position: relative;
    left: -140%;
    top: 0;
    margin-top: 20px
}

.alert {
    width: 310px;
    height: 200px;
    background: #000;
    position: absolute;
    top: -40%;
    left: 50%;
    margin: -101px 0 0 -151px
}

.alert h2 {
    height: 40px;
    padding-left: 8px;
    font-size: 14px;
    background: #ff0543;
    text-align: left;
    line-height: 40px
}

.alert .alert_con {
    background: #fff;
    height: 160px
}

.alert .alert_con p {
    color: #000;
    line-height: 90px
}

.alert .alert_con .btn {
    padding: 3px 10px;
    color: #fff;
    cursor: pointer;
    background: #72d1ff;
    border: 1px solid #72d1ff;
    border-radius: 4px
}

.alert .alert_con .btn:hover {
    background: #4fb2ef;
    border: 1px solid #4fb2ef;
    border-radius: 4px
}


.register-tis {
    line-height: 42px;
    margin: 15px auto 0;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, .38);
    background: rgba(45, 45, 45, .33);
    border-radius: 6px
}

label.error {
    display: block;
    -webkit-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    border-radius: 0 0 5px 5px;
    width: 300px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .15);
    line-height: 31px;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1) inset;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .1);
    background: rgba(245, 26, 26, .81);
    -moz-border-radius: 6px;
    margin: 0 auto
}