@charset "utf-8";

.bm-menu {
    background-color: #956134;
}

.bm-menu li a {
    padding-left: 20px !important;
    color: white;
    background-color: #956134;
    font-size: 20px;
}

.bm-menu li a.router-link-exact-active {
    background-color: #B28247;
}

.bm-menu .dropdown-item:focus,
.dropdown-item:hover {
    color: white;
    text-decoration: none;
    background-color: #B28247;
}

.bm-menu .dropdown-menu.show {
    transform: translate3d(-5px, 5px, 0px) !important;
    border: 0;
}

.bm-menu li ul a {
    padding-left: 40px !important;
}

.bm-menu li ul {
    position: relative !important;
    padding: 0 !important;
}

.bm-item-list {
    margin: 0%;
}

.bm-item-list>* {
    padding: 0;
}

.bm-menu .router-link-exact-active {
    background-color: #B28247;
}

.bm-menu .navbar-nav .nav-link {
    white-space: nowrap;
}

.bm-cross-button .bm-cross {
    width: 6px !important;
    /* 調整寬度 */
    height: 30px !important;
    /* 調整高度 */
}

/*navbar 橫式選單模組*/
.navbar {
    background-color: #314d80;
}

.navbar ul {
    list-style-type: none;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/*<.navbar li { display:inline-block; float: left; margin-right: 1px;}>*/
.navbar li a {
    display: inline-block;
    min-width: 70px;
    height: 40px;
    padding: 10px 0px;
    font-size: 1rem;
    text-align: center;
    color: #fff;
    text-decoration: none;
    -moz-transition: all 200ms ease-in;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    transition: all 200ms ease-in;
}

.navbar li:hover a {
    color: #bfd1f1;
}

.navbar li i {
    padding-left: 5px;
}

.navbar li ul {
    display: none;
}

.navbar ul li a:hover+.navrwd+.menuhidden,
.navbar .menuhidden:hover {
    display: block;
}

.navbar ul li a:focus+.navrwd+.menuhidden,
.navbar ul li a:active+.navrwd+.menuhidden {
    display: block;
}

.navbar .menuhidden.navbar-menu {
    display: block;
}

.navbar ul li ul {
    position: absolute;
    padding: 0px;
    max-width: 200px;
    z-index: 999;
}

.navbar .navbar-menu li ul li {
    display: block;
    float: none;
    border-bottom: 1px solid #6287ca;
}

.navbar li ul li a {
    min-width: 110px;
    padding: 5px 8px;
    width: 100%;
}

.navbar li:hover ul a,
.navbar ul li a:focus+.navrwd+.menuhidden {
    background-color: #42629c;
    color: #ffffff;
    height: auto;
    line-height: 35px;
    z-index: 2;
}

.navbar li:hover ul a:hover {
    background: #102d63;
    color: #fff;
}

.navbar li .menuhidden.navbar-menu a {
    background-color: #42629c;
    color: #ffffff;
    height: auto;
    line-height: 35px;
    z-index: 2;
}

.navbar li .menuhidden.navbar-menu a:hover {
    background: #102d63;
    color: #fff;
}

.navbar .show-menu {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-decoration: none;
    color: #fff;
    background: #314d80;
    text-align: left;
    padding: 6px;
    display: none;
    font-size: 1.7rem;
}

.navbar input[type=checkbox] {
    display: none;
}

.navbar input[type=checkbox]:checked~#menu {
    display: flex;
}

.navbar ul li .menu-right {
    right: 0;
}

.navrwd-svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    display: inline-block;
    vertical-align: sub;
    padding-left: 2px;
    cursor: pointer;
}

.navrwd {
    display: inline-block;
}

@media screen and (max-width : 767px) {
    .navbar ul {
        position: static;
        display: none;
        padding: 0;
        width: auto;
    }

    .navbar ul li ul {
        position: relative;
        z-index: 0;
    }

    .navbar li {
        width: 100%;
        background: #42629c;
    }

    .navbar li a {
        width: 90%;
        height: 50px;
        padding: 15px 0px;
    }

    .navbar li ul li {
        width: 100%;
        border-bottom: 1px solid #6287ca;
    }

    .navbar ul li ul {
        max-width: none;
    }

    .navbar .show-menu {
        display: block;
    }

    .navbar li:hover ul a {
        background: #1c3d79;
        width: 100%;
    }

    .navbar li .menuhidden.navbar-menu a {
        background: #1c3d79;
        width: 100%;
    }

    .navrwd-svg {
        position: absolute;
        right: 15px;
        width: 30px;
        height: 27px;
        border: 1px solid #375894;
        border-radius: 5px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-top: -20px;
        cursor: pointer;
    }

    .navrwd-svg svg {
        width: 20px;
        height: 20px;
        fill: #fff;
    }
}

