/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
.message-form-box {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 998;
    width: 220px;
}

/* 底部触发按钮样式 */
.message-trigger {
    background: #156944;
    color: white;
    padding: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease; border-radius:5px 5px 0 0
}

.message-trigger.hidden {
    display: none;
}

/* 弹出框样式 */
.message-popup {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 320px;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    transform: translateY(100%);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.message-popup.active {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
}

/* 头部样式 */
.message-header {
    background:#156944!important;
    color: white;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.message-popup .wpforms-submit{ background:#156944!important;}
.message-popup .wpforms-container .wpforms-field{ padding:7px 0!important}
.radius-top {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.message-header b {
    flex-grow: 1;
}

.arrow-toggle {
    transition: transform 0.3s ease;
}
.wpf-captcha-container{ margin:0 0 20px 0!important}
.wpf-captcha-container label{ display:none}
.wpf-captcha-field{ display:flex;white-space: nowrap;align-items: center;gap: 10px;}
/* 表单容器样式 */
.message-form {
    padding: 20px;
    background: white;
    max-height: 80vh;
    overflow-y: auto;
}

/* WPForms 样式优化 */
.message-form .wpforms-container {
    margin: 0;
}

.message-form .wpforms-field {
    padding: 8px 0;
}

.message-form .wpforms-field input,
.message-form .wpforms-field textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 10px;
}

.message-form .wpforms-field textarea {
    min-height: 120px;
    resize: vertical;
}

/* hCaptcha 验证码优化 */
.message-form .h-captcha {
    margin: 10px 0;
    transform-origin: left;
    transform: scale(0.9);
}

/* 提交按钮样式 */
.message-form .wpforms-submit {
    width: 100%;
    background: #20B2AA;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.message-form .wpforms-submit:hover {
    background: #1a9690;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .message-form-box {
        width: 100%;
    }
    
    .message-form .h-captcha {
        transform: scale(0.8);
    }
}
.sub-forms .wpforms-container .wpforms-field{padding: 10px 0!important;}
div.wpforms-container-full:not(:empty){ margin:0!important}
.home-banner .swiper-pagination{ left:auto; right:16%;bottom: 40px!important;top: auto;}
.home-banner .swiper-pagination-bullet{background: #FFF;border: 1px solid #DE6110; opacity:1}
.home-banner .swiper-pagination-bullet:hover{ background:#DE6110}
.home-banner .swiper-pagination-bullet.swiper-pagination-bullet-active{ background:#DE6110}
.cta-arrow-section .elementor-cta__title{ display:inline-block}
.cta-arrow-section .elementor-cta__title:after{content:"\f054";font-family:"Font Awesome 5 Free";font-weight:900; font-size:20px}
.black-txt{ color:#000}
.bg-last-item .elementor-heading-title a{display:block; height:100%; position:relative}
.bg-last-item .elementor-widget-heading,.bg-last-item .elementor-heading-title{ height:100%}
.bg-last-item .elementor-heading-title a:after{content:"\f138";font-family:"Font Awesome 5 Free";font-weight:900; position:absolute; right:10px; bottom:0}
.circle-block{display: flex;
    width: 200px;
    height: 200px;
    justify-content: center;
    align-items: center;}
table td, table th{vertical-align:middle;
    border-top: 0;
    border-left: 0;
    border-right: 0;padding: 10px; text-align:center}
table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th,table tbody tr:hover>td, table tbody tr:hover>th{ background:none}
table td p, table th p{ margin:0}
table b{ font-weight:bold!important}
.full-img-box .elementor-image-box-img img{ width:100%}
table caption+thead tr:first-child td, table caption+thead tr:first-child th, table colgroup+thead tr:first-child td, table colgroup+thead tr:first-child th, table thead:first-child tr:first-child td, table thead:first-child tr:first-child th{border-block-start: 0;}
.loop-item01 .elementor-cta__bg{background-color: #383E4E;background-repeat: no-repeat;}
.loop-item02 .post-title .elementor-heading-title,.post-list-section .elementor-post__title{display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;overflow: hidden; }
.loop-item02 .post-desc p,.post-list-section .elementor-post__excerpt p{display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden; }
.post-single-content h2,.post-single-content h3{ font-size:18px; }




@media screen and (max-width:1024px){
.elementor-location-header .elementor-menu-toggle{ margin-top:-65px;margin-left: 15px;width: 45px;height: 45px;}
	.full-img,.full-img img{  display:block}
	.full-img img{ object-fit:cover}
	.home-banner .swiper-pagination{ right:0}
	.circle-block{width: 150px;height: 150px;}
}


@media screen and (max-width:480px){
.home-banner .swiper-pagination{ left:15px; right:auto;bottom:10px!important;top: auto;transform:none}
 table{display: block;overflow-x: auto;}

	
	

}















