/* @import url(//fonts.googleapis.com/earlyaccess/notosanstc.css); */
body {
    font-family: 'Noto Sans TC', "微軟正黑體", "Microsoft JhengHei", sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 14px;
    background-color: #ffffff;
}

ul {
    margin: 0;
    padding: 0;
    padding-left: 20px;
}

ul li {
    list-style: none;
}

img {
    max-width: 100%;
}

button {
    outline: none !important;
}

/*======================   section   ==========================*/

.section {
    position: relative;
    width: 100%;
    padding: 90px 0;
}

.title {
    padding: 20px 0;
    font-size: 38px;
    font-weight: bold;
    color: #444;
}

.desc {
    color: #90826d;
    line-height: 30px;
}

.boxShadow {
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.15);
}

.ellipsis {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
}

.ellipsis.only {
    -webkit-line-clamp: 1;
}

.goTopBtn {
    position: relative;
    z-index: 20;
}

/*===================================== navbar =====================================*/

nav.navbar {
    position: sticky;
    background-color: #ffffff;
    align-items: center;
    padding: 20px 50px;
    box-shadow: 0 1px 5px rgb(137 137 137 / 15%);
}

nav .navLogo {
    width: 300px;
    height: 80px;
    transition: all 0.3s;
    background-image: url('../img/navbar_IHH_logo.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

nav .navbar-brand {
    padding: 0px;
    margin: 0px;
}

nav.navbar .navbar-collapse {
    align-items: center;
}

nav.navbar ul>li {
    padding: 0px;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-right: 50px;
}

nav.navbar ul li:last-child {
    margin-right: 0px;
}

nav.navbar .navbar-nav ul li .nav-link {
    padding: 0px;
    cursor: pointer;
}

nav.navbar li a {
    font-size: 18px;
    padding: 10px 15px;
    color: #0B303C;
}

/* 聯絡我們按鈕字體大小修正 */
nav.navbar li button a {
    font-size: 16px;
}

/*聯繫我們*/
.nav-item .contactBtn {
    width: 140px;
    height: 40px;
    border: none;
    background-color: #249AC2;
    color: #ffffff;
}

.nav-item .contactBtn:not(:disabled):not(.disabled):active,
.nav-item .contactBtn:not(:disabled):not(.disabled):focus {
    background-color: #0c617d;
    border-color: #249AC2;
    box-shadow: 0 0 0 0.2rem rgb(36 154 194 / 55%);
}


/*language*/
nav.navbar ul li.dropdown>div {
    font-size: 25px;
    color: #108B96;
}

nav.navbar ul li.dropdown span {
    font-size: 18px;
    margin-left: 12px;
    color: #0B303C;
}

nav.navbar ul li .nav-link.dropdown-toggle::after {
    font-family: "Font Awesome 5 Pro";
    content: "\f0d7";
    font-weight: bold;
    border: none;
    vertical-align: 0px;
    color: #C4C4C4;
}

nav.navbar ul li:hover>.dropdown-menu .dropdown-item.active,
nav.navbar ul li:hover>.dropdown-menu .dropdown-item:active {
    background-color: #fc4f63;
}

/*RWD按鈕*/
nav.navbar button.navbar-toggler {
    width: 50px;
    height: 50px;
    background-color: #14879E;
}


/*======================   footer   ==========================*/

.footer {
    padding-top: 40px;
    position: relative;
    background-color: #0F4050;
}

.footer>.p1 {
    padding: 0 200px 40px;
}

/*區塊1*/
.footer .logo {
    width: 100%;
    max-width: 280px;
    height: 100%;
}

/*區塊2*/
.footer .border-left {
    border-color: #587A85 !important;
}

.footer .border-left .row>div {
    padding: 0 0 0 15%;
}

.footer .title {
    font-size: 13px;
    font-weight: normal;
    padding: 0px;
    margin-bottom: 25px;
    color: #249AC2;
}

.footer .btn-link {
    margin-bottom: 12px;
}

.footer .btn-link a {
    font-size: 16px;
    color: #ffffff;
}

.footer ul li {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer ul li svg {
    margin-right: 10px;
    color: #34B2AB;
}

/*區塊3*/
.footer .p3 {
    display: flex;
    flex-wrap: wrap;
    align-content: baseline;
}

.footer .p3 ul {
    width: 100%;
    margin-bottom: 20px;
}

.footer .p3 ul li {
    margin-bottom: 5px;
}

.footer .p3 .text {
    font-size: 12px;
    margin-left: 22px;
    color: #587A85;
}

.footer .p3 .circle-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #ffffff;
    text-align: center;
    font-size: 25px;
    line-height: 48px;
    margin: 0 25px 20px 0;
}

.footer .p3 .circle-btn a {
    color: #ffffff;
}

.footer .p3 .btn-link {
    width: 100%;
    max-width: 200px;
    text-align: center;
    border-radius: 5px;
    background-color: #1A708C;
}

.footer .p3 .btn-link a {
    padding: 15px;
    display: block;
}

.footer .p3 .btn-link a:hover {
    text-decoration: none;
    background-color: #3ea9cc;
    border-radius: 5px;
}


/*copyright*/
.footer .copyright {
    text-align: center;
    padding: 12px 0;
    color: #ffffff;
    background-color: #0B303C;
}


/*======================   modal   ==========================*/

body {
    padding-right: 0px !important;
}

.modal-open {
    overflow-y: scroll;
    padding-right: 0 !important；
}

.modal {
    padding: 0 20px;
    font-size: 16px;
    line-height: 25px;
}

.modal .close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    color: #00fffe;
}

.modal .modal-header {
    color: #ffffff;
    background-color: rgb(108 221 221 / 15%);
    justify-content: center;
    border-bottom: none;
}

.modal .modal-header .close {
    color: #fff;
}

.modal .modal-content {
    border: 2px solid #00FFFF;
    background-color: #0F4050;
}

.modal .modal-content .title {
    border-bottom: 1px #ddd solid;
    padding-bottom: 15px;
}

.modal .modal-content .icon {
    position: absolute;
    width: 100%;
    font-size: 250px;
    text-align: center;
    top: 150px;
    color: #f5f5f5;
}

.modal .modal-body {
    line-height: 30px;
    color: #777;
}

/*======================   swiper   ==========================*/

.cScrollbar::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.5);
}