.navbar-svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    display: inline-block;
    vertical-align: sub;
    padding-left: 2px;
}

.navbar li:hover .navbar-svg {
    fill: #bfd1f1;
}

/**************************************************
= navbar 橫式選單
********************/
.navbar li a {
    height: 45px;
}

.navbar ul {
    max-width: 1600px;
    justify-content: center;
}

.navbar li ul li a {
    line-height: 2.2em;
    display: block;
}

.navbar ul li ul {
    display: block;
    visibility: hidden;
    opacity: 0;
    width: 0;
    text-align: center;
    background: #ffffff;
}

.navbar ul li:hover ul,
.navbar ul li a.active+.navrwd+.menuhidden,
.navbar ul li a.active:hover+.navrwd+.menuhidden,
.navbar ul li.navbar-item.active a:focus+.navrwd+.menuhidden,
.navbar ul li.navbar-item.active a:active+.navrwd+.menuhidden {
    display: table;
    max-width: 200px;
    visibility: visible;
    opacity: 1;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.navbar ul li ul.noItem,
.navbar ul li a.active+.navrwd+.menuhidden.noItem,
.navbar ul li a.active:hover+.navrwd+.menuhidden.noItem,
.navbar ul li.navbar-item.active a:focus+.navrwd+.menuhidden.noItem,
.navbar ul li.navbar-item.active a:active+.navrwd+.menuhidden.noItem {
    background: transparent;
    display: none;
}

.navbar ul li a:hover+.navrwd+.menuhidden,
.navbar .menuhidden:hover {
    display: table;
}

.navbar .menu-web {
    display: block;
}

.navbar .menu-web a:last-child {
    border-bottom: none;
}

.navbar .menu-mobile {
    display: none;
}

.navbar ul li ul.menuhidden.overflowRight {
    right: 0;
}

@media screen and (max-width: 767px) {
    .navbar ul li ul {
        display: none;
        visibility: visible;
        opacity: 1;
    }

    .navbar ul li:hover ul {
        height: auto;
        visibility: visible;
        opacity: 1;
        padding: 0px;
        display: none;
    }

    .navbar ul li a.active+.navrwd+.menuhidden,
    .navbar ul li a.active:hover+.navrwd+.menuhidden,
    .navbar ul li.navbar-item.active a:focus+.navrwd+.menuhidden,
    .navbar ul li.navbar-item.active a:active+.navrwd+.menuhidden,
    .navbar .menuhidden.navbar-menu {
        display: inline;
    }

    .navbar .menu-web {
        display: none;
    }

    .navbar .menu-mobile {
        display: block;
    }
}

/* nav-Vertical 直式選單 ********************/
.nav-Vertical ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-Vertical ul li .sub-menu-item {
    display: block;
    background: #eaf0fa;
    padding: 10px 15px;
    color: #4670bb;
    text-decoration: none;
    border-bottom: 1px solid #b2c3e1;
    -webkit-transition: 0.2s linear;
    -moz-transition: 0.2s linear;
    -ms-transition: 0.2s linear;
    -o-transition: 0.2s linear;
    transition: 0.2s linear;
    cursor: pointer;
}

.nav-Vertical ul li .sub-menu-item:hover {
    background: #4670bb;
    color: #ffffff;
}

.nav-Vertical ul li .sub-menu-item a {
    color: #0d6566;
}

.nav-Vertical ul li .sub-menu-item a:hover,
.nav-Vertical ul li .sub-menu-item a:focus,
.nav-Vertical ul li .sub-menu-item a:active,
.nav-Vertical ul li .sub-menu-item .active,
.nav-Vertical ul li .sub-menu-item:hover a {
    color: #ffffff;
}

.nav-Vertical ul li .menu-arrow svg {
    width: 16px;
}

.nav-Vertical ul li ul li .sub-menu-item {
    background: #d7e0ef;
    border-left: 4px solid transparent;
    padding: 10px 15px 10px 20px;
}

.nav-Vertical ul li ul li ul li .sub-menu-item {
    background: #eefefd;
    border-left: 4px solid transparent;
    padding: 10px 20px 10px 30px;
}

.nav-Vertical ul li ul li .sub-menu-item:hover,
.nav-Vertical ul li ul li ul li .sub-menu-item:hover {
    background: #6b8fcb;
    color: #ffffff;
    border-left: 4px solid #4670bb;
}


/* 其他自定義樣式可以在這裡添加 */

.theme {
    height: 110px;
    width: 100%;
    background: #ffffff;
    background-image: url(../frontimage/01.jpg);
    background-repeat: no-repeat;
    background-position: right top;
    ;
}

@media (max-width: 1600px) {
    .theme {
        background-position: -300px 0;
    }

}



/**************************************************
= navbar 橫式選單模組
********************/
.navbar {
    background-color: #956134;
    /*  border-bottom: 4px solid #91d075;*/
}

.navbar li a {
    color: #7F4F21;
    font-weight: 600;
}

.navbar li:hover a,
.navbar li a.active,
.router-link-exact-active {
    background-color: #C9A063;
    color: rgba(255, 255, 255);
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(255, 255, 255);
}

.navbar li:hover .navbar-svg {
    fill: #ffffff;
}

.navbar li:hover ul a,
.navbar ul li a:focus+.navrwd+.menuhidden {
    background-color: #ffffff;
    color: #7F4F21;
}

.navbar li:hover ul a:hover {
    color: #7F4F21;
    background-color: #EFEFEF;
}

.navbar li .menuhidden.navbar-menu a,
.navbar li .menuhidden a {
    background-color: #ffffff;
    color: #7F4F21;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: #ffffff;
}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
    color: #ffffff;
}

