/*
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: LaoGuo
Author URI: https://hynote.cn/
Template: hello-elementor
Version: 1.0.1
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
*/

/* 全局定义 - 开始 */

* {
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.theme-style-1 {
    --jdw-global-color-primary: #127DBD;
    --jdw-global-color-secondary: #109EDB;
    --jdw-global-color-text: #565C61;
    --jdw-global-color-accent: #FFFFFF;
    --jdw-global-color-link: #337AB7;
    --jdw-global-color-title: #666;
}

body {
    margin: 0;
    font-size: 16px;
    line-height: 1.42857143;
    background-color: #FFF;
    font-family: 'Roboto', sans-serif;
    color: var(--jdw-global-color-text);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

a, input, button, textarea {
    outline: none;
}

a, input, button, textarea {
    transition: all 0.2s;
}

button:focus {
    outline: none;
}

a {
    color: var(--jdw-global-color-link);
    text-decoration: none;
}

a:hover {
    color: var(--jdw-global-color-secondary);
    text-decoration: none;
}

a:active, a:hover {
    outline: 0;
}

p {
    font-size: 16px;
    margin: 0 0 10px;
    line-height: 26px;
    font-weight: normal;
}

b, optgroup, strong {
    font-weight: 700;
}

h1, h2, h3, h4, h5 {
    font-weight: bold;
}

h1 {
    margin: 0;
    font-size: 40px;
    font-weight: bold;
    line-height: 48px;
    letter-spacing: -0.02em;
}

h2 {
    margin: 20px 0;
    font-size: 34px;
    line-height: 40px;
    letter-spacing: -0.02em;
}

h3 {
    color: var(--jdw-global-color-title);
    font-size: 26px;
    line-height: 36px;
    margin: 20px 0 15px;
}

h4 {
    color: var(--jdw-global-color-title);
    font-size: 18px;
    line-height: 28px;
    margin: 20px 0 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

h5 {
    color: var(--jdw-global-color-title);
    margin: 10px 0;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

h6 {
    color: var(--jdw-global-color-title);
    margin: 10px 0;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
    margin-top: 0;
}

.button {
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    height: auto;
    line-height: normal;
    border: none;
    box-shadow: none;
    margin: 0 auto;
    padding: 10px 24px;
    display: inline-block;
    border-radius: 0;
    background-color: #292b2c;
    color: #ffffff;
}

.button {
    padding: 8px 24px;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 14px;
    line-height: 24px;
    border: 2px solid transparent;
}

.button.blue {
    border-color: #127DBD;
    background-color: #127DBD;
    color: white;
}

.w25 {
    width: 25%;
}

.w30 {
    width: 30%;
}

.w33 {
    width: 33.33%;
}

.w40 {
    width: 40%;
}

.w50 {
    width: 50%;
}

.w60 {
    width: 60%;
}

.w66 {
    width: 66.66%;
}

.w70 {
    width: 70%;
}

.w75 {
    width: 75%;
}

.w100 {
    width: 100%;
}

/* 全局定义 - 结束 */

/* wpcf7表单 - 开始 */

.input-group {
    display: table;
    position: relative;
    border-collapse: separate;
}

.wpcf7-form .fieldset {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -16px;
    flex-direction: row;
}

.wpcf7-form .input-group {
    display: flex;
    padding: 6px 16px;
    flex-direction: column;
}

.wpcf7-form input[type=text], .wpcf7-form input[type=email], .wpcf7-form input[type=number], .wpcf7-form input[type=tel], .wpcf7-form textarea, .wpcf7-form select, .wpcf7-form #file-uploader-image, .wpcf7-form .bootstrap-select {
    color: #292b2c;
    font-size: 13px;
    line-height: 36px !important;
    background: #fff;
    border: 1px solid #d7d8d8;
    border-radius: 0;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 10px;
    display: block;
}

.wpcf7-form #file-uploader-image {
    display: flex;
    align-items: center;
}

.wpcf7-form textarea {
    height: 100px !important;
    line-height: 1.4 !important;
    padding: 10px 12px !important;
}

.wpcf7-form input[type=text]:focus, .wpcf7-form input[type=email]:focus, .wpcf7-form input[type=number]:focus, .wpcf7-form input[type=tel]:focus, .wpcf7-form textarea:focus, .wpcf7-form select:focus, .wpcf7-form #file-uploader-image:focus {
    border-color: #222;
}

.wpcf7 input[type="file"] {
    line-height: 1.5;
}

/* wpcf7表单 - 结束 */

/* Elementor - 开始 */
p a, .elementor-widget-text-editor a {
    color: var(--jdw-global-color-primary);
}

p a:hover, .elementor-widget-text-editor a:hover {
    color: var(--jdw-global-color-secondary);
}

.elementor-heading-title {
    line-height: initial !important;
}

.elementor-tablet-align-justify .elementor-button .elementor-align-icon-left {
    display: flex;
    align-items: center;
}

.elementor-tablet-align-justify .elementor-button-text {
    flex-grow: unset;
}

.elementor-widget-text-editor ul {
    list-style: none;
}

.elementor-widget-text-editor ul li {
    position: relative;
    margin: 12px;
}

.elementor-widget-text-editor ul li:before {
    height: 8px;
    width: 8px;
    content: "";
    border-radius: 100%;
    background-color: var(--jdw-global-color-primary);
    position: absolute;
    left: -15px;
    top: 9px;
}

.elementor-button-icon {
    display: flex;
    align-items: center;
    fill: inherit;
    color: inherit;
}

.elementor-button:hover .elementor-button-icon {
    fill: var(--jdw-global-color-secondary);
    color: var(--jdw-global-color-secondary);
}

.jdw-link-btn {
}

.jdw-link-btn .elementor-button-text {
    text-align: left;
}

.jdw-tab.elementor-widget-n-tabs .e-n-tabs {
    align-items: center;
}

.jdw-tab.elementor-widget-n-tabs .e-n-tabs-heading {
    gap: 24px;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
}

.jdw-tab.elementor-widget-n-tabs .e-n-tab-title {
    flex-basis: calc(50% - 58px);
}

.resource-loop-wrapper .resource-loop-featured-image {
    width: 100%;
    height: 116px;
    position: relative;
}

.resource-loop-wrapper .resource-loop-featured-image a {
    display: block;
}

.resource-loop-wrapper .resource-loop-featured-image img {
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translateY(-50%) translateX(-50%);
}

.resource-loop-wrapper .resource-loop-icon {
    bottom: 0;
    left: 16px;
    width: 40px;
    height: 40px;
    position: absolute;
    background-color: #109EDB;
}

.resource-loop-wrapper .resource-loop-icon .icon {
    bottom: 0;
    width: 40px;
    height: 40px;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center center;
}
.resource-loop-wrapper .resource-loop-icon.elementor-widget-image .elementor-widget-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-loop-wrapper .resource-loop-btn {
    left: 16px;
    bottom: 8px;
    position: absolute;
}

/* Elementor - 结束 */

/* 面包屑 - 开始 */

#breadcrumbs {
    color: #FFF;
    font-size: 16px;
    margin: 5px 0 24px 0;
}

