
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --bs-white: #fff;
    --bs-gray: #3a3a39;
    --bs-gray-dark: #191918;
    --bs-gray-100: #dfdfd6;
    --bs-gray-200: #c0c0b8;
    --bs-gray-300: #e2e2e2;
    --bs-gray-400: #7d7d79;
    --bs-gray-500: #5e5e5b;
    --bs-gray-600: #494947;
    --bs-gray-700: #373735;
    --bs-gray-800: #2b2929;
    --bs-gray-900: #212020;

    --body-bg-color:#f1f1ef;
    --nav-border-color:#666666; /*#BCB4A4;*/
    --href-text-color: #4b4441;
    --href-hover-text-color: #c0c0b8;
    --body-grid-color:#c5bcb5;

    --text-gray: #676767;

    --font-header: "Noto Sans TC", sans-serif;
    --font-body: "Noto Sans TC", sans-serif;
    --font-en-body: "Poppins", sans-serif;

    --hamburger-width: 30px;
    --hamburger-height: 30px;
    --hamburger-thickness: 1px;
    --hamburger-color:var(--bs-white);

    --bs-red: #ED1B89;
    --bs-green: #3BC1D0;
    --bs-green-hover: #52d2e0;
    --bs-orange: #FF7A00;
    --bs-aqua: #00EDFF;
    --bs-blue: #0096D4;
    --bs-blue-hover: #2FACE0;
    --bs-magenta: #DA40FF;
    --bs-darkblue: #1789C3;
    --bs-heroblue: #72a3c5;

    --bs-red-rgb: 237, 27, 137;
    --bs-green-rgb: 59, 193, 208;
    --bs-orange-rgb: 255, 122, 0;
    --bs-aqua-rgb: 0,237,255;
    --bs-blue-rgb: 0, 150, 212;
    --bs-magenta-rgb: 218,64,255;
    --bs-darkblue-rgb: 23,135,195;
    --bs-heroblue-rgb: #72a3c5;

    --work-item-bg-1: #edede9;
    --work-item-bg-2: #D6CCC2;
    --work-item-bg-3: #F5EBE0;
    --work-item-bg-4: #E3D5CA;
    --work-item-bg-5: #D5BDAF;
    --work-item-bg-6: #E5CDB0;
    --work-item-bg-7: #F3D6C2;
    --work-item-bg-8: #FBF1EA;
    --work-item-bg-9: #EFEDE6;
    --work-item-bg-10: #D7D3C1;

    --sold-out-bg: #D7D3C1;
    --sold-out-text: #191919;

    --swiper-scrollbar-size: 2px;
}

html, body {
    margin:0;
    padding: 0;
    font-size: 16px;
    box-sizing: border-box;
    font-family: var(--font-body);
    color: var(--bs-gray-800);
    overflow-x: hidden;
}
a {
    color:var(--href-text-color);
}
a:hover, a:focus {
    color:var(--href-hover-text-color);
}
a:visited {
    color:var(--bs-gray-900);
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-header);
    font-weight: 700;
}
.font-header {
    font-family: var(--font-header) !important;
}
.font-body {
    font-family: var(--font-body) !important;
}

.xl-font {
    font-size: 2.5rem;
}
@media (min-width:992px) {
    .xl-font {
        font-size: 3.5rem;
    }
}
@media (min-width:1600px) {
    .xl-font {
        font-size: 4.5rem;
    }
}

.wrapper {
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    
}

/** HEADER **/
header {
    z-index: 999;
    position:fixed;
    top: 0; left:0; width:100%;
    height:80px;
    transition: background .5s ease;
    background: var(--bs-blue);
}

header nav .nav-top-logo svg {
    width: auto;
    max-width: 100%;
    max-height: 30px;
}
header nav .top-nav-link,
header nav .top-nav-link a,
header nav .top-nav-link p {
    font-weight: 700;
    color:var(--bs-white);
    position: relative;
    text-decoration: none;
}
header nav .top-nav-link a:hover::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 4px;
    background: var(--bs-white);
    bottom: -6px;
    left: 0;
}
.dropDownLang {
    color:var(--bs-white) !important;
    border-color: var(--bs-white) !important;
}

#hamburger {
    position: fixed;
    width: var(--hamburger-width);
    height: var(--hamburger-height);
    transition-duration: 0.5s;
    top: 24px;
    right:24px;
    z-index:1401;
}
#hamburger span {
    background: var(--bs-white);
    display: block;
    height: 1px;
    margin: 7px 0 0 0;
    transition: .5s ease all;
    width: 40px;
}
.home #hamburger span {
    background: var(--hamburger-color) !important;
}
.home #hamburger.dark span {
    background: var(--bs-dark) !important;
}
#hamburger.open span,
.home #hamburger.open.dark span {
    background: var(--bs-darkblue) !important;
}
#hamburger.open span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
    position: fixed !important;
}
#hamburger.open span:nth-child(2) {
    width: 0px;
}
#hamburger.open span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
    position: fixed;
}
#site-logo.hide {
    display: none;
}
.top-nav-park-logo {
    height: 1.5rem;
    width: auto;
    margin-left:1.5rem
}
@media (min-width:768px) {
    .top-nav-park-logo {
        margin-left:2rem;
        height: 2.4rem;
    }
}
.top-nav-end {
    margin-right: 3rem;
}
.top-nav-social {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
}
.top-nav-social svg {
    height: 100%;
    width: auto;
}

