html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

/*Navabr*/
.head-info {
    display: block;
    text-align: right;
    padding-top: 5px;
    padding-bottom: 2px;
    padding-left: 0;
}

    .head-info li {
        display: inline;
        margin-right: 10px;
        font-size: 18px;
        list-style: none;
    }

    .head-info i {
        margin-right: 8px;
        font-size: 20px;
    }

    .head-info li i {
        font-size: 1rem;
        color: white;
    }

    .head-info a {
        color: white;
        text-decoration: none;
    }

        .head-info a:hover {
            color: white;
            text-decoration: none;
        }

.navbg-hex5c4b51 {
    background-color: #5c4b51;
}

.nav-icon {
    display: block;
    text-align: right;
    padding-top: 5px;
    padding-bottom: 5px;
}

    .nav-icon li {
        font-size: 18px;
        box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.6);
        display: inline-block;
        height: 35px;
        margin-right: 5px;
        width: 35px;
        text-align: center;
        transition: background .5s ease-in-out;
        border: 2px solid #ffffff;
        cursor: pointer;
    }

@media only screen and (min-width: 200px) and (max-width: 480px) {
    .nav-icon {
        display: block;
        text-align: center;
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 0px;
    }

    .head-info {
        text-align: center;
    }

    .nav-button {
        text-decoration: none;
        border: none;
        display: block;
    }

        .nav-button:hover {
            box-shadow: 3px 3px 0 rgba(201, 201, 201, 1);
            color: #fff;
            background-color: #5C4B51;
        }
}

.nav-button:hover {
    box-shadow: 3px 3px 0 rgba(201, 201, 201, 1);
    color: #fff;
    background-color: #5C4B51;
}

.navbar-center {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .navbar-center li {
        display: inline;
        margin-right: 15px;
    }

    .navbar-center a {
        text-decoration: none;
        color: black;
    }

.p-6 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.home_menu {
    float: left;
    height: auto;
    position: fixed;
    top: 300px;
    left: 0;
    z-index: 9999;
    display: block;
}

#scroll_menu a {
    background-color: #5c4b51;
    color: #FFF;
    width: 40px;
    margin-top: 5px;
}

#scroll_menu {
    float: left;
    display: none;
}

.scroll_toggle {
    float: left;
}

.navbar-toggler {
    margin-top: 10px;
    margin-right: 15px;
    margin-bottom: 10px;
    background-color: #5C4B51 !important;
}


.navbar {
    opacity: 0.6;
    transition: opacity 0.3s ease-in-out;
}

    .navbar.scrolled {
        opacity: 1;
    }


/*footer*/
.footerbg-hex5c4b51 {
    background: #5c4b51;
}

.footerbg-hex34495e {
    background: #34495e;
}

.footer-title {
    font-size: 24px;
    margin: 0px 0px 25px 0px;
    line-height: 25px;
    letter-spacing: 1px;
}

.footer-desc a {
    text-decoration: none;
    color: white;
}

    .footer-desc a:hover {
        text-decoration: none;
        color: #5c4b51;
    }

.footer-underline {
    background-color: #ffffff;
    height: 3px;
    margin-top: 10px;
    text-align: center;
    width: 100px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
}

.pb-6 {
    padding-bottom: 10rem;
}

.symbol {
    list-style-type: none;
    padding: 0;
}

    .symbol li {
        list-style-type: none;
    }

        .symbol li:before {
            content: ">";
        }

.w-80 {
    width: 77%;
}

@media only screen and (min-width: 200px) and (max-width: 480px) {
    .container {
        flex-direction: column;
    }
}


/*首頁*/
.iconcolor-hex5c4b51 {
    color: #5c4b51;
    font-size: 3rem;
}

.title {
    display: block;
    margin: 0px 0 50px;
    text-align: center;
}

.underline {
    display: inline-block;
    margin-top: 0px;
    letter-spacing: 1px;
    padding-bottom: 10px;
    line-height: 40px;
    border-bottom: 4px solid #5C4B51;
    color: #3b3b3b;
}

