/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.3.0.1745718943
Updated: 2025-04-27 09:55:43

*/

.main_contents p{margin-top:0px;margin-bottom:10px}
.main_contents h2{border-left:5px solid #42a466;background:#eee;border-radius:5px;font-size:18px;padding:15px 0px 15px 15px;color:#18457c;margin-top:40px;margin-bottom:20px}
.main_contents h3{font-size:18px;padding:10px 0px 10px 0px;color:#18457c;margin-top:25px;margin-bottom:10px}
.main_contents h3::before{content:"\f085";font-family:FontAwesome;color:#979797;margin-right:10px;font-weight:normal}
.main_contents h4 {
  font-size: 17px;
  font-weight: 600;
  color: #2E8B57;
  margin: 18px 0 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid #42A466;
  letter-spacing: 0.4px;
  border-left: none; /* 确保左边竖杠完全去掉 */
  background: none;  /* 若原主题有背景色也清除 */
}

/* 全局ul，文本编辑器内列表正常生效，只过滤Icon List专用ul */
.main_contents ul:not(.elementor-icon-list-items) {
    list-style:none;
    padding:0px 0 0px 0px
}

/* li：排除Icon List专属列表项，Text Editor普通li不受影响 */
.main_contents ul li:not(.elementor-icon-list-item) {
    position:relative;
    padding-left:20px;
    padding-top:5px;
    padding-bottom:5px;
    margin-bottom:5px;
    color:#18457C;
    border-bottom:1px dashed #ddd
}

/* 最后一项清除底距，仅过滤Icon List */
.main_contents ul li:not(.elementor-icon-list-item):last-child {
    margin-bottom: 0; /* 最后一个 li 不留多余空白 */
}

/* 自定义箭头图标，仅作用非Icon List的li */
.main_contents ul li:not(.elementor-icon-list-item)::before{
    content:"\f0da";
    font-family:"Font Awesome 5 Free";
    font-weight:900;
    font-size:16px;
    color:#7E9DA1;
    position:absolute;
    left:0;
    top:2px;
    transition:color 0.3s ease-in-out
}

/* li内部带img/i时取消左内边距（文本编辑器列表正常生效） */
.main_contents ul li:not(.elementor-icon-list-item):has(img),
.main_contents ul li:not(.elementor-icon-list-item):has(i) {
    padding-left: 0;
}

/* 带图标的li隐藏默认箭头 */
.main_contents ul li:not(.elementor-icon-list-item):has(img)::before,
.main_contents ul li:not(.elementor-icon-list-item):has(i)::before {
    content: none;
}

.table-responsive{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar}
.main_contents table{width:100%;max-width:100%;border-collapse:collapse;text-align:center;border-color:#dadada;background-color:transparent}
.main_contents thead th{background:#18457c;color:#fff;font-weight:bold;vertical-align:bottom;border-bottom:2px solid #dee2e6;padding:10px}
.main_contents td,.main_contents th{padding:10px;vertical-align:middle;border:1px solid #dee2e6}
.main_contents tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,0.05)}
.main_contents tbody tr:nth-of-type(even){background-color:#ffffff}
.main_contents tbody tr:hover{background-color:rgba(0,0,0,0.075);transition:background 0.3s ease-in-out}
.main_contents a.wp-block-button__link.wp-element-button {background-color: wheat;font-weight: 500;color: #18457c;font-style: italic;padding: 10px 50px; margin:30px 0;}
.main_contents a.wp-block-button__link.wp-element-button:hover {background-color: #18457c; color:#fff;}
.main_contents .wp-block-button__link::after {content: "🡺"; font-size: 1em; margin-left: 0.5em;  transition: transform 0.3s ease;}
.main_contents .wp-block-button__link:hover::after {transform: translateX(3px);}
@media (max-width:768px){.main_contents table{font-size:14px}
.main_contents thead th,.main_contents td{padding:8px}
}
.video-container{position:relative;padding-bottom:56.25%;padding-top:30px;height:0;overflow:hidden}
.video-container iframe,.video-container object,.video-container embed{position:absolute;top:0;left:0;width:100%;height:100%}
/*下面是 仿评论区的样式，一问一答*/
.qadiv{background:#f0f0f0;border:1px solid #898888;margin-top:25px;padding:45px 20px 20px;border-radius:8px;position:relative;overflow:hidden}
.qadiv::before{content:"\eada";font-family:"Happy Icons";font-size:100px;color:#dad6d6;position:absolute;top:0px;left:40px;line-height:27px}
.qadiv .qabgimg{padding-bottom:30px;position:relative}
.qadiv .qabgimg ul{list-style:none;margin:0;padding:0}
.qadiv .qabgimg ul .q{border-bottom:1px solid #ccd1d5;color:#50468f;font-size:14px;font-style:italic;padding:10px 0 15px 40px;position:relative;margin-bottom:15px}
.qadiv .qabgimg ul .q::before{content:"👤";font-size:20px;font-style:normal;position:absolute;left:0;top:50%;transform:translateY(-50%);color:#50468f;opacity:0.8}
.qadiv .qabgimg ul .a{padding:10px 10px 15px 45px;position:relative;margin-bottom:20px;background:#ffffff;border-radius:6px;margin-left:20px;box-shadow:0 2px 4px rgba(0,0,0,0.1)}
.qadiv .qabgimg ul .a::before{content:"💡";font-size:24px;position:absolute;left:8px;top:15px;color:#50468f}

@media (max-width:768px){.qadiv{padding:35px 15px 15px}
.qadiv::before{font-size:28px;left:15px}
.qadiv .qabgimg ul .q{padding-left:35px}
.qadiv .qabgimg ul .a{padding-left:50px;margin-left:10px}
.qadiv .qabgimg ul .a::before{left:15px;font-size:20px}
}
/*上面是 仿评论区的样式，一问一答*/

/*✅✅✅下面都是专题模板的样式✅✅✅*/
.topic_page .msize {
    padding-left: 15px;
    padding-right: 15px;
}
.topic_page .asize {
    padding-left: 1px !important;
    padding-right: 1px !important;
}
.topic_page .row {color:#4b4948;font-size:13px;line-height:22px; margin-left: 0;margin-right: 0;}
.topic_page img {max-width:100%;}
.topic_page .topic_center {text-align:center;font-style:italic;}
.topic_page p.topic_p {color:#4b4948;font-size:14px;line-height:22px;}
.topic_page .margin-b{margin:25px 0}
/*大标题+副标题 居中*/
.topic_page  h1.big_center, .topic_page  h2.big_center{text-align:center;font-size:24px !important;margin:40px 0 20px;padding:0;font-weight:bold;font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji" !important; background:none !important;border:none !important; color:#212529 !important;}
.topic_page .title3 {text-align:center;color:gray;margin-bottom:2.7%;}
/* H3标题*/
.topic_page h3{font-size:16px !important;}
.topic_page .h3_bestblue {color:#18457c;font-size:20px;margin-bottom:20px;list-style: none;}
.topic_page .h3_bestred {color:#E0525D;font-size:20px;margin-bottom:20px;list-style: none;}
.topic_page .h3_gemcogreen {color:#42A466;font-size:20px;margin-bottom:20px;list-style: none;}
.topic_page .h3_gray {color:#7A90B2;font-size:20px;margin-bottom:20px;list-style: none;}
.topic_page .h3_bestblue:before,.topic_page .h3_bestred:before,.topic_page .h3_gemcogreen:before,.topic_page .h3_gray:before{content:none !important;}
/*列表样式*/
.topic_page ul.bb {margin:0 0 0 20px;padding:0;}
.topic_page ul.bb li {border-bottom:1px dashed #ddd;color:#18457c;margin:8px 0;padding-bottom:5px;padding-left:0;padding-top:5px;}
.topic_page ul.aa {list-style:outside none none;margin:0 0 0 20px;padding:0;}
.topic_page ul.aa li,.topic_page ul.bb li {border-bottom:1px dashed #ddd;color:#18457c;margin:8px 0;padding-bottom:5px;padding-left:0px;padding-top:5px;}
/* 【图文超链接】 图片+标题，浮动放大+变色*/
.topic_page .hot-img {display:block;overflow:hidden;position:relative;}
.topic_page a.title {font-size:14px;display:block;text-align:center;padding:12px 0;text-transform:capitalize;line-height:18px;}
.topic_page a:hover.hot-img img {transform:scale(1.2);}
.topic_page a.hot-img::after,.topic_page a.hot-img::before {position:absolute;opacity:0;}
.topic_page a.hot-img::after {content:"";z-index:1;width:100%;height:100%;left:0;top:0;}
.topic_page a.hot-img::before {content:"\f0c1";color:#fff;left:50%;top:50%;font-size:26px;z-index:2;font-family:FontAwesome;margin-top:-13px;margin-left:-15px;}
.topic_page a:hover.hot-img::after,.topic_page a:hover.hot-img::before {opacity:1;}
/*灰色背景*//*浮动变色  红色，蓝色，绿色*/
.topic_page .red_b:hover a.title {color:#fff;text-decoration:none;background:#db3d3d;transition:all 0.3s ease;}
.topic_page .blue_b:hover a.title {color:#fff;text-decoration:none;background:#18457c;transition:all 0.3s ease;}
.topic_page .green_b:hover a.title {color:#fff;text-decoration:none;background:#42A466;transition:all 0.3s ease;}
.topic_page .orange_b:hover a.title {color:#fff;text-decoration:none;background:#E57A2C;transition:all 0.3s ease;}
/*Title背景*/
.topic_page .title_gray_b {background:#F1F1F1}
.topic_page .title_red_b {background:#db3d3d;}
.topic_page .title_blue_b {background:#18457c;}
.topic_page .title_green_b {background:#42A466;}
.topic_page a.title_gray_b {color:#18457c;}
.topic_page a.title_red_b,.topic_page a.title_blue_b,.topic_page a.title_green_b {color:#fff;}
/* 一行6图 圆形*/
.topic_page .imground img {border-radius:100%;}
/*产品展示*/
.topic_page .titimg {display:block;background:#fff;text-decoration:none;}
.topic_page .titimg span.title {display:block;background:#325b91;color:#fff;padding:5px 10px;}
.topic_page .titimg span.title::after {content:"\f152";font-family:"FontAwesome";color:#5e80b0;font-size:20px;position:absolute;right:25px;}
.topic_page .hotlist:hover span.title::after {color:#84a8da;}
.topic_page .hot-img {display:block;overflow:hidden;position:relative;padding:1px 0;text-align:center;}
.topic_page .hot-img img {transition:all 0.3s ease;}
.topic_page .hotlist:hover .hot-img img {transform:scale(1.2);}
.topic_page .hot-img::after,.topic_page .hot-img::before {position:absolute;transition:all 0.4s ease;opacity:0;}
.topic_page .hot-img::after {content:"";background:rgba(0,0,0,0.5);z-index:1;width:100%;height:100%;left:0;top:0;}
.topic_page .hot-img::before {content:"\f0c1";color:#fff;left:50%;top:50%;font-size:36px;z-index:2;font-family:"FontAwesome";font-weight:900;margin-top:-16px;margin-left:-14px;}
.topic_page .hot-img::after,.topic_page .hot-img::before {position:absolute;transition:all 0.4s ease;opacity:0;}
.topic_page .hotlist:hover .hot-img::after,.topic_page .hotlist:hover .hot-img::before {opacity:1;}
.topic_page .hotdes .captit,.topic_page .hotdes ul li {border-bottom:1px dotted #567395;padding:10px;}
.topic_page .hotdes p {padding:5px 10px;}
.topic_page .hotdes ul {list-style:none;margin:0;padding:0;}
.topic_page .hotdes ul li i {font-size:14px;padding-right:3px;color:#389cf1;}
.topic_page .hotdes ul li a {color:#fff;text-decoration:none;}
.topic_page .hotdes ul li a:hover {padding-left:10px;}
.topic_page .hotlist:hover .hotdes .captit,.topic_page .hotlist:hover .hotdes ul li {border-color:#000;}
.topic_page .hotlist {padding:5px !important;}
.topic_page .hotlist:hover ul li i {color:#fff;}
.topic_page .hotlist:hover span.title,.topic_page .hotlist:hover .hotdes {background:#317eb2;}
/*浮动后，浅蓝色背景，可自定义颜色*/
.topic_page .hotdes {background:#325b91;color:#fff;font-size:13px;line-height:20px;height:200px;}
/*蓝色背景，可自定义颜色*//*相关文章 列表样式*/
.topic_page .faqtit {position:relative;color:#fff;background:#db3d3d;border-bottom:1px solid #e5e5e5;font-size:14px;border-radius:5px;display:block;padding:10px 15px 10px 40px;color:#fff;text-decoration:none;outline:none;}
.topic_page a.faqtit {background:#e9e9e9;color:#4b4948;margin-bottom:7px;line-height:18px;}
.topic_page a:hover.faqtit {background:#db3d3d;color:#fff;}
.topic_page a.faqtit::after {position:absolute;top:0;margin-top:9px;left:15px;content:"\f059";line-height:20px;font-size:16px;display:inline-block;font-family:FontAwesome;text-align:center;}
/*多种前缀图标*/
.topic_page a.r_post:after {content:"\f0c1" !important;font-family:FontAwesome;font-weight:normal;}
.topic_page a.r_book:after{content:"\f02d" !important;font-family:FontAwesome;font-weight:normal;}
.topic_page a.r_d_arrow:after{content:"\f101" !important;font-family:FontAwesome;font-weight:normal;}
/*PDF 文档列表*/
.topic_page .pdful {list-style:none;margin:0;padding:0;line-height:18px;}
.topic_page .pdful li {padding:10px 0;padding-left:0px;text-transform:capitalize;border-bottom:1px solid #e6e6e6;}
.topic_page .pdful li a {color:#4b4948;}
.topic_page .pdful li a:hover {color:#DB3D3D;}
.topic_page ul.pdful li a:before {padding-right:10px;content:"\f0f6";line-height:22px;font-size:16px;font-family:FontAwesome;color:#db3d3d;}
.topic_page a.r_circle_arrow:before{content:"\f2ce" !important;font-family:FontAwesome;}
/*突出显示 链接按钮*/
.topic_page a.quick_link{display: block; width: 100%; color: #fff;}
.topic_page a.quick_link:before{content:"\f08e";font-family:FontAwesome;padding-right: 8px;}
.topic_page a.quick_link:hover{color: #fff;}
/*专题文章列表*/
.clearfix:after,.clearfix:before{display:table;content:" ";}
.clearfix:after{clear:both;}
.topic_page .apptit {font-family: Verdana; font-weight: bold;padding-right: 104px; position: relative; margin: 15px 0;}
.topic_page .apptit a{display:block;color:#fff;padding:5px 15px;text-decoration:none;}
.topic_page .apptit .more{background:#db3d3d;width:102px;text-align:center;display:block;position:absolute;right:0;text-decoration:none;top:0;padding:8px 0;border-radius:5px;font-size:12px;line-height: 1.5;}
.topic_page .appul{list-style:none;margin:0;padding:0;font-size:13px;}
.topic_page .row .special-img{padding-left: 0;}
.topic_page ul.appul li{margin:5px 0;}
@media (min-width:616px){
.topic_page .appul li{width:50%;float:left;}
}
.topic_page .appul li a{color:#4b4948;}
.topic_page .appul li a:hover{color:#db3d3c;text-decoration:none;}
.topic_page .appul li i{padding-right:3px;}
@media (max-width:991px){
.topic_page .appul{margin-top:10px;}
}
.topic_page .faqtits{position:relative;padding:10px 15px 10px 40px;}
.topic_page .faqtits:after{position:absolute;top:0;margin-top:9px;left:15px;line-height:20px;font-size:16px;}

.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem;}
.bg-primary{background-color:#337ab7!important; color:#fff!important;}
.bg-secondary{background-color:#6c757d!important; color:#fff!important;}
.bg-success{background-color:#dff0d8!important;}
.bg-info{background-color:#d9edf7!important;}
.bg-warning{background-color:#fcf8e3!important;}
.bg-danger{background-color:#f2dede!important;}
.bg-light{background-color:#f8f9fa!important;}
.bg-dark{background-color:#343a40!important; color:#fff!important;}
.bg-white{background-color:#fff!important;}
.bg-transparent{background-color:transparent!important;}
.bg-gemco{background-color:#42A466!important; color:#fff!important;}
.bg-best{background-color:#e0525d!important;}


#myform .field-text,#pageform .field-text {
 width:100%;
 height:40px;
 margin-bottom:20px;
 border-radius:5px;
 background:#fafafa !important;
 border:1px solid #bdbdbd
}
#pageform .field-text{height: 45px;}
#myform .field-button,#pageform .field-button {
 background:#42a466;
 display:block;
 margin:25px auto 0; padding: 10px 0; font-size: 18px;
 color:#fff;
 text-transform:uppercase;
 width:100%;
 border:none;
 border-radius:5px;
 font-weight:700
}
#pageform .field-button {max-width: 346px; width: 100%;}
#myform .field-button:hover,#pageform .field-button:hover {
 background:#dfc15e;
 color:#fff
}
#myform .field-textarea,#pageform .field-textarea {
 border-radius:5px;
 border:1px solid #bdbdbd
}

@media(min-width:768px) {
 #myform .field-row,#pageform .field-row{
  display:flex;
  margin:0 -10px
 }
 #myform .field-row .column,#pageform .field-row .column{
  padding:0 10px;
  width:50%
 }
}

/* 自定义文章内链颜色 */
.main_contents a {
  /* 默认内链颜色 */
  color: #004182 !important;
  text-decoration: underline;
  transition: color 0.3s ease; /* 平滑过渡效果 */
}

.main_contents a:visited {
  /* 已访问链接颜色（可保持与默认色一致或自定义） */
  color: #004182 !important;
}

.main_contents a:hover {
  /* 鼠标滑过颜色 */
  color: #007bff !important;
  text-decoration: none; /* 鼠标滑过时移除下划线（可选） */
}

.main_contents a:active {
  /* 点击瞬间颜色（可使用滑过色或自定义） */
  color: #007bff !important;
}




/* === 文章页按钮基础样式 === */
.single-post .wp-block-button__link,
.single-post .wp-block-button__link:visited {
  background-color: #42A466 !important;
  color: #ffffff !important;
  border: 2px solid #42A466 !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  transition: all 0.3s ease;
  text-decoration: none !important;
  display: inline-block;
  text-align: center;
  white-space: normal !important;
  word-break: break-word !important;
}

/* 鼠标悬停 */
.single-post .wp-block-button__link:hover {
  background-color: #ffffff !important;
  color: #42A466 !important;
  border-color: #42A466 !important;
}

/* === 按钮组基础布局（全设备通用：强制一行） === */
.single-post .wp-block-buttons {
  display: flex;
  justify-content: center;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 10px;
  margin-top: -20px !important;
  margin-bottom: -30px !important;
  padding: 0 10px !important;
}

/* 单个按钮容器样式（通用） */
.single-post .wp-block-button {
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto !important;
}

/* === 手机端适配（≤768px） === */
@media (max-width: 768px) {
  .single-post .wp-block-buttons {
    gap: 10px !important;
  }

  .single-post .wp-block-button {
    width: 45% !important;
    max-width: 200px !important;
  }

  .single-post .wp-block-button__link {
    padding: 10px 15px !important;
    font-size: 14px !important;
    white-space: nowrap !important;
  }
}

/* === 平板端适配（769px-1024px） === */
@media (min-width: 769px) and (max-width: 1024px) {
  .single-post .wp-block-buttons {
    gap: 12px !important;
    margin-top: -20px !important;
    margin-bottom: -30px !important;
    padding: 0 10px !important;
  }

  /* 核心：强制每个按钮占30%宽度，通过flex布局严格分配 */
  .single-post .wp-block-button {
    width: 30% !important; /* 明确40%宽度 */
    max-width: none !important;
    min-width: 0 !important; /* 清除最小宽度干扰 */
    flex: 0 0 30% !important; /* 强制flex分配40%空间 */
  }

  .single-post .wp-block-button__link {
    width: 100% !important;
    padding: 10px 18px !important;
    font-size: 14px !important; /* 字体缩小，确保40%宽度内不换行 */
    white-space: nowrap !important;
  }
}

/* === 电脑端优化（≥1025px） === */
@media (min-width: 1025px) {
  .single-post .wp-block-buttons {
    gap: 15px !important;
  }

  .single-post .wp-block-button__link {
    padding: 10px 28px !important;
    font-size: 16px !important;
    white-space: nowrap !important;
  }
}

/* === 图片图注统一样式(2026-08-29)=== */
.single-post figcaption {
  font-size: 13px;
  color: #666666;
  font-style: italic;
  line-height: 1.6;
  text-align: center;
}
/* 兼容旧内容:Elementor 文本内带内联样式的 span 图注 */
.single-post figure span {
  font-size: 13px !important;
  color: #666666 !important;
}


/* === 询盘按钮兜底(2026-08-29):不依赖 wp-block-button__link class,即使被编辑器剥掉样式仍由主题接管 === */
.main_contents a[href="#sendform"] {
  display: inline-block;
  padding: 12px 28px;
  background-color: #42A466 !important;
  color: #ffffff !important;
  border: 2px solid #42A466 !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  text-align: center;
  transition: all 0.3s ease;
}
.main_contents a[href="#sendform"]:hover {
  background-color: #ffffff !important;
  color: #42A466 !important;
  border-color: #42A466 !important;
}
