﻿/*初始化*/
html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img { margin:0; padding:0; }
fieldset, img { border:none; } /*为了照顾ie6 链接图片有边框*/
img{display: block;}
ul, ol { list-style:none; }
input { padding-top:0; padding-bottom:0; font-family: "SimSun","宋体";}
select, input { vertical-align:middle; }
select, input, textarea { font-size:12px; margin:0; }
textarea { resize:none; }
table { border-collapse:collapse; }
h1,h2,h3,h4,h5,h6{font-size:100%; font-weight:normal;}
body {font-size:12px; color:#000;font-family:"微软雅黑";}
.clearfix:after { content:"."; display:block; height:0; visibility:hidden; clear:both;}
.clearfix { zoom:1; }
.clearit { clear:both; height:0; font-size:0; overflow:hidden; }
a { color:#000; text-decoration:none; }
a:hover { color:#000; text-decoration:none; }
html {
  -webkit-text-size-adjust:100%;
  -ms-text-size-adjust: 100%;
}
/*img {
  max-width: 100%;
  height: auto;
  width: auto;
}*/

/*自定义*/
body{

}

.headBox{
  width: 100%;
  min-width: 1200px;
  max-width: 2560px;
  margin: 0 auto;
}

.headBg{
  background: url(../img/banner.jpg) center top no-repeat;
  background-size: cover;
  width: 100%;
  height: 228px;
}

.w1200{
  width: 1200px;
  margin: 0 auto;
}

.searchBox{
  float: right;
  margin-right: 0px;
  margin-top: 15px;
}

.searchBox .headCtrl{
  float: left;
  color: #996c33;
  font-size: 18px;
  position: relative;
  padding-right: 10px;
}

.searchBox .headCtrl:hover{
  color: #d69945;
}

.searchBox span{
  color: #996c33;
  float: left;
  font-size: 18px;
  margin: 0 10px;
}

.searchBox .headCtrl img{
  margin-top: 4px;
}

.headRr1 {
  position: absolute;
  left: -25px;
  top: 28px;
  width: 90px;
  max-width: unset;
  display: none;
}

.headCtrl:hover img{
  display: block;
}

.index-nav{width: 100%;border-bottom: 3px solid #1d3b9c;height: 60px;background: #394a92}
.index-nav-frame{width: 1200px;margin: 0 auto;}
.index-nav-frame-line{font-size:18px;color: #fce060;background: #394a92;float: left;position: relative;display: block;outline: none;cursor: pointer;width: 8.3%;line-height: 60px;text-align: center;}
.index-nav-frame-line.active{color:#d9d9d9;}

.index-nav-frame-line-center{z-index:100;opacity: 0;height: 0;position: absolute;overflow: hidden;width: 100%;transition: all 0.5s;-webkit-transition: all 0.5s;-moz-transition: all 0.5s;/* Firefox 4 */-o-transition: all 0.5s; /* Opera */}
.index-nav-frame-line-li{width: 100%;font-weight: 500;text-align: center;background: #ebeeff;color: #996c33;border-bottom: 1px solid #996c33;font-size: 12px;line-height: 40px}
.index-nav-frame-line-li:hover{background: #444359;color: white;}
.index-nav-frame-line-li:hover a{background: #444359;color: white;}
.index-nav-frame-line-focus:focus{display: none;}
.index-nav-frame-line:hover .index-nav-frame-line-center{height:auto;opacity: 1;}

.nav-line{height: 50px;width: 100%;position: relative;display: none;outline: none;}
.nav-small{width: 30px;height: 30px;position: absolute;right: 10px;top:10px;cursor: pointer;display: none;outline: none;}
.nav-small img{width: 100%;height: 100%;object-fit: cover;}
.nav-small-focus{position: absolute;width: 100%;height: 100%;display: none;}
.nav-small-focus:focus{display: none;}
.index-nav-frame-line:hover{color: #fff}
.index-nav-frame-line a:hover{color: #fff} /*11.28修改*/
@media only screen and (max-width:800px) {
  .index-nav-frame-line-li a{display: block;color: white;}
  .nav-line{display: block;border-bottom: 1px solid #eeeeee;}
  .nav-small{display: block;}
  .nav-small:focus~.index-nav-frame-line{height: auto;border-bottom: 1px solid #ccc;}
  .nav-small:focus .nav-small-focus{display: block;}
  .index-nav-frame{width: 100%;}
  .index-nav-frame-line{width: 100%;height: 0;overflow: hidden;}
  .index-nav-frame-line-center{position: relative;background: #444359;}
  .index-nav-frame-line:hover .index-nav-frame-line-center{height:0;opacity: 0;}
  .index-nav-frame-line-li{border-bottom: 1px solid #4b4a5e;color: #d9d9d9;background: #444359;}
  .index-nav-frame-line-li:hover{background: #b63b4d;}
  .index-nav-frame-line:focus{height: auto;border-bottom: 1px solid #ccc;}
  .index-nav-frame-line:focus>.index-nav-frame-line-center{height:auto;opacity: 1;}
  .index-nav-frame-line:focus .index-nav-frame-line-header{color: #B63B4D;}
  .index-nav-frame-line-focus{display: none;width: 100%;height: 50px;position: absolute;left: 0;top: 0;}
  .index-nav-frame-line:focus .index-nav-frame-line-focus{display: block;}

}

@media(max-width:768px) {
  body {
    background: none;
  }

  .headBox {
    min-width: unset;
  }

  .headBg {
    background: url(../img/banner-ph.jpg) center top no-repeat;
    background-size: contain;
    width: 100%;
    height: 17.7vw;
  }

  .index-nav {
    height: 0;
  }

  .nav-line {
    height: 0;
  }

  .w1200 {
    width: 100%;
  }

  .searchBox .headCtrl {
    font-size: 3.5vw;
    margin-right: 1vw;
  }

  .searchBox span {
    display: none;
  }

  .searchBox {
    margin-right: 20vw;
    margin-top: 4vw;
  }

  .searchBox .headCtrl img {
    width: 3.5vw;
    height: auto;
  }
}