html {
    scroll-behavior: smooth;
}
html * {
    font-family: "Noto Sans", "Noto Sans CJK TC", sans-serif;
}

a:not(.disabled):not(:disabled):hover {
    cursor: pointer;
}
a,
a:hover {
    text-decoration: none !important;
}
.container-fluid {
    padding-top: 4rem;
    padding-bottom: 6rem;
}
h1 {
    font-weight: 200 !important;
    color: #fff;
    text-align: center;
    margin-bottom: 0 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    position: relative;
    margin-top: -1rem !important;
}
html[lang="zh-Hant-TW"] h1 {
    letter-spacing: 1rem;
    margin-right: -1rem;
}
html[lang="en"] h1 {
    letter-spacing: 0.25rem;
    margin-right: -0.25rem;
}
h1::after {
    content: '';
    height: 2px;
    display: block;
    position: absolute;
    background-color: #fff;
    left: 50%;
    margin-top: 0.5rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
h2 {
    color: #4a4a4a;
    margin-bottom: 1.5rem !important;
    font-size: 31px !important;
    font-weight: 200!important;
}
html[lang="zh-Hant-TW"] h2,
html[lang="zh-Hant-TW"] .product-page h3 {
    letter-spacing: 0.5rem;
    margin-right: -0.5rem;
}
html[lang="en"] h2,
html[lang="en"] .product-page h3 {
    letter-spacing: 0.125rem;
    margin-right: -0.125rem;
}
h5 {
    font-size: 1.25rem;
    color: #4a4a4a;
    letter-spacing: 0.25rem;
}
html[lang="zh-Hant-TW"] p {
    text-align: justify;
}
html[lang="en"] p {
    text-align: left;
}
p {
    color: #4A4A4A;
}
li {
    color: #4A4A4A;
}
.text-link {
    color: #f6ab00 !important;
}
.btn-rounded {
    border-radius: 10rem !important;
}
.btn-primary {
    background-color: #136F9D !important;
    border-color: #136F9D !important;
}
.btn-primary:hover {
    opacity: 0.8;
    transition: all 0.3s;
    box-shadow: 0 2px 18px rgba( 19, 111, 157, 0.5);
}
.btn-orange {
    background-color: #f6ab00 !important;
    border-color: #f6ab00 !important;
}
.btn-orange:hover {
    opacity: 0.8;
    transition: all 0.3s;
    box-shadow: 0 2px 18px rgba(246, 171, 0, 0.5);
    color: #fff !important;
}
html[lang="zh-Hant-TW"] .btn span {
    letter-spacing: 0.125rem;
    margin-right: -0.125rem;
}
html[lang="en"] .btn span {
    letter-spacing: 0.025rem;
    margin-right: -0.025rem;
}
.content-block {
    margin: auto;
}
#lang-switcher {
    background-color: #136F9D;
    color: #fff;
    font-size: 14px;
}
#lang-switcher .lang {
    display: inline-block;
    padding: 0 4px;
    color: #fff;
    opacity: 0.6;
    line-height: 28px;
}
#lang-switcher .lang.active {
    opacity: 1;
}
header {
    z-index: 1040 !important;
}
header .navbar {
    background-color: #fff;
    box-shadow: 0 0 30px -8px rgba( 19, 111, 157, 0.5);
}
header .navbar .navbar-nav {
    margin-right: -0.5rem;
}
header .navbar .navbar-nav .nav-link {
    color: #4A4A4A;
    font-size: 17px;
    position: relative;
    padding: 1.35rem 0.125rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    letter-spacing: 0.05rem;
}
header .navbar .navbar-nav .active>.nav-link {
    color: #136F9D;
}
header .navbar .navbar-nav .active>.nav-link::after {
    content: '';
    width: 100%;
    position: absolute;
    height: 4px;
    bottom: -2px;
    right: 0;
    background-color: #136F9D;
    border-radius: 2px;
}
footer {
    font-size: 13px;
    background-color: #136F9D;
    color: #fff;
    padding: 0.6rem 1rem;
    text-align: center;
    letter-spacing: 0.05rem;
}
footer .contact-info {
    font-size: 15px;
}
footer .contact-info span {
    white-space: nowrap;
    margin-bottom: 0.15rem;
    display: inline-block;
}
footer .contact-info span:not(:last-child)::after {
    content: ' | ';
    margin: 0 0.25rem;
    color: rgba(0,0,0,.25);
}
footer hr {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    border-color: rgba(0,0,0,.15)
}
.logo-img {
    max-width: 320px;
    margin: auto;
}
.timing-product .product {
    text-align: center;
    display: flex;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-bottom: 2rem;
    flex-direction: column;
    align-content: stretch;
    flex-flow: wrap;
}
.timing-product .product .photo {
    width: 100%;
    padding-top: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 0;
    margin-bottom: 0.75rem;
    overflow: hidden;
    display: table-cell;
    border-radius: 0.25rem;
}
.timing-product .product:hover .photo {
    background-size: 120%;
    -webkit-transition: background-size 0.5s ease;
    transition: background-size 0.5s ease;
}
.timing-product .item p {
    text-align: center;
    line-height: 1.25rem;
    margin-bottom: 0;
    padding: 0.5rem 0.75rem;
    background-color: #ebebeb;
    width: 100%;
    place-self: flex-start;
    border-radius: 10rem;
}
.timing-product .item:hover p {
    background-color: #f6ab00;
    color: #fff;
}
.contact-form {
    padding: 1.5rem;
    box-shadow: 0 4px 15px -4px rgba(0,0,0,0.2);
    border-radius: 4px;
}
.contact-form form label {
    letter-spacing: 0.125rem;
    color: #4A4A4A;
}
.content-block span {
    font-size: 17px;
    white-space: nowrap;
}
.content-block .contact-info span {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.25rem;
    margin-bottom: 0.25rem;
    color: #4a4a4a;
    display: flex;
    line-height: 1.5rem;
    align-items: center;
    opacity: 0.8;
}
.content-block .contact-info span i {
    width: 20px;
    text-align: center;
}
.content-block .contact-info p {
    font-size: 17px;
    letter-spacing: 0.05rem;
}
#productCategory .nav-link {
    background-color: #ebebeb;
    border: 1px solid #fff;
    font-size: 19px;
    font-weight: 200;
    padding-right: 0;
    padding-left: 0.25rem;
    letter-spacing: 0.25rem;
}
#productCategory .nav-link.active {
    color: #fff;
    background-color: #166e9d;
    position: relative;
}
#productCategory .nav-link.active::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    left: 50%;
    border: 10px solid transparent;
    border-top: 8px solid #166e9d;
    -webkit-transform: translate(-50%, 100%);
    transform: translate(-50%, 100%);
}
.banner {
    background-image: url(../images/running.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
}
.event-year {
    padding-top: 48px;
    margin-top: -48px;
}
.event-year .d-flex {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}
.item {
    padding: 0.5rem;
    margin-bottom: 1rem;
    position: relative;
}
.item .item-content {
    width: 100%;
}
.item .item-link {
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    top: 0;
}
.item .img-block {
    border-radius: 0.25rem;
    overflow: hidden;
    text-align: center;
    display: block;
    width: 100%;
}
.item.hover-effect .img-block img {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    transition: all 0.3s;
}
.item .img-block img {
    object-fit: cover;
    -webkit-transform: scale(1);
    transform: scale(1);
    transition: all 0.3s;
    margin: auto;
}
.event-year .item .img-block img {
    width: 100%;
    height: 100%;
}
.event-year .item .date {
    font-size: 14px;
    font-weight: 600;
    color: #888;
}
.event-year .item .title {
    font-size: 17px;
    margin-bottom: 0;
    line-height: 1.35rem;
}
.event-year h4 {
    font-weight: 300;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    line-height: 3rem;
    margin-bottom: 0.5rem;
    font-size: 32px;
}
.event-year .item:hover .title {
    color: #f6ab00;
}
.timing-product .item .img-block {
    margin-bottom: 1rem;
}
.timing-img {
    background-image: url(../images/timing_bg.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}
.fixed-tab-menu {
    align-self: flex-start;
}
.fixed-tab-menu .nav-link {
    color: #999;
    font-size: 19px;
    white-space: nowrap;
    line-height: 1rem;
    margin-right: 15px;
}
.fixed-tab-menu .nav-link.active {
    background-color: #136F9D;
    font-weight: 400;
    color: #fff;
    border-radius: 4px;
}

/* products */
.product-page .modal-full {
    min-width: 100%;
    margin: 0;
}
.product-page .modal-full .modal-content {
    min-height: 100vh;
    border-radius: 0 !important;
    padding-top: 4rem;
    border: 0!important;
}
.product-page .modal-full .close {
    font-size: 4rem;
    font-weight: 200;
    right: 0;
    top: 0;
    display: inline-block;
    position: absolute;
    z-index: 1050;
    padding: 0.5rem 1.25rem;
}
.product-page h3 {
    text-align: center;
    margin-bottom: 1.25rem;
    color: #4a4a4a;
    font-weight: 400;
}
.product-page .product-photo {
    background-color: #efefef;
}
.product-page .product-photo .product-thumbnails {
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    align-items: center;
    margin-bottom: 2rem;
    justify-content: start;
    width: fit-content;
    max-width: 100%;
    margin: auto;
}
.product-page .product-photo .product-thumbnails .photo {
    height: 80px;
    margin: 0.5rem 0.25rem;
    border: 2px solid #fff;
    border-radius: 4px;
}
.product-page .product-photo .product-thumbnails .photo:first-child {
    margin-left: 0.5rem;
}
.product-page .product-photo .product-thumbnails .photo:last-child {
    margin-right: 0.5rem;
}
.product-page .product-photo .product-thumbnails .photo img {
    height: 100%;
    width: auto;
}
.product-page .product-photo .product-cover  {
    width: 100%;
    display: inline-block;
    margin-bottom: 1rem;
    padding: 1rem;
}
.product-page .product-photo .product-cover img  {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 360px;
    margin: auto;
}
.product-page .nav-pills .nav-link {
    font-weight: 500;
    font-size: 1.25rem;
    color: #4a4a4a;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.15);
}
html[lang="zh-Hant-TW"] .product-page .nav-pills .nav-link {
    letter-spacing: 0.125rem;
    margin-right: -0.125rem;
}
html[lang="en"] .product-page .nav-pills .nav-link {
    letter-spacing: 0.05rem;
    margin-right: -0.05rem;
}
.product-page .nav-pills .nav-link.active, 
.product-page .nav-pills .show>.nav-link {
    background-color: transparent !important;
    color: #136F9D !important;
    border-bottom: 2px solid #136F9D;
}
.product-tab-menu {
    border-top: 1px solid rgba(0,0,0,0.15);
}
.product-tab-menu .nav-link {
    font-weight: 500;
    font-size: 1.25rem;
    letter-spacing: 0.125rem;
    color: #4a4a4a;
    padding: 0.75rem 0;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    position: relative;
}
.product-tab-menu .nav-link.active, 
.product-tab-menu .show>.nav-link  {
    border-bottom: 3px solid #136F9D;
    background-color: #136F9D !important;
}
.product-tab-menu .nav-link.active::after, 
.product-tab-menu .show>.nav-link::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 25px;
    height: 25px;
    z-index: -1!important;
    background-color: #136F9D;
    -webkit-transform: translate(-50%, 25%) rotate(135deg);
    transform: translate(-50%, 25%) rotate(135deg);
}
@media (max-width: 575.98px) { 
    .banner {
        height: 160px;
    }
    h1 {
        font-size: 32px !important;
    }
    h1::after {
        width: 89%;
        -webkit-transform: translate(-55%,200%);
        transform: translate(-55%,200%);
    }
    .timing-product .product {
        flex: 0 0 50%;
    }
    .fixed-tab-menu {
        display: none !important;
    }
    #timingEvent {
        padding: 0;
    }
    .item {
        flex: 0 0 100%;
        display: flex;
    }
    .event-year .item .img-block {
        height: 240px;
    }
    .timing-product .item .img-block img {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 320px;
    }
}
@media (min-width: 576px) {
    .banner {
        height: 250px;
    }
    h1 {
        font-size: 44px !important;
    }
    h1::after {
        width: 91%;
        -webkit-transform: translate(-53%,200%);
        transform: translate(-53%,200%);
    }
    .content-block {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .item {
        flex: 0 0 50%;
    }
    .fixed-tab-menu {
        top: 120px !important;
        height: fit-content;
    }
    .event-year .item .img-block {
        /*height: 150px;*/
    }
    .timing-product .item .img-block {
        height: 220px;
    }
    .timing-product .item .img-block img {
        width: auto;
        height: 100%;
        max-width: 100%;
    }
}
@media (min-width: 768px) {
    .content-block {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    .item {
        flex: 0 0 calc(100% / 3);
    }
    .timing-product .item .img-block {
        height: 240px;
    }
}
@media (min-width: 992px) {
    .content-block {
        padding-left: 4rem;
        padding-right: 4rem;
    } 
    .event-year .item .img-block {
        height: 180px;
    }
}
@media (min-width: 1200px) {
    .content-block {
        max-width: 1000px;
        padding-left: 0;
        padding-right: 0;
    }
    .event-year .item .img-block {
        height: 200px;
    }
}
@media print {
    .print-none {
        display: none;
    }
    body {
        -webkit-print-color-adjust: exact;
    }
    .product-page .modal-body .tab-content {
        display: flex;
    }
    .product-page .modal-body .tab-content>.tab-pane {
        display: block;
        opacity: 1;
        flex: 1 1 50%;
    }
    .nav.sticky-top.fixed-tab-menu {
        position: static!important;
        top: none!important;
    }
    img {
        display: block;
        page-break-inside: avoid;
        page-break-before: auto;
        page-break-after: auto;
    }
}