/*以下為自訂設定*/
/*讀入思源黑體*/
@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);

/*讀入oswald字體*/
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("../fonts/fontawesome/webfonts/fa-solid-900.woff2") format("woff2"), url("../fonts/fontawesome/webfonts/fa-solid-900.ttf") format("truetype");
}


body {
    /* 先套用 Noto Sans TC 這個 思源黑體 */
    font-family: 'Noto Sans TC', '微軟正黑體', sans-serif;
}

.clr {
    display: table;
    clear: both;
}

a img {
    border: none;
    -o-transition: opacity .20s linear;
    -webkit-transition: opacity .20s linear;
    -moz-transition: opacity .20s linear;
    transition: opacity .20s linear;
}

a img:hover {
    opacity: 0.6;
    filter: alpha(opacity=80);
    -o-transition: opacity .20s linear;
    -webkit-transition: opacity .20s linear;
    -moz-transition: opacity .20s linear;
    transition: opacity .20s linear;
}

img {
    max-width: 100%;
}

a {
    color: #00a1d8;
    text-decoration: none;
    transition: 0.5s;
}

a:hover {
    color: #646464;
    text-decoration: none;
    transition: 0.5s;
}

a:active {
    color: #00a1d8;
    font-weight: bold;
}

img,
svg {
    vertical-align: middle;
    max-width: 100%;
    max-height: 100%;
    height: auto;
}

hr {
    color: #00a1d8;
}

.float_right,
figure.right.item-image {
    float: right;
    margin: 0 0 1em 1em;
    max-width: 50%;
}

.float_left {
    float: left;
    margin: 0 1em 1em 0;
    max-width: 50%;
}

@media (max-width: 499px) {

    .float_right,
    figure.right.item-image {
        float: none;
        margin: auto;
        margin-bottom: 1em;
        display: block;
        text-align: center;
        max-width: unset;
    }

    .float_left {
        float: none;
        margin: auto;
        margin-bottom: 1em;
        display: block;
        text-align: center;
        max-width: unset;
    }
}

@media (min-width: 768px) {
    .PC-flex {
        display: flex;
    }

    .flex_row-reverse {
        flex-direction: row-reverse;
    }

    .flex_align-center {
        align-items: center;
    }
}

@media (max-width: 767px) {
    .PC-flex {
        display: block;
    }
}

/**************************/


/***************************內框架設定開始********/
/*************************#header */
#header {
    background-color: rgb(255 255 255 / 80%);
    position: fixed;
    width: 100%;
    z-index: 9;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 20%);
    top: 0px;
}

#header.fixed-header {}

#header:before {
    content: "";
    display: inline-block;
    width: calc(50% + 250px);
    height: 90px;
    right: 0;
    position: absolute;
    border-bottom: 90px solid #00A1D8;
    border-left: 50px solid transparent;
    z-index: -1;
}

#main-menu .navbar {
    padding: 0px;
}

#main-menu ul.mod-menu>li.nav-item {
    height: 90px;
}

#main-menu ul.mod-menu>li.nav-item>a {
    font-weight: 300;
    font-size: 18px;
    line-height: 90px;
    text-align: center;
    letter-spacing: 0.05em;
    color: #fff;
    padding: 0px 10px;
    height: 90px;
    display: inline-block;
}

#main-menu ul.mod-menu>li.nav-item:hover>a {
    color: #4d4d4d;
}

#main-menu ul.mod-menu>li.nav-item.active>a {
    color: #4d4d4d;
}



#main-menu ul.mod-menu>li.nav-item>a.other_menu {
    display: none;
}

/*加上子選單*/
#main-menu ul.mod-menu>li.nav-item.parent>a:after {
    content: "\f107";
    font-family: "Font Awesome 6 Pro";
    margin-left: 6px;
}

#main-menu ul.mod-menu>li.nav-item>ul.dropdown-menu {
    text-align: center;
    border: 1px solid #00a1d8;
}

#main-menu ul.mod-menu>li.nav-item>ul.dropdown-menu li.nav-item {}

#main-menu ul.mod-menu>li.nav-item>ul.dropdown-menu li.nav-item>a,
#main-menu ul.mod-menu>li.nav-item>ul.dropdown-menu li.nav-item>span {
    display: block;
    padding: 10px;
    color: #00a1d8;
}