#breadcrumbs a {
    color: #FFF;
}

#breadcrumbs a:hover {
    color: var(--jdw-global-color-secondary);
}

#breadcrumbs .fa-home {
    color: var(--jdw-global-color-secondary);
    transition: all 0.2s;
}

#breadcrumbs .fa-home:hover {
    color: #FFF;
}

#breadcrumbs .fa-chevron-right {
    margin: 0 8px;
    font-size: 14px;
    color: var(--jdw-global-color-secondary);
}

/* 面包屑 - 结束 */
.filter-controls {
    margin: 0 0 42px 0;
    position: relative;
    z-index: 5;
}

.filter-controls .control-group {
    position: relative;
    width: 230px;
    display: inline-block;
    margin-right: 15px;
    height: 24px;
}

.filter-controls a span {
    font-weight: bold;
    display: inline-block;
}

.filter-controls .controls {
    border: 1px solid #979797;
    border-radius: 0px;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    max-height: 40px;
    overflow: hidden;
    position: absolute;
    width: 268px;
}

.filter-controls .controls.open {
    max-height: 1000px;
}

.filter-controls .controls.open .mixitup-control-active {
    border-bottom: 1px solid #979797;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.filter-controls .control {
    display: block;
    font-size: 14px;
    line-height: 24px;
    padding: 8px 10px 11px 10px;
    order: 2;
    width: 100%;
    cursor: pointer;
    font-weight: 400;
    text-align: left;
    position: relative;
    background-color: white;
    text-transform: capitalize;
}

