body {
    /* background-image: url(../Image/bg-angle.jpg); */
    -webkit-overflow-scrolling: touch;
    background-color: #f4f4f4;
}

/*Header*/

/*top選單*/
#openMenu {
    display: none;
}

#mobile-menu {
    background: url(../Image/bg-mobilemenu.gif) repeat;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#mobile-menu>* {
    display: flex;
}

.back-home {
    background-color: #CFB53B;
    align-items: stretch;
}

.back-home a {
    color: #fff;
}

.anti-scam {
    color: #CFB53B;
}

/*logo區與檢索列*/
.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0
}


.social ul {list-style: none;margin: 0;padding: 0;}


    .social ul li {

        display: inline-block;
    }

.header-wrapper form .fa-search {
    margin-left: -48px;
    width: 48px;
    z-index: 103;
    color: #00BCD4;
}

/*檢索列*/
.header-wrapper form {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-wrapper form>* {
    font-size: 1.2em
}

.header-wrapper .search select {
    padding: 10px;
    height: 48px;
    border: 1px solid #e2dfda;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.header-wrapper .search input[type="text"] {
    width: 220px;
    height: 48px;
    margin: 0 5px 0 -1px;
    padding: 10px;
    border: 1px solid #e2dfda;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    background: #fff;
    position: relative;
}

.header-wrapper .search .btn-search {
    cursor: pointer;
    color: #FFF;
    height: 58px;
    border: none;
    margin: 0 15px 0 0;
    background-color: #668797c2;
    border-radius: 8px;
    padding: 0 12px;
    text-align: center;
    transition: opacity 1.5s;
}


/*分享*/
.social img {
    width: 40px;
    opacity: 0.7;
}

/*主要館別*/
.nav-wrapper {
    padding: 0 5px;
    position: relative;
    background-color: #fff;
    scroll-behavior: smooth;
}

#main-catalog {
    /*background: #fff;
    font-size: 1.55em;*/
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    position: relative;
    width: 100%;
    /* overflow: auto; */
    scrollbar-width: none;
}
#main-catalog > *, #main-catalog > span > a {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    color: #fff;
    background-color: #ca971a;/*#00BCD4*/
    margin-right: 1px; 
    /*border-right: 1px #dfdcd7 solid;*/
    flex: 1;
    height: 42px;
}

.drop-down-menu {
    width: 100%;
}

/*
#main-catalog > a.has-sub {
    padding-right: 50px;
}

#main-catalog ul {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    align-items: center;
}

#main-catalog ul li {
    width: calc(100%/8);
    text-align: center;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 2px;
    flex-wrap: wrap;
    border-right: 1px solid #fff;
}
#main-catalog > a:hover ul {
    visibility: visible;
    left: auto;
}
#main-catalog > ul > li {
    float: left;
    z-index: 1000;
    list-style: none;
}
#main-catalog > ul > li a {
    width: 55%;
}
#main-catalog ul li:hover ul{
    visibility: visible;
}*/
/* #main-catalog .drop-down-menu{
    width: 100%;
}
#main-catalog .drop-down-menu ul {
    position: absolute;
    width: 150px;
    overflow: visible;
    clear: left;
    margin-top: 50px;
    z-index: 99;
    visibility: hidden; /*先打開預覽css*/
    /* list-style: none;
    background: #e8e8e8;
    opacity: 0.99;
}
#main-catalog .drop-down-menu ul li {
    text-align: left;
}
#main-catalog .drop-down-menu ul li a {
    padding: 10px;
    width: 150px;
    font-size: 18px;
    background: #7d7c7c;
    text-decoration: none;
    color: #fff;
    -webkit-transition: color .2s ease;
    -moz-transition: color .2s ease;
    -ms-transition: color .2s ease;
    -o-transition: color .2s ease;
    transition: color .2s ease;
} */ 




/*手機版下方固定選單*/
#mobile-menu-bottom {
    background-color: #858788;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    z-index: 98;
}

#mobile-menu-bottom a {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    background-color: #225558;
        /*#123133*/
    color: #fff;
    flex: 1;
    height: 36px;
    text-align: center;
    margin-right: 1px;
}

#mobile-menu-bottom a:last-child {
    margin-right: 0;
}

/*主要內容區*/
/*owl輪播區塊*/
.owl-theme .owl-dots .owl-dot.active span {
    background: #a9a79a;
}