#main-menu ul.mod-menu>li.nav-item>ul.dropdown-menu li.nav-item>a:hover,
#main-menu ul.mod-menu>li.nav-item>ul.dropdown-menu li.nav-item.active>a,
#main-menu ul.mod-menu>li.nav-item>ul.dropdown-menu li.nav-item>span:hover,
#main-menu ul.mod-menu>li.nav-item>ul.dropdown-menu li.nav-item.active>span {
    background-color: #00a1d8;
    color: #fff;
}

/*第三層*/
#main-menu ul.mod-menu>li.nav-item>ul.dropdown-menu li.parent.nav-item {
    position: relative;
}

#main-menu ul.mod-menu>li.nav-item>ul.dropdown-menu li.parent.nav-item:before {
    content: "+";
    position: absolute;
    right: 5px;
    top: 8px;
    color: #00a1d8;
}

#main-menu ul.mod-menu>li.nav-item>ul.dropdown-menu li.parent.nav-item .dropdown-menu {
    left: 2em;
    width: 13em;
}

/*行動選單*/
#top-right {
    position: absolute;
    top: 34px;
    right: 0px;
    text-align: center;
}

#top-right .item {
    display: inline-block;
    position: relative;
    margin: 0px 5px;
}

#top-right i.fa-light,
#top-right i.fa-facebook {
    font-size: 26px;
    color: #fff;
    cursor: pointer;
}

#top-right .mod-languages {
    background-color: #fff;
    padding: 5px 0px;
    position: absolute;
    width: 56px;
    left: -15px;
    display: none;
    z-index: 9;
}

#top-right div.mod-languages li {
    padding: 0px;
}

.offcanvas-body .navbar-nav {
    display: block;
    width: 100%;
}

.offcanvas-body ul.mod-menu>li.nav-item {
    font-size: 20px;
}

.offcanvas-body ul.mod-menu>li.nav-item>a {
    padding: 5px 0px;
    display: inherit;
    margin-bottom: 5px;
}

.offcanvas-body ul.mod-menu>li.nav-item.active>a {
    border-bottom: 1px solid #00a1d8;
    color: #333;
}


/*加上子選單*/
.offcanvas-body ul.mod-menu>li.nav-item.parent>a:after {
    content: "+";
    float: right;
}

.offcanvas-body ul.mod-menu>li.nav-item>ul.dropdown-menu {
    position: relative;
    border: unset;
    padding-left: 20px;
}

.offcanvas-body ul.mod-menu>li.nav-item>ul.dropdown-menu>li {}

.offcanvas-body ul.mod-menu>li.nav-item>ul.dropdown-menu>li>a,
.offcanvas-body ul.mod-menu>li.nav-item>ul.dropdown-menu>li>span {
    display: block;
    color: #00a1d8;
}

.offcanvas-body ul.mod-menu>li.nav-item>ul.dropdown-menu>li.active>a,
.offcanvas-body ul.mod-menu>li.nav-item>ul.dropdown-menu>li.active>span {
    border-bottom: 1px solid #00a1d8;
    color: #333;
}

.offcanvas-body ul.mod-menu>li.nav-item.active>ul.dropdown-menu {
    display: block !important;
}

.offcanvas-body ul.mod-menu>li.nav-item>ul.dropdown-menu>li.parent.nav-item {
    position: relative;
}

.offcanvas-body ul.mod-menu>li.nav-item>ul.dropdown-menu>li.parent.nav-item span:after {
    content: "+";
    float: right;
    margin-right: 20px;
}

.offcanvas-body ul.mod-menu>li.nav-item>ul.dropdown-menu>li.parent.nav-item ul.dropdown-menu {
    padding: 10px;
}

.offcanvas-body ul.mod-menu>li.nav-item>ul.dropdown-menu>li.parent.nav-item.active ul.dropdown-menu {
    display: block !important;
}

.offcanvas-body ul.mod-menu>li.nav-item>ul.dropdown-menu>li.parent.nav-item.active ul.dropdown-menu>li.active a {
    color: #333;
}

@media (max-width: 1520px) {
    #main-menu {
        padding-right: 50px;
    }
}

@media (max-width: 1100px) {
    #main-menu {
        margin-right: 50px;
    }
}

