/**
* Theme Name: CM BATTERIES Child
* Description: This is a child theme of CM BATTERIES.
* Author: <a href="https://cmbatteries.com/">CM BATTERIES</a>
* Template: melinda
* Version: 1.0.1
*/

.tab-content .wpb_wrapper {
    display: flex;
    width: 100%;
    gap: 10px;
    overflow: hidden;
}

.tabs_box .active {
    display: block !important;
    margin-bottom: 0px;
}

.tab-content .left {
    width: 50%;
    position: static;
    overflow: hidden;
    border-radius: 10px;
}

.tab-content img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    object-position: center;
    display: block;
}

.tab-content .right {
    width: 50%;
    display: grid;
    gap: 10px;
}

.tab-content .right .top,
.tab-content .right .bottom {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.tab-content {
    display: none;
}

.tab-content .content-overlay {
    position: absolute;
    left: 0;
    /* transform: translate(-50%, -50%); */
    text-align: left;
    color: white;
    padding: 15px 20px;
    width: 45%;
    z-index: 10;
}

.tab-content .content-overlay p {
    margin-left: 13px;
}

.tab-content .left .content-overlay {
    top: 30px
}

.tab-content .right .content-overlay {
    width: 100%;
    top: 30px;
}

.tab-content .content-overlay h3 {
    color: #ffffff;
    font-size: 28px;
}
.tab-content .content-overlay h3 a{
    color: #ffffff;
}
.tabs_box .custom-tabs-menu {
    color: #000000;
    font-weight: 400;
    padding: 0px;
    display: inline-grid;
    gap: 10px;
    width: 100%;
}

.tabs_box .custom-tabs-menu li {
    list-style: none;
    cursor: pointer;
    width: 100%;
}

.tabs-area .vc_tta-color-white.vc_tta-style-classic .vc_tta-tab>a {
    border: none;
    background: none;
    color: #000000;
}

.tabs-area ul.vc_tta-tabs-list {
    background-color: #EFF6FF;
    border-radius: 30px;
    display: inline-block !important;
}

.tabs-area .tabs_box ul.vc_tta-tabs-list .vc_tta-tab:hover {
    background-color: #ffffff !important;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tabs-area .vc_tta.vc_tta-spacing-10 .vc_tta-tab {
    margin: 10px
}

.tabs-area .vc_tta-color-white.vc_tta-style-classic .vc_tta-tab>a:focus,
.tabs-area .vc_tta-color-white.vc_tta-style-classic .vc_tta-tab>a:hover {
    background-color: #ffffff !important;
}

.tabs-area .vc_tta-color-white.vc_tta-style-classic .vc_tta-tab.vc_active>a {
    background-color: #ffffff !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tabs-area .vc_tta-color-white.vc_tta-style-classic .vc_tta-tab .vc_tta-title-text {
    color: #000000 !important;
}

.tabs-area .vc_tta.vc_general .vc_tta-panel-body {
    padding: 50px 0px;
}

.tabs_box .custom-tabs-menu i.fa {
    margin: 6px 20px;
}

.tabs_box .custom-tabs-menu li.active,
li:hover,
li:focus {
    background-color: #9595d2;
    color: #ffffff;
    border-radius: 5px;
}

.right-box-1 .vc_column-inner .wpb_wrapper {
    display: grid;
    /* 定义两列：50% 和 50%，列之间 10px 间隔 */
    grid-template-columns: 50% 50%;
    /* 定义两行，平分高度 */
    grid-template-rows: 1fr 1fr;
    /* 设置列（左右）和行（上下）之间的间距 */
    column-gap: 10px;
    /* 左右间隔 */
    row-gap: 10px;
    /* 上下间隔 */
    width: 100%;
}

.right-box-1 .info-box-1 {
    grid-column: 1;
    grid-row: 1 / span 2;
    background-color: #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    border-radius: 10px;
}

.right-box-1 img.ultb3-img {
    width: 100% !important;
    height: 100% !important;
}

.right-box-1 .ultb3-desc {
    margin-left: 10px;
}

.right-box-1 .info-box-1 .ultb3-info {
    top: -32.5% !important;
}

.right-box-1 .ultb3-info.ib3-info-left {
    padding-right: 10px;
}

.right-box-1 .ultb3-info {
    top: -15% !important;
}

.right-box-1 .info-box-2 {
    grid-column: 2;
    grid-row: 1;
    background-color: #2196F3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    border-radius: 10px;
}

.right-box-1 .info-box-3 {
    grid-column: 2;
    grid-row: 2;
    background-color: #f44336;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    border-radius: 10px;
}


.aspect-ratio-1-1 div.vc_column-inner {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    padding-top: 20px !important
}

.card-box-shadow .vc_column-inner {
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}

.card-box-shadow .widgettitle {
    font-size: 22px;
    color: #10079a;
}

.latest-news {
    display: flex;
    flex-direction: column-reverse
}

.latest-news .wpb_heading {
    font-size: 22px;
    text-align: left;
    margin-top: 35px;
    color: #10079a
}

.vc_custom_1757162846703 {
    box-shadow: 0 0px 2px 0 rgba(0, 0, 0, 0.2), 0 3px 8px 0 rgba(0, 0, 0, 0.19)
}

.post-news-grid .vc_gitem-animated-block {
    border-radius: 15px
}

.post-news-grid .vc_grid-item-zone-c-right .vc_gitem-zone-c {
    padding-left: 31px
}

.post-news-grid .vc_grid-item .vc_clearfix:last-child {
    border: 1px solid #10069a;
    margin: 12px 0px 0px 0px
}

.post-news-grid .vc_grid-item-zone-c-right .vc_gitem-animated-block {
    width: 33%;
}

.post-news-grid .vc_grid-item-zone-c-right .vc_gitem-zone-c {
    width: 67%;
}

.post-news-grid .attribute_name_text {
    color: #10069a;
    line-height: 14px
}

.post-news-grid .vc_gitem_row .vc_gitem-col {
    padding: 0
}

.vc_custom_1757222137772,
.vc_custom_1419334531994,
.vc_custom_1757165249944 {
    display: flex;
}

.post-news-grid .vc_gitem-post-data-source-post_title h4 {
    font-size: 22px
}

.post-news-grid {
    margin-bottom: 0px !important
}

.vc_custom_1757162846703 {
    height: -webkit-fill-available
}

.post-news-grid .vc_gitem-post-data-source-post_excerpt div {
    line-height: 16px;
}

.post-news-grid .vc_btn3.vc_btn3-size-md.vc_btn3-style-outline,
.post-news-grid .vc_btn3.vc_btn3-size-md.vc_btn3-style-outline-custom {
    padding: 7px 31px 7px 16px
}

.post-news-grid .vc_btn3.vc_btn3-size-md.vc_btn3-icon-right:not(.vc_btn3-o-empty) .vc_btn3-icon {
    right: 9px
}

.post-news-grid .vc_gitem-post-data {
    margin: 15px 0px;
}

@media (max-width: 767px) {
    .tabs_box .vc_tta-panels-container .vc_tta-panels .vc_tta-panel-heading {
        display: none;
    }

    .tabs_box.vc_general .vc_tta-tabs-container {
        display: block !important;
    }

    .tab-content .wpb_wrapper {
        display: grid;
    }

    .tab-content .left {
        width: 100%;
    }

    .tab-content .right {
        width: 100%;
    }

    .tab-content .content-overlay {
        width: 100%;
    }

    .wpb_wrapper .vc_custom_1757087387216 {
        padding-right: 0px !important;
    }

    .aspect-ratio-1-1 div.vc_column-inner {
        margin: 0 auto;
    }

    .vc_custom_1757165249944 {
        display: block !important;
    }

    .vc_custom_1757094827412 .vc_column_container>.vc_column-inner {
        width: 90%;
        margin: 0 auto;
    }

    .vc_custom_1757136170493 .wpb_wrapper h3 {
        text-align: center !important;
    }

    .vc_custom_1757136170493 .wpb_text_column .wpb_wrapper p {
        text-align: center !important;
    }

    .vc_custom_1757136331145 {
        text-align: center !important;
    }
}

@media (min-width: 1024px) and (max-width: 1920px) {
    .__with_separator {
        display: none;
    }

    #menu-main-menus-1>li.menu-item.search-box {
        margin: 0px;
    }
}