.nav-link {
    color: #0F2D69 !important;
    font-size: 20px !important;
}

.nav-link:hover {
    color: #EB2329 !important;
}

.nav-link.active {
    color: #EB2329 !important;
    text-decoration: underline;
    text-underline-offset: 20px;
    font-weight: bold !important;
}

.bg-white {
    background-color: white !important;
}

.color-white {
    color: white !important;
}

.color-black {
    color: black !important;
}

.color-main {
    color: #0F2D69 !important;
}

.color-green {
    color: #7ECE95 !important;
}

.text-shadow1 {
    color: white;
    text-shadow: black 0.1em 0.1em 0.2em
}

.opacity1 {
    opacity: .8 !important;
}

.image-height {
    height: calc(100vh - 105px);
}

@media (max-width: 880px) {
    .image-height {
        height: calc(100vh - 91px);
    }
}

@media (min-width: 996px) {
    .woocommerce-product-details__short-description {
        min-height: 200px;
    }

    .d-max-w-200 {
        max-width: 200px;
    }
}

@media (max-width: 600px) {
    .pl-20-600 {
        padding-left: 20px;
    }
}

.bg-green {
    background-color: #385723;
}

.con_box h2 {
    height: 60px;
    color: black !important;
    /* font-size: 16px !important; */
}

.con_box a {
    color: #00B050 !important;
}