.filter-controls .control[data-filter="all"] {
    color: gray;
}

.filter-controls .control:after {
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    right: 15px;
    top: 10px;
    content: '\f107';
    display: none;
    z-index: 6;
}

.filter-controls .control:hover {
    background-color: #eee;
}

.filter-controls .control.mixitup-control-active {
    order: 1;
    width: 268px;
    height: 40px;
    overflow: hidden;
}

.filter-controls .control.mixitup-control-active:after {
    display: block;
}

.selector-container {
    display: flex;
    flex-wrap: wrap;
    margin: 32px -5px;
}

.selector-container #selector-category, .selector-container #selector-type {
    width: 25%;
    padding: 8px;
}

.selector-container #selector-category.open, .selector-container #selector-type.open {
    z-index: 6;
}

.selector-container #selector-category .btn-group, .selector-container #selector-type .btn-group {
    width: 100%;
}

.selector-container #selector-category .btn-group .btn, .selector-container #selector-type .btn-group .btn {
    max-width: none;
    width: 100%;
    border: 1px solid #A9A9A9;
    border-radius: 0;
}

.single {

}

.single .afw-content {

}

.single .afw-content .wp-element-button {
    padding: 8px 24px;
    box-shadow: none;
    margin: 0 auto;
    text-decoration: none;
    text-align: center;
    height: auto;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 14px;
    line-height: 24px;
    border: 2px solid transparent;
    border-radius: 0;
    border-color: var(--e-global-color-primary);
    background-color: var(--e-global-color-primary);
    color: white;
}

.single .afw-content .wp-element-button:hover {
    color: white;
    border-color: var(--e-global-color-secondary);
    background-color: var(--e-global-color-secondary);
}

.single .afw-content a {
    color: var(--e-global-color-primary);
}

.single .afw-content a:not:(.button):hover {
    color: var(--e-global-color-secondary);
}

.single .afw-content ul {
    list-style: none;
    margin: 0 0 10px 0;
    padding: 0 0 0 40px;
}

.single .afw-content ul li {
    margin: 12px;
    position: relative;
}

.single .afw-content ul li:before {
    height: 8px;
    width: 8px;
    content: "";
    border-radius: 100%;
    background-color: var(--e-global-color-primary);
    position: absolute;
    left: -15px;
    top: 6px;
}

.wp-block-kadence-advancedgallery .kt-blocks-carousel.kt-carousel-container-dotstyle-none {
    overflow: visible;
}

.kb-splide .splide__arrow {
    border: 0;
    opacity: 1;
    width: 52px;
    height: 52px;
    outline: none;
    color: #127DBD;
    border-radius: 100%;
    background-color: #FFF;
    transform: translate(0, -50%);
    box-shadow: 0px 6px 12px rgba(0,0,0,0.1);
}

.wp-block-kadence-advancedgallery .kt-blocks-carousel .splide__arrow--prev {
    left: -26px;
}

.wp-block-kadence-advancedgallery .kt-blocks-carousel .splide__arrow--next {
    right: -26px;
}

.kb-splide .splide__arrow:hover,
.kb-splide .splide__arrow:focus {
    border: 0;
    opacity: 1;
    color: #109edb;
    background-color: #FFF;
}

.glightbox-container:not(.specificity) .gclose, .glightbox-container:not(.specificity) .gnext, .glightbox-container:not(.specificity) .gprev {
    padding: 0;
    outline: none;
    border: 0;
}

.jdw-categories-tree {
    padding: 0 5px;
}