.owl-theme .owl-dots .owl-dot span {
    width: 13px;
    height: 13px;
    background: #e0d9d9;
    margin: 5px 9px;
}
/* 讓圖片疊在一起
.owl-theme {
	position: absolute;	 
}*/

/*上方輪播區*/
/* #activites-L,
#activites-R {
    padding: 0 0 15px;
} */

/*上方輪播區dots樣式*/
#activites-L .owl-dots,
#activites-R .owl-dots {
    margin-top: -29px;
    position: absolute;
    right: 10px
}

/* BodyContentMain區*/
/*grid-2 兩格內容輪播樣式*/
#moocs .owl-carousel .item,
#cases .owl-carousel .item {
    border-radius: 8px;
    background-color: #ffffff;
    padding-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
}

#moocs .owl-nav,
#cases .owl-nav {
    position: absolute;
    top: -73px;
    right: 15px
}

#moocs .owl-nav span,
#cases .owl-nav span {
    color: #f2f2f2;
    font-size: 0;
}

#moocs .owl-theme .owl-nav [class*=owl-]:hover,
#cases .owl-theme .owl-nav [class*=owl-]:hover {
    background: transparent;
}

#moocs .owl-nav span:after,
#cases .owl-nav span:after {
    display: inline-block;
    margin: 0;
    width: 28px;
    color: #000
}

#moocs .owl-nav .owl-prev span:after,
#cases .owl-nav .owl-prev span:after {
    content: url(../Image/btn-pre.png);
}

#moocs .owl-nav .owl-next span:after,
#cases .owl-nav .owl-next span:after {
    content: url(../Image/btn-next.png);
}

#moocs .owl-dots,
#cases .owl-dots {
    padding-top: 8px;
}

/*grid區塊、list個別設定*/
/*卡片縮圖統一樣式*/
.thumb {
    overflow: hidden;
    max-height: 155px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px
}

.grid-1 .thumb {
    max-height: 175px/*168px*/;
}

.list dl  , .list ul, .house-active dl {
    width: 100%;
    margin-top: 0;
    flex-wrap: wrap;
}

.list ul {
	list-style: none;
	padding-left: 0;
}

.list dl dd , .list ul li{
    border-bottom: 1px dashed #b5b5b5;
    margin: 0;
}
.list dl dd:last-child , .list ul li:last-child {
    border-bottom-width: 0px;
}
/*#news, #lawdata倒數兩條顏色變淡*/
/*
#news .list dl dd:last-child , #news .list ul li:last-child,#lawdata .list dl dd:last-child , #lawdata .list ul li:last-child  {
    opacity: 0.4;
}

#news .list dl dd:nth-last-child(2), #news .list ul li:nth-last-child(2), #lawdata .list dl dd:nth-last-child(2), #lawdata .list ul li:nth-last-child(2) {
    opacity: 0.55;
}
*/
.list dl dd a:before , .list ul li a:before, .house-active dl dd a:before{
    content: url(../Image/ico-list.png);
    display: inline;
    padding: 0 10px;
}
/*
.list ul li a:before {
    content: url(../Image/ico-list.png);
    display: inline;
    padding: 0 15px;
}
*/
.list dl dd a , .list ul li a{
    font-size: 1.125em;
    display: block;
    padding: 5px 10px 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 2em;
}

.list dl dd a em {
    color: #106772;
    font-style: normal;
    font-weight: bold;
    padding-left: 8px;
}


.list .btn-primary.large {
    margin: 0 10px 15px
}

.list dl dd a span {
    color: #1698b1;
}



/*#topic 會員專區*/
#topic {
    border-left: 7px solid #e2c47b;
}
#topic img {
    max-width: 100%;
    height: 72px;
}

