html,body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, p,span, blockquote, th, td, textarea, input { 
    margin:0;
    padding:0;
}
ul,li{list-style-type: none;}
img{border:0;}
body{
    background: url(../images/bg.jpg) repeat;
    font-family:"microsoft yahei", Helvetica, Verdana, sans-serif;
    font-size: 16px;
    font-weight:normal;
}
#index{
    width:100%;
    overflow:hidden;/*超出隐藏*/
}
#index .header{
    position: absolute;
    top:0;  /*正好占100%*/
    width:100%;
    z-index:1001;
}
#index .header .col-md-12{padding:0;}
#index .header .navbar{
    background-color:transparent;
    border:0; 
    box-shadow:0px 4px 6px rgba(255,255,255,0.8);
    margin-bottom: 0px; /*常规设置*/
}
#index .header .navbar-collapse{ padding:0;} /*去除间隙*/
#index .header .navbar-nav{margin:0px; color:#bfe1f1;}
#index .header .navbar-nav a{ color: #bfe1f1;}
#index .header .navbar-brand{
    padding:8px 15px;
    font: italic 36px Georgia, Times, Serif;
    color: #bfe1f1;
    text-shadow: 0px 2px 6px #333;
}
#index .header .navbar-brand:hover,#index .header .navbar-nav a:hover{
	 color:#f2f2f2;
}
#index .header ul li a{
    font-size: 14px;
}
#index #main{
    margin-top:68px;
    width:100%;
    overflow: hidden;
}
/*总共这五个部分*/
#index .portfolio,#index .services,#index .mingyan,#index .figure,#index .meet{
    width:100%;
    background-color:#f0f0f0;
    border-bottom: 1px solid #ddd;
}
#index .portfolio{
     margin-top:-5px;
}
#index .meet{
    background-color: lavender;
}
.portfolio .title,.services .title,
.mingyan .title,.figure .title,.meet .title{
    text-align: center;
    color:#05b5e8;
    padding:10px 0px;
}
.portfolio .title img,.services .title img,
.mingyan .title img,.figure .title img,.meet .title img{
    width:80px;height:80px;
    border-radius:10%;
    box-shadow: 0px 0px 6px #666;
}
.portfolio .title h1,.services .title h1,
.mingyan .title h1,.figure .title h1,.meet .title h1{
    margin:10px 0px;
    text-shadow: 2px 2px 6px #999;
}
.portfolio .content .thumbnail{  /*.portfolio不用设置高度*/
    border:0;
    background-color: transparent;
}
.portfolio .thumbnail img{
    width:100%;
    height:180px;
    opacity: 0.8;
    box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.3);
}
.services .content .align{
    margin-top:4px; /*留些间距*/
    padding:10px;
    margin-bottom: 10px;
    box-sizing: border-box;
    text-align: center;
    background: #e9e9e9;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}
.services .content .align:hover{
    box-shadow: 0px  0px 8px rgba(0,0,0,0.3);
}
.services .align img{
    width:80px;height:64px;
}
.services .content .align p{
      font-size: 14px;
}
.services .align .btn-default{
    margin-top:10px;
}
.services .title .lastbtn{
     padding:15px 40px;
    box-sizing:border-box;
    font-size: 24px;
}
.services .title .lastbtn img{
    width:40px;height:34px;
    box-shadow: none;
}
#index .mingyan {
   /*不用设置高度，这样才会自适应*/
    background:url(../images/11.jpg) repeat;
    background-attachment:fixed;
}
#index .mingyan p.example{
	 margin-left: 18%;
     font-size:24px;
     color:dimgray;
     font-family: "microsoft yahei", Helvetica, Verdana, sans-serif;
}
/*-核心代码-*/ /* demo style */
.bumpy-char {
    line-height: 3.4em;
    position: relative;
}
#index .figure .content{
    margin-bottom: 30px;
     text-align: center;
}
#index .figure .content img{
    cursor: pointer;
    box-shadow: 0px  0px 8px rgba(0,0,0,0.5);
    width:104px;height:104px;
    border-radius:50%;
    border:1px solid #f7f7f7;
    transition:transform 1s;
     -webkit-transition:-webkit-transform 1s;
     -moz-transition:-moz-transform 1s;
     -o-transition:-o-transform 1s;
}
#index .figure .content img:hover{
       transform:rotate(180deg);
     -webkit-transform:rotate(180deg);
     -moz-transform:rotate(180deg);
     -o-transform:rotate(180deg);
     -ms-transform:ratate(180deg);     
}
.returnBox{ width:1000px; height:0px; margin: 0 auto; z-index:1000;}  /*返回顶部*/
#returnTop{ width:22px; height:55px; position:fixed; bottom:30px; margin-left:1020px; background:#ddd; cursor:pointer;}
.footer{
    height:60px;
    background-color:transparent;
    color:#ababab;
    text-align: center;
    padding-top:10px;
    box-sizing: border-box;
    line-height:24px;
}



@media screen and (max-width: 768px) { /*宽度小于等于768*/
    #index .header .navbar li a{
        background-color:rgba(0,0,0,0.4);
        border-bottom:1px solid #e7e7e7;
    }
    #index .header .navbar li a img{
    width:20px;height:20px;
    }
    #index .header .navbar-brand{
        padding:0px 15px;
    }
    #index #main{
        margin-top:56px;
    }
.portfolio .title img,.services .title img,.mingyan .title img,
    .figure .title img,.meet .title img{
        width:64px;height:64px;
    }
.portfolio .title h1,.services .title h1,
    .mingyan .title h1,.figure .title h1,.meet .title h1{
        margin: 6px 0px;
       font-size: 24px; 
    }
    #index .portfolio .thumbnail{ 
       margin-bottom:0px; /*每个模块间距*/
    }
    #index .mingyan p.example{
	margin-left:1%;
    font-size: 18px;
}  
   .footer{
    padding-top:5px;
    font-size: 14px;
    line-height:18px;
    }
}
@media only screen and (min-width:768px) and (max-width:992px) { 
    /*大于768px小于992px的*/
   #index .portfolio,#index .services,#index .meet{
    padding:0px 15%;
   }
    #index .mingyan p.example{
        margin-left:10%;
    }
}





