/* --Start menu--------------- */
.section-menu {
    background: #fff;
    padding: 30px 0 10px;
}

.section-menu .category-link-item {
    text-align: center;
}

.section-menu .category-link-item .line-item {
    border: 1px solid #ffffff33;

}

    .section-menu .category-link-item a {
        font-size: 14px;
        padding: 10px 5px;
        height: 100%;
        background: transparent;
        color: #717071;
        border: 1px solid #717071;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        text-transform: capitalize;
        transition: all 0.2s ease-in-out;
    }

.section-menu .category-link-item a.active {
    color: #fff;
    background: #717071;
}

.section-menu .category-link-item a:hover {
    color: #fff;
    background: #717071a2;
}


@media (min-width: 992px) {

    .section-menu .category-link-item a {
        padding: 10px 5px;
        font-size: 15px;
    }

    .section-menu .category-link-item a+a {
        border-left: none;
    }
}


/* --End menu--------------- */

/* Start category ------------------------------ */
.section-product-category {
    padding: 30px 0;
}

.section-product-category.category-bg {
    background: #FAFAFA;
}

.section-product-category .category-item {
    background: #fff;
    display: block;
    height: 100%;
    position: relative;
    padding: 0 15px;
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0, 0, 0, 0.15);
}

.section-product-category .category-item .pic-item {
    position: relative;
    width: 100%;
    padding-bottom: 125%;
    overflow: hidden;
    margin: auto;
}

.section-product-category .category-item .pic-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.2s ease-in-out;
    transform: scale(0.8);
}

.section-product-category .category-item:hover .pic-item img {
    transform: scale(1);
}

    .section-product-category .category-item h3 {
        font-size: 16px;
        padding: 10px 0 10px;
        color: #333;
        text-align: center;
        margin: 0;
    }
    .section-product-category .category-item h4 {
        font-size: 15px;
        padding: 0 0 10px 0;
        color: #333;
        text-align: center;
        margin: 0;
    }

.section-product-category h2 {
    font-size: 24px;
    color: #004989;
    padding-bottom: 10px;
}

.section-product-category .text-item h4 {
    color: #004989;
    font-size: 18px;
}

/*.section-product-category p {
    padding-bottom: 0px;
}

.section-product-category.content p {
    color: #004989;
}*/

.section-product-data {
    border-top: 1px solid #aaa;
    background: #fff;
}

.section-product-data .data-item {
    color: #717071;
    text-align: center;
    padding: 10px 0;
    background: #fff;
    display: block;
    border: 1px solid #aaa;
    border-top: none;
    transition: all 0.2s ease-in-out;
}

.section-product-data .data-item.active {

    color: #fff;
    background: #004989;
}

.section-product-data .data-item:hover {
    color: #fff;
    background: #004989;
}

/* End category ------------------------------ */
/* Start 側邊選單 ------------------------------ */

.section-product {
    background: #fff;
}


.section-product .side-bar {
    min-height: 100vh;
    padding: 0px 0 20px 5px;
}



.section-product .side-bar .side-title {
    position: relative;
    z-index: 1;
}


.section-product .side-bar .side-title h3 {
    font-size: 30px;
    color: #343D4C;
    /*text-transform: uppercase;*/
}

.section-product .side-bar .side-title h2 {
    font-size: 24px;
    color: #323232;
    padding-left: 0px;
    position: relative;
    padding-bottom: 5px;
    padding-top: 5px;
}

.section-product .side-bar .side-title h2::after {
    content: '';
    background-image: url('../img/footer/foot-icon.webp');
    background-size: 100% 100%;
    width: 25px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}


.section-product .side-bar .side-content {
    padding: 10px 0;
}

.section-product .side-bar .side-content ul {
    list-style: none;
    position: relative;
    padding-left: 0;
    margin-bottom: 0;
}

.section-product .side-bar .side-content .side-dropdown {
    position: relative;
}

.section-product .side-bar .side-content .side-dropdown::after,
.section-product .side-bar .side-content .side-dropdown::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #eee;
}

.section-product .side-bar .side-content .side-dropdown.active::before {
    width: 40px;
    background: #1d75bc;
    z-index: 2;
}

.section-product .side-bar .side-content .side-dropdown.active .side-dropdown-second a.active {
    color: #0376c1;
}

.section-product .side-bar .side-content a {
    display: inline-block;
    text-decoration: none;
    color: #323232;
    position: relative;
    font-size: 16px;
    padding-top: 30px;
    padding-bottom: 10px;
    transition: all 0.3s ease;
    display: block;
    border-bottom: 3px solid transparent;
    /*text-transform: uppercase;*/
}