#topic .aa {
    background-color: #C1A64F;
	background: linear-gradient(to right, #cae852 0%, #6bbfd7 100%);
	background: linear-gradient(to right, #18c0d5 0%, #00ccd475 100%);
	background: linear-gradient(to right, #18c0d5cc 0%, #00ccd440 100%);
}

#topic .bb {
    background-color: #3e60b1;
	background: linear-gradient(to right, #cae852 0%, #6bbfd7 100%);
	background: linear-gradient(to right, #a0e753a6 0%, #6bbfd7e0 100%);
}
#topic .cc {
    background-color: #3e60b1;
	background: linear-gradient(to right,#ff9f98 0%, #ffc8d0 100%);
}

.topic-icon, .icon2 {
    width: 350px;
    border-radius: 7px;
    color: #111;
    /* font-weight: bold; */
    /* line-height: 57px; */
    font-size: 2em;
    margin-bottom: 0px;
    padding-left: 13px;
    padding: 10px 13px 10px;
    display: inline-block;
    /* text-shadow: #aaaaaa 1px 2px 1px; */
    box-shadow: #d5d5d5 3px 4px 5px;
    text-align: center;
}
.topic-icon small{display: block;font-size: 0.58em;}

.Lecture_Point .icon {
    height: 58px;
}

.Lecture_Point .icon2 {
    height: 76px;
}

/*#bookhouse 元照書屋*/
#bookhouse {
    /*border: 1px solid #CFB53B;*/
	border-left: 7px solid #f17970c4;
	padding-top: 14px;
}
#bookhouse img {width: 94%;margin: 3%;}
#bookhouse .house-link{}
#bookhouse .house-link a{ color:#c00;}
.house-active dt {
    font-size: 1.25em;
    font-weight: bold;
    color:#106772;
    padding: 0 10px 5px;
}
.house-active dl dd{
    _border-top: 1px dashed #b5b5b5;
    margin: 0;
}
.house-active dl dd a{
    font-size: 1.125em;
    display: block;
    padding: 0 10px 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.house-active dl dd small {
    font-size: 1em; 
    padding-left: 0.3em;
    color: #CFB53B/*#717171*/;
}
.house-active dl dd date {
    font-size: 0.8em; 
    padding-left: 0.3em;
    color: #106772/*#717171*/;
}

/*#bookhouse 元照書屋new樣式*/
.house-active li {
	list-style: none;	
    padding: 5px 10px 5px 0;
	border-top: 1px dashed #b5b5b5;
}

.active .NewsStyle{margin-bottom: 0.7rem;}

.active .NewsStyle mark {
    font-size: 0.9em;
    padding: 1px 6px;
    background-color: #f17970c4;
    color: #fff;
    border-radius: 5px;
}

.active .NewsStyle sup {
    vertical-align: text-top;
    font-size: 0.9rem;
    /*color: #257398;
    font-weight: bold;*/
}





#eMag .list dl {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

#eMag .list dl dd {
    border-bottom: 0px dashed #b5b5b5;
    width: 50%;
    font-size: 1.125em;
}

#blog_beta h3 a {
    color: #257398;
    font-size: 1.15rem;
    font-weight: normal;
}

/*#books_beta 貝塔書籍*/
#exam_beta a{color: #257398;font-size: 1.15rem;}
#exam_beta p {
    margin-right: 7%;
    text-align: justify;
    line-height: 1.7rem;
}


.beta_book img {
    max-width: 75%;
    margin: 0 auto;
}

.beta_book .btn-primary{
    margin: 0 ;
}

.beta_book p{margin: 0 auto;}

/*論文*/

.thesis_book  {
   padding: 1em;
}


.thesis_book img {
    max-width: 75%;
    margin: 0 auto;
}

.thesis_book .btn-primary{
    margin: 0 ;
}

.thesis_book p{margin: 0 auto;}




/*grid-3 三格內容*/
#mags .grid-3,
#books .grid-3 {
    border-bottom: 1px solid #fff;
    border-radius: 0
}

#books h3 {
    text-align: center;
}

.grid-3 h2 {
    text-align: center;
    line-height: 1.2;
}

.grid-3 h2 span {
    display: block;
}

/*電子書個別設定*/
#ebook .context-box {
    display: flex;
    flex-wrap: wrap;
    padding: 0 15px;
}

#ebook .grid-3 {
    border-radius: 0;
    align-content: flex-start;
}

#ebook .grid-3 a {
    display: block;
    width: 100%;
}

#ebook .grid-3 h2 {
    text-align: left;
}
#cooper { 
    padding: 5px;
    align-items: center;
    background-color: #f2f2f2;
}
#cooper a { 
    flex:1;
    display: flex;
    justify-content: center;
}

footer .copyright {
    border-top: 1px solid #93aebc;
}

footer .copyright div {
    align-self: center;
    text-align: left;
    padding: 8px 15px;
}

footer a {
    color: #e0d9d9;
}

footer dl {
    padding: 0 15px;
}

footer dd {
    margin: 0;
}

footer dd:before {
    content: url(../Image/ico-footerlist.png);
}
.trust {display: flex; justify-content: flex-start;     align-items: center;}
.trust > * {padding: 8px;}
.seal {display: flex; justify-content: center; align-items: center;}
.seal img {padding-right: 3px;}