.icon-background {
    border: 4px solid #5C4B51;
    background-color: #5C4B51;
    width: 90px;
    height: 90px;
    display: block;
    margin-right: 20px;
    border-radius: 100%;
    text-align: center;
}

.pull-left {
    float: left !important;
}

.icon-background i {
    color: #fff;
    font-size: 50px;
    position: relative;
    display: inline-block;
    line-height: 90px;
}

.media-body {
    overflow: hidden;
    zoom: 1;
}

.text-black {
    text-decoration: none;
    color: black;
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    float: left;
    margin-bottom: 10px;
    padding: 15px 75px;
    position: relative;
}

    .contact-info li .fa {
        color: #5c4b51;
    }

    .contact-info li .fa {
        position: absolute;
        top: 50%;
        left: 0;
        width: 50px;
        height: 50px;
        line-height: 50px;
        margin-top: -20px;
        font-size: 55px;
    }

.desc {
    color: #5C4B51 !important;
    font-size: 15px;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media only screen and (min-width: 200px) and (max-width: 480px) {
    .swiper-slide {
        width: 100% !important;
    }
}

p {
    color: #555;
}

.card-title {
    color: #5c4b51;
}

.color-hex5c4b51 {
    color: #5c4b51;
}

.read-background {
    width: 120px;
    height: 40px;
    background: #5c4b51;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 16px;
}

    .read-background:hover {
        background-color: #fff;
        border: 3px solid #5c4b51;
        text-decoration: none;
        color: #5c4b51;
    }

.card-link {
    color: #5c4b51;
    text-decoration: none;
}

    .card-link:hover {
        color: #5c4b51;
    }

.horizontal-line {
    display: inline-block;
    width: 100%;
    height: 2px;
    background-color: #f5f5f5;
}

.card {
    border-bottom: 4px solid #5c4b51;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 5px 5px, rgba(0, 0, 0, 0.24) 0px 1px 5px;
}

.newsbutton {
    text-align: center;
    margin-top: 15px;
}

.news-prev, .news-next {
    background-color: #fff;
    border: 2px solid #5C4B51;
    height: 40px;
    width: 90%;
}

    .news-prev:hover,
    .news-next:hover {
        background-color: #5C4B51;
    }

        .news-prev:hover i,
        .news-next:hover i {
            color: #fff;
        }

.parallax-window1 {
    min-height: 400px;
    background: transparent;
    height: 600px !important;
}

.parallax-window1 {
    padding-bottom: 90px;
    z-index: 0;
    position: relative;
}

    .parallax-window1:before {
        content: "";
        background: url(/img/9.jpg) fixed !important;
        position: absolute;
        z-index: -1;
        display: block;
        width: 100%;
        height: 100%;
        opacity: 0.55;
    }

.parallax-window2 {
    padding-bottom: 90px;
    z-index: 0;
    position: relative;
}

    .parallax-window2:before {
        content: "";
        background: url(/img/10.jpg) fixed !important;
        position: absolute;
        z-index: -1;
        display: block;
        width: 100%;
        height: 100%;
        opacity: 0.55;
    }

.enigma_slider_shadow {
    text-align: center;
}

    .enigma_slider_shadow img {
        height: 60px;
    }

.carousel-text {
    margin: 0 0 0 0;
    padding: 5px;
    font-size: 3em;
    font-weight: 700;
    color: #fff;
    line-height: 1.4em;
    background: #00000099;
}

.carousel-list {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    padding: 10px;
    line-height: 23px;
    background: #5c4b51cc;
    margin-bottom: 20px;
}

.carousel-button {
    font-size: 20px;
    color: #fff;
    padding: 10px 20px 10px 20px;
    transition: all ease 0.2s;
    margin-bottom: 20px;
    border-radius: 2px;
    background-color: #5C4B51;
    text-decoration: none;
}

    .carousel-button:hover {
        font-size: 20px;
        color: #5C4B51;
        padding: 10px 20px 10px 20px;
        transition: all ease 0.2s;
        margin-bottom: 20px;
        border-radius: 2px;
        background-color: #fff;
        text-decoration: none;
        border: 3px solid #5c4b51;
    }

.carousel-text1 {
    margin: 0 0 0 0;
    padding: 5px;
    font-size: 1.5em;
    font-weight: 700;
    color: #fff;
    line-height: 1.4em;
    background: #00000099;
}

.carousel-list1 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 4px;
    line-height: 23px;
    background: #5c4b51cc;
    margin-bottom: 20px;
}

