@font-face {
  font-family: 'iconfont';  /* Project id 3972234 */
  src: url('../fonts/font_3972234_to6fro6m26d.woff2') format('woff2'),
       url('../fonts/font_3972234_to6fro6m26d.woff') format('woff'),
       url('../fonts/font_3972234_to6fro6m26d.ttf') format('truetype');
}
.iconfont{
    font-family:"iconfont" !important;
    font-size:16px;font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;}

html{scroll-behavior:smooth;}
body{color:#333;background:#fff;font-family:'Microsoft YaHei',Arial, Helvetica, Verdana;overflow-x:hidden;height:100%;font-size: 14px;width:100%;}
*{-webkit-margin-before:0px;-webkit-margin-after:0px;-webkit-padding-start:0px;padding:0;margin:0;}
a{text-decoration:none;}
a:hover{text-decoration:none;}
ul,li{list-style:none;margin:0;padding:0;}
h1,h2,h3,h4,h5,h6,p{margin:0;padding:0;}
input,i{border:none;outline:none;}
*:focus{border:none;outline:none;}
img{max-width: 100%;}

/*主色调 红色 #c00d23*/
body{--zhu-color:#c00d23;--pei-color:#de7518;}

.fl{float: left;}
.fr{float: right}
.clear{clear: both;}
.ellipsis{text-overflow: ellipsis;overflow: hidden;white-space:nowrap;}
.clamp{text-overflow: ellipsis;display: -webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow: hidden;}
.wrap{width:100%;margin:0 auto;overflow: hidden;}
.wrapp{width:100%;margin:0 auto;position: relative;}
.wrappp{width:100%;padding:0 50px;}
.img{width:100%;position: relative;padding-bottom: 75%;overflow: hidden;}
.img img{width:100%;height: 100%;position: absolute;top:0;left:0;object-fit: cover;}
.fancynav-mainnav{position: fixed;z-index: 999!important;}
@media(max-width: 1700px){
	.wrappp{padding:0;}
}
@media(min-width: 1600px){
	.wrap{width:1600px;}
	.wrapp{width:1600px;}
}
@media(max-width: 1024px){
	
}


/*自定义滚动条*/
body::-webkit-scrollbar {
	/*滚动条整体样式*/
	width : 5px;  /*高宽分别对应横竖滚动条的尺寸*/
	height: 1px;
}
body::-webkit-scrollbar-thumb {
	/*滚动条里面小方块*/
	border-radius: 5px;
	box-shadow   : inset 0 0 5px rgba(0, 0, 0, 0.2);
	background   : #d3292a;
}
body::-webkit-scrollbar-track {
	/*滚动条里面轨道*/
	box-shadow   : inset 0 0 5px rgba(0, 0, 0, 0.2);
	border-radius: 5px;
	background   : #ededed;
}

/* 在线客服核心样式 - 恢复箭头+框外显示 */
.online_kefu { 
    position: fixed;  
    bottom: 10vh; 
    right: 1%; 
    z-index: 9;
}
.online_kefu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.online_kefu ul li { 
    width: 50px; 
    height: 60px; 
    padding-top: 7px;  
    text-align: center; 
    position: relative; 
    background-color: #d3292a; 
    color: #fff; 
    cursor: pointer; 
    border: 1px solid #efefef;
    margin-bottom: 2px;
    box-sizing: border-box;
}
.online_kefu li i {
    font-size: 20px;
    color: #fff;
}
.online_kefu ul li .con { 
    line-height: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ========== 核心：所有悬浮框统一按邮箱效果对齐 ========== */
.online_kefu ul li .hover_con {
    position: absolute;
    right: 58px; /* 微调：按钮左侧+8px（给箭头留位置） */
    top: 50%;
    transform: translateY(-50%) rotateX(-90deg);
    width: fit-content;
    min-width: 120px;
    max-width: 300px;
    padding: 0 15px;
    background-color: #d3292a;
    color: #fff !important;
    text-align: center;
    height: 40px;
    line-height: 40px;
    border-radius: 3px;
    white-space: nowrap;
    transition: all 0.2s linear;
}

/* 二维码悬浮框单独适配 */
.online_kefu ul li.qrcode .hover_con {
    height: 137px;
    padding: 10px;
    width: 130px;
    white-space: normal;
    right: 58px; /* 和电话/邮箱统一间距 */
}
.online_kefu ul li.qrcode .hover_con img { 
    width: 100px;
}
.online_kefu ul li.qrcode .hover_con p { 
    color: #fff; 
    line-height: 24px;
    margin: 0;
}

/* ========== Hover状态：仅取消旋转，位置锁定 ========== */
.online_kefu li:hover {
    background-color: #d3292a;
    border-color: #d3292a;
}
.online_kefu li:hover .hover_con {
    transform: translateY(-50%) rotateY(0deg);
    right: 58px; /* 锁定间距，给箭头留位置 */
}

/* ========== 核心修复：箭头清晰显示在框外 ========== */
.online_kefu li .hover_con::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -16px; /* 箭头完整显示在框右侧（框外） */
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-left-color: #d3292a; /* 箭头颜色和框一致 */
    z-index: 1; /* 确保箭头不被遮挡 */
}
/* 二维码箭头同步调整 */
.online_kefu li.qrcode .hover_con::before {
    top: 50%;
    right: -16px;
    z-index: 1;
}

/* ========== 响应式（保留原有逻辑） ========== */
.mobile_mob { display: none !important; }
@media (max-width: 1500px) { .online_kefu { display: none !important; } }
@media (max-width: 767px) {
    .online_kefu { bottom: 20vh; }
    .mobile_mob { display: inline-block !important; }
    .mobile_pc { display: none !important; }
}

/* AB模板网新增分页样式 www.admibnuy.cn */
.pagebar { padding:20px; overflow:hidden; clear:both}
.pagebar .pagination {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.pagination a {
  background: #fff;
  border: 1px solid #ccc;
  color: #333;
  font-size: 12px;
  padding: 8px 10px;
  margin: 0 2px;
  border-radius: 3px; line-height:100%
}
.pagination span {
    color: #333;
    font-size: 12px;
    padding: 7px 2px;
    margin: 0 2px;
    border-radius: 3px;
}
.pagination a:hover {
  color: #333;
  border: 1px solid #333;
}
.pagination a.page-num-current {
  color: #fff;
  background: #d3292a;
  border: 1px solid #333;
}
.pagination .st{ font-family:宋体}
.text-secondary{ text-align:center; padding:20px 0}

.ab_img img{ max-width:100% !important; height:auto !important;display:inline-block;}
.ab_img p{text-wrap: inherit !important;}
.ab_img p span{text-wrap: inherit !important;}