#openAD {
    display: none;
}

#float-AD {
    position: fixed;
    z-index: 99;
    bottom: 5px/*50px*/;
    width: 180px;
    /*AD要有統一寬度*/
    transition: 0.3s;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}

.showAD {
    background-color: #fff;
}

.btn-AD {
    background-color: #CFB53B;
    color: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
    width: 30px;
    line-height: 1.35/*1.2*/;
    padding: 10px 9px;
    display: block;
    text-align: center;
    position: absolute;
    left: -30px;
    top: 0px;
    cursor: pointer;
}

#btn-social {
    position: fixed;
    z-index: 99;
    top: 60px/*75px*/;
    width: 120px/*40px*/;
    right: 0;
    font-size: 1.25em;
}
#btn-social > * {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0 5px;
    justify-content: right/*center*/;
    text-align: center;
}
#btn-social .btn-reserve {
    background-color: #106772;
    color: #fff;
    border-radius: 10px;
    padding: 5px;
	margin-bottom: 8px;
    margin-left: 6px;
    width: 40px;    
}
#btn-social .btn-line {
    background-color: #fff;
    color: #00c200;
    border-radius: 10px;
    padding: 5px;
	margin-bottom: 8px;
    margin-left: 6px;
	height: 70px;
    /*width: 40px;
	border: #00c200 1px solid;*/
}
#btn-social .btn-vip {
    background-color: #CFB53B;
    color:#fff;
    border-radius: 10px;
    padding: 5px;
	margin-bottom: 8px;
    margin-left: 6px;
	height: 70px;
    /*width: 40px;*/
}

/*手機 600px*/
/*平版 和小尺寸螢幕 1249px*/
@media screen and (max-width:1249px) {
    /*.swiper 手機版改成左右滑動*/
    .swiper {
        overflow-x: auto;
    }

    .context-box .grid-2,
    .context-box .grid-1 {
        margin: 0 0 0 15px;
    }

    .member-box {
        margin: 0 0 15px 0;
    }

    .context-box img {
        width: 200px;
    }

    .grid-3 h2 {
        font-size: 1.05em !important;
    }
    /*#news, #lawdata  h1右側按鈕下移一行&靠右*/
    #news .context-header, #lawdata .context-header {
        flex-wrap: wrap;
    }
    #news .context-header div, #lawdata .context-header div {
        text-align: right;
        width: 100%;
    }
    /*設定足夠寬度，讓內容可以左右拖拉。內容會依據寬度平均縮放*/
    #topic .context-box {
        width: 200%;
    }

    #mags .context-box {
        width: 150%;
    }

    #books .context-box {
        width: 150%;
    }

    /* 電子書手機版才需要左右拖拉 */
    #ebook .context-box {
        width: 100%;
        padding: 0 8px;
    }

    .top-wrapper {
        text-align: right;
        position: fixed;
        z-index: 100;
    }

    .btn-openMenu {
        width: 56px;
        height: 70px;
        padding: 15px;
        display: inline-block;
        cursor: pointer;
        transition: all 0.2s ease-in;
        line-height: 10px;
        position: fixed;
        right: 0;
        top: 0;
        z-index: 101;
    }

    .btn-openMenu span {
        height: 4px;
        width: 100%;
        background-color: #CFB53B;
        display: inline-block;
        transition: all 0.5s cubic-bezier(.62, .43, .35, 1.47);
    }

    #openMenu:checked~.btn-openMenu span:nth-child(1) {
        width: 100%;
        transform: rotate(45deg) translateY(4px) translateX(5px);
    }

    #openMenu:checked~.btn-openMenu span:nth-child(2) {
        width: 0;
    }

    #openMenu:checked~.btn-openMenu span:nth-child(3) {
        width: 100%;
        transform: rotate(-45deg) translateY(-9px) translateX(10px);
    }

    nav#mobile-menu {
        overflow: hidden;
        transition: all 0.4s ease;
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 0;
        padding: 0;
        z-index: 1;
    }

    nav#mobile-menu a {
        transition: all 0.4s cubic-bezier(.22, .43, .35, 1.5);
        opacity: 0;
        transform-origin: top;
        text-align: center;
        border-bottom: 1px solid #b4ac97;
    }

    #openMenu:checked~nav#mobile-menu {
        height: 71vh;
        padding-top: 10px;
        overflow-y: auto;
        align-items: flex-start;
    }

    #openMenu:checked~nav#mobile-menu a {
        padding: 10px;
        opacity: 1;

    }

    #openMenu:checked~.overlay {
        display: block;
    }

    .submenu {
        flex-direction: column;
        width: 100%;
    }

    .submenu a {
        line-height: 1.75;
        width: 100%;
        font-size: 1.25em;
    }

    .back-home {
        display: none !important;
    }

    .header-wrapper {
        width: 100%;
    }

    .header-wrapper .logo {
        padding: 10px;


    }