.carousel-caption {
    top: 38%;
}

@media (min-width: 768px) {
    /* 初始狀態: 隱藏所有內容 */
    .carousel-item .carousel-text,
    .carousel-item .carousel-list,
    .carousel-item a {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }

    /* 定義飛入動畫 */
    @keyframes flyInRight {
        from {
            opacity: 0;
            transform: translateX(100%);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes flyInLeft {
        from {
            opacity: 0;
            transform: translateX(-100%);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes flyInUp {
        from {
            opacity: 0;
            transform: translateY(100%);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .carousel-item.active .carousel-text {
        opacity: 1;
        visibility: visible;
        animation: flyInRight 0.4s ease-in-out forwards;
    }

    .carousel-item.active .carousel-list {
        opacity: 1;
        visibility: visible;
        animation: flyInLeft 0.4s ease-in-out 0.1s forwards;
    }

    .carousel-item.active .carousel-button {
        opacity: 1;
        visibility: visible;
        animation: flyInUp 0.4s ease-in-out 0.1s forwards;
    }
}

.nav-icon li.facebook {
    background-size: 100% 200%;
    background-image: linear-gradient(to bottom, transparent 50%, #4C66A4 50%);
}

    .nav-icon li.facebook:hover {
        background-position: 0 -100%;
        background-color: #4C66A4;
    }

.nav-icon li.youtube {
    background-size: 100% 200%;
    background-image: linear-gradient(to bottom, transparent 50%, #C92228 50%);
}

    .nav-icon li.youtube:hover {
        background-position: 0 -100%;
        background-color: #C92228;
    }
/*內文*/
@media (min-width: 768px) {
    .bg-breadcrumb {
        padding-top: 250px !important;
    }

    .bg-bread {
        padding-top: 250px !important;
    }
}

.bg-breadcrumb {
    background: #edf0f2;
}

.zi_box_8 {
    padding: 1em;
    margin: 2em 0;
    color: #474747;
    background: #eee;
    border-left: solid 5px #5C4B51;
}

.link-color {
    color: black !important;
    text-decoration: none;
}

    .link-color:hover {
        color: #428bca !important;
    }

.imgstyle {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
    width: 616px;
    margin: 0 auto;
}

.imgstyletext {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}


.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.margin-auto {
    margin: 0 auto;
    display: block;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.aligncenter {
    text-align: center;
}

.header-sep {
    border: 0;
    height: 4px;
    color: #f5f5f5;
    background-color: #f5f5f5;
}


.my-7 {
    margin-top: 7rem;
    margin-bottom: 7rem;
}






/*main*/
p {
    color: #555;
}

.w-85 {
    width: 78%;
}


.img-style {
    float: right;
    margin-left: 20px;
    max-width: 25%; /* 設定圖片的最大寬度為容器寬度的50% */
    height: auto; /* 使圖片等比縮小 */
}

.img-style2 {
    max-width: 100%; /* 設定圖片的最大寬度為容器寬度的50% */
    height: auto; /* 使圖片等比縮小 */
}

.img-style3 {
    width: 45%;
    height: auto;
}

.color777777 {
    color: #777777;
}

.table-style {
    max-width: 100%;
    background-color: transparent;
    border-spacing: 0;
    border-collapse: collapse;
}

.my-t {
    width: 50%;
}

.bg-bread {
    background: #edf0f2;
}

blockquote {
    background-color: #f6f5f5;
    border-left: 5px solid #5C4B51;
}

blockquote {
    border-left: 5px solid #5C4B51;
}



blockquote {
    background-color: #f6f5f5;
}

.resized-img {
    width: 600px;
    height: auto;
}

.resized-img2 {
    width: 340px;
    height: auto;
}

.alignleft {
    margin: 5px 20px 20px 0;
}

.enigma_sidebar_widget {
    border-left: 3px solid #5C4B51;
    border-right: 3px solid #5C4B51;
    border-bottom: 3px solid #5C4B51;
}

.enigma_sidebar_widget {
    margin-bottom: 30px;
    margin-top: 10px;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(0, 0, 0, .7);
    padding: 0px 20px 15px 20px;
}

.custom-input-group {
    width: 250px; /* Set your desired width here */
    height: 50px;
}

.btn-search {
    background: #5C4B51 !important;
}

.icon-color {
    color: white;
}

.list-unstyled {
    list-style: none;
}

.bg-5C4B51 {
    background-color: #5C4B51
}

.enigma_sidebar_widget_title {
    background: #5C4B51;
    color: white
}

.enigma_sidebar_widget_title {
    margin-bottom: 20px;
    margin-left: -20px;
    margin-right: -20px;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.custom-input-group {
    max-width: 100%; /* Ensure it doesn't exceed container's width */
}

.input-group {
    display: flex;
    align-items: center;
    width: 100%;
}

.form-control,
.btn-search {
    border-radius: 0.25rem;
    height: calc(1.5em + 0.75rem); /* Adjust based on desired input height */
    padding: 0.375rem 0.75rem; /* Adjust padding to match input height */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .input-group {
        flex-wrap: wrap; /* Wrap input and button on smaller screens */
    }

    .form-control {
        flex: 1 1 auto; /* Allow input to grow horizontally */
    }

    .btn-search {
        /* Adjust button width as needed for smaller screens */
        width: 40px; /* Example adjustment */
    }
}


.blog-date-left {
    list-style: none;
    float: left;
    padding: 0px;
    transition: all 0.4s ease 0s;
}

.post-content-wrap {
    float: left;
}

.enigma_post_date {
    background: #5C4B51;
    color: #ffffff;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    transition: all 0.4s ease 0s;
    width: 100px;
    height: 100px;
}
/*.enigma_post_author {
    width: 100px;
    text-align: center;
    margin-top: 0px;
}*/
.enigma_post_author img {
    height: 100px !important;
    max-width: 100%;
}

.author_detail_img {
    height: 100px;
}

.blog-date-left {
    list-style: none;
    float: left;
    padding: 0px;
    transition: all 0.4s ease 0s;
}

@media only screen and (min-width: 767px) and (max-width: 992px) {
    .blog-date-left {
        display: flex;
        margin-bottom: 0px;
    }
}

@media only screen and (min-width: 767px) and (max-width: 992px) {
    .enigma_fuul_blog_detail_padding {
        padding-left: 0px;
        padding-top: 20px;
    }
}

.enigma_fuul_blog_detail_padding {
    padding-left: 20px;
    float: left;
    width: 100%;
}

@media only screen and (min-width: 767px) and (max-width: 992px) {
    .post-content-wrap {
        width: 100%;
    }
}

.enigma_blog_comment {
    border-radius: 0px;
    display: block;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    width: 100px;
    height: 100px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    text-align: center;
    margin-top: 0px;
    color: #999999;
    background: #f6f6f6;
}

.enigma_blog_full {
    margin-bottom: 20px;
    margin-top: 10px;
    padding: 0px;
    float: none;
}

.enigma_blog_post_content {
    float: left;
    margin-bottom: 10px;
    width: 100%;
}

.pt-6{
    padding-top:5rem;
}

.my-6{
    margin-top:4rem;
    margin-bottom:6rem;
}