.section-product .side-bar .side-content h3 {
    font-size: 17px;
}

.section-product .side-bar .side-content a:hover {
    color: #1d75bc;
    border-bottom: 3px solid #fff;
}

.section-product .side-bar .side-content .side-dropdown-second {
    margin: 0;
    padding-left: 0;
    display: none;
}

.section-product .side-bar .side-content .side-dropdown-second li {
    padding-bottom: 10px;
}

.section-product .side-bar .side-content .side-dropdown-second a {
    padding: 0;
    margin: 0;
}

.section-product .side-bar .side-content .side-dropdown-second a h4 {
    font-size: 16px;
}

.section-product .side-bar .side-content .side-dropdown:hover>a {
    color: #1d75bc;
}

.section-product .side-bar .side-content .side-dropdown.active>a {
    color: #1d75bc;
    font-weight: bolder;
}

/*.section-product .side-bar .side-content .side-dropdown:hover a::after,
                .section-product .side-bar .side-content .side-dropdown.active a::after {
                    width: 55px;
                    background: #343D4C;
                }*/

/*.section-product .side-bar .side-content .side-dropdown:hover a::before,
                .section-product .side-bar .side-content .side-dropdown.active a::before {
                    background: #76787B;
                }*/



.section-product .side-bar .side-content .side-dropdown:hover .side-dropdown-second {
    display: block;
}

.section-product .side-bar .side-content .side-dropdown.active-block .side-dropdown-second {
    display: block;
}

/* --End 側邊選單--------------- */
/* --Start product--------------- */

.section-product {
    padding: 40px 0;
}

@media (min-width: 1200px) {
    .section-product {
        padding: 100px 0;
    }
}

.section-product .custom-button-item {
    margin-top: 10px;
    display: inline-flex;
    position: relative;
    justify-content: center;
    align-items: center;
    /* width: 184px; */
    width: 100%;
    height: 43px;
    background: #1d75bc;
    -webkit-clip-path: polygon(0% 0%, 90% 0%, 100% 29.34%, 100% 100%, 70.66% 100%, 10% 100%, 0% 70.66%, 0% 29.34%);
}

.section-product .custom-button {
    display: inline-flex;
    position: relative;
    justify-content: center;
    align-items: center;
    /* width: 180px; */
    width: 99%;
    font-weight: bolder;
    letter-spacing: 1.5px;
    height: 40px;
    background: #012134;
    color: #FFF;
    border: none;
    font-family: 'Noto Sans CJK TC';
    transition: all 0.2s ease-in-out;
    -webkit-clip-path: polygon(0% 0%, 90% 0%, 100% 29.34%, 100% 100%, 70.66% 100%, 10% 100%, 0% 70.66%, 0% 29.34%);
}


.section-product .custom-button:hover {
    background: #1d75bc;
}

.section-product .custom-button::after {
    content: '+';
    position: absolute;
    left: 25%;
    font-size: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.section-product .item {
    cursor: pointer;
    background: #fff;
}

.section-product .item .text-item {
    height: 85px;
}

.section-product .item .pic-item {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.2s ease-in-out;
}

.section-product .item .pic-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.2s ease-in-out;
}

.section-product .item:hover .pic-item img {
    transform: scale(1.05);
}