/*
    .social ul {
        margin-left: -2em;


    }*/


    

    .social img {
        width: 24px;


    }


    .header-wrapper .search_google {
        display: none;
    }


    /*檢索列*/
    .header-wrapper .search {
        align-self: flex-end;
    }

    .show-search {
        display: inline-block;
        margin: 4px 56px 4px 0;
        padding-left: 15px;
        padding-right: 15px;
        height: 62px;
        line-height: 62px;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
        -moz-user-select: none;
        -khtml-user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;
        font-size: 1.5em;
    }

    #mobile-search:before {
        content: "";
        background: url(../Image/search-logo-angle.png) center no-repeat;
        background-size: 100%;
        display: block;
        width:177px;
        height: 32px;
        font-size: 1.75em;
        position: absolute;
        top: 20%;
    }

    #mobile-search {
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 101;
        position: absolute;
        width: 100vw;
        height: 0;
        left: 0;
        top: 0;
        padding: 15px 15px 50px;
        background-color: #f2f2f2;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.25);
        transition: height 0.4s ease;
    }

    .anti-scam {
        animation: flash 6s infinite
    }

    #mobile-search.show {
        height: 50vh;
    }

    .header-wrapper form .fa-search {
        display: none;
    }

    #mobile-search .btn-search {
        position: absolute;
        top: 65%;
        width: 120px;
        margin-left: -110px;
    }

    #mobile-search .btn-adv-search {
        display: none;
		display: inline-flex;
		align-items: center;
		color: #FFF;
		height: 46px;
		margin: 0;
		background-color: #106772;
		border-radius: 8px;
		padding: 0 12px;
		text-align: center;
		position: absolute;
		top: 65%;
		margin-right: -110px;
    } 

    .close-search {
        display: flex;
        height: 36px;
        width: 36px;
        justify-content: center;
        padding: 0;
        position: absolute;
        right: 15px;
        top: 15px;
    }

    .close-search .fa-close {
        font-size: 2em;
        color: #b5b5b5;
    }

    /*主要館別*/
    .nav-wrapper {
        padding: 0 35px;
    }

    #main-catalog {
        width: 100%;
        flex-flow: nowrap;
        overflow: auto;
        scroll-behavior: smooth;
        margin: 0 auto;
        font-size: 1.25em;
        overscroll-behavior: contain;
    }

    #main-catalog > *, #main-catalog > span > a {
        white-space: nowrap;
        padding: 8px 12px;

    }

    .nav-toggle {
        align-items: center;
        display: flex;
        justify-content: center;
        padding: 0;
        width: 35px;
        height: 42px;
        position: absolute;
        right: 0;
        top: 0;
        color: #fff;
        background-color: #CFB53B;
        z-index: 1;
    }

    .nav-toggle.home {
        left: 0;
        right: auto;
    }

    .nav-toggle:before {
        display: inline-block;
        font-family: "Font Awesome 6 Free";
        font-size: 1em;
        font-style: normal;
        font-variant: normal;
        font-weight: 400;
        line-height: 1em;
        margin: 0;
        text-align: center;
        text-decoration: inherit;
        text-transform: none;
        width: 1em;
        opacity: 0.75;
    }

    .nav-toggle.media:before {
        content: "\f054";
    }

    .nav-toggle.home:before {
        content: "\f053";
    }

    .nav-toggle:hover,
    .nav-toggle:focus {
        transition: ease-in 2s;
    }

    #eMag .list dl dd {
        font-size: 15px;
    }

    #eMag .list dl dd a {
        padding: 5px 0px
    }

    /* #eMag .list dl dd:nth-child(Even) a {
        padding-left: 0;
    } */

    footer dl {
        padding: 0 10px;
        width: 33.33%;
    }

    footer .copyright {
        flex-direction: column;
    }

    footer .copyright>div {
        width: 100%;
        text-align: center;
    }

    footer .copyright>div img {
        margin: 0 auto
    }

    #float-AD {
        right: 0px;
    }

    #openAD:checked~#float-AD {
        margin-right: -180px;
    }

}