#navMenu {
    width: 100%;
    max-width: unset;
    background: var(--bs-blue);
    padding: 1rem;
}
.navMenuHeader {
    height: 25px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 80%;
    gap: 0.5rem;
    padding: 0;
    margin-top: 20px;
}
.navMenuHeader img {
    height: 100%;
    width: auto;
}
.navMenuItems {
    color: var(--bs-white);
}
.navMenuItems p,
.navMenuItems p a {
    font-size: 2rem;
    color: var(--bs-white);
    text-decoration: none;
}
.navMenuItems ul li a {
    color: var(--bs-white);
    text-decoration: none;
}
@media (min-width: 480px) {
    .navMenuHeader {
        height: 36px;
        gap: 1.5rem;
        margin-top: 20px;
    }
}
@media (min-width: 576px) {
    .navMenuHeader {
        height: 46px;
        gap: 1rem;
        margin-top: 16px;
    }
}
@media (min-width: 768px) {
    #navMenu {
        width: 70vw;
        max-width: unset;
        padding: 2rem;
    }
    .navMenuHeader {
        height: 38px;
        width: 85%;
        margin-top: 2px;
    }
    .navMenuItems p,
    .navMenuItems p a {
        font-size: 3vw;
    }
    .top-nav-end {
        margin-right: 3rem;
    }
}
@media (min-width: 992px) {
    .navMenuHeader {
        height: 54px;
    }
    .top-nav-end {
        margin-right: 0;
    }
}
@media (min-width: 1200px) {
    #navMenu {
        width: 50vw;
        max-width: 800px;
    }
    .navMenuHeader {
        height: 42px;
    }
    #hamburger {
        display: none;
    }
}
@media (min-width: 1400px) {
    .navMenuHeader {
        height: 50px;
    }
}


#hamburger:hover {
    cursor: pointer;
}

.nav-menu {
    overflow: hidden;
    position: fixed;
    right: 0;
    top: 0;
    transition: width .5s ease;
    width: 0;
    height:100%;
    z-index: 1400;
    border-right: 1px solid;
    border-color: var(--nav-border-color);
}

.nav-menu.open {
    display: block;
    width: 100vw;
}

@media (min-width:768px) {
    .nav-menu.open {
        width: 70vw;
    }
}


footer {
    background-image: url(../images/footer-bg.webp);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: auto 100%;
    padding-top: 15vw;
    padding-bottom: 0;
    margin-top:4rem;
}
@media (min-width:768px) {
    footer {
        padding-top: 8vw;
        background-size: cover;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}
.footer-logo img {
    height: 40px;
    width: auto;
}

.social-icon {
    aspect-ratio: 1/1;
    object-fit: contain;
    object-position: center;
    width: 32px;
    height: auto;
    margin-left:1rem;
}
@media (min-width:768px) {
    .footer-logo img {
        height: 50px;
    }
}
@media (min-width:1200px) {
    .footer-logo img {
        height: 80px;
    }
}

.footer-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    align-items: center;
    justify-content: center;
}
.footer-nav li {
    font-size: 1rem;
}
.footer-nav li a {
    text-decoration: none;
    cursor: pointer;
}
.footer-nav li a:hover {
    text-decoration: underline;
}


.border-default-color {
    border-color: var(--nav-border-color) !important;
}

a.arrow-link {
    position: relative;
    padding-right: 4rem;
}
a.arrow-link::after {
    content:"";
    position: absolute;
    display: block;
    width: 2rem;
    height: 100%;
    right: 0;
    top:50%;
    transform:translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24.728' height='12.08' viewBox='0 0 24.728 12.08'%3E%3Cpath id='Path_6' data-name='Path 6' d='M682.176,390.113,693.4,401.339H669.881' transform='translate(-669.881 -389.76)' fill='none' stroke='currentColor' stroke-width='1'/%3E%3C/svg%3E%0A");    background-repeat: no-repeat;
    background-size: 60% auto;
    background-position: center left;
}

label.required::before {
    content: "*";
    color: #ff0000;
    margin-right: 0.25rem;
}