@media (min-width: 1200px) {
    #logo img {
        width: 204px;
    }
}

@media (max-width: 1199px) {
    #main-menu ul.mod-menu>li.nav-item>a {
        font-size: 18px;
    }

    #logo img {
        width: 170px;
    }
}

@media (min-width: 992px) {
    #top-right {
        display: none;
    }
}

@media (max-width: 991px) {
    #logo img {
        width: unset;
        font-size: small;
        height: 86px;
        padding: 2px 0px;
    }

    .navbar-expand-lg .navbar-toggler {
        display: none;
    }

    #header .container-lg {
        padding: 0px;
    }

    .offcanvas-body .collapse:not(.show) {
        display: block;
    }

    #logo {
        padding-left: 10px;

    }

    #top-right {
        top: 14px;
    }
}

@media (max-width: 575px) {
    #logo img {
        height: 50px;
        width: auto;
    }

    #top-right {
        top: 14px;
    }

    #header:before {
        width: calc(50% + 60px);
        height: 50px;
        right: 0;
        position: absolute;
        border-bottom: 50px solid #00A1D8;
        border-left: 30px solid transparent;
        z-index: -1;
    }

}


/*************************#copyright */
.copyright_wrap {
    background-color: #ffffff;
    padding: 30px 0px 0px;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0.05em;
    position: relative;
    border-top: 2px solid #3F3E40;
    border-bottom: 20px solid #3F3E40;
}


.copyright_wrap:before {
    content: url(../images/copyright_icon.png);
    position: absolute;
    z-index: 0;
    bottom: -25px;
}

.copyright_wrap .copyright {
    position: relative;
}

.copyright .logo h4 {
    margin-bottom: 0px;
}

.copyright .logo img {
    width: 260px;
}

@media (max-width: 991px) {
    .copyright .logo {
        margin-bottom: 1em;
    }

    .copyright_wrap:before {
        bottom: unset;
        top: -40px;
        left: -150px;
    }
}



/*************************#slideshow  */
#slideshow_wrap {
    min-height: 90px;
    margin-top: 90px;
}

@media (max-width: 575px) {
    #slideshow_wrap {
        min-height: 50px;
        margin-top: 50px;
    }
}

#slideshow img {
    width: 100%;
}

#slideshow_wrap .big_banner {
    position: relative;
}

#slideshow_wrap .big_banner .txt {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-shadow: 0px 0px 10px rgb(0 0 0 / 50%);
    padding-top: 90px;
    text-align: center;
}

#slideshow_wrap .big_banner .txt h1 {
    text-shadow: 0px 0px 10px #000;
}

@media (max-width: 991px) {
    #slideshow_wrap .big_banner .txt h1 {
        font-size: x-large;
    }

}

@media (max-width: 575px) {
    #slideshow_wrap .big_banner .txt {
        padding-top: 50px;
    }
}






/*************************#footer */
.footer_wrap {
    margin-bottom: 160px;
}

/*************************首頁的設定 */
/* 首頁區塊個別設定 - 服務*/
.home_item h2 {
    margin-top: 1em;
    margin-bottom: 1em;
}

.home_item.home_services {}

.home_item.home_services .row .item {
    display: flex;
    gap: 20px 20px;
    margin-bottom: 2em;
}

.home_item.home_services .row .item .pic {
    text-align: center;
}

.home_item.home_services .row .item .txt {
    line-height: 1.4em;
    font-size: large;
}

.home_item.home_services .row .item .txt h3 {
    margin-bottom: 1em;
}

.home_item.home_services .row .item .txt h3 a {
    color: #333;
}

@media (max-width: 991px) {
    .home_item.home_services .row .item {
        display: block;
    }
}

@media (max-width: 575px) {
    .home_item.home_services .row .item .txt {
        text-align: center;
    }
}

/* 首頁區塊個別設定 - 新聞*/
.home_item.home_news {
    padding: 0px 40px
}

.home_item.home_news .nspArt .tcenter a.nspImageWrapper {
    text-align: center;
}

.home_item.home_news .nspArt .tcenter a.nspImageWrapper img {
    margin: auto;
}

.home_item.home_news .nspArt p.nspInfo {
    font-size: small;
    margin-bottom: 0px;
}

