/*@font-face {
    font-family: 'NotoSansTC';
    src: url('font/NotoSansTC-Light.otf');
}*/
html {
    font-size: 1.6em;
  }
  
  @media only screen and (max-width: 991px) {
    html {
      font-size: 1.1em;
    }
  }

body {
    background: #fff;
    font-family: serif;/*'NotoSansTC', */
}
main * {
    letter-spacing: 0.1em !important;
}

nav .sr-only-focusable {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}
.sr-only-main {
    z-index: 10; 
}

#navbarHeader .navbar-nav {
    gap: 0 4px;
}

.toTop {
    position: fixed;
    right: -5px;
    bottom: 10px;
    width: 4rem;
    z-index: 5;
    cursor: pointer;
} 

.breadcrumb {
    background: #fff ;
    font-weight: bold;
    padding: 0 0.5rem;
}
.breadcrumb .breadcrumb-item a {
    color: #777;
}
.breadcrumb .active {
    color: #333;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #777;
}

.text-shadow {
    text-shadow: -2px 2px 5px rgba(0,0,0, .2);
}

.border-half {
    border: 2px solid gray;
    border-radius: 10px;
}

.search-bar {
    border: 1px solid #5F8BDE;
    border-radius: 30px;
    background: #fff;
    box-shadow: 1px 1px rgba(0,0,0, .2);
    width: 260px;
}
.search-bar .fa {
    border-radius: 50%;
    background: #5F8BDE;
}
.search-bar input {
    width: 75%;
}

.bg-teal a:hover, .bg-teal a:focus {
    background: #43839E;
    color: #fff !important;
}

.dropdown-content {
    position: absolute;
    width: 100%;
    left: 0;
    display: none !important;
    background: #43839E;
    z-index: 1;
}
.dropdown-content a {
    color: #fff;
}

.drop-down:hover .dropdown-content
{
    display: flex !important;
}
li:focus-within  .dropdown-content
{
    display: flex !important;
}

.carousel {   
    width: 100%;
    /* min-height: 200px; */
    max-height: 700px;
    border-radius: 80% / 100%;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    overflow: hidden;
    box-shadow: 0 40px 0 CadetBlue;
    transition: .7s;
}

.carousel-item {
    /* height: 35vh; */
}
.carousel-item > img {
    /* object-fit: cover; */
    width: 100%;
    height: 100%;
}
.carousel-control-prev,
.carousel-control-next {
    background: none;
    border: none;
    font-size: 2em;
}

.bulletin {
    box-sizing: border-box;
    padding-left: 50px;
}
.bulletin .row {
    /* box-shadow: -10px 10px 10px rgba(0,0,0, .4);
    border-radius: 0 0 50px 50px; */
    box-shadow: -4px 4px 10px 1px rgba(0,0,0,0.5);
    border-radius: 0 0 1rem 1rem;
}

.news-card,
.info-card,
.rules-card {
    position: relative;
    word-break: break-all;
}

.card-date {
    position: absolute;
    width: auto;
    bottom: -20px;
    right: 0;
    background: #fff;
}

.card-content {
    height: 300px;
}

.news-card .card-content,
.news-card .card-date {
    border: 2px solid lightskyblue;
    box-shadow: -4px 4px 0 lightskyblue;
    border-radius: 7px;
}

.info-card .card-content,
.info-card .card-date {
    border: 2px solid gold;
    box-shadow: -4px 4px 0 gold;
    border-radius: 7px;
}

.rules-card .card-content,
.rules-card .card-date {
    border: 2px solid palegreen;
    box-shadow: -4px 4px 0 palegreen;
    border-radius: 7px;
}

.vr {
    position: relative;
}

.vr::after
{
    content: "";
    width: 4px;
    height: 102%;
    background: pink;
    position: absolute;
    top: -1vh;
    right: -1vw;
}

.btn-more {
    background: #DC3309;
    padding: 0 8px;
}

.title {
    position: relative;
}

.title h2 {
    /* font-size: 4em; */
    font-weight: bold;
    color: gold;
    text-shadow: -3px 3px #B15655;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
}

.title h2::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 6px;
    background: #fff;
    top: 110%;
    left: 0;
}

.content-box {
    position: relative;
}

.content-box img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    z-index: -1;
}

/* .content-box .centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
} */

.content-box .lefted {
    position: absolute;
    top: 15%;
    left: 5%;
}

button.right,
button.left  {
    background: none;
    border: none;
}

.select-box select {
    appearance: none;
    padding-left: 3px; 
    font-weight: bold;
    border: 3px solid #FFB532;
    width: 100%;
}

.select-box {
    box-sizing: border-box;
    width: 15em;
    height: 3em;
    line-height: 2;
    position: relative;
}

.select-box::after {
    content: '\25BC';
    background: #81ABD5;
    color: #fff;
    position: absolute;
    right: 3px;
    top: 3px;
    padding: 0 1em;
    pointer-events: none;
}

a:focus, button:focus, input:focus, select:focus {
    outline: 3px dashed red !important;
}

.w-33 {
    width: 33%;
}

.menu-logo img {
    width: 11rem;
}

.sm_footer {
    font-size: 0.7rem;
}

.btn-goback {
    width: 7rem;
}
.share-div {
    display: flex;
    align-items: center;
    justify-content: end;
}
.share-icon-1 {
    width: 1rem;
    height: 1rem;
}
.share-icon-2 {
    width: 1.5rem;
    height: 1.5rem;
}
.mobile-mode {
    display: none;
}
.web-mode {
    display: block;
}

.download-btn {
    width: 2rem;
}

/* banner */
.user-timeline-image {
    height: auto;
    max-width: 100%;
    /* min-height: 200px; */
    object-fit: cover;
    /* object-fit: contain; */
    object-position: right center;
}

@media (max-width: 1200px) {
    .border-half {
        border: none;
    }

    .bg-teal a:focus {
        background: #fff;
        color: #777 !important; 
    }

    .dropdown-content {
        background: #fff;
    }
    .dropdown-content a {
        color:#777;
    }

    .vr::after {
        height: 0;
    }

    .card-content {
        height: auto;
    }
}

@media (max-width: 992px) {
    .title h2 {
        left: 10px;
        transform: none;
    }

    .sr-only-main {
        visibility: hidden;
    }
}

@media (max-width: 768px) {
    .w-33 {
        width: 100% !important;
    }   
}

@media (max-width: 575.98px) { 
    nav h1 {
        width: 100%;
    }
    nav h1 img {
        width: 100%;
        transform: none !important;
    }
    .menu-logo img {
        width: 13rem;
    }
    .mobile-mode {
        display: block;
    }
    .web-mode {
        display: none;
    }
    .toTop {
        display: none;
    } 
}