@charset "utf-8";

/******************************************* New header ***/
.navbar {
    --bs-navbar-padding-y: 0rem;
}

.navbar .nav-link {
    font-size: 1.3rem;
    margin-left: 20px;
}

.navbar .nav-link:hover {
    color: #118e90;
    text-decoration: none !important;
}

.bg-light {
    background-color: #fff !important;
}

@media only all and (max-width: 992px) {
    .index_right {
        /*  width: 100%;*/
        display: flex;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        justify-content: flex-end !important;
        align-items: center !important;
    }
}

header .input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start !important;
    align-items: center !important;
}

header .input-group.search_bar {
    width: 300px !important;
    margin-right: 10px;
}

header .input-group.search_bar .form-control {
    background: url("../img/icon_search.svg") 0% 0% no-repeat;
    padding-left: 40px;
}

header .navbar .btn {
    margin: 0;
}

@media only all and (max-width: 992px) {
    header .navbar-nav {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .navbar .nav-link {
        margin-left: 0px;
    }

    header .input-group.search_bar {
        width: calc(100% - 80px) !important;
    }
}

/******************************************* banner ***/
.carousel {
    margin-top: 20px;
    text-align: center;
}

.carousel-inner {
    border-radius: 80px 0;
    border-radius: 10px;
    aspect-ratio: 13 / 6;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-inner .carousel-item:nth-child(1) h1,
.carousel-inner .carousel-item:nth-child(1) p {
    color: #000;
}

.carousel-inner .carousel-item:nth-child(2) h1,
.carousel-inner .carousel-item:nth-child(2) p {
    color: #000;
}

.carousel-inner .carousel-item:nth-child(3) h1,
.carousel-inner .carousel-item:nth-child(3) p {
    color: #000;
}

.carousel-inner .carousel-item:nth-child(1) .carousel-caption {
    bottom: 10rem;
}

.carousel-inner .carousel-item:nth-child(2) .carousel-caption {
    bottom: 10rem;
}

@media only all and (max-width: 992px) {
    .carousel-inner .carousel-item:nth-child(1) .carousel-caption {
        bottom: 1.25rem;
    }

    .carousel-inner .carousel-item:nth-child(2) .carousel-caption {
        bottom: 1.25rem;
    }
}

@media only all and (max-width: 768px) {

    .carousel-inner h1,
    .carousel-inner p,
    .carousel-inner button {
        zoom: 0.8;
    }
}

@media only all and (max-width: 400px) {

    .carousel-inner h1,
    .carousel-inner p,
    .carousel-inner button {
        zoom: 0.5;
    }
}

/******************************************* card ***/
.index_card {
    margin-bottom: 0px;
    /*    overflow: hidden;*/

}

/*.index_card .col-9,*/
.index_card .col-3 {
    margin-bottom: 40px;
}

@media only all and (max-width: 1200px) {

    .index_card .col-9,
    .index_card .col-3 {
        width: 100%;
    }
}

.index_card h2 {
    font-size: 3rem;
    letter-spacing: 5px;
}

.index_card h3 {
    color: #000;
    font-size: 1.8rem;
    letter-spacing: 2px;
    text-decoration: none !important;
}



.index_card .index_card_box {
    border: 1px solid #ccc;
    border: 1px solid #fff;

    border-radius: 10px;
    padding: 45px 20px;
    transition: all .5s ease-in-out;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-content: center;
    width: 100%;
    /*   box-shadow: 0 1rem 3rem rgba(93, 121, 121, 0.175) !important;*/
    box-shadow: 0 3px 20px rgba(93, 121, 121, 0.10);
}

.index_card .index_card_box:hover {
    border: 1px solid #fff;
    background-color: #f4fdfd;
    background-color: #fff;
    box-shadow: 0 1rem 3rem rgba(93, 121, 121, 0.175);
    transform: translateY(-3px) scale(1.03);
    transition: all .5s ease-in-out;
}

.index_card a {
    text-decoration: none !important;
}

.index_card a.icon-link:hover h3 {
    color: #118e90;
    text-decoration: none !important;

}






.index_card_box h3 {
    margin-top: 10px;
    width: calc(100% - 90px);
    display: inline-block;
    text-align: center;
}

.index_card_box img {
    display: inline-block;
    width: 50px !important;
    height: 50px;
    margin-right: 0px;
    /*    margin: 0 auto;*/

}

@media only all and (max-width: 768px) {
    .index_card {
        padding: 0 15px;

        overflow: hidden;

    }

    .index_card .index_card_box {
        padding: 20px 20px;
    }

    .index_card h2 {
        font-size: 1.8rem;
        letter-spacing: 5px;
    }

    .index_card h3 {
        /*        width: 100%;*/
        width: calc(100% - 30px);
        color: #000;
        font-size: 1.3rem;
        letter-spacing: 2px;
        text-decoration: none !important;
    }

    .index_card .col-3 {
        margin-bottom: 0px;
    }

}


/******************************************* card 總覽 ***/

.index_card .index_card_box2 {
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 20px;
    transition: all .5s ease-in-out;
    box-shadow: 0 3px 20px rgba(93, 121, 121, 0.10);
    height: 313px;
}

.index_card .index_card_box2:hover {
    border: 1px solid transparent;

    background-color: #f4fdfd;
    background-color: #fff;
    box-shadow: 0 1rem 3rem rgba(93, 121, 121, 0.175);
    transform: translateX(-3px) translateY(-3px) scale(1.03);
    transition: all .5s ease-in-out;

}



.index_card .index_card_box2 {
    background: url("../img/index_Pic_00_2.png") 0% 0% no-repeat;
    background-size: cover;
    position: relative;
}



.index_card_box2 .feature-icon {
    visibility: hidden;
    position: relative;
    display: inline-block;
}



.index_card_box2 a.icon-link h3 {
    color: #000;
    text-decoration: none !important;
}

.index_card_box2 a.icon-link:hover h3 {
    color: #000;
    text-decoration: none !important;
}

.index_card_box2 a {

    text-decoration: none !important;
}

.index_card_box2 a.icon-link:hover h3 {
    color: #118e90;
    text-decoration: none !important;
}

.index_card_box2 .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #fff;
}

.index_card_box2 .feature-icon img {
    width: 50px;
    height: auto;
}

.index_card_box2 .feature-icon.bg-primary {
    background-color: transparent !important;
}

.index_card_box2 .col.totle_menu {
    width: 100% !important;
}

@media only all and (max-width: 1200px) {

    .index_card .index_card_box2 {
        width: 100%;
        max-height: 200px !important;
        aspect-ratio: 8 / 3;
        background: url("../img/index_Pic_00_big_2.png") 0% 0% no-repeat;
        background-size: 100%;
    }

    .index_card .col-3 .row-cols-1 > * {
        width: 100%;
    }


    .index_card .index_card_box2:hover {
        transform: translateX(-0px) translateY(-3px) scale(1.03);
        transition: all .5s ease-in-out;

    }
}

@media only all and (max-width: 1024px) {

    .index_card .index_card_box2 {
        width: 100%;
        max-height: 160px !important;
        aspect-ratio: 8 / 3;
        background: url("../img/index_Pic_00_big_2.png") 0% 0% no-repeat;
        background-size: 100%;
    }


}

@media only all and (max-width:450px) {


    .index_card .index_card_box2 {
        width: 100%;
        max-height: 130px !important;
        background: url("../images/index_Pic_00_big_2.png") 100% 100% no-repeat;

    }
}


/*********************************************small banner*************************/
.chanelBox {
    border-bottom-color: #f1f1f1;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    margin-top: 0px;
    margin-bottom: 0px;
}

.chanelBox .chanelTxt {
    width: 50%;
    display: inline-flex;
    justify-content: flex-start;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 0px 30px 10px 0;
    order: 2;
}

.chanelBox .chanelTxt .chanelTitle {
    font-size: 3rem;
    font-weight: 500;
    line-height: 40px;
    letter-spacing: 2px;
}

.chanelBox .chanelTxt .chanelTitle span:nth-child(1) {
    color: #000000;
}

img.icon_chanelTitle {
    width: auto;
    height: 30px;
    vertical-align: middle;
    margin-top: -7px;
    padding-right: 10px;
    opacity: 0.9;
}

img.icon_vline {
    width: auto;
    height: 25px;
    vertical-align: middle;
    margin-top: -6px;
    opacity: 0.5;
}

.chanelBox .chanelTxt .chanelDetail {
    padding: 0px 0px 30px 0;
}

.chanelBox .chanelTxt .chanelDetail p {
    font-size: 1.2rem;
    font-weight: normal;
    line-height: 2rem !important;
    padding: 0px 0px 0px 0;
    letter-spacing: 1px;
    text-align: justify;
}

.chanelBox .chanelPic {
    width: calc(50% - 40px);
    display: inline-flex;
    justify-content: flex-start;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    margin-right: 40px;
    order: 1;
}

.chanelBox div:nth-child(2) img {
    width: 100%;
    height: auto;
}

@media only screen and (max-width: 992px) {
    .chanelBox .chanelTxt {
        width: 100%;
        order: 1;
        padding: 30px 0px 30px 0;
    }

    .chanelBox .chanelPic {
        width: 100%;
        order: 2;
        margin-top: -20px;
        margin-bottom: 50px;
        margin-right: 0;
    }

    .chanelBox .chanelTxt {
        justify-content: center;
        align-content: center;
    }

    .chanelBox .chanelTxt .chanelTitle {
        text-align: center;

    }

    .chanelBox .chanelTxt .chanelDetail {
        padding: 10px 0px 10px 0;
    }

    .chanelBox .chanelTxt .chanelTitle span:nth-child(4) {
        display: inline-block;
    }

    img.icon_vline {
        display: none;
    }
}

@media only screen and (max-width:768px) {
    .chanelBox .chanelTxt .chanelTitle {
        /*        zoom: 0.6;*/
        font-size: 1.8rem;
    }


}