.section-product .item h3,
.section-product .item h4 {
    font-size: 16px;
    color: #000;
    transition: all 0.2s ease-in-out;
    padding: 15px 0 0px;
    margin: 0;
    font-family: 'Noto Sans CJK TC';
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.section-product .item h4 {
    color: #aaa;
    padding: 0 0 5px 0;
}

@media (min-width: 1200px) {

    .section-product .item h3,
    .section-product .item h4 {
        font-size: 16px;
    }
}

.section-product .item:hover h3 {
    color: #1d75bc;
}


.section-product .more-item {
    text-align: end;
    margin-right: 15%;
}


.section-product .pagination .page-item .page-link {
    border-radius: 0;
    color: #323232;
    transition: all 0.2s ease-in-out;
}

.section-product .pagination .page-item .page-link:hover {
    text-decoration: underline;
}

.section-product .pagination .page-item.active .page-link {
    background: #1967a5 !important;
    border-color: #1967a5;
    color: #fff;
}

/*.section-product .pagination li+li {
    margin-left: 15px;
}*/
.section-product .category-text-item h2 {
    font-size: 24px;
    color: #1d75bc;
}

.section-product .category-text-item p {
    font-size: 16px;
    color: #323232;
}

/* --End product--------------- */
/* --Start product內容--------------- */
.section-product-content {
    padding: 40px 0;
}

@media (min-width: 1200px) {
    .section-product-content {
        padding: 60px 0;
    }
}

.section-product-content .title-item {
    border-bottom: 2px solid #eee;
    margin-bottom: 40px;
    position: relative;
}


.section-product-content .title-item h2 {
    font-size: 18px;
    color: #004989;
    padding-bottom: 10px;
}

@media (min-width: 992px) {
    .section-product-content .title-item h2 {
        font-size: 24px;
    }

}

/*.section-product-content .title-item h2::after {
    content: '';
    background-image: url('../img/footer/foot-icon.webp');
    background-size: 100% 100%;
    width: 25px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}*/

.section-product-content .owl-carousel {
    border: 1px solid #eee;
    position: relative;
}

.section-product-content .item {
    border: 1px solid #aaa;
}

.section-product-content .item .pic-item {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
}

.section-product-content .item .pic-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.section-product-content .owl-carousel .owl-dots {
    display: flex;
    flex-direction: row;
    position: absolute;
    width: 100%;
    top: auto;
    bottom: 0;
    left: 50%;
    justify-content: center;
    transform: translateX(-50%);
}


.section-product-content .owl-carousel .owl-dots .owl-dot+.owl-dot {
    margin-left: 5px;
}

@media (min-width: 768px) {
    .section-product-content .owl-carousel .owl-dots {
        display: flex;
        flex-direction: column;
        width: 50px;
        top: 0;
        bottom: auto;
        left: -10px;
    }

    .section-product-content .owl-carousel .owl-dots .owl-dot+.owl-dot {
        margin-left: 0;
    }
}

.section-product-content .owl-carousel .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    background: #aaa;
    display: inline-block;
    border-radius: 100%;
}

.section-product-content .owl-carousel .owl-dots .owl-dot.active span {
    background: #1d75bc;
}


.section-product-content p {
    color: #004989;
    padding-top: 0px;
}

.section-product-content .content-item h3 {
    font-size: 20px;
    color: #323232;
    font-weight: bolder;
    margin-top: 30px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

.section-product-content .content-item h4 {
    font-size: 18px;
    padding: 10px 0;
}

.section-product-content .content-item .link-item {}

.section-product-content .content-item .link-item a {
    display: inline-block;
    color: #323232;
    transition: all 0.2s ease-in-out;
}

.section-product-content .content-item .link-item a:hover {
    color: #1d75bc;
    text-decoration: underline;
}

.section-product-content .content-item .link-item a+a {
    margin-left: 10px;
}


.section-product-content .content-item .item {
    display: block;
}

.section-product-content .content-item .item .pic-item {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    border: 1px solid #eee;
}

.section-product-content .content-item .item .pic-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.2s ease-in-out;
}

.section-product-content .content-item .item:hover .pic-item img {
    transform: scale(1.05);
}

.section-product-content .content-item .item h4 {
    /*text-align: center;*/
    font-size: 16px;
    color: #323232;
    transition: all 0.2s ease-in-out;
    margin: 10px 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    padding: 0;
}

.section-product-content .content-item .item:hover h4 {
    color: #1d75bc;
}

.section-product-content .content-item .data-item {
    list-style: none;
    padding-left: 0;
    padding: 30px 0 0;
}

.section-product-content .content-item .data-item {}


.section-product-content .content-item .data-item .btn-add {
    border: 1px solid #004989;
    color: #004989;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    padding: 10px 60px;
    display: inline-block;
    /* margin-top: 50px; */
    transition: all 0.2s ease-in-out;
    border-radius: 0;
}

.section-product-content .content-item .data-item .btn-add:hover {
    background-color: #004989;
    color: #fff;
}

/* --End product內容--------------- */

/* --End content--------------- */
.ck-content .media {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

    .ck-content .media iframe,
    .ck-content .media object,
    .ck-content .media embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.ck-content .image.image_resized {
    display: inline-block;
}
/* --End content--------------- */
.ck-content img {
    width: 100%;
    height: auto;
    max-width: 100%;
}
.ck-content ul {
    margin: 0;
    padding-left: 0 !important;
    list-style-position: inside !important;
}

@media (min-width: 992px) {
    .ck-content img {
        width: auto;
    }
}