/*手機版*/
@media screen and (max-width:767px) {
	.header-wrapper .logo {width: auto;}
    .banner {
        padding: 10px 5px 0;
    }

    /* 電子書手機版才需要左右拖拉 */
    #ebook .context-box {
        flex-wrap: nowrap;
        width: 300%/*133%*/;
        padding: 0 15px;
    }

    /*手機版內容重新排序*/
    /*
    #col-right {
        order: 1
    }

    #col-middle {
        order: 2
    }

    #col-left {
        order: 3
    }
    */

    #news {
        order: 1;
    }

    #books {
        order: 2;
    }

    #mags {
        order: 3;
    }


    #lawdata {
        order: 4;
    }

    #topic {
        order: 5;
    }


    #bookhouse {
        order: 6;
    }



    #blog_beta {
        order: 7;
    }


    #exam_beta {
        order: 8;
    }

    #exam {
        order: 9;
    }

    #mobile-menu-bottom {
        position: sticky;
        bottom: 0
    }
    #btn-social { 
		/*display: none;*/
	}
}

@media screen and (min-width:768px) {

    #activites-L,
    #activites-R {
        margin: 15px 0;
    }

    .nav-wrapper {
        padding: 0 35px;
    }
    /* #main-catalog .home, .nav-toggle {
        display: none !important;
    } */

    #mobile-menu-bottom {
        display: none;
    }
}

@media screen and (min-width:1250px) {
    #mobile-menu {
        justify-content: space-between;
        align-items: stretch;
        padding-left: 60px;
        padding-right: 15px;
        height: 56px;
    }

    #mobile-menu a {
        align-self: center;
    }

    .back-home a {
        padding: 0 20px
    }

    .submenu a {
        flex: auto;
        border-left: 1px solid #000;
        padding: 0 12.5px;
        line-height: 1;
    }
/*
    .submenu a:nth-child(1),
    .submenu a:nth-child(2) {
        border-width: 0px
    }*/

    /*logo區與檢索列*/    
    .header-wrapper {
        width: 100%;
        padding: 20px 50px 10px;
    }

    .header-wrapper form {
        width: calc(100% - 50px);
    }

    .show-search {
        display: none;
    }

    .header-wrapper .search {
        width: calc(100% - 410px);
    }

    .header-wrapper .search select {
        float: left;
        height: 60px;
		font-size: 1rem;
    }
	
	.header-wrapper .search select option{ padding:10%}

    .header-wrapper .search input[type="text"] {
        height: 60px;
        flex: 1;
    }

    .header-wrapper .search .btn-search:hover {
        opacity: 0.6
    }

    .header-wrapper .search .btn-adv-search {
        display: inline-flex;
        align-items: center;
        color: #FFF;
        height: 46px;
        margin: 0;
        background-color: #106772;
        border-radius: 8px;
        padding: 0 12px;
        text-align: center;
    }

    .close-search {
        display: none;
    }


    .search_google {
    width: calc(100% - 750px);
    }

    .search_google_mobile {
        display: none;
    }

    .search_google .gsc-control-cse{
        background-color: #f4f4f4;
        border: 1px solid #f4f4f4;
    
    }


    .search_google .gsc-input-box {
        height: 40px;
    }

    .search_google .gsc-search-button .gsc-search-button-v2 {
    cursor: pointer;
    color: #FFF;
    height: 38px;
    border: none;
    margin: 0 15px 0 0;
    background-color: #668797c2;
    border-radius: 8px;
    /*padding: 0 12px;*/
    text-align: center;
    transition: opacity 1.5s;
    }

    .search_google .gsc-search-button-v2 svg {
        width: 20px;
        height: 20px;
    }





    

    /*主要館別*/
    #main-catalog .home, .nav-toggle {
        display: none !important;
    }
    .nav-wrapper {
        padding: 0;
    }
    #main-catalog > *, #main-catalog > span > a {
        height: 50px;
    }
    #main-catalog > span > a i {padding-left: 1em; font-size: 0.5em; margin-top: -10px;}

    #float-AD {
        right: -180px;
    }

    #openAD:checked~#float-AD {
        margin-right: 180px;
    }
}
/*螢幕尺寸超過1660自動展開右側AD*/
@media screen and (min-width:1560px) {
    #float-AD, #btn-social {
        right: 1%;
    }
    #openAD:checked~#float-AD {
        margin-right: -180px;
    }  
}