body,dl,dd,h1,h2,h3,h4,h5,h6,form,p{margin:0;}
h1,h2,h3,h4,h5,h6{font-weight: normal;font-style: 100%;}
ul,ol,input{margin: 0;padding: 0;list-style:none;}
img{border:0;}
article, aside, dialog, footer, header, section, footer, nav, figure, menu {display: block;}
i,em{font-style: normal;}
body{background-color: #4a2b21;color: #9c9c9c;font: 16px/1.5 Arial,'\5FAE\8F6F\96C5\9ED1','\9ED1\4F53','\5b8b\4f53',Verdana,Tahoma,Helvetica,sans-serif;}
a{text-decoration: none;}
.hide{display: none;}
*{-webkit-tap-highlight-color:rgba(0,0,0,0); box-sizing: border-box;}
.flex-col {
  display: flex;
  flex-direction: column;
}
.flex {
  display: flex;
  flex-direction: row;
}
.justify-start {
  justify-content: flex-start;
}
.justify-center {
  justify-content: center;
}
.justify-end {
  justify-content: flex-end;
}
.justify-evenly {
  justify-content: space-evenly;
}
.justify-around {
  justify-content: space-around;
}
.justify-between {
  justify-content: space-between;
}
.items-start {
  align-items: flex-start;
}
.items-center {
  align-items: center;
}
.items-end {
  align-items: flex-end;
}
html, body {
  height: 100%;
}

.body{
  position: relative;
  background-image: url(../images/home/bg_02.jpg);
  background-color: #fcf5f1;
  background-size: 100% auto;
  background-attachment:fixed;
}
.body::after{
  position: fixed;
  left: 0;
  bottom: -10px;
  z-index: 1;
  width: 100%;
  height: 268px;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center bottom;
  content: '';
}
.wrap1::after{
  background-image: url(../images/home/bottom_01.png);
}
.wrap2::after{
  background-image: url(../images/home/bottom_02.png);
}
.wrap3::after{
  background-image: url(../images/home/bottom_03.png);
}

/* 主页 */
.logo{
    position: fixed;
    right: 30px;
    top: 32px;
    z-index: 100;
    width: 119px;
    height: 53px;
    background: url(../images/home/logo.png) no-repeat;
    text-indent: -9999px;
}

/* 展示页 */
.gallery-wrap{
  position: relative;
  padding-bottom: 150px;
}
.gallery-wrap .menu-box{
  position: fixed;
  left: 2.5%;
  top: 40px;
  z-index: 1000;
  width: 90px;
  height: 782px;
  padding-bottom: 13px;
}
.gallery-wrap .menu-box ul{
  position: relative;
  height: 100%;
  padding-top: 8px;
  padding-left: 12px;
}
.gallery-wrap .menu-box ul::after{
  position: absolute;
  left: 44px;
  top: 10px;
  z-index: -1;
  width: 5px;
  height: 830px;
  background-color: #ffd162;
  content: '';
}
.gallery-wrap .menu-box ul,
.gallery-wrap .menu-box .active{
  background: url(../images/home/menu_bg.png) no-repeat;
}
.gallery-wrap .menu-box li{
  width: 100%;
  height: 176px;
  text-indent: -9999px;
  cursor: pointer;
}
.gallery-wrap .menu-box .home{
  display: block;
  height: 148px;
}
.gallery-wrap .menu-box .home a{
  display: block;
  width: 100%;
  height: 100%;
}
.gallery-wrap .menu-box .home.active{
  background-position: -104px -7px;
}
.gallery-wrap .menu-box .m2.active{
  background-position: -104px -184px;
}
.gallery-wrap .menu-box .m3.active{
  background-position: -105px -388px;
}
.gallery-wrap .menu-box .m4.active{
  background-position: -105px -592px;
}

.tab-box ul li{
  width: 228px;
  height: 65px;
  margin-left: 9px;
  margin-right: 9px;
  background: url(../images/home/tab_bg.png) no-repeat;
  background-position: -245px 0;
  color: #c48145;
  font-size: 26px;
  text-align: center;
  line-height: 65px;
  cursor: pointer;
}
.tab-box ul li.active{
  background-position: 0 0;
  color: #ffbcab;
  text-shadow: 0 0 3px #891e1e, 0 0 3px #891e1e, 0 0 3px #891e1e;
}

.content-box{
  position: relative;
  z-index: 30;
  width: 72.91666666666666%; /* 1400px */
  min-width: 1000px;
  margin: 0 auto;
  padding-top: 2.5%;
}
.tab-box{
  padding-bottom: 2.2857142857142857%;
}
.gallery-list{
  margin-left: -1%;
}
.gallery-list li{
  position: relative;
  float: left;
  width: 32.142857142857145%;
  padding-bottom: 18%;
  margin-left: 1%;
  margin-bottom: 2.717391304347826%;
  background-size: cover;
  background-position: center center;
  background-color: #fffbf2;
  border: 1px solid #891e1e;
  border-radius: 4px;
  box-shadow: 0 0 4px #cf9b51, 0 0 4px #cf9b51, 0 0 4px #cf9b51;
  overflow: hidden;
  cursor: pointer;
}
.gallery3 li{
  margin-bottom: 0.7142857142857143%;
}
.gallery3.portrait li{
  width: 24%;
  padding-bottom: 34%;
}
.gallery-list li img{
  display: block;
  width: 100%;
}
.gallery-list li .title{
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 50px;
  text-align: center;
  line-height: 50px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 20px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.gallery1, .gallery2{
  margin-left: 0;
}
.gallery1 li, .gallery2 li{
  float: none;
  width: 100%;
  margin-left: 0;
  padding-bottom: 0;
  margin-bottom: 1.8%;
}
.gallery3 li img, .gallery4 li img{
  cursor: pointer;
}


/* 翻页 */
.pagination-box{
  position: relative;
  z-index: 20;
}
.pages{
  height: 48px;
  clear: both;
  font-size: 32px;
  text-align: center;
}
.pages .prev, .pages .next,
.page-btn, .page-input,
.dialog-box .btn-close,
.dialog-box .tips{
  background: url(../images/home/sprite.png) no-repeat;
}
.pages span, .pages a{
  display: inline-block;
  min-width: 30px;
  margin-left: 5px;
  margin-right: 5px;
  color: #f5a430;
  text-align: center;
}
.pages .current{
  color: #b74343;
}
.pages .prev, .pages .next{
  min-width: 13px;
  height: 23px;
  text-indent: -9999px;
  vertical-align: -13px;
}
.pages .prev{
  background-position: -234px 0;
}
.pages .next{
  background-position: -251px 0;
}
.to-page{
  padding-top: 6px;
  text-align: center;
  color: #f5a430;
  font-size: 18px;
}
.page-input{
  display: inline-block;
  width: 128px;
  height: 34px;
  margin-left: 5px;
  background-position: -102px 0;
}
.page-input input{
  width: 128px;
  height: 34px;
  background: transparent;
  border: none;
  outline: none;
  text-align: center;
  color: #f5a430;
  font-size: 18px;
}

.page-input input::-webkit-input-placeholder{
  color:#f5a430;
}
.page-input input::-moz-placeholder{
  color:#f5a430;
}
.page-input input:-moz-placeholder{
  color:#f5a430;
}
.page-input input:-ms-input-placeholder{
  color:#f5a430;
}

.page-btn{
  display: inline-block;
  width: 98px;
  height: 34px;
  margin-left: 5px;
  text-indent: -9999px;
  vertical-align: 3px;
}

/* dialog */
.dialog-box{
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0,0,0,.7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dialog-box .inner{
  position: relative;
}
.dialog-box .inner.portrait{
  /* width: 500px;
  margin-left: -250px; */
}
.dialog-box .inner::before{
  content: "";
  position: absolute;
  left: -10px;
  top: -22px;
  width: 9px;
  height: 9px;
  background: #b84444;
}
.dialog-box .btn-close{
  position: absolute;
  right: -42px;
  top: 0;
  z-index: 1001;
  width: 32px;
  height: 34px;
  background-position: -229px -37px;
}
.dialog-box .tips{
  position: relative;
  left: 50%;
  width: 226px;
  height: 66px;
  margin-top: 34px;
  margin-left: -113px;
  background-position: 0 -37px;
}
.dialog-box .image{
  display: inline-block;
  border: 4px solid #b84444;
  background-color: #fffbf2;
  overflow: hidden;
}
.dialog-box img{
  display: block;
  max-width: 1200px;
  max-height: 700px;
  border: 3px solid #fff2bc;
}









