/*初始化*/
*{
    margin: 0;
    padding: 0;
    -webkit-transition:all 1s;
    -moz-transition:all 1s;
    -ms-transition:all 1s;
    -o-transition:all 1s;
    transition:all 1s;
}

img{
    border:0;
}
ol, ul ,li{list-style: none;}
a {
    color:#000;
}
h3,h4 {
    text-align: center;
    line-height: 100%;
    font-weight: 900;
}
h5,h6 {
    font-weight: 900;
}
body {
    font:12px/150% "Microsoft yahei",Arial,Verdana,"\5b8b\4f53";
    color:#000;
    background:#fff;
}
/*初始化*/

/*全局通用*/
.content-style p{
    text-indent: 2em;
    line-height: 1.55em;

}

/*设置的内嵌盒子宽高度*/
.bg-c div {
    height: 280px;
    padding:10px;
    border-radius:5px;
    overflow: auto;
    background:-webkit-linear-gradient(yellow,green);
    background:-moz-linear-gradient(yellow,green);
    background:-ms-linear-gradient(yellow,green);
    background:-o-linear-gradient(yellow,green);
    background:linear-gradient(yellow,green);
}

.row .bg-c div:hover {
    box-shadow: 0px 5px 10px 4px #ccc;
    margin-top: -10px;
}


/*对logo的设置*/
.logo {
    padding:0;
}

/*设置的主盒子的宽度*/
.bg-c {
    padding:10px;
    height: 300px;
}


/*对特殊字段进行统一操作*/
.textIndent0 {
    text-indent: 0!important;
    font-weight:700;
}

/* 对图片进行的放大操作 */
#box-img:hover{
    -webkit-transform: scale(1.05,1.05);
    -moz-transform: scale(1.05,1.05);
    -ms-transform: scale(1.05,1.05);
    -o-transform: scale(1.05,1.05);
    transform: scale(1.05,1.05);
}


/* 底部固定的导航栏 */
.bottom-nav  {
    border-top: 1px solid #ccc;
    background-color: #ccc;
}
/*鼠标放上去进行的操作*/
.bottom-nav:hover {
    background-color: #aabbcc;
    cursor:pointer;
}
/*各个块的设置*/
.bottom-nav div {
    margin:0;
    padding: 0;
    width: 100%;
    height: 100%;
    border-radius:20%;
    line-height: 400%;
    text-align: center;

}
/* 底部固定的导航栏 */



/* slider(侧边栏left) */
#left-fixed {
    position:fixed;
    left: -275px;
    top: 20%;
    width: 300px;
    padding: 20px;
    height: auto;
    border-radius:5px;
    background-color: #ccc;
}
#left-fixed:hover {
    left: 0;
    background-color: pink;
}
/*开关*/
#switchGo {
    width: 50px;
    height: 25px;
    border:none;
    margin:25px;
}
/* slider(侧边栏) */

/*底部*/
  .footer p{
    text-align: center;
}

/*底部*/

 @media (max-width:767px) {
    #top h3{
        font-size: 15px;
    }

    .bg-c {
        padding:10px;
        height: auto;
        margin-bottom: 20px;
    }
    #left-fixed{
        display: none;
    }
   .bg-c div {
        height: auto;
        padding:10px;
    }
    .row .bg-c div:hover {
        box-shadow: none;
        margin-top: 0;
    }
    .footer {
     margin-bottom: 80px;
}
}

#mask {
    position:fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    filter: alpha(opacity = 40);  /*ie 6半透明*/
    top: 0;
    left: 0;
    display: none;
}
#show {
    position:absolute;
    left: 50%;
    top: 50%;
    margin:-150px 0 0 -200px;
    width: 400px;
    height: 300px;
    padding:20px 40px 40px 40px;
    background-color: pink;
    border-radius:7px;
    display: none;
}
.margin5px {
            margin:25px 0;
        }
.width60px {
    width: 1px;
    height: 60px;

}
#user-error,#password-error {
    position:absolute;
    left: 40px;
    top:81px;
    width:200px;
    height: 20px;
    color:red;
    font:700 16px/20px "kaiti";
    display: none;
}
#password-error {
    top:140px;
}

input:invalid {
    background-color: red;
}


