/* 公共部分开始 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Microsoft YaHei", "微软雅黑", "MicrosoftJhengHei", "微软正黑体", "MicrosoftHei", "微软雅黑", Arial, Helvetica, sans-serif;
  user-select: none;
  background: url(../image/bg.jpg) left top repeat;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

ul li {
  list-style: none;
  text-decoration: none;
}

a {
  text-decoration: none;
  color: inherit;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

button,
img {
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

input {
  border: none;
  outline: none;
}

textarea {
  border: none;
  outline: none;
  resize: none;
}

/* 公共部分结束 */
/* -------------------------------------------------------- */
.page-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-inner {
  flex: 1;
  display: flow-root;
}

/* 页头模块开始 */
.mid {
  position: relative;
  width: 1004px;
  margin: 0 auto;
}

.header {
  width: 100%;
  height: 146.8px;
  border-top: 5px solid #ad3907;
  z-index: 99;
}

.header .hd_top {
  position: relative;
  width: 100%;
  height: 94px;
  background: url(../image/top.jpg) repeat-x left top;
  overflow: hidden;
}

.header .hd_top .logo {
  float: left;
  width: 255px;
  height: 30px;
  margin: 22px 0 0 22px;
}

.header .hd_top .logo a {
  text-decoration: none;
  outline: none;
}

.header .hd_top .logo a img {
  width: 255px;
  height: auto;
  border: none;
}

.header .hd_top .notice {
  float: left;
  width: 287px;
  height: 54px;
  background: url(../image/notice.png) no-repeat center center;
  margin-left: 355px;
  overflow: hidden;
}

.header .hd_top .notice p {
  white-space: nowrap;
  width: 100%;
  height: 33px;
  margin: 21px auto;
}

.header .hd_top .notice p span {
  display: inline-block;
  line-height: 33px;
  font-size: 12px;
  color: #e7cca4;
  overflow: hidden;
}

.header .hd_top .notice p span:nth-child(1) {
  width: 75px;
  padding-left: 22px;
}

.header .hd_top .notice p span:nth-child(2) {
  width: 180px;
  margin-left: 4px;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(50%);
  }

  100% {
    transform: translateX(-100%);
  }

}

.header .hd_top .notice p span:nth-child(2) label {
  display: inline-block;
  animation: marquee-scroll 17s linear infinite;
}

.header .hd_top .search {
  float: right;
  width: 54px;
  height: 54px;
  background: url(../image/search.png) no-repeat center center;
  margin: 11px 26px 0 0;
}

.header .hd_top .search .search_box {
  display: none;
  width: 170px;
  height: 30px;
  border-radius: 15px 15px 15px 15px;
  font-size: 0;
  margin: 12.5px 0 0 45px;
  background-color: #ffffff;
}

.header .hd_top .search .search_box input {
  width: 70%;
  height: 100%;
  border-radius: 15px 0 0 15px;
  border: none;
  outline: none;
  vertical-align: top;
  padding-left: 15px;
  font-size: 12px;
  color: #7a7a7a;
}

.header .hd_top .search .search_box .search_btn {
  display: inline-block;
  width: 30%;
  height: 100%;
  border-radius: 0 15px 15px 0;
  cursor: pointer;
  background: url(../image/search_btn.gif) no-repeat center;
}

.header .hd_top .search:hover .search_box {
  display: block;
}

.header .hd_nav {
  width: 100%;
  height: 48px;
  background: url(../image/nav_bg.gif) left top repeat-x;
}

.header .hd_nav .mid ul li {
  position: relative;
  float: left;
  width: 111px;
  height: 48px;
  text-align: center;
}

.header .hd_nav .mid ul li a {
  display: block;
  width: 111px;
  font-size: 14px;
  line-height: 48px;
  color: #fbdfb4;
  white-space: nowrap;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: color 0.3s ease;
}

.header .hd_nav .mid ul li a:hover {
  color: #d69249;
}