.service_box.style_five .service_content .image_box::before {
    background: linear-gradient(90deg, #00B050 40%, rgba(255, 255, 255, 0.09) 180%) !important;
}

.font-18 {
    font-size: 18px !important;
}

.font-22 {
    font-size: 22px !important;
}

.line-h24 {
    line-height: 24px !important;
}

.line-h30 {
    line-height: 30px !important;
}

.line-h40 {
    line-height: 40px !important;
}

.line-h50 {
    line-height: 50px !important;
}

.one-toolong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news_box {
    background-color: white !important;
}

.text-long2 {
    min-height: 56px;
    max-width: 300px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-long2 a {
    margin-bottom: 0 !important;
}

.text-long4 {
    min-height: 104px;
    max-width: 300px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


@media (max-width: 770px) {
    .text-long4 {
        min-height: 104px;
        max-width: 516px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 500px) {
    .text-long4 {
        min-height: 100px;
        max-width: 516px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

.fo_wid_title {
    color: black !important;
}

.page_header_default::before {
    background: transparent !important;
}

.bold {
    font-weight: bold;
}

.text-underline {
    text-decoration: underline;
}

.image_box_carousel_content .theme_carousel .owl-prev,
.image_box_carousel_content .theme_carousel .owl-next {
    background-color: #79C279 !important;
}

.image_box_carousel_content .theme_carousel .owl-next::before {
    content: "\f105";
}

.image_box_carousel_content .theme_carousel .owl-prev::before,
.image_box_carousel_content .theme_carousel .owl-prev::after,
.image_box_carousel_content .theme_carousel .owl-next::before,
.image_box_carousel_content .theme_carousel .owl-next::after {
    color: white;
}

.area_of_expertise::before {
    background: transparent !important;
}


.parallax_cover img {
    top: auto;
    bottom: 0 !important;
}

.page_header_default .parallax_cover {
    top: auto;
    bottom: 0 !important;
}

.ml-3 {
    margin-left: 3% !important;
}

.tag-bt {
    color: #385723;
    font-size: 18px;
    margin: 3px;
}

.tag-bt.active {
    color: white;
    background: #385723;
    padding: 15px;
    border-radius: 10px;
    border-color: #385723;
}

.btn-back {
    border: #00B050 1.5px solid;
    padding: 16px;
}

.btn-back:hover {
    background-color: #00B050;
    color: white;
}

/* ------------------------------------------------------------------------------- */
/*--內頁選單--*/

:root {
    --fircolor: #00B050;
    --seccolor: #CFE9D6;
    --thicolor: #EEF7F1;
    --forcolor: #00B050;
}

.pageleft {
    float: left;
    display: inline-block;
    width: 245px;
    font-size: 16px;
    line-height: 1.6em;
    margin: 0 0 50px 0;
    padding: 2px 0 0;
    position: sticky;
    top: 110px;
}

ul.mtree {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.mtree ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.mtree li {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 15px;
}

ul.mtree a {
    display: block;
    text-decoration: none;
}

ul.mtree a:hover {
    text-decoration: none;
}

ul.mtree li>a.current {
    /*font-weight: 600;
       background-color: url(../icon7.png) no-repeat 6px 19px;
       color: #e2ab07;*/
}

ul.mtree li.mtree-node>a {
    /*font-weight: bold;*/
}

ul.mtree li.mtree-node>a.current {
    /*
       font-weight: bold;
       color: #e2ab07;
   */
}

ul.mtree a {
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
}

ul.mtree.transit {
    /* border: 5px solid #30569E; */
    /* padding: 5px; */
    margin-bottom: 50px;
}

ul.mtree.transit ul {
    margin-left: 0;
    background: #f2f2f2;
}

ul.mtree.transit ul>li {
    /*
       font-size: 15px;
       line-height: 1.5em;
       background: #f2f2f2;
       padding: 0;
       margin: 0;
       border-bottom: none;
   */
}

ul.mtree.transit li.mtree-node {
    position: relative;
}

ul.mtree.transit li.mtree-node>a::after {
    color: #999;
    font-weight: normal;
    position: absolute;
    right: 10px;
    font-size: 9px;
}

ul.mtree.transit li.mtree-node>a:hover:after {
    color: #4DBB6D;
}

ul.mtree.transit li.mtree-open>a:after {
    content: "\f078";
    font-family: 'FontAwesome';
    color: #4DBB6D;
}

ul.mtree.transit li.mtree-closed>a:after {
    content: "\f054";
    font-family: 'FontAwesome';
}

ul.mtree.transit ul>li:first-child {
    margin-top: 1px;
}

ul.mtree.transit li.mtree-open>a {}

ul.mtree.transit li>a:hover {
    color: #4DBB6D;
}

ul.mtree.transit li.active>a {
    font-weight: 600;
    color: #4DBB6D;
}

ul.mtree.transit li>a.current {
    /*
       font-weight: bold;
       color: #4DBB6D;
   */
}

ul.mtree.transit li.mtree-node a.current:before {
    color: #4DBB6D;
}

ul.mtree.transit li.mtree-open a.current {
    color: #4DBB6D;
}

ul.mtree.transit li.mtree-node ul>li:last-child {
    /*margin-bottom: .5em;
     padding-bottom: .5em;
     border-bottom: 1px solid #000;*/
}

ul.mtree.transit li.mtree-node:last-child>ul>li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/*
   ul.mtree.transit .catetitle {
       padding: 10px 1em 10px 1em;
       color: #f2f2f2;
       font-weight: 500;
       font-size: 17px;
       background: #30569E;
       letter-spacing: 1px;
   }
   */

.mtree_catetitle {
    padding: 15px 1em 10px 1em;
    color: #36A0AF;
    font-weight: 500;
    font-size: 17px;
    background: #F4F4F4;
    letter-spacing: 1px;
    margin-bottom: 5px;
    border-radius: 5px;
}

ul.mtree.transit .divider {
    height: 1px;
    margin: 0 0 10px 0;
    overflow: hidden;
    background-color: #fff;
}

ul.mtree.transit a {
    padding: 10px 1.8em 10px .3em;
    color: #444;
    border-radius: 3px;
    margin-bottom: 0px;
}

ul.mtree.transit li>a {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: #000;
    font-size: 1.1em;
    text-transform: capitalize;
    font-weight: 500;
}

ul.mtree.transit li li>a {
    padding: 10px 23px 10px 30px;
    /* font-size: 15px; */
    line-height: 1.4;
    position: relative;
    /* color: #444; */
    border-bottom: none;
}

ul.mtree.transit li li>a::before {
    content: '';
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #c8c8c8;
    position: absolute;
    top: 20px;
    left: 15px;
}

ul.mtree.transit li li li>a::before {
    display: none;
}

ul.mtree.transit li li>a::after {
    top: 15px;
    right: 20px;
}

ul.mtree.transit li li>a.current {
    border-bottom: none;
}

ul.mtree.transit li.mtree-active li>a.current {
    color: #4DBB6D;
}

ul.mtree.transit li li li>a {
    padding: 8px 5px 8px 2em;
    background: #e6e6e6;
    border-radius: 0;
}

ul.mtree.transit li li li li>a {
    padding-left: 3.2em;
    background: none;
}

ul.mtree.transit li li li li li>a {
    padding-left: 4em;
}

ul.mtree.transit li li>a:hover,
ul.mtree.transit li li li>a:hover {
    color: #4DBB6D;
}

/*--語系選擇--*/

.topmenu {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 45px 0 10px 20px;
    transition: all 0.3s ease;
}

html.sticky-header-active #header .topmenu {
    padding: 20px 0 10px 10px;
}

.lang {
    width: 100%;
    padding: 0 0 0 5px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    margin-left: 0px;
    font-family: 'Microsoft JhengHei', PingFangSC-Regular, sans-serif;
    position: relative;
}

.lang::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    position: absolute;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    top: 3px;
    right: 8px;
    text-shadow: none;
}

.lang select {
    margin: 0;
    padding: 5px 25px 5px 5px;
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    position: relative;
    z-index: 2;
    width: 100%;
}

.lang option {
    background: #E9E9ED;
    color: #000;
}

@media (max-width: 991px) {
    .topmenu {
        padding: 10px 0 10px 0px;
    }

    .lang {
        padding: 3px 5px 3px 10px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        margin-left: 8px;
    }
}


/* ------------------------------------------------------------------------------- */

.button-black {
    background-color: #404040 !important;
}

.default_single_product .woocommerce-tabs .nav-tabs li button.active,
.default_single_product .woocommerce-tabs .nav-tabs li button:hover {
    background: #385723 !important;
    color: #fff !important;
    border-color: #385723 !important;
    font-size: 16px !important;
    text-decoration: none !important;
}

input {
    margin-bottom: 3px !important;
}

.btn-cus-1 {
    background-color: #385723;
    border: 1px #385723 solid;
    border-radius: 8px;
    color: white;
    padding: 15px 6px;
}


.btn-cus-1:hover {
    background-color: #404040;
}

.download-div {
    border-radius: 10px;
    background-color: white;
    border: 1px #D9D9D9 solid;
    padding: 2% 1%;
}

.download-div span {
    font-size: 20px;
    font-weight: bold;
}

@media (max-width: 490px) {
    .download-div span {
        font-size: 18px;
        font-weight: bold;
    }
}

.phone-880 {
    display: none;
}

@media (max-width: 880px) {
    .phone-880 {
        display: inline;
    }

    .desktop-880 {
        display: none;
    }
}