body {
    font-family: Arial,Tahoma,Helvetica,"Microsoft JhengHei",sans-serif;
    padding-top: 0;
}


#mc-nav {
    box-shadow: none;
    z-index:2000;
    margin-bottom:0;
    y-background: #1f1f1f;
    y-padding:10px;
}



.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: #0000001a;
    border: solid rgba(0,0,0,.15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em #0000001a,inset 0 .125em .5em #00000026;
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}
#back-to-top .bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.bi-arrow-up {
        animation: updown 2s ease-in-out infinite; /* Adjust duration and timing function as needed */
    }

    @keyframes updown {
        0% {
            transform: translateY(0); /* Starting position */
        }
        50% {
            transform: translateY(-6px); /* Move up */
        }
        100% {
            transform: translateY(0); /* Return to starting position */
        }
    }


.bi-text-right {
    color:#000 !important;
    border: 0;
}

.bi-facebook, .bi-instagram, .bi-youtube {
    margin-right: 5px;
    color:#878787;
}





.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.navbar-toggler, .navbar-toggler:focus {
    box-shadow: none;
}


.bd-mode-toggle {
    z-index: 1500;
}

    .bd-mode-toggle .bi {
        width: 1em;
        height: 1em;
    }

    .bd-mode-toggle .dropdown-menu .active .bi {
        display: block !important;
    }



/* Carousel styling */
#introCarousel,
.carousel-inner,
.carousel-item,
.carousel-item.active {
    height: 100%;
}

    .carousel-item:nth-child(1) {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
    }

    .carousel-item:nth-child(2) {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
    }

    .carousel-item:nth-child(3) {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
    }

    .carousel {
    margin-bottom: 2.2rem;
    }

        

/* Height for devices larger than 576px */
@media (min-width: 992px) {
    #introCarousel {
        margin-top: -58.59px;
    }
}

.navbar .nav-link {
    color: #000 !important;
}

.navbar a:hover {
    background: none;
}

.navbar-toggler-icon {
  /*background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0)' stroke-linecap='round' stroke-miterlimit='1' stroke-width='1' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;*/
    color:#000;
}

/*.nav-item {
padding: 0 1.2rem;}*/


.dropdown .btn-dark, .dropdown .btn:first-child:active {
    background: none;
    border: 0;
    padding-top: 8px;
}

.navbar-brand {
    margin-right:0;
    max-width: 290px;
}



.bg-light {
    background-color: #f2f2f2 !important;
}

.bg-image :hover {
    transform :scale(1.05);
    transition: 0.3s;
}
.bg-image img {
    transition: .3s;
}


.mc-hr hr {
    border-top:0;
}


.mc-box {
    padding-top: .75rem;
    padding-bottom: .75rem;
    background-color: #f5f5f5;
    border: 1px solid #878787;
}

.mc-box-color {
    background-color: #4c4c4c;
    color:#fff;
    border: 0px solid #878787;
}


.mc-main-card a:hover {
    background-color: transparent;
}

footer a {
    text-decoration: none;
}


#back-to-top {
    display: inline-block;
    background-color: #767676;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 25px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    font-size: 21px;
    padding-top: 12px;
    color: #ffffff;
}


    #back-to-top:hover {
        cursor: pointer;
        background-color: #838383;
    }

    #back-to-top:active {
        background-color: #555;
    }

    #back-to-top.show {
        opacity: 1;
        visibility: visible;
    }