html {
    scroll-behavior: smooth;
}

body {
    font-size: 18px;
    line-height: 1.8em;
    color: #515151;
    font-family: Arial, '微軟正黑體', '新細明體', Helvetica, sans-serif;

}


a {
    color: #1D1D1B;
    cursor: pointer;
}

a:hover {
    color: #23D1AE;
    text-decoration: none;
    cursor: pointer;

}

ul {
    margin-left: -1.5em;
}

li {
    margin-bottom: 0.5em;
}

footer {
    color: #fff;
    background-color: #1D1D1B;
    font-size: 16px;
    padding: 1% 0;
    line-height: 1.4em;
}

.heading {
    text-align: center;
    color: #1D1D1B;
    font-weight: 700;
    padding: 1em;
}

.heading2 {
    text-align: center;
    color: #FFFFFF;
    font-weight: 700;
    padding: 1em;
}

.heading3 {
    text-align: center;
    color: #000000;
    font-weight: 700;
    padding: 1em;
}


/** nav **/

nav {
    font-weight: 700;
    background: #265951;
    box-shadow: 0 0 3px rgb(0 0 0 / 20%);
    color: #FFFFFF;
}

.navbar {
    padding: 0px 5vw;
    margin: 0px;
}

.navbar-brand img {
    max-width: 80%;
    padding: 0.5em;
}

.navbar-nav {
    width: 100%;
}

.hightlight {
    background-color: #3CC4F1;
}

.navbar-dark .navbar-nav .nav-link {
    color: #FFFFFF;
    ;
}

.nav-link {
    padding: 20px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    transform: translate(2px, 1px);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #23D1AE;
}

/** KV **/

.section-kv {
    background-color: #FFFFFF;
}

.kv {
    background-color: #FFFFFF;
    background-size: cover;
    background-position: center;
    position: relative;
}

.kv-txt {
    position: absolute;
    color: #1D1D1B;
    top: 28%;
    left: 8%;
    z-index: 1000;
}

.kv-title {
    font-size: 50px;
    font-weight: 600;
    line-height: 1.4em;
    letter-spacing: 2px;
}

.kv-title2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.4em;
    letter-spacing: 2px;
}

.kv-subtitle {
    font-size: 39px;
    line-height: 1;
}

.kv-txt-mob {
    position: absolute;
    color: #1D1D1B;
    top: 48%;
    left: 10%;
    z-index: 1000;
}

.kv-title-mob {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.4em;
    letter-spacing: 2px;
    text-shadow: 1px 1px 1px #333;
}

.kv-subtitle-mob {
    font-size: 34px;
    line-height: 1;
}

/** section-foreword **/

.section-foreword {
    background-color: #1D1D1B;
    color: #FFFFFF;
    letter-spacing: 1px;
    padding: 3em 1.5em 2em;
}

.foreword-title {
    color: #23D1AE;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.foreword-title::after {
    content: "";
    width: 120px;
    height: 3px;
    display: block;
    border-left: 60px solid #00A88E;
    background-color: #7EFF33;
}

.foreword-txt {
    text-align: justify;
}

/** Hot News **/

.section-news {
    padding: 3em 0.5em 3em 2em;
}

.news-box {
    border: 1px #CCCCCC solid;
    padding: 1em;
    border-radius: 6px;
    margin-bottom: 1em;
}

.news-box img {
    border-radius: 4px;
    margin-bottom: 8px;
    overflow: hidden;
    transform: scale(1, 1);
    transition: all 0.8s ease-out;
}

.news-box img:hover {
    transform: scale(1.05, 1.05);
}

.news-tag {
    color: #00A88E;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;

}

