/* styles for this sample only */
body {
    /* height: 3200px; */
    font-size: 16px;
    font-family: "Noto Serif TC", system-ui;
    font-weight: 500;
    color: #545454;
}

/* stellarnav */
.stellarnav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.stellarnav ul ul {
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
}

.stellarnav>ul>li>a {
    padding: 5px 10px;
}

.stellarnav ul li a {
    transition: 0.5s;
}

.stellarnav ul>li>a:hover {
    transition: 0.5s;
    color: #795F45;
}

.stellarnav ul>li>ul>li>a:hover {
    transition: 0.5s;
    background-color: #967656;
    color: white;
}

.stellarnav li.has-sub>a:after {
    display: none;
}

/* 手機板 */
/* 捲軸寬度及高度 */
.stellarnav.mobile.right>ul::-webkit-scrollbar {
    width: 10px;
    /*右側捲軸寬度*/
    height: 10px;
    /*下方捲軸高度*/
    border-radius: 150px;
}

/* 軌道背景底色 */
.stellarnav.mobile.right>ul::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* 滑桿顏色 */
.stellarnav.mobile.right>ul::-webkit-scrollbar-thumb {
    background: #77777740;
}

/* 滑桿滑鼠滑入時的顏色 */
.stellarnav.mobile.right>ul::-webkit-scrollbar-thumb:hover {
    background: #77777740;
}

/* 捲軸兩側頂端的按鈕 */
.stellarnav.mobile.right>ul::-webkit-scrollbar-button {
    display: none;
}

/* 捲軸兩側頂端的按鈕滑鼠滑入時的顏色 */
.stellarnav.mobile.right>ul::-webkit-scrollbar-button:hover {
    background-color: #77777740;
}

.stellarnav.mobile ul {
    background-color: white;
}

.stellarnav.mobile.right>ul {
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

.stellarnav.mobile>ul>li.has-sub.open {
    background-color: #7E9A88;
    color: white;
}

.stellarnav.mobile>ul>li.has-sub.open>a {
    color: white;
}

.stellarnav.mobile>ul>li.has-sub.open>ul>li>a {
    background-color: #ece8e6;
    color: #000000;
}

.stellarnav.mobile>ul>li>a.dd-toggle {
    padding-top: 5px;
    height: 44px;
    position: absolute;
}

.stellarnav.mobile>ul>li.has-sub.open>a.dd-toggle {
    padding-top: 7px;
}

.stellarnav.mobile>ul>li.has-sub.open a.dd-toggle .icon-plus:after {
    border-bottom: solid 3px #ffffff;
}

.stellarnav.mobile>ul>li.has-sub.open a.dd-toggle .icon-plus:before {
    border-bottom: solid 3px #ffffff;
}

/* stellarnav end */

.header {
    text-align: center;
}

.header a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 48px;
    text-decoration: none;
    color: #555;
    width: 100px;
    min-width: 100px;
}

.header a img{
    width: 100%;
}

.header p {
    margin: 10px 0 40px 0;
    font-size: 18px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.top_menu {
    padding: 13px 10px;
    position: relative;
    top: 0;
    left: 0;
    z-index: 99;
    background-color: white;
    transition: 0.5s;
}

/* sticky */
.top_menu.top_menu_sticky {
    position: sticky;
    /* box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3); */
    /* width: 95%; */
    margin: auto;
    /* border-bottom-left-radius: 65px;
    border-bottom-right-radius: 65px; */
    transition: 0.5s;
}

/* .top_menu.top_menu_sticky .top_menu02{
    width: 95%;
} */

.top_menu02 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    width: 100%;
    margin: auto;
}

.top_menu03 {
    max-width: 850px;
    width: 100%;
}

.top_menu04 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 10px;
}

.top_menu04 a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 27px;
    height: 27px;
    background-color: #967656;
    border-radius: 150px;
    margin-left: 10px;
    transition: 0.5s;
}

.top_menu04 a:hover {
    transition: 0.5s;
    transform: translateY(-6px);
}

.top_menu04 a:nth-of-type(1) {
    margin-left: 20px;
}

/* box search */
.search-container {
    max-width: 200px;
    width: 100%;
    border: 1px #DDDDDD solid;
    border-radius: 150px;
}

.search-container form {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.search-container input[type=text] {
    padding: 6px;
    font-size: 14px;
    border: none;
    border-radius: 150px;
}

.search-container input[type=text]:focus {
    outline: none;
}

.search-container button {
    width: 40px;
    height: 100%;
    font-size: 17px;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 0;
    border-top-right-radius: 200px;
    border-bottom-right-radius: 200px;
}

/* box search end */

@media only screen and (max-width : 1000px) {
    .stellarnav>ul>li>a {
        padding: 20px 23px;
    }
}

@media (max-width:960px) {

    /* .top_menu02 {
        flex-direction: column;
    } */

    .top_menu02 {
        padding-top: 30px;
    }

    .header a {
        padding: 0;
    }

    /* .top_menu03 {
        margin-top: 20px;
    } */

    .top_menu04 {
        justify-content: center;
    }

    .stellarnav .menu-toggle {
        position: absolute;
        left: 10px;
        top: 10px;
        padding: 0;
    }

    .search-container {
        max-width: 100%;
    }

    .search-container input[type=text] {
        padding: 6px 15px;
    }

}

@media (max-width:768px) {
    .top_menu{
        padding:20px;
    }
    /* .top_menu.top_menu_sticky{
        width: calc(100% - 95px);
    } */
    .header a{

        margin-right: 20px;
    }
}

@media screen and (max-width: 600px) {
    .search-container {
        float: none;
    }

    .search-container input[type=text] {
        float: none;
        display: block;
        text-align: left;
        width: 100%;
        margin: 0;
    }

    .search-container input[type=text] {
        border: 1px solid #ccc;
    }
}

@media (max-width:500px) {
    .stellarnav.mobile.right>ul {
        max-width: 100%;
    }
}

@media (max-width:400px) {
    .top_menu {
        padding: 25px 20px;
    }

    /* .top_menu.top_menu_sticky {
        border-bottom-left-radius: 35px;
        border-bottom-right-radius: 35px;
    } */

    .header a {
        min-width: 70px;
        width: 70px;
        margin-right: 0;
    }

    .top_menu03{
        margin-left: 30px;
    }

    .top_menu04 {
        max-width: 200px;
        margin: auto;
        flex-wrap: wrap;
    }

    .search-container {
        width: 100%;
    }

    .top_menu04 a:nth-of-type(1) {
        margin-left: 0;
    }

    a.menu-toggle {
        font-size: 15px;
    }
}

/* styles for this sample only */