.home_item.home_news .nspArt h4.nspHeader {
    padding-top: 0px;
}

/*各頁統一設定*/
.mod-breadcrumbs__wrapper {
    padding-top: 2em;
}

/*各頁各別設定 - about 關於我們*/

.com-content-article.item-page {
    font-size: 22px;
    line-height: 40px;
    font-weight: 300;
}

@media (min-width: 768px) {
    .com-content-article.item-page {
        font-size: 18px;
        line-height: 24px;
    }
}

.about_slidershow {
    text-align: center;
    background-color: #595757;
}

.about_slidershow .mod-banners__item.swiper-slide img {
    width: 100%;
}

.swiper-pagination-bullet-active {
    background-color: #00a1d8 !important;
}

.page-header {}

.page-header a {}

.page-header+.container {
    margin-bottom: 3em;
}

body.page_about {}

#about_page .section .img {
    text-align: center;
}

#about_page .section .txt b {
    color: #00a1d8;
}

#about_page hr {
    margin: 4em 0px;
    background-color: #00a1d8;
}

@media (min-width: 768px) {
    #about_page .section.PC-flex .txt {
        margin-left: 2em;
    }

    #about_page .section.PC-flex.flex_row-reverse .txt {
        margin-right: 2em;
        margin-left: 0px;
    }

    #about_page .section .img img {
        min-width: 400px;

    }
}

.com-content-article__body:after {
    content: "";
    display: block;
    clear: both;
}

.com-content-article__body h2.title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 3em;
    position: relative;
}

.com-content-article__body h2.title:after {
    content: "";
    display: block;
    border-bottom: 1px solid #00a1d8;
    width: 2em;
    margin: auto;
    margin-top: 10px;
}

@media (max-width: 420px) {
    [data-rlta-element=container][data-rlta-state=ready][data-rlta-theme=neutral][data-rlta-type=tabs]>[data-rlta-element=button-list]>[data-rlta-element=button] {
        padding: 0.75rem 0.75rem;
    }

    .com-content-article__body h2.title {
        margin-bottom: 1em;
    }
}


/*各頁各別設定 - contact 聯絡我們*/
body.page_contact {}

.cf-form {
    margin-top: 2em;
    margin-bottom: 2em;
}

/*各頁各別設定 - news */
body.page_news {}

.articles_list {
    margin: 4em auto;
}

.attachments_list {
    margin: 1em auto 4em;
}

.page_title {
    padding: 70px 0px;
    letter-spacing: 0.05em;
    color: #00a1d8;
}

.page_title h1 {
    padding-left: 20px;
    border-left: 5px solid #00a1d8;
}

.page_title h2 {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
}

@media (min-width: 992px) {
    .page_title h2 {
        font-size: 40px;
        padding-left: 2em;
    }
}

body.page_news .blog-items {}

body.page_news .blog-items .com-content-category-blog__item.blog-item {

    position: relative;
}

body.page_news .blog-items .page-header {
    background-color: unset;
    margin-bottom: 0px;
    padding: 0px;

}

body.page_news .blog-items .page-header h2 {
    font-size: 20px;
    font-weight: 400;
}

body.page_news .blog-items figure.item-image {
    margin-bottom: 6px;
}

body.page_news .blog-items .blog-item .item-image img {
    height: auto;
}

body.page_news .blog-items .blog-item .introtext {
    display: none;
}

body.page_news .com-content-category-blog__children.cat-children {
    display: none;
}

@media (min-width: 992px) {
    body.page_news .blog-items {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 2em;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    body.page_news .blog-items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 2em;
    }
}

@media (max-width: 767px) {
    body.page_news .blog-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 2em;
    }

    body.page_news .blog-items .page-header h2 {
        font-size: 18px;
    }
}

table.com-content-category__table th {
    font-weight: unset;
}

table.com-content-category__table thead th {
    font-weight: bold;
}

/*詳細頁*/
.com-content-article.item-page.page_news {}

.com-content-article.item-page.page_news .page-header {
    margin-bottom: 0px;
}

.com-content-article.item-page.page_news .article-info {
    text-align: right;
}

figure.item-image {
    text-align: center;
    margin-bottom: 2em;
}