/** PAGE HEADER **/
.page-header {
    padding-top: 8rem;
    padding-bottom: 5rem;
    background-color: var(--bs-aqua);
}
.page-header h1 {
    position: relative;
    z-index: 1;
}
.page-header h1::before {
    content:"";
    position: absolute;
    top:50%; left:100px;
    transform: translate(-50%,-50%);
    aspect-ratio: 1/1;
    object-fit: contain;
    object-position: center;
    width: 12vw;
    max-width: 250px;
    height: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
} 

#backtotop {
    position: fixed;
    bottom:5rem;
    right:1rem;
    width: 3rem;
    height: 3rem;
    background-size: 80%;
    background-position: center;
    border-radius: 100%;
    background-color: var(--bs-white);
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23FF7A00' class='bi bi-chevron-up' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708z'/%3E%3C/svg%3E");
    cursor: pointer !important;
    transition: all .5 ease-in-out;
    z-index: 999;
}
#backtotop:hover {
    opacity: 0.7;
}

/** Main Content **/
main.main-content {
    margin-top: 80px;
}

.follow-us-text {
    font-family: var(--font-en-body) !important;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bs-white);
}
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: var(--bs-white);
}

.table th, .table td {
    border: 1px solid var(--bs-blue);
    padding: 8px;
    text-align: center;
}
.table th:not(:last-child) {
    border-right: 1px solid var(--bs-white);
}

.table th {
    background-color: var(--bs-blue);
    color: #fff;
}    
ol {
    margin: 20px 0;
}

li {
    margin-bottom: 15px;
}

/** RATIO **/
figure img,
figure video {
    object-position: center;
    object-fit: cover;
}
figure.landscape img,
figure.landscape video {
    aspect-ratio: 4/3;
}
figure.square img,
figure.square video {
    aspect-ratio: 1/1;
}
figure.portrait img,
figure.portrait video {
    aspect-ratio: 3/4;
}

@keyframes item-blur {
    from {filter: blur(0px);}
    to {filter: blur(8px);}
}
.blur {
    animation-name: item-blur;
    animation-duration: .6s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    
}
@keyframes item-dim {
    from {filter: brightness(1);}
    to {filter: brightness(.8);}
}
.dim {
    animation-name: item-dim;
    animation-duration: .6s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.copyright {
    font-size:0.6rem;
    margin:0;
    color: var(--bs-white);
}
@media (min-width:768px) {
    .copyright {
        font-size:0.8rem;
    }
}
.no-whitespace {
    white-space: nowrap !important;
}


.swiper-button-disabled {
    opacity: .2;
}

.bg-red {
    background-color: var(--bs-red) !important;
}
.bg-green {
    background-color: var(--bs-green) !important;
}
.bg-orange {
    background-color: var(--bs-orange) !important;
}
.bg-aqua {
    background-color: var(--bs-aqua) !important;
}
.bg-blue {
    background-color: var(--bs-blue) !important;
}
.text-red {
    color: var(--bs-red) !important;
}
.text-green {
    color: var(--bs-green) !important;
}
.text-orange {
    color: var(--bs-orange) !important;
}
.text-aqua {
    color: var(--bs-aqua) !important;
}
.text-blue {
    color: var(--bs-blue) !important;
}
.text-gray {
    color: var(--text-gray) !important;
}
.ratio4-3 {
    aspect-ratio: 4/3 !important;
    object-fit: cover;
    object-position: center;
}
.card {
    border-radius: 1rem !important;
}
.accordion-button:not(.collapsed)::after {
    background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/** GRAPHICAL BACKGROUND **/

.accordion-button:hover {
    text-decoration: underline;
}

.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } 
.embed-container iframe, 
.embed-container object, 
.embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.en-font {
    font-family: var(--font-en-body) !important;
} 

.bg-running-partners {
    background: url(../images/bg-running-partners.webp) no-repeat center bottom / 100% auto;
    padding-bottom: 18dvw;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bs-blue);
  --bs-btn-border-color: var(--bs-blue);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bs-blue-hover);
  --bs-btn-hover-border-color: var(--bs-blue-hover);
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--bs-blue-hover);
  --bs-btn-active-border-color: var(--bs-blue-hover);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--bs-blue);
  --bs-btn-disabled-border-color: var(--bs-blue);
}
.btn-secondary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bs-green);
  --bs-btn-border-color: var(--bs-green);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bs-green-hover);
  --bs-btn-hover-border-color: var(--bs-green-hover);
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--bs-green-hover);
  --bs-btn-active-border-color: var(--bs-green-hover);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--bs-green);
  --bs-btn-disabled-border-color: var(--bs-green);
}
a.btn-primary:visited,
a.btn-secondary:visited {
    color: #fff;
}

.deco-curve {
    width: 100%;
    height: auto;
    max-width: 180px;
}
@media (min-width: 768px) {
    .deco-curve {
        max-width: 240px;
    }
}
@media (min-width: 992px) {
    .deco-curve {
        max-width: 300px;
    }
}