/**
 * Theme Name: Module Child
 * Theme URI: https://www.wpcom.cn/themes/module.html
 * Version: 1.0
 * Author: WPCOM
 * Author URI: https://www.wpcom.cn
 * Template: module
 */

@import url("../module/css/style.css");

.header .navbar-url{
    color: var(--theme-black-color);
}
.header .navbar-url:hover{
    color: var(--theme-hover);
}

.header .navbar-url.btn-default{
    margin-left: -8px;
    background: none;
}
.header .navbar-url.btn-default:hover{
    background: hsla(var(--theme-color-hsl), .03);
}

@media (max-width: 1024px) {
    .header .wpcom-adv-menu>.menu-item-style>.menu-item-wrap>li>span {
        display: flex;
        width: 100%;
        color: var(--mobile-menu-color,#fff);
        align-items: center;
        font-weight: 400;
        padding: 15px 20px;
        line-height: 24px !important;
        overflow: hidden;
    }
}
@media (min-width: 1025px) {
    .header .nav>li>a{
        font-size: 15px;
    }
    .header .navbar-action .login:not(.register){
        padding: 7px 16px;
        background-color: var(--member-color);
        border: 1px solid var(--member-color);
        font-size: 14px;
        font-weight: 400;
        line-height: 16px;
        color: #fff;
        outline: 0;
        transition: all .1s ease-out 0s;
        user-select: none;
        border-radius: var(--theme-border-radius-m, 4px);
    }
    .header .navbar-action .login:not(.register):hover{
        background-color: var(--member-hover);
        border-color: var(--member-hover);
        color: #fff;
        opacity: .9;
    }
    .header .navbar-action .login:first-child{margin-left: 0;}
    .header .container-fluid .navbar-action .profile .dropdown-menu{min-width: 120px;}
    .header .wpcom-adv-menu>.menu-item-style>.menu-item-wrap>li>span{
        font-style: normal;
        font-weight: 600;
        padding: 9px 0;
    }
    .header .wpcom-adv-menu>.menu-item-style.menu-item-style-tsc>.menu-item-wrap>li>a,
    .header .wpcom-adv-menu>.menu-item-style.menu-item-style-tsc>.menu-item-wrap>li>span{
        display: block;
        padding-left: 20px;
    }
    .header .wpcom-adv-menu > .dropdown.menu-item-style.menu-item-style-tsc > .dropdown-menu > .dropdown > .dropdown-menu{
        display: grid;
        margin-top: 8px;
        grid-template-rows: repeat(4, 1fr);
        grid-auto-flow: column;
        grid-auto-columns: max-content;
        grid-auto-rows: max-content;
        grid-column-gap: 30px;
    }
    .header .wpcom-adv-menu>.menu-item-style.menu-item-style-tsc .menu-item-col-4>li, .header .wpcom-adv-menu>.menu-item-style.menu-item-style-tsc .menu-item-col-5>li{
        width: auto;
    }
    .header .wpcom-adv-menu > .dropdown.menu-item-style.menu-item-style-tsc > .dropdown-menu > .dropdown > .dropdown-menu > li > a{
        padding: 14px 20px;
        display: inline-flex;
        width: 100%;
        align-items: center;
        user-select: none;
    }
    .header .wpcom-adv-menu > .dropdown.menu-item-style.menu-item-style-tsc > .dropdown-menu > .dropdown > .dropdown-menu > li.active > a{
        color: var(--theme-black-color);
    }
    .header .wpcom-adv-menu > .dropdown.menu-item-style.menu-item-style-tsc > .dropdown-menu > .dropdown > .dropdown-menu > li > a:hover{
        background: hsla(var(--theme-color-hsl), .05);
    }
    .header .wpcom-adv-menu > .dropdown.menu-item-style.menu-item-style-tsc > .dropdown-menu > li{
        line-height: 1.4;
    }
    .header .wpcom-adv-menu > .dropdown.menu-item-style.menu-item-style-tsc > .dropdown-menu > li .menu-item-icon{
        font-size: 1.4em;
        line-height: 1;
    }
}

.modules-tsc_swiper{
    position: relative;
	overflow: hidden;
}
.modules-tsc_swiper .swiper-pagination{
    bottom: 30px;
}
@media (max-width: 767px){
    .modules-tsc_swiper .swiper-pagination{
        bottom: 12px;
    }
}
.modules-tsc_swiper .swiper-pagination-bullet-title{
    position: relative;
    width: auto;
    height: auto;
    max-width: 100px;
    padding: 0 6px 2px;
    margin: 0 10px;
    font-size: 14px;
    line-height: 2.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: none;
    border-radius: 0;
    color: var(--theme-gray-color);
    opacity: 1;
}
.modules-tsc_swiper .swiper-pagination-bullet-title:after{
    position: absolute;
    left: 0;
    bottom: 1px;
    width: 100%;
    height: 1px;
    background: var(--theme-gray-color);
    content: '';
}
.modules-tsc_swiper .swiper-pagination-bullet-title.swiper-pagination-bullet-active{
    color: var(--theme-black-color);
    font-weight: 600;
}
.modules-tsc_swiper .swiper-pagination-bullet-title.swiper-pagination-bullet-active:after{
    height: 2px;
    bottom: 0;
    background: var(--theme-black-color);
}
.modules-tsc_swiper .swiper-pagination-bullet-title:hover{
    color: var(--theme-hover);
}
.modules-tsc_swiper .swiper-pagination-bullet-title:hover:after{
    height: 2px;
    bottom: 0;
    background: var(--theme-hover);
}
@media (max-width: 767px){
    .modules-tsc_swiper .swiper-pagination-bullet-title{
        text-indent: -999em;
        width: 12px;
    }
    .modules-tsc_swiper .swiper-pagination-bullet-title:after{
        height: 4px;
        bottom: 0;
        border-radius: 4px;
        opacity: .6;
    }
    .modules-tsc_swiper .swiper-pagination-bullet-title.swiper-pagination-bullet-active:after{
        height: 4px;
        background: var(--theme-color);
    }
    .modules-tsc_swiper .swiper-pagination-bullet-title:hover:after{
        height: 4px;
    }
}


#contact-modal .modal-content{
    background: linear-gradient(180deg, #e3eeff 0%, rgba(227, 238, 255, 0) 50%),#ffffff;
}
#contact-modal .modal-body{
    padding: 0 36px 30px;
}
#contact-modal .modal-header{
    padding-bottom: 0;
}
#contact-modal .contact-modal-title{
    margin: 0 0 24px;
    padding: 0;
    font-size: 22px;
    color: var(--theme-black-color);
}
#contact-modal .contact-modal-title .wi{
    color: var(--theme-color);
    margin-right: 3px;
}
#contact-modal .wpcf7-form .wpcf7-form-control-wrap{
    padding-bottom: 20px;
}
#contact-modal .wpcf7-form .wpcf7-not-valid-tip{
    bottom: 0;
}
#contact-modal .wpcf7-form .wpcf7-submit{
    margin-top: 8px;
}
#contact-modal .wpcf7-form > p{
    margin-bottom: 0;
}
#contact-modal .wpcf7-form > p > label{
    display: block;
    font-size: 15px;
    line-height: 30px;
    font-weight: 500;
    color: var(--theme-black-color);
}
#contact-modal .wpcf7-form > p > label span{
    display: inline-block;
    font-size: 18px;
    color: #f66;
    vertical-align: top;
}
#contact-modal .wpcf7-response-output{
    margin-top: 10px!important;
}


