html{
  -webkit-text-size-adjust:none; overflow-y:scroll; overflow-x:hidden;
}
*,body{ margin:0; padding:0; font-family: Microsoft Yahei, PingFang SC, Verdana, Helvetica Neue, Hiragino Sans GB, Microsoft Sans Serif, sans-serif;}
* {-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}
body{ background:#f8f7fa; color:#212121; line-height:1.75; font-size:14px;}
table{border-collapse:collapse;border-spacing:0;empty-cells:show;}
th,td{border-collapse:collapse;}
img,a img,a:hover img{ border:0; }
ol,ul,dl,li,dt,dd{list-style:none;}
input,button,textarea,select,optgroup,option{ font-size:14px; font-family: Microsoft Yahei, PingFang SC, Verdana, Helvetica Neue, Hiragino Sans GB, Microsoft Sans Serif, sans-serif;}
/*input{-webkit-appearance:none;}*/
:focus{outline:0;}
a{color:#212121;text-decoration:none; }
a:hover{color:#2d50d3; text-decoration: none;}
a.btn{ text-decoration: none;}
a,a:hover,.btn,.more{transition:all 300ms ease; -webkit-appearance:none ; }
/*input,select,button{ -webkit-appearance: none; }*/
hr{border:none;height:1px;}
.mr0 { margin-right:0 !important;}
.clear{height:0;font-size:0px;overflow:hidden;clear:both;float:none;}
::-webkit-input-placeholder { color:#999999; }
:-moz-placeholder { color:#999999; }
::-moz-placeholder { color:#999999; }
:-ms-input-placeholder { color:#999999; }

.link { color: #2d50d3;}
.link:hover { color: #b81d23;}

.noscroll { overflow: hidden;}

@font-face{
  font-family:'DIN-Medium';
  src: url('fonts/DIN-Medium.ttf') format('truetype');
}

.mainbox { width:1300px; margin-left: auto; margin-right: auto; position: relative; }

.wrap { }

/*头部*/
.header { height: 120px; }
.topbox { height:120px; background:#ffffff; z-index:9999; box-shadow: 0 0 10px rgba(0,0,0,0.1); }
.topbox_m { height: 42px; padding: 19px 0; }
.topbox .logo { float: left; }
.topbox .logo img{ display:block; height: 42px; }

.toptool { float: right; padding: 2px 0; line-height: 28px; font-size: 12px; color: #666666; position: relative; z-index: 99;}
.top_rnav { float: left; }
.top_rnav a { float: left; padding: 0 12px; color: #666666;}
.top_rnav a:hover { color: #2d50d3; }
.top_login { float: left; padding-left: 12px; }
.top_login a { float: left; width: 76px; height: 28px; line-height: 28px; background: #2d50d3; color: #ffffff; text-align: center; }
.top_login a:hover { background: #2d73d3; color:#fff;}

.top_user { float: left; padding-left: 12px; position: relative; z-index: 99999;}
.top_user .t { background: url(../img/header/search_d.png) right center no-repeat; cursor: pointer; padding: 0 28px; height: 28px; line-height: 28px; position: relative;}
.top_user .t img { display: block; position: absolute; left: 0; top: 50%; height: 20px; width: 20px; border-radius: 50%; margin-top: -10px;}
.top_user .m { display: none; position: absolute; right: 0; top: 28px; width: 92px; background: #fff; box-shadow: 0 0 16px rgba(0,0,0,0.1); z-index: 99999;}
.top_user .m ul li { border-bottom: 1px #eeeeee solid; }
.top_user .m ul li:last-child { border-bottom: none;}
.top_user .m ul li a{ display: block; padding-left: 18px; line-height: 30px;}


.topnavbox { height: 40px;}

.top_cate { float: left; position: relative; width: 150px; margin-right: 25px;}
.top_cate_t { padding: 0 20px; background: #b81d23; color: #fff; font-weight: bold; height: 40px; line-height: 40px; position: relative;}
.top_cate_t:after { display: block; content: ''; position: absolute; right: 20px; width: 0; height: 0; top: 50%; margin-top: -2px; border-left: 4px transparent solid; border-right: 4px transparent solid; border-bottom: 4px #fff solid; transition:all 300ms ease; transform:scaleY(-1);}
.top_cate_m { position: absolute; display: none; left: 0; top: 40px; right: 0; background: #fff; z-index: 999; height: 546px; }

.top_cate:hover .top_cate_t:after { transform:scaleY(1);}


.cate_list { background: #fff;}
.cate_list .item{}
.cate_list .item .t{ border-bottom: 1px #f8f7fa solid; padding: 10px 30px; line-height: 29px; position: relative; cursor: pointer;}
.cate_list .item .t:after { display: block; content: ''; position: absolute; right: 20px; width: 12px; height: 12px; top: 50%; margin-top: -6px; background: url(../img/header/cate_li.png) center center no-repeat; transition:all 300ms ease; }
.cate_list .item .m { display: none; padding: 10px 0; border-bottom: 1px #f8f7fa solid;}
.cate_list .item .m a { display: block; padding: 10px 10px 10px 20px; line-height: 20px; color: #666666;}
.cate_list .item .m a:hover { color: #2d50d3; }
.cate_list .item .m a.on { color: #2d50d3; }
.cate_list .item_on .t:after { background: url(../img/header/cate_lis.png) center center no-repeat; }


.top_cate .cate_list .item:first-child .t:after { background: url(../img/header/cate_lis.png) center center no-repeat; transform:scaleY(1);}
.top_cate .cate_list .item:first-child .m { display: block;}
.top_cate .cate_list .item .m a { font-size: 13px; padding: 8px 10px 8px 20px; }


.top_nav { float:left; height: 40px; }
.top_nav ul li { float:left; position:relative; }
.top_nav ul li a{ display:block; text-align:center; height:40px; line-height:40px; padding: 0 18px; position:relative;}
.top_nav ul li a.on { color:#2d50d3;}
.top_nav ul li a:hover{ color:#2d50d3; text-decoration: none;}
.top_nav ul li .m{ position:absolute; left:50%; width: 130px; margin-left: -60px; top:40px; background: #fff; box-shadow: 0 5px 10px rgba(0,0,0,0.1); padding: 6px 0; display:none; border-radius: 0 0 6px 6px; z-index:999; }
.top_nav ul li .m a{ display: block; text-align: center; padding:6px 10px; height: auto; line-height: 20px; }
.top_nav ul li .m a:hover{ background: #f7f7f7; color:#2d50d3; }

.top_nav ul li:hover>a { color: #2d50d3;}
.top_nav ul li:hover .m { display:block;}


.top_search { float: right; position: relative; width: 160px; padding: 0 40px 0 74px; margin-right: -10px;}
.top_search .input { display: block; height: 40px; line-height: 40px; width: 100%; border: none; background: none; text-indent: 12px; color: #333; }
.top_search .btn { position: absolute; right: 0; top: 0; display: block; background: url(../img/header/search.png) center center no-repeat; width: 40px; height: 40px; border-radius: 4px; border: none; cursor: pointer; line-height: 200px; overflow: hidden; }
.top_search .btn:hover { background-color: #f6f6f6;}
.top_search:before { display: block; content: ''; position: absolute; left: 73px; top: 50%; width: 1px; height: 14px; margin-top: -7px; background: #e5e5e5;}

.top_search .m_select { position: absolute; left: 0; top: 0; width: 58px; }
.top_search .m_select .t{ height: 40px; line-height: 40px; background: url(../img/header/search_d.png) right center no-repeat; cursor: pointer; text-indent: 14px;}
.top_search .m_select .m { display: none; position: absolute; left: 0; top: 40px; right: 0; padding: 5px 0; background: #fff; border-radius:0 0 10px 10px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); z-index: 999;}
.top_search .m_select .m ul { display: block;}
.top_search .m_select .m ul li{ display: block; line-height: 28px; text-indent: 14px; cursor: pointer;}
.top_search .m_select .m ul li:hover{ color:#2d50d3;}
.top_search .m_select .m ul li.on{ color:#2d50d3;}


.nav_btn { display:none;}


/*分页*/
.pages { padding: 24px 0; vertical-align: top; line-height: 0; font-size: 0; color: #666666; text-align: center;}
.pages a { display: inline-block; vertical-align: top; margin: 0 4px; background: #fff; border: 1px #e1e3e6 solid; width: 30px; height: 30px; line-height: 30px; text-align: center; color: #666666; font-size: 14px;}
.pages a.l { font-family: '宋体'; font-weight: bold; }
.pages a.r { font-family: '宋体'; font-weight: bold; }
.pages a:hover { border: 1px #2d50d3 solid; color: #2d50d3; text-decoration: none;}
.pages a.on { border: 1px #2d50d3 solid; color: #2d50d3;}
.pages span { display: inline-block; vertical-align: top; margin: 0 4px 0 18px; height: 30px; line-height: 30px; font-size: 14px; }
.pages .m_select { display: inline-block; text-align: left; }
.pages .m_select .t { display: block; width: 60px; height: 30px; line-height: 30px; font-size: 14px; border: 1px #e1e3e6 solid; padding-left: 13px; background: url(../img/footer/page_select.png) right center no-repeat #fff; cursor: pointer; }
.pages .m_select .m { position: absolute; left: 0; top: 31px; right: 0; border: 1px #e1e3e6 solid; background: #fff;}
.pages .m_select .m ul li a { display: block; margin: 0; background:none; border: 0; width: auto; height: auto; line-height: 28px; text-align: left; color: #666666;}
.pages .m_select .m ul li a:hover{ background: #f7f7f7; color: #2d50d3; }

.pages .input { display: inline-block; margin: 0 4px; background: #fff; border: 1px #e1e3e6 solid; width: 50px; height: 30px; line-height: 30px; text-align: center; color: #2d50d3; vertical-align: top; font-size: 14px;}
.pages .btn { display: inline-block; margin: 0 4px; background: #fff; border: 1px #2d50d3 solid; width: 60px; height: 32px; line-height: 30px; text-align: center; color: #2d50d3; cursor: pointer; vertical-align: top; font-size: 14px; box-sizing: border-box;}
.pages .btn:hover { background: #2d50d3; color: #fff;}



/*底部*/
.footer { background:#f7f7fa; border-top: 1px #e0e0e0 solid; }
.footbox { padding: 36px 0; color: #666666; font-size: 12px; line-height: 24px;}
.footbox .foot_l { float: left; width: 60%;}
.footbox .foot_r { float: right;}
.footbox .foot_r img { display: block; height: 72px;}
.footbox a{ color: #666666;}
.footbox a:hover { color: #2d50d3;}


.backtops { background:url(../img/footer/backtop.png) center center no-repeat #d2d0d0; border-radius:6px; width:50px; height:50px; position:fixed; right:10px; bottom:100px; z-index:999; cursor:pointer; transition:all 300ms ease;}
.backtops:hover { background-color: rgba(0,0,0,0.4); }

@media(max-width: 1300px) and (min-width: 900px){
  .mainbox{width: auto;}
}

@media (min-width:240px) and (max-width:900px){
.wrap { }
.mainbox{width:auto;margin-left:15px;margin-right:15px;}
.header { height: 50px;}
.topbox { height:50px; position: fixed; left: 0; top: 0; right: 0; box-shadow:0px 5px 10px rgba(0,0,0,0.1); }
.topbox_m { height: 50px; padding: 0 0; }
.topbox .logo { padding-top: 10px; }
.topbox .logo img{ height: 30px; }

.nav_btn { display:block; position:absolute; right:0; top:9px; cursor:pointer; background:#2d50d3; padding:3px 3px 3px 3px; border-radius:3px;}
.nav_btn i{ display:block; font-style:normal; width:2px;height:2px;box-shadow:inset 0 0 0 28px,0 -7px 0 0,0 7px 0 0;margin:12px 22px 12px 4px; position:relative; text-align: left; text-indent: -9999px; direction: ltr; box-sizing: border-box; color:#fff; }
.nav_btn i:before{width:16px;height:2px;left:5px;box-shadow:inset 0 0 0 28px,0 -7px 0 0,0 7px 0 0;position: absolute; top: 50%; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -ms-transform: translateY(-50%); -o-transform: translateY(-50%); transform: translateY(-50%);}
.nav_btn i:after, .nav_btn i:before { content: ''; pointer-events: none; }


.toptool { display: none; position: fixed; left: 0; right: 0; top: 50px; background: #fff; height: 28px; float: none; text-align: left; padding: 5px 0;}
.top_rnav { float: none; display: inline-block; text-align: left; }
.top_rnav a { float: none; display: inline-block; padding: 0 6px; }
.top_login { float: none; display: inline-block; padding-left: 0; text-align: center; margin-right: 15px; }
.top_login a { float: none; display: inline-block;}

.top_user { margin-right: 15px; }

.topnavbox { display: none; height: auto; position: fixed; left: 0; right: 0; bottom: 0; overflow-y: auto; top: 88px; background: #ffffff; z-index: 9999; box-shadow: 0 5px 10px rgba(0,0,0,0.1);}

.top_cate { float: none; width: auto; margin-right: 0;}
.top_cate_m { position: relative; display: none; left: 0; top: 0; right: 0; height: auto; }


.top_nav { float:none; height: auto; padding: 10px 0; }
.top_nav ul li { float:none; }
.top_nav ul li .m{ position:relative; left:0; right: 0; width: auto; margin-left: 0; top:0; background: #f7f7f7; display: block; text-align:center; box-shadow: none; padding: 5px 0;}
.top_nav ul li .m a{ display: inline-block; padding:4px 10px; font-size: 12px; color: #666; }


.top_search { float: none; width: 90%; box-sizing: border-box; margin-right: 0; margin: 0 auto; padding: 0 40px 0 74px; background: #f7f7f7;}


/*分页*/
.pages { padding: 15px 0; }
.pages span { display: none; }
.pages .m_select { display: none; }
.pages .input { display: none; }
.pages .btn { display: none; }


/*底部*/
.footbox { padding: 16px 0; }
.footbox .foot_l { float: none; width: auto; text-align: center;}
.footbox .foot_r { float: none; padding-top: 15px;}
.footbox .foot_r img { height: 50px; margin: 0 auto;}

.backtops { width:40px; height:40px; right:10px; bottom:20px; background-size:36px auto; }
}


.cate_list .item .m li input{
  -webkit-appearance: checkbox;
}

.cate_list .item .m label {padding: 10px 0; line-height: 40px; color: #666666;}
.cate_list .item .m li{
  padding-left: 15px;
}

.chat{
  background: url(../img/footer/chat.png) center center no-repeat #d2d0d0;
  border-radius: 6px;
  width: 50px;
  height: 50px;
  position: fixed;
  right: 10px;
  bottom: 160px;
  z-index: 9999;
  cursor: pointer;
  transition: all 300ms ease;
}


.chat-window {
  display:none;
  z-index: 9999;
  position: fixed;
  bottom: 0px;
  right: 0;
  width: 550px;
  height: 700px;
  background-color: #fff;
  box-shadow: -2px -2px 10px rgba(0, 0, 0, 0.1);
  transition: bottom 0.3s ease-in-out;
}

.chat-window.minimized {
  bottom: -50px; /* Adjust based on header and input heights */
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: #007BFF;
  color: #fff;
  cursor: pointer;
}

.chat-header h2 {
  margin: 0;
  font-size: 16px;
}

.minimize-btn {
  font-size: 18px;
  cursor: pointer;
}

.chat-body {
  padding: 10px;
  overflow-y: auto;
  height: calc(100% - 165px); /* Adjust based on header, input, and potential footer heights */
}

.chat-input {
  width:100%;
  justify-content: space-between;
  align-items: center;
  background-color: #f1f1f1;
  border-top: 1px solid #ddd;
}

.chat-input textarea {
  flex-grow: 1;
  border: 1px solid #ccc;
  border-radius: 4px;
  width:100%;
}

.chat-input button {
  padding: 5px 10px;
  border: none;
  background-color: #007BFF;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  position: absolute;
  right: 0;
  bottom: 0;
}

.chat-input button:hover {
  background-color: #0056b3;
}