.cScrollbar::-webkit-scrollbar {
    width: 6px;
    background-color: black;
}

.cScrollbar::-webkit-scrollbar-thumb {
    background-color: #fff;
}

/*======================   swiper   ==========================*/

.blend {
    background: radial-gradient(circle farthest-side at center, #fff, #fff, #fff, #333);
}

.blend img {
    z-index: -1;
    mix-blend-mode: multiply;
}

.bgStyle1 {
    opacity: 0.1;
    background-image: linear-gradient(30deg, #0b0b0e 12%, transparent 12.5%, transparent 87%, #0b0b0e 87.5%, #0b0b0e), linear-gradient(150deg, #0b0b0e 12%, transparent 12.5%, transparent 87%, #0b0b0e 87.5%, #0b0b0e), linear-gradient(30deg, #0b0b0e 12%, transparent 12.5%, transparent 87%, #0b0b0e 87.5%, #0b0b0e), linear-gradient(150deg, #0b0b0e 12%, transparent 12.5%, transparent 87%, #0b0b0e 87.5%, #0b0b0e), linear-gradient(60deg, #0b0b0e77 25%, transparent 25.5%, transparent 75%, #0b0b0e77 75%, #0b0b0e77), linear-gradient(60deg, #0b0b0e77 25%, transparent 25.5%, transparent 75%, #0b0b0e77 75%, #0b0b0e77);
    background-size: 20px 35px;
    background-position: 0 0, 0 0, 10px 18px, 10px 18px, 0 0, 10px 18px;
}

.bgStyle2 {
    opacity: 0.1;
    background-image: linear-gradient(135deg, #70707e 25%, transparent 25%), linear-gradient(225deg, #70707e 25%, transparent 25%), linear-gradient(45deg, #70707e 25%, transparent 25%), linear-gradient(315deg, #70707e 25%, #3d3d44 25%);
    background-position: 8px 0, 8px 0, 0 0, 0 0;
    background-size: 16px 16px;
    background-repeat: repeat;
}

.bgStyle3 {
    opacity: 0.1;
    background-image: linear-gradient(to right, #70707e, #70707e 4px, #3d3d44 4px, #3d3d44);
    background-size: 6px 100%;
}

.bgStyle4 {
    opacity: 0.1;
    background-image: radial-gradient(#54545a 0.8px, transparent 0.8px);
    background-size: 16px 16px;
}

/*@media (max-width: 992px) {
    nav.navbar ul li a {
        font-weight: bold;
        text-align: center;
    }
}

@media (max-width: 768px) {
    nav.navbar {
        padding: 5px;
    }

    .section {
        padding: 20px 0;
    }
}
*/



/*===============================================Media===============================================*/


@media (max-width: 767px) {

    /*===================================== navbar =====================================*/
    nav.navbar {
        padding: 12px 15px;
        align-items: center;
    }

    nav .navLogo {
        width: 240px;
    }

    nav.navbar ul>li {
        justify-content: center;
        padding: 15px 0;
        margin-right: 0;
        flex-wrap: wrap;
    }

    nav.navbar li>a {
        padding: 0;
        width: 100%;
        text-align: center;
    }

    nav.navbar .navbar-nav .dropdown-menu {
        width: 100%;
        text-align: center;
    }

    nav.navbar .nav-item:nth-child(4) {
        order: 5;
    }

    /*======================   footer   ==========================*/
    .footer {
        padding-top: 30px;
    }

    .footer>.p1 {
        padding: 0 20px 30px;
    }

    .footer .container-fluid .p1 {
        margin-bottom: 20px;
    }

    .footer .container-fluid {
        padding: 0 20px 25px;
    }

    /*區塊1*/
    .footer .logo {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    /*區塊2*/
    .footer .border-left {
        border-left: none !important;
    }

    .footer .border-left .row>div {
        padding: 0px 20px;
        width: 100%;
        margin-bottom: 20px;
    }

    .footer .title {
        padding-bottom: 5px;
        border-bottom: 1px solid #587A85 !important;
        margin-bottom: 10px;
    }

    .footer .btn-link {
        margin-bottom: 8px;
    }

    /*區塊3*/
    .footer .p3 {
        justify-content: center;
    }

    .footer .p3 ul {
        margin-bottom: 12px;
    }

    .footer .p3 .btn-link {
        margin: 0;
        max-width: 100%;
        padding: 0;
    }
    .footer .p3 .btn-link a{
        padding: 10px 15px;
    }

    .footer .p3 .circle-btn {
        margin: 0 12px 15px 12px;
    }

    /*copyright*/
    .footer .copyright {
        font-size: 12px;
    }

    /*======================   modal   ==========================*/
    body {
        padding-right: 0px !important;
    }

    .modal-open {
        overflow-y: scroll;
        padding-right: 0 !important；
    }

    .modal {
        padding: 0 12px;
        font-size: 16px;
        line-height: 25px;
    }

    .modal .modal-header {
        font-size: 18px;
        padding: 1rem 1.5rem 1rem 0.8rem;
    }

    .modal .modal-header .close {
        padding: 15px 10px;
    }

    .modal.show .modal-dialog {
        margin: 0px auto;
    }


}

@media (max-width: 575px) {

    /*===================================== navbar =====================================*/

    nav .navLogo {
        width: 220px;
    }

    /*======================   modal   ==========================*/
    body {
        padding-right: 0px !important;
    }

    .modal-open {
        overflow-y: scroll;
        padding-right: 0 !important；
    }

    .modal {
        padding: 0 12px;
        font-size: 16px;
        line-height: 25px;
    }

    .modal.show .modal-dialog {
        margin: 0px;
    }


}

@media (min-width: 768px) and (max-width: 991px) {

    /*===================================== navbar =====================================*/
    nav.navbar {
        padding: 12px 15px;
        align-items: center;
    }

    nav .navLogo {
        width: 240px;
    }

    nav.navbar ul>li {
        justify-content: center;
        padding: 15px 0;
        margin-right: 0;
        flex-wrap: wrap;
    }

    nav.navbar li>a {
        padding: 0;
        width: 100%;
        text-align: center;
    }

    nav.navbar .navbar-nav .dropdown-menu {
        width: 100%;
        text-align: center;
    }

    nav.navbar .nav-item:nth-child(4) {
        order: 5;
    }

    /*======================   footer   ==========================*/
    .footer {
        padding-top: 30px;
    }

    .footer>.p1 {
        padding: 0 50px 20px;
    }

    .footer .container-fluid .p1 {
        padding-left: 0px;
    }

    /*區塊1*/
    .footer .logo {
        width: 100%;
        max-width: 250px;
    }

    /*區塊2*/
    .footer .border-left .row>div {
        padding: 0 0 0 40px;
    }

    .footer .border-left .row>div:first-child {
        margin-bottom: 15px;
    }

    .footer .title {
        margin-bottom: 10px;
    }

    .footer .btn-link {
        margin-bottom: 6px;
    }

    /*區塊3*/
    .footer .p3 {
        padding-right: 0px;
    }

    .footer .p3 ul {
        margin-bottom: 15px;
    }

    .footer .p3 .circle-btn {
        margin: 0 25px 20px 0;
    }

    .footer .p3 ul li:first-child {
        padding-left: 22px;
        position: relative;
    }

    .footer .p3 ul li:first-child svg {
        position: absolute;
        left: 0;
        top: 5px;
    }

}

@media (min-width: 992px) and (max-width: 1399px) {

    /*===================================== navbar =====================================*/
    nav.navbar {
        padding: 20px 15px 12px;
    }

    nav .navLogo {
        width: 240px;
    }

    nav.navbar ul>li {
        margin-right: 15px;
    }

    /*聯繫我們*/
    .nav-item .contactBtn {
        width: 120px;
    }

    /*======================   footer   ==========================*/
    .footer>.p1 {
        padding: 0 50px 20px;
    }

    .footer .container-fluid .p1 {
        padding-left: 0px;
    }

}

@media (min-width: 1400px) {}