.fixed-contact-from{
    position: fixed;
    left: 20px;
    bottom: 20px;
    height: auto;
    width: 240px;
    border-radius: 8px;
    z-index: 99999;
    background: #fff;
    box-shadow: 0 8px 40px #0006;
    overflow: hidden;
}
@media (max-width: 767px) {
    .fixed-contact-from{
        display: none;
    }
}
.fixed-contact-from-header{
    display: flex;
    padding: 0 0 0 12px;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    background: var(--theme-color);
    user-select: none;
    cursor: move;
}
.fixed-contact-from-title{
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 46px;
    font-weight: 500;
}
.fixed-contact-from-body{
    padding: 12px;
    font-size: 14px;
    line-height: 1.47;
}
.fixed-contact-from-text{
    margin-bottom: 16px;
}
.fixed-contact-from .wpcf7-form > p{
    margin-bottom: 10px;
}
.fixed-contact-from .wpcf7-form > p:last-child{
    margin-bottom: 0;
}
.fixed-contact-from .wpcf7-form > p > label{
    position: relative;
}
.fixed-contact-from .wpcf7-form > p .wi{
    position: absolute;
    z-index: 1;
    left: 10px;
    top: 9px;
    font-size: 16px;
    line-height: 1;
    color: hsla(var(--theme-color-hsl), .4);
}
.fixed-contact-from .wpcf7-form .wpcf7-form-control:not(.wpcf7-submit){
    padding-left: 32px;
}

.fixed-contact-from .wpcf7-form .wpcf7-form-control-wrap{
    padding-bottom: 0;
}
.fixed-contact-from .wpcf7-form .wpcf7-not-valid-tip{
    position: static;
}



.fixed-contact-from .wpcf7-form, #contact-modal .wpcf7-form {
    position: relative;
}

.fixed-contact-from .wpcf7-spinner, #contact-modal .wpcf7-spinner {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 24px;
    height: 24px;
}

.fixed-contact-from-close{
    display: flex;
    width: 40px;
    height: 46px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: .8;
}
.fixed-contact-from-close:before{
    display: block;
    width: 16px;
    height: 2px;
    background: #fff;
    content: '';
}
.fixed-contact-from-close:hover{
    opacity: 1;
}

.fixed-contact-from.closed .fixed-contact-from-close:before{
    height: 12px;
    background: none;
    border: 2px solid #fff;
}
.fixed-contact-from.closed .fixed-contact-from-body{
    display: none;
}

.qapress #wrap > .banner{display: none;}
.qapress .breadcrumb{display: block;}

.tsc-form{
    margin: 0 auto;
    max-width: calc(800px + var(--theme-gutter, 30px) * 2);
}
.tsc-form + .wpcf7-response-output{
    margin-left: auto!important;
    margin-right: auto!important;
    max-width: calc(800px + var(--theme-gutter, 30px));
}
.tsc-form .wpcf7-form-control{
    padding: 10px 16px;
    font-size: 14px;
    border-color: var(--theme-color);
}
.tsc-form .wpcf7-form-control:focus{
    border-color: var(--theme-hover);
}
.tsc-form .wpcf7-submit{
    padding: 11px 16px;
}
.tsc-form > div > p{
    line-height: 0;
}