figure.item-image img {
    width: 100%;
    height: auto;
}

.com-content-article__body {
    margin-bottom: 4em;
}

/*分頁*/
.com-content-category-blog__navigation {
    text-align: center;
    margin-top: 4em;
    border-top: 1px solid #d4d4d4;
    padding-top: 1em;
}

.com-content-category-blog__navigation p.com-content-category-blog__counter {
    float: none !important;
}

.com-content-category-blog__pagination {
    clear: both;
}

ul.pagination {
    justify-content: center;
}

ul.pagination .page-link {
    color: #00a1d8;
}

ul.pagination .page-item.active .page-link {
    background-color: #00a1d8;
    border-color: #00a1d8;
}

.icon-angle-left:after {
    content: "\f104";
    font-family: "Font Awesome 6 Pro";
}

.icon-angle-right:after {
    content: "\f105";
    font-family: "Font Awesome 6 Pro";
}

.icon-angle-double-left:after {
    content: "\f100";
    font-family: "Font Awesome 6 Pro";
}

.icon-angle-double-right:after {
    content: "\f101";
    font-family: "Font Awesome 6 Pro";
}


/* 各頁各別設定 - 服務產品*/

body.page_services .com-content-article__body hr {
    margin: 2em 0px;
}

body.page_services .com-content-article__body h2.s-title {
    text-align: center;
    color: #fff;
    background-color: #00a1d8;
}



/*彈出視窗*/
.fixed_buttoms {
    bottom: 150px;
    right: 0;
    position: fixed;
    z-index: 2;
}

.to_contact_modal {
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
}

.to_contact_modal>a {
    background-color: #00a1d8;
    display: inline-block;
    color: #fff !important;
    padding: 16px 10px;
    border-radius: 10px 0px 0px 10px;
    border: 1px solid #fff;
    cursor: pointer;
}

#contact_modal .modal-content {
    /*background-color: #cdac82;*/
    background-color: #00a1d8;
}

#contact_modal .modal-content .modal-header h5 {
    font-size: 1.5em;
}

#contact_modal .modal-content .modal-header .btn-close {
    background-color: #fff;
}

#contact_modal .modal-content .modal-header {
    border-bottom: none;
    padding-bottom: 0px;
}

#contact_modal .modal-content .modal-footer {
    border-top: none;
}

.modal-header {
    position: relative;
}

.modal-header h5.modal-title {
    color: #fff;
    width: 100%;
    text-align: center;
}

/*右下回到最上面的小按鈕*/
#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #00a1d8;
    border-color: #00a1d8;
    color: #fff;
    display: none;
}

#btn-back-to-top.show {
    display: block;
}

/*補充 首頁新聞模組 */
.gkNspPM-NewNewsHeader[data-layout="main_2rows_2rows"] .gkImage1 .gkTitle {
    background: none;
    bottom: 10%;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.3;
    left: 2.5rem;
    margin: 0;
    padding: unset;
    font-weight: 500;

    will-change: font-size;

}

@media (max-width: 1240px) {
    .gkNspPM-NewNewsHeader[data-layout="main_2rows_2rows"] .gkTitle {
        font-size: 20px;
    }

    .gkNspPM-NewNewsHeader[data-layout="main_2rows_2rows"] .gkImage1 .gkTitle {
        font-size: 20px !important;
    }
}

@media (max-width: 960px) {

    .gkNspPM-NewNewsHeader[data-layout="main_2rows_2rows"] .gkTitle,
    .gkNspPM-NewNewsHeader[data-layout="main_2rows_2rows"] .gkImage1 .gkTitle {
        font-size: 20px !important;
        left: 1rem;
    }
}

@media (max-width: 640px) {
    .gkNspPM-NewNewsHeader .gkTitle {
        left: 2.5rem;
    }
}


/*pc 和 mobile行動瀏覽的硬設定*/

.only_pc {}

.only_mobile {}

@media (min-width: 768px) {

    .pc_flex {
        display: flex;
    }

    .pc_space-between {
        justify-content: space-between;
        align-items: center;
    }

    .only_pc {}

    .only_mobile {
        display: none;
    }
}

@media (max-width: 767px) {
    .pc_flex {
        display: block;
    }

    .only_pc {
        display: none;
    }

    .only_mobile {}
}