/*首頁*/
body{
    background-image: ;
    background-color: #ffffff;
}
#btn4{
    top: 199px;
}
.webWrap {
    /* width: 85%; */
    width: 72%;
    margin: auto;
    box-sizing: border-box;
    position: relative;
    bottom: 0;
}
/* .innerWrap{
    width: 90%;
    margin: 0 auto;
} */
/* header{
    margin-bottom: 0;
} */
header h1 {
    display: block;
    margin-bottom: 20px;
}
header h1 a{
    display: flex;
}
#SearchBar{
    width: 478px;
}
header .webWrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.searchKeyWordBarWrap{
    display: flex;
    align-items: center;
}
.searchKeyIcon{
    display: flex;
}
.searchKeyIcon a{
    display: inline-block;
    margin: 0px 2px;
    padding: 0;
    line-height: 1em;
}
.searchKeyIcon img{
    width: 26px;
    height: 26px;
}
.navContent{
    height: 100px;
    line-height: unset;
    display: flex;
    align-items: center;
}
.core-nav {
    background: #fffcda;
}
nav .menu li a{
    padding: 15px 10px 12px 10px;
}
.navContent .title{
    position: unset;
}
/*banner*/
section{
    width: 100%;
}
.index_mainContentWrap {
    width: 100%;
    display: flex;
    margin: 0 auto;
    display: block;
    position: unset;
}
#Banner{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.bannerList{
    width: 74.8%;
}
#Banner .flexslider{
    width: 100%;
}
.serviceButton {
    width: 23.5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px 0;
}
#Banner .flexslider .slides img{
    /* height: 245px; */
    height: auto;
}
.serviceButton li{
    width: 96%;
}
.serviceButton li a img{
    margin-bottom: 12px;
    width: 10%;
}
/*
.serviceButton{
    display: flex;
    width: 28%;
    flex-wrap: wrap;
}
.serviceButton li {
    width: 50%;
    padding-left: 0em;
    padding: 0;
    margin: 0;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.serviceButton li:nth-child(1) {
    background: #e5e5e5;
}
.serviceButton li:nth-child(4) {
    background: #e5e5e5;
}
.serviceButton li:nth-child(5) {
    background: #d9d9d9;
}
.serviceButton li:last-child {
    width: 100%;
}
.serviceButton li:hover {
    background: #fffcda;
}
.serviceButton li a{
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.5;
}
.serviceButton li a img{
    width: unset;
}*/
.newsList li{
    padding: 0.6em 0;
    line-height: 1.75;
}
/*公告資訊*/
.yellowPart .idtabs li{
    display: flex;
}
.themeBtn{
    display: flex;
    flex-wrap: wrap;
    padding: 0 8px;
    justify-content: center;
}
.themeBtn li ,.slide_toggle2 .themeBtn li{
    border-radius:unset;
    display: flex;
    align-items: center;
    width: 13%;
    min-width: 150px;
    margin: 5px 5px;
    height: unset;
    background-color:#fff;
    box-shadow:unset;
    border: 0;
    padding: 0px;
    border: 1px solid #c7cccf;
    border-radius: 5px;
}
.themeBtn li:hover{
    background: #9edfff;
    border-radius: 8px;
    border: 1px solid #9edfff;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}
.slide_toggle2 .themeBtn li:hover{
    border-radius: 8px;
    border: 1px solid #ffe3bb;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    background: #ffe3bb;
}
.themeBtn li:hover .GplusImgBox
,.slide_toggle2 .themeBtn li:hover .GplusImgBox{
    background-color: #e7e7e7;
}
.themeBtn li a,.slide_toggle2 .themeBtn li a{
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.25;
    font-size: 1.15em;
    color: #444444;
}
.themeBtn li a img,.slide_toggle2 .themeBtn li a img{
    padding: 30px;
}
.GplusImgBox{
    background-color: #f2f2f2;
    margin-bottom: 10px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 130px;
    height: 130px;
}
.themeBtn li a {
    position: unset;
    bottom: 0%;
    padding:12px 8px;
    width: 100%;
    margin: 0px;
}
.themeBtn li a:hover .GplusImgBox,
.slide_toggle2 .themeBtn li a:hover .GplusImgBox{
    background-color: #fff;
}
.svg{
    width: 60%;
    margin: 0 auto ;
}
.slide_toggle2 .themeBtn li a{
    color: #000;
}
/* .innerWrap{
    width: 90%;
} */
/*所有內頁*/
.leftBlock{
    width: 325px;
    padding: 10px 15px 20px 30px;
}
.mainContentWrap.withLeft{
    width: calc(100% - 325px);
    padding: 50px 30px 50px 15px;
}

.photoArea .flexslider .slides a{
    height: unset;
    position: relative;
    width: 100%; /* 佔總寬度的50%，也可以換成任何你想要的寬度 */
    padding-top: 60%;  /* 也是佔總寬度的50%，因此長寬一樣長 */
}
.photoArea .flexslider .slides a img{
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0; /* 將圖片固定在父層的大小 */
    width: 100%;
    height: 100%; /* 高和寬都填滿容器 */
    background-size: cover; /* 和background-image設定background-size: cover一樣，圖片剛好填滿 */
    object-position: center;
}


@media (min-width: 1200px) {
    .core-nav .nav-container {
        width: 85%;
        padding-right: 15px;
        padding-left: 15px;
    }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .mainContentWrap, .webWrap {
        width: 90%;
        padding: 1em;
    }
}
@media (max-width:1440px) {
    .webWrap{
        width: 90%;
    }
    .index_mainContentWrap{
        width: 100%;
    }
    /*所有內頁*/
    .leftBlock{
        width: 275px;
    }
    .mainContentWrap.withLeft{
        width: calc(100% - 275px);
    }
}
@media (max-width:1200px) {
    .webWrap{
        width: 94%;
    }
}
/*換過手機版尺寸改992*/
@media screen and (min-width: 992px) and (max-width: 1023px) {
    .index_mainContentWrap {
        width: 100%;
    }
    #Banner {
        flex-direction: column;
    }
    .bannerList {
        width: 100%;
    }
    .serviceButton{
        width: 100%;
    }
    .serviceButton{
        flex-direction:row;
    }  
    .serviceButton li a img {
        width: 20%;
    }
    #btn4 {
        top: 60px;
    }
}
@media (max-width:992px) {
    .mainContentWrap, .webWrap {
        width: 100%;
        padding: 1em;
    }
    header h1 {
        display: block;
        margin-bottom: 0px;
        margin-left: 50px;
    }
    #Banner{
        flex-direction: column;
    }
    .bannerList {
        width: 100%;
    }
    .serviceButton{
        width: unset;
        flex-direction: row;
    }   
    .serviceButton li a img {
        width: 20%;
    }
    .themeBtn{
        padding: 0 10px;
    }
    .themeBtn li, .slide_toggle2 .themeBtn li{
        width: 28%;
        margin: 8px 8px;
        display: flex;
        justify-content: center;
    }
    .GplusImgBox{
        height: unset;
    }
    .themeBtn li a, .slide_toggle2 .themeBtn li a{
        font-size: 1.2em;
    }
    .index_mainContentWrap{
        width: 100%;
    }
    /*
    .serviceButton {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
    }
    .serviceButton li,.serviceButton li:last-child{
        width: 100%;
        border-radius: 0px;
    }
    .serviceButton li{
        border-radius: unset !important;  
    }
    .serviceButton{
        height: unset;
    }
    .serviceButton li{
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    .serviceButton li a{
        flex-direction: row;
        padding: 10px;
    }*/
    .mainContentWrap.withLeft{
        width: 100%;
        padding: 50px 10px;
    }
    #Banner .flexslider .slides img{
        width: 100%;
        height: auto;
    }

}

@media (max-width:768px) {
    .index_mainContentWrap{
        padding: 0em;
    }
    .serviceButton{
        flex-direction:column;
    }  
    .serviceButton li a img {
        width: 10%;
    } 
}
@media screen and (min-width: 760px) and (max-width: 768px) {
    .serviceButton{
        flex-direction:row;
    }  
    .serviceButton li a img {
        width: 20%;
    } 
}
@media (max-width:560px) {
    .GplusImgBox{
        width: 100%;
    }
    .themeBtn li ,.slide_toggle2 .themeBtn li{
        width: 44%;
        margin: 4px 4px;
        min-width: unset;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
    .themeBtn li a img, .slide_toggle2 .themeBtn li a img{
        padding: 20px;
    }
    header .navContent .title{
        width: 386px;
    }
    header .navContent .title img:first-child{
        width: 20%;
        height: 20%;
    }
    header .navContent .title img:last-child{
        width: 80%;
    }
}
@media (max-width:360px) {
    header h1 a{
        align-items: center;  
    }
    header .navContent .title{
        width: 100%;
    }
}