/* 页头模块结束 */
/* -------------------------------------------------------- */
/* 轮播图模块开始 */
.banner_box {
  position: relative;
  width: 100%;
  height: 430px;
  border-bottom: 6px solid #4f1707;
  overflow: hidden;
}

.banner_box .banner {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.banner_box .banner img {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner_box .prev,
.banner_box .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 81px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.banner_box .prev {
  left: 200px;
  background: url(../image/prev.png) no-repeat center center;
}

.banner_box .next {
  right: 200px;
  background: url(../image/next.png) no-repeat center center;
}

.banner_box ul {
  position: absolute;
  display: flex;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.banner_box ul li {
  width: 32px;
  height: 5px;
  background-color: #912f02;
  margin: 0 5px;
  cursor: pointer;
}

.banner_box ul li.on {
  background-color: #fd6716;
}

/* 轮播图模块结束 */
/* -------------------------------------------------------- */
/* 页脚模块开始 */
.foot {
  width: 100%;
  height: 87px;
  color: #ffffff;
  overflow: hidden;
  background: url(../image/foot_bg.png) no-repeat center top;
  padding: 60px 0 0px 0;
}

.foot .explain {
  float: left;
  width: 100%;
  height: 20px;
  margin-top: -10px;
  font-size: 12px;
  text-align: center;
  line-height: 20px;
  color: #ffffff;
}

.foot .explain span a {
  color: #ffffff;
}

/* 页脚模块结束 */
/* -------------------------------------------------------- */
/* 右侧悬浮窗模块开始 */
.float_r {
  position: fixed;
  right: 0;
  bottom: 50%;
  width: 64px;
  height: 253px;
  z-index: 9999;
  text-align: center;
  margin-bottom: -144px;
}

.float_r ul li {
  width: 62px;
  height: 62px;
  border-radius: 2px;
  cursor: pointer;
  margin: 1px;
  background: #912f02 url(../image/float_r.png) no-repeat;
  transition: background-color 0.5s ease;
}

.float_r ul li:nth-child(4):hover {
  background-color: #fd6716;
}

.float_r ul .number {
  background-position: center -22px;
}

.float_r ul .wechat {
  background: #912f02 url(../image/wechat.png) no-repeat center;
  background-size: 32px 32px;
}

.float_r ul .redbook {
  background: #912f02 url(../image/redbook.png) no-repeat center;
  background-size: 32px 32px;
}

.float_r ul .back_top {
  background-position: center -115px;
}

.float_r .re_txt {
  display: none;
  position: absolute;
  top: 1px;
  right: 64px;
  width: 155px;
  height: 62px;
  font-size: 17px;
  line-height: 62px;
  border-radius: 2px;
  padding: 0 10px;
  background-color: #fd6716;
  color: #ffffff;
}

.float_r .re_img {
  display: none;
  position: absolute;
  top: 64px;
  right: 64px;
  width: 188px;
  height: 188px;
  border-radius: 2px;
  padding: 10px;
  background-color: #fd6716;
}

.float_r .re_img img {
  width: 168px;
  height: 168px;
}

/* 右侧悬浮窗模块结束 */
/* -------------------------------------------------------- */
/* 提示弹窗开始 */
.toast {
  position: fixed;
  top: 18%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  padding: 14px 28px;
  border-radius: 10px;
  background: #ffffff;
  font-size: 14px;
  line-height: 1.5;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  border-left: 4px solid transparent;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.toast.success {
  border-left-color: #52c41a;
  color: #237804;
  background: #f6ffed;
}

.toast.error {
  border-left-color: #ff4d4f;
  color: #cf1322;
  background: #fff1f0;
}

/* 提示弹窗结束 */


/* 移动端公共样式 */
@media screen and (max-width: 768px) {

  html,
  body {
    background: none;
  }

  .header {
    position: fixed;
    height: 55px;
    top: 0;
    left: 0;
    width: 100%;
  }

  .header .hd_top {
    height: 100%;
    overflow: hidden;
    padding-left: 10px;
  }

  .header .hd_top .mid {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 0 5px;
    gap: 0px;
  }

  .header .hd_top .mid h1 {
    flex: 0 0 auto;
    margin: 0;
    order: 0;
  }

  .header .hd_top .mid .logo {
    display: flex;
    width: 174px;
    height: 100%;
    flex-shrink: 0;
    margin: 0;
    align-items: center;
  }

  .header .hd_top .mid .logo a {
    display: flex;
    height: 100%;
    align-items: center;
  }

  .header .hd_top .mid h1 .logo a img {
    display: block;
    height: 40px;
    width: auto;
  }

  .header .hd_top .mid .notice {
    display: none;
  }

  .header .hd_top .search .search_box,
  .header .hd_top .search:hover .search_box {
    display: flex !important;
    align-items: center !important;
  }

  .header .hd_top .search .search_box input,
  .header .hd_top .search .search_box .search_btn,
  .search_cancel {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-self: center;
  }

  .header .hd_top .mid .search {
    float: none !important;
    margin: 0 5px 0 0;
    width: 40px !important;
    height: 40px;
    order: -1;
    background: url(../image/m-search.png) no-repeat center;
    background-size: 75% 75%;
    -webkit-tap-highlight-color: transparent;
  }

  .header .hd_top .search .search_box {
    display: flex;
    align-items: center;
    position: fixed;
    top: -55px;
    left: 0;
    width: 100%;
    height: 55px;
    margin: 0 !important;
    padding: 0 2%;
    background-color: #2b1102;
    border-radius: 0;
    z-index: 100;
    transition: top 0.3s ease;
  }

  .header .hd_top .search .search_box.active {
    top: 0;
  }

  .header .hd_top .search .search_box input {
    flex: 1;
    height: 36px;
    border: 1px solid #e9c691;
    border-right: none;
    border-radius: 15px 0 0 15px;
    padding: 0 12px;
    font-size: 14px;
    background-color: #ffffff;
    color: #333;
    outline: none;
  }

  .header .hd_top .search .search_box .search_btn {
    width: 36px;
    height: 36px;
    border: 1px solid #e9c691;
    border-left: none;
    border-radius: 0 15px 15px 0;
    background: #ffffff url(../image/search_btn.png) no-repeat center;
    background-size: 18px;
    flex-shrink: 0;

  }

  .search_cancel {
    margin: 0;
    margin-left: 12px;
    color: #e9c691;
    font-size: 15px;
    white-space: nowrap;
    line-height: 1 !important;
  }

  .header .hd_top .mid .content {
    display: block !important;
    order: 1;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    margin-left: auto;
    margin-right: 10px;
    background: url("/image/content.png") no-repeat center;
    background-size: 80% 80%;
  }

  .header .hd_nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9998;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .header .hd_nav.open {
    visibility: visible;
    opacity: 1;
  }

  .header .hd_nav .mid ul {
    display: flex;
    flex-direction: column;
    float: none !important;
    width: 220px;
    height: 100vh;
    background-color: #401913;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    z-index: 9999;
  }

  .header .hd_nav.open .mid ul {
    transform: translateX(0);
  }

  .header .hd_nav .mid ul li {
    float: none !important;
    width: 100%;
    border-bottom: 1px solid #27100c;
    border-top: 1px solid #5c251d;
  }

  .header .hd_nav .mid ul li:last-child {
    border-bottom: none
  }

  .header .hd_nav .mid ul li a {
    display: block;
    width: 100%;
    height: 50px;
    line-height: 50px;
    white-space: normal;
    text-align: center;
    font: 700 16px / 50px '微软雅黑';
    color: #e9c691;
  }

  .banner_box {
    transform: translateY(55px);
    height: 100px;
  }

  .banner_box button {
    display: none;
  }

  .banner_box ul {
    top: 88px
  }

  .banner_box ul li {
    width: 20px;
    height: 3px;
    margin-right: 0px;
  }

  .float_r {
    display: none;
  }
}