.router-link-exact-active {}

.navbar li .menuhidden.navbar-menu a:hover,
.navbar li .menuhidden a:hover {
    background-color: #EFEFEF;
}

.navbar li ul li {
    border-bottom: 1px solid #7F4F21;
    min-width: max-content;
}

.navbar .show-menu {
    color: #7F4F21;
    background: #ffffff;
}

.navrwd-svg {
    fill: #438125;
}

.navbar {
    padding: 0;
}

.highlights-container {
    background-image: url(../frontimage/04.jpg);
    background-position: right top;
    background-repeat: no-repeat;
    background-size: 20%;
}

footer {
    background-image: url(../frontimage/footer.jpg);
    background-repeat: repeat;
    font-weight: 700;
}

.pre-footer {
    background-image: url(../frontimage/buttom.png);
    background-repeat: no-repeat;
    background-size: cover;
    /* 設定背景顏色 */
    height: 270px;
}

main {
    background-image: url(../frontimage/0011.png), url(../frontimage/02.jpg);
    min-height: 1080px;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
    padding-top: 40px;
}


/*模組背景色*/
section {
    background: #ffffff;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    padding: 20px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.no-wrap {
    white-space: nowrap;
    /* 防止文字換行 */
}

/* :not(.module-content).module-padding.module-bg {
    background: #ffffff;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
} */


@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 22px;
        padding-left: 22px;
    }

    .bm-burger-button {
        display: none;
    }
}

@media (min-width: 1200px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 30px;
        padding-left: 30px;
    }
}

@media screen and (max-width: 767px) {
    .navbar li a {
        color: #7F4F21;
    }

    .navbar ul li,
    .navbar li a {
        background: #6bc542;
    }

    .navbar ul li:hover,
    .navbar li a:hover {
        background: #6bc542;
    }

    .navbar ul li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .navbar .show-menu .ct-hamburger svg {
        fill: #6bc542;
    }

    .navbar li:hover ul a {
        background-color: #cfe5a0;
        color: #146e25;
    }

    .navbar li:hover ul a:hover {
        background: #e2f0c4;
        color: #146e25;
    }

    .navbar li .menuhidden.navbar-menu a {
        background-color: #cfe5a0;
        color: #146e25;
    }

    .navbar li .menuhidden.navbar-menu a:hoverr {
        background: #e2f0c4;
        color: #146e25;
    }

    .navrwd-svg {
        background: #82d25e;
        border: none;
    }

    .navbar li ul li {
        border: 0;
    }

    .navbar li:hover a {
        color: #0d6722;
    }
}

@media screen and (min-width: 1680px) {
    .navbar>ul>li {
        padding: 0 18px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1679px) {
    .navbar>ul>li {
        padding: 0 8px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .navbar>ul>li {
        padding: 0 5px;
    }
}