.news-title {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.news-txt {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 5px;
    max-height: 120px;

}

.news-date {
    font-size: 14px;
    color: #888888;
    text-align: right;
}


/** trust **/

.section-trust {
    padding: 8em 0;
    background-size: cover;
    background: url(../img/trust-bg.png);
    background-attachment: fixed;
}

.section-trust-mob {
    padding: 8em 0;
    background-size: cover;
    background: url(../img/trust-bg-mob.png);
    background-attachment: fixed;
}

.trust-box {
    background-color: #265951;
    padding: 30px 40px;
    color: #FFFFFF;
}

.trust-box h2 {
    margin-bottom: 1em;
}

.trust-box h5 {
    letter-spacing: 3px;
    margin-bottom: 1em;
    font-size: 20px;
}

.trust-name {
    font-size: 22px;
    text-align: right;
}

.trust-box-mob {
    padding: 30px 40px;
    color: #FFF;
    font-weight: 700;
    text-shadow: 3px 3px 8px #1D1D1B;
}

.trust-box-mob h2 {
    margin-bottom: 1em;
    font-weight: 700;
}

.trust-box-mob h5 {
    letter-spacing: 3px;
    margin-bottom: 1em;
    font-size: 20px;
    font-weight: 700;
}



/** trustlist **/

.section-trustlist {
    padding: 1em 1.5em 3em;
}

.trustlist-txt {
    padding: 0.5em;
    line-height: 1.5;
    font-size: 16px;
    margin-bottom: 1em;
    text-align: justify;
}

.trustlist-txt:hover,
.trustlist-txt-2:hover,
.trustlist-txt-3:hover {
    background-color: #ccede6;
    border-radius: 4px;
}

.trustlist-txt-2 {
    padding: 3em 1em 2em;
    line-height: 1.5;
    font-size: 16px;
    margin-bottom: 1em;
    text-align: justify;
}

.trustlist-txt-3 {
    padding: 0.2em 1em;
    line-height: 1.5;
    font-size: 16px;
    margin-bottom: 1em;
    text-align: justify;
}

.trustlist-img {
    padding: 1.5em;
}

.trustlist-img img {
    border: 1px #DDDDDD solid;
}

.trustlist-point {
    font-size: 12px;
    color: #666;
    background-color: #eee;
    padding: 1em;
    border-radius: 6px;
}

.list-row {
    padding: 1em 0;
}

/* KSE */
.section-KSE {
    background-color: #f7f7f7;
    padding: 2em 1.5em;
    background: url(../img/bg-05.jpg) fixed;
}

/* KATA */
.section-KATA {
    background-color: #f7f7f7;
    padding: 2em 1.5em;
    background: url(../img/bg-04.jpg) fixed;
}


/* KICS */
.section-KICS {
    background-color: #f7f7f7;
    padding: 2em 1.5em;
    background: url(../img/bg-03.jpg) fixed;
}

.k-box {
    background-color: #ffffff;
    border-radius: 8px;
    margin: 25px 5px;
    padding: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.k-box:hover {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
        rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.k-box-txt {
    text-align: center;
}

.btn-k {
    background: #00A88E;
    border: none;
}

.btn-k:hover,
.btn-k:focus {
    background: #7EFF33;
    color: #000;
}

/** solution **/

.section-solution {
    background-color: #00A88E;
    color: #1D1D1B;
    padding: 2em 1.5em;
    background: url(../img/bg-01.jpg) fixed;
}

.solution-point {
    padding: 1em;
    background-color: #EEE;
}

.solution-point img {
    width: 80px;
}

.solution-title {
    font-size: 26px;
    font-weight: 700;
    color: #1D1D1B;
    padding: 1em 0 0;
}

.solution-btn {
    background: #1D1D1B;
    text-align: center;
    font-weight: 700;
    letter-spacing: 3px;
}

.solution-btn a {
    color: #fff;
    text-decoration: none;
}

.solution-btn:hover,
.solution-btn a:hover {
    background: #7EFF33;
    color: #1D1D1B;
}

.solution-1 {
    background-color: #444;
}

.solution-2 {
    background-color: #265951;
}

.solution-3 {
    background-color: #931005;
}



/** solutuon table **/

table {
    width: 100%;
    border-collapse: collapse;
}

table tr {
    border-bottom: solid 2px #ddd;
}

table tr:last-child {
    border-bottom: none;
}

table th {
    position: relative;
    width: 18%;
    background-color: #fff;
    text-align: center;
    padding: 10px 8px;
}

table th:after {
    display: block;
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    top: calc(50% - 10px);
    right: -10px;
    border-left: 10px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

table td {
    text-align: left;
    background-color: #265951;
    padding: 1.5em;
    color: #fff;
}

.main {
    width: 100%;
}

/** video **/

.section-video {
    padding: 2em 1.5em;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    margin: 12px 0;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/** whitebook **/

.section-whitebook {
    padding: 2em 1.5em;
    background-color: #eee;
    background: url(../img/bg-02.jpg) fixed;
}

.whitebook-box {
    background-color: #ffffff;
    padding: 1em;
    text-align: center;
    line-height: 1.3;
    border-top: 5px #7EFF33 solid;
    border-radius: 4px;
    box-shadow: 1px 2px 2px #DDD;
    margin-bottom: 1em;
}

.whitebook-box img {
    margin-bottom: 1em;
}

.book-download {
    margin-top: 1em;
    padding: 0.5em;
    background-color: #00A88E;
    color: #fff;
    border-radius: 4px;
}

.book-download:hover {
    background-color: #7EFF33;
    color: #1D1D1B;
}


/*sidebar*/
#sidebarReg .register {
    background-color: #7EFF33;
    color: #1D1D1B;
    position: fixed;
    bottom: 15%;
    right: 0;
    border: none;
    display: block;
    font-weight: bold;
    font-size: 20px;
    writing-mode: vertical-lr;
    padding: 25px 10px;
    z-index: 10;
    border-radius: 10px 0 0 10px;
    box-shadow: 2px 3px 8px 0px rgba(58, 15, 228, 0.32);
    line-height: 1.8;
    letter-spacing: 2px;
}

#sidebarReg .register:hover {
    background-color: #23D1AE;
}

#gotopBtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    bottom: 20px;
    /* Place the button at the bottom of the page */
    right: 30px;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    border: none;
    /* Remove borders */
    outline: none;
    /* Remove outline */
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    cursor: pointer;
    /* Add a mouse pointer on hover */
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 18px;
}

#gotopBtn:hover {
    background-color: #999;
}

@media (max-width:767px) {
    .pad-pc-only {
        display: none;
    }

    .pc-only {
        display: none;
    }

    .pad-only {
        display: none;
    }
}

@media (min-width:768px) and (max-width:1024px) {
    .mobile-only {
        display: none;
    }

    .pc-only {
        display: none;
    }
}

@media (min-width:1024px) {
    .mobile-only {
        display: none;
    }

    .pad-only {
        display: none;
    }

    .pad-mobile-only {
        display: none;
    }
}

/** page **/

.section-pagekv {
    background-color: #FFFFFF;
}

.page-kv-txt {
    position: absolute;
    color: #1D1D1B;
    top: 50%;
    left: 10%;
    z-index: 1000;
}

.page-kv-txt-mob {
    position: absolute;
    color: #1D1D1B;
    top: 32%;
    left: 10%;
    z-index: 1000;
}

.section-event {
    padding: 2em 1.5em;
}

.event-content {
    padding: 1em 0;
}

.event-point {
    background-color: #eee;
    border-radius: 6px;
    padding: 1em 2em;
    font-size: 16px;
}


input[type="radio"],
input[type="checkbox"] {
    margin-right: 3px;
    ;
}

.txt-bold {
    font-weight: bold;
}