.jdw-categories-tree ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.jdw-categories-tree ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.jdw-categories-tree ul li:last-child {
    border-bottom: 0;
}

.jdw-categories-tree ul li .cat-item-wrapper {
    display: flex;
    position: relative;
    align-items: center;
    transition: .5s all ease;
    justify-content: space-between;
}

.jdw-categories-tree a {
    padding: 10px;
    color: #333;
    display: block;
    font-size: 15px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: .5s all ease;
    width: calc(100% - 24px);
}

.jdw-categories-tree .indicator {
    top: 0;
    right: 0;
    width: 24px;
    height: 100%;
    padding: 10px 0;
    cursor: pointer;
    max-height: 44px;
    text-align: center;
    position: absolute;
}

.jdw-categories-tree .indicator > span {
    width: 24px;
    height: 24px;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    transition: .5s all ease;
}

/* 创建伪元素表示 + 和 - 号 */
.jdw-categories-tree .indicator > span::before,
.jdw-categories-tree .indicator > span::after {
    top: 50%;
    left: 50%;
    width: 10px;
    height: 2px;
    content: '';
    position: absolute;
    background-color: #333;
    transition: .5s all ease;
}

/* 初始状态下为 + 号 */
.jdw-categories-tree .indicator > span.plus::before {
    transform: translate(-50%, -50%) rotate(180deg);
}

/* plus 类名变成 sub 类名时显示 - 号 */
.jdw-categories-tree .indicator > span.sub::before {
    transform: translate(-50%, -50%) rotate(180deg);
}

/* - 号初始状态下隐藏 */
.jdw-categories-tree .indicator > span::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* plus 类名变成 sub 类名时显示 - 号 */
.jdw-categories-tree .indicator > span.sub::after {
    transform: translate(-50%, -50%) rotate(180deg);
}

.jdw-categories-tree .cat-item-wrapper:hover,
.jdw-categories-tree .current-cat > .cat-item-wrapper {
    color: #FFF;
    background-color: var(--e-global-color-primary);
}

.jdw-categories-tree .cat-item-wrapper:hover a,
.jdw-categories-tree .current-cat > .cat-item-wrapper a {
    color: #FFF;
}

.jdw-categories-tree .current-cat > .cat-item-wrapper .indicator > span::after,
.jdw-categories-tree .current-cat > .cat-item-wrapper .indicator > span::before,
.jdw-categories-tree .cat-item-wrapper:hover .indicator > span::after,
.jdw-categories-tree .cat-item-wrapper:hover .indicator > span::before {
    background-color: #FFF;
}

.jdw-categories-tree ul ul {
    display: none;
    /* margin-left: 20px; */
}

.jdw-categories-tree .current-cat-ancestor > ul {
    display: block;
}

.jdw-categories-tree ul ul > li a {
    padding-left: 15px;
}

.jdw-categories-tree ul ul ul > li a {
    padding-left: 20px;
}

/* 自适应 - 开始 */
@media only screen and (max-width:767px) {
    .wpcf7-form .input-group {
        width: 100%;
    }

    .jdw-tab.elementor-widget-n-tabs .e-n-tabs-heading {
        gap: 0;
        width: 100%;
        display: flex;
        align-items: stretch;
        flex-direction: column;
    }

    .kb-splide .splide__arrow {
        width: 36px;
        height: 36px;
    }

    .wp-block-kadence-advancedgallery .kt-blocks-carousel .splide__arrow--prev {
        left: -18px;
    }

    .wp-block-kadence-advancedgallery .kt-blocks-carousel .splide__arrow--next {
        right: -18px;
    }

}

@media only screen and (max-width:1199px) {
    h1 {
        font-size: 28px;
        line-height: 36px;
    }

    h2 {
        font-size: 28px;
        line-height: 32px;
    }

    h3 {
        font-size: 22px;
        line-height: 28px;
    }

    h4 {
        font-size: 16px;
    }

    h5 {
        font-size: 15px;
    }

    h6 {
        font-size: 14px;
    }

}

/* 自适应 - 结束
