﻿@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400");
@import url("https://fonts.googleapis.com/css?family=Prompt:100,300,400");
@import url("https://fonts.googleapis.com/css?family=Source Sans Pro");

html, body, div, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, ins, img, kbd, q, samp, small, strong, sub, sup, var, b, i, p, a, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video, input, textarea, button {
    /*margin: 0;*/
    padding: 0;
    /*border: 0;*/
    outline: 0;
    font-size: 100%;
    /*vertical-align: baseline;*/
    box-sizing: border-box;
    word-wrap: break-word;
    word-break: normal;
    /*text-decoration: none !important;*/
    font-family: "Helvetica Neue", Helvetica, 'Microsoft JhengHei', Arial, sans-serif !important;
}

button {
    border: 0;
}

body {
    font-family: "Helvetica Neue", Helvetica, 'Microsoft JhengHei', Arial, sans-serif;
}

#Body td {
    /*vertical-align:top;*/
}




#Body > div > div > .col-lg-9, #Body > div > div > .col-md-12, .justify-content-center > .col-md-12 {
    padding: 0 !important;
}



select {
    background-color: white;
}

.container {
    padding-top: 10px;
}

h1 {
    font-size: 26px;
    font-weight: 700;
}

h2 {
    font-size: 26px;
    font-weight: 700;
}

h3 {
    color: #2f7282;
    font-size: 20px;
    min-height: 60px;
    font-weight: 700;
    text-align: center;
}

h4 {
    color: black;
    font-size: 16px;
    font-weight: 500;
}

/*p,
span {
	font-size: 15px;
	padding: 10px 0 10px 0;
	letter-spacing: 1px;
	margin-bottom: 0px !important;
}*/
.content p,
.hot-search > p,
.searchBar > div > span {
    font-size: 14px;
    padding: 5px 0;
    letter-spacing: 1px;
    margin-bottom: 0px !important;
}




.hot-search {
    height: 54px;
    overflow: hidden;
    padding-left: 5px;
    max-width: 700px;
    line-height: 16px;
}

header {
    background-color: #71304e;
    padding: 5px 10px 5px 10px;
    position: fixed;
    z-index: 9000;
    width: 100%;
}

/*ul {
	display: inline-flex;
}*/

.mainMenu > div > ul {
    display: inline-flex;
}

li {
    /*width: 100px;*/
    list-style: none;
}

.mainMenu > div > ul > a > li {
    padding:0 10px;
}

button {
    cursor: pointer;
}

/*img {
	max-width: 100%;
}*/

.svg-inline--fa.fa-w-12 {
    width: 1.1em;
}

/* 頁首按鈕 mobile */

.mobileTopArea {
    width: 100%;
    display: flex;
}

.leftIconBtn, .rightIconBtn {
    width: 38%;
    display: flex;
}

.centerLogo img {
    max-height: 22px;
    margin: 3px;
}

.iconBtn {
    color: white;
    margin: auto;
    white-space: nowrap;
    cursor: pointer;
    font-size: 25px;
    line-height: initial;
}

.mobileTopArea {
    display: none;
    width: 100%;
}

#mbMenu {
    display: none;
}

.fullScreenSearchBar {
    padding: 3% 1% 1% 1%;
    width: 1280px;
    margin: auto;
    padding-top: 55px !important;
}

.mobileBurgerMenu {
    width: 50%;
    display: none;
}



@media screen and (max-width: 1070px) {
    .mobileTopArea {
        display: flex;
    }

    .topBgHead {
        display: none;
    }

    .mainMenu {
        display: none !important;
    }

    .mobileBurgerMenu {
        /* display: block; */
        margin: auto;
        top: 0;
        bottom: 0;
        z-index: 9999;
        overflow: scroll;
        position: fixed;
    }

    .mobileMenu > ul > a > li {
        width: 100%;
        padding: 10px;
    }

        .mobileMenu > ul > a > li:hover {
            background-color: white;
            color: #71304e;
        }

    .mobileLogo {
        display: block;
        text-align: center;
        margin: auto;
        vertical-align: middle;
    }

        .mobileLogo img {
            width: 100%;
        }

    .fullScreenSearchBar {
        display: none;
    }

    .dropdown-menurwd {
        display: none !important;
    }
}

.mobileSearchBar {
    display: none;
    z-index: 9999;
    position: fixed;
    background: rgba(220, 191, 211, 0.83);
    width: 100%;
}

@media screen and (max-width:1070px) {
    .searchBar {
        padding: 10px !important;
    }

    .mobileSearchBar {
        top: 60px;
    }
}

@media screen and (max-width:768px) {
    .mobileSearchBar {
        top: 51px;
    }
}



@media screen and (max-width:395px) {
    .searchBar input#qu {
        width: 40% !important;
    }

    .searchBar input#qumobile {
        width: 40% !important;
    }
}

@media screen and (min-width: 1071px) {
    .mobileBurgerMenu, .mobileSearchBar {
        display: none !important;
    }

    .topBgArea {
        height: 175px;
    }

    .searchkey {
        display: none !important;
    }
}

@media screen and (min-width: 1071px) {
    #coverMask {
        display: none !important;
    }
}


.mobileMenu {
    background-color: #71304e;
    width: 100%;
    height: 100%;
}


    .mobileMenu > ul {
        display: block;
        border: 1px solid white;
        margin-bottom: 0px;
    }

        .mobileMenu > ul > a {
            color: white;
        }

/* 頁首選單 */


.ClassMenu ul {
    margin: 0;
    padding: 0;
    display: none;
    list-style: none;
    padding-left: 10px;
}

.ClassMenu li {
    border-bottom: 1px #cccccc solid;
    cursor: pointer;
    line-height: 25px !important;
    font-size: 15px !important;
    width: 100% !important;
}

    .ClassMenu li:first-child {
        border-top: 1px #cccccc solid;
    }

    .ClassMenu li:last-child {
        border-bottom: 0px #cccccc solid;
    }

/*.ClassMenu .dir:before {
    content: "+ ";
    color: red;
}*/

.mainMenu {
    display: flex;
    width: 1280px;
    margin: auto;
}

    .mainMenu > div > ul {
        margin-bottom: 0px;
    }

.layout {
    margin: 0 auto;
    width: 100%;
}

.content {
    padding: 0.5%;
    width: 1280px;
    margin: auto;
}
.content-white{
    background:#fff;
}

.leftMenu {
    width: 30%;
    text-align: left;
    padding-left: 1%;
}

.rightMenu {
    width: 70%;
    text-align: right;
    padding-right: 1%;
}

.leftMenu > ul > a {
    color: white;
}

.rightMenu > ul > a {
    color: white;
}

/* logo & 搜尋欄 */

.topArea {
    display: flex;
}

@media screen and (max-width: 768px) {
    .topArea {
        display: block;
    }
}

.logo {
    width: 40%;
    margin: auto;
}

@media screen and (max-width: 768px) {
    .logo {
        width: 100%;
        text-align: center;
        padding: 20px;
    }
}

.searchBar {
    width: 60%;
    margin: auto;
    padding-top: 10px;
}

@media screen and (max-width: 768px) {
    .searchBar {
        width: 100%;
    }
}

.searchBar input#qu {
    width: 45%;
    height: 50px;
    border: 1px solid gray;
    font-size: 12pt;
    float: left;
    color: #262626;
    padding-left: 45px;
    /*-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;*/
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.searchBar input#qumobile {
    width: 45%;
    height: 50px;
    border: 1px solid gray;
    font-size: 12pt;
    float: left;
    color: #262626;
    padding-left: 45px;
    /*-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;*/
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.mobileSearchBar input#qumobile {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}


.searchBar input#qu::-webkit-input-placeholder,
.searchBar input#qumobile::-webkit-input-placeholder {
    color: #65737e;
}

.searchBar input#qu:-moz-placeholder,
.searchBar input#qumobile:-moz-placeholder {
    /* Firefox 18- */
    color: #65737e;
}

.searchBar input#qu::-moz-placeholder,
.searchBar input#qumobile::-moz-placeholder {
    /* Firefox 19+ */
    color: #65737e;
}

.searchBar input#qu:-ms-input-placeholder,
.searchBar input#qumobile:-ms-input-placeholder {
    color: #65737e;
}

.searchBar .icon {
    position: absolute;
    margin-left: 15px;
    margin-top: 15px;
    z-index: 1;
    color: #4f5b66;
    -webkit-transition: all .55s ease;
    -moz-transition: all .55s ease;
    -ms-transition: all .55s ease;
    -o-transition: all .55s ease;
    transition: all .55s ease;
}

.classSearch {
    width: 20%;
    height: 50px !important;
    /*border-radius: 5px;*/
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border: 1px solid gray;
    vertical-align: top;
}
.photoBlockM > .row > .col-xl-2 {
    text-align: center;
}

@media screen and (max-width: 575px) {
    .photoBlockM > .row > .col-xl-2 {
        width: 49%;
    }
}


@media screen and (max-width:769px) {
    .photoBlockM > .row {
        margin-right: 0px;
        margin-left: 0px;
    }
}

@media screen and (max-width: 769px) {
    .classSearch {
        width: 30%;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        float: left;
    }

    .searchBar input#qu,
    .searchBar input#qumobile {
        width: 65% !important;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        padding-left: 10px;
        padding-right: 35px;
        float: left;
    }

    .searchBar .icon {
        margin-left: -30px;
    }

    .btnSearchGo {
        display: none;
    }
}

.btnSearch {
    background-color: #a06085;
    color: white;
    width: 12%;
    height: 35px;
    border-radius: 5px;
    margin-left: 15px;
}

.btnSearchGo {
    border-radius: 50px;
    background-color: #71304e;
    color: white;
    height: 50px;
    width: 50px;
    border-radius: 50px;
    margin-left:5px;
}

    .btnSearch:hover,
    .btnSearchGo:hover {
        background-color: #4a2033;
    }

.btnSearch:hover {
    background-color: #4a2033;
}

.hot-search-mobile {
    display: none;
}

@media screen and (max-width:768px) {
    .hot-search {
        display: none;
    }

    .hot-search-mobile {
        display: block;
    }

    .btnSearch {
        font-size: 14px;
    }
}

/* 書籍分類選單 */

.topMenu {
    background-color: #fedfdd;
}

@media screen and (max-width:768px) {
    .topMenu {
        display: none;
    }
}

.topMenu > .classMenu {
    padding: 10px 0px 10px 0px;
    width: 1280px;
    margin: auto;
}

.classTopMenu > ul {
    width: 100%;
    margin-bottom: 0px;
}

.burgerButton2 {
    color: #77324e;
}

.burgerButton2,
.mobileClassTopMenu {
    display: none;
}

@media screen and (max-width: 768px) {
    .classTopMenu {
        display: none;
    }

    .burgerButton2 {
        display: block;
        text-align: center;
    }

    .mobileClassTopMenu > ul {
        display: block;
    }

        .mobileClassTopMenu > ul > a > li {
            width: 100%;
        }
}

.mobileClassTopMenu > ul > a {
    color: #6d364b;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.classTopMenu > ul > a {
    color: #6d364b;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 5px 7px;
    margin-right: 5px;
}

    .classTopMenu > ul > a:hover {
        color: white;
        background-color: #a06085;
        border-radius: 5px;
        font-size: 18px;
        font-weight: 600;
        -webkit-transition: 0.8s;
        -moz-transition: 0.6s;
        -ms-transition: 0.6s;
        -o-transition: 0.6s;
        transition: 0.6s;
    }

    .classTopMenu > ul > a > li {
        width: 100%;
        justify-content: space-between;
    }

@media screen and (max-width: 1300px) {
    .classTopMenu > ul > a, .classTopMenu > ul > a:hover {
        font-size: 16px;
    }
}


@media screen and (max-width: 1070px) {
    .topMenu {
        display: none;
    }
}


/* 1280間距 */

@media screen and (max-width:1280px) {
    .content, .mainMenu, .topMenu > .classMenu {
        width: 100%;
    }
}

/* 下方按鈕 */

.bottomButtonMobile {
    position: fixed;
    bottom: 0px;
    display: none;
    text-align: center;
    z-index: 9000;
    font-size: 14px;
}

@media screen and (max-width:768px) {
    .bottomButtonMobile {
        display: block;
        width: 100%;
        box-shadow: 1px 1px 10px #666;
    }
}

.bottomButton {
    display: flex;
    justify-content: space-between;
    height: 55px;
}

#bottomButtonM > .bottomButton div {
    width: 25%;
}

.bottomButton .bottomBtn {
    background-color: #ccc;
    color: #825267;
    width: 100%;
    height: 100%;
    border: 1px solid white;
    padding: 10px 0px;
}

.bottomButtonMobile .bottomButton button {
    white-space: nowrap;
}

/*.bottomButton .bottomBtn:hover {
	background-color: #825267;
	color: white;
	-webkit-transition: 0.8s;
	-moz-transition: 0.6s;
	-ms-transition: 0.6s;
	-o-transition: 0.6s;
	transition: 0.6s;
	cursor: pointer;
}*/

@media screen and (max-width: 420px) {
    .btnStyle2 {
        /*padding: 20px !important;*/
    }
}

@media screen and (max-width: 360px) {
    .btnStyle1 {
        /*word-break: keep-all !important;*/
    }

    .btnStyle2 {
        /*padding: 15px !important;*/
    }
}

@media screen and (max-width: 320px) {
    .btnStyle1 {
        word-break: keep-all !important;
    }

    .btnStyle2 {
        /*padding: 10px !important;*/
    }
}

.bottomButton .bottomBtn:focus {
    background-color: #825267;
    color: white;
    -webkit-transition: 0.8s;
    -moz-transition: 0.6s;
    -ms-transition: 0.6s;
    -o-transition: 0.6s;
    transition: 0.6s;
    cursor: pointer;
}



/* 上方按鈕 */

.topButtonMobile {
    display: none;
}

@media screen and (max-width:767px) {
    .topNews {
        padding-top: 51px;
    }
}

.topButton {
    display: flex;
    justify-content: space-between;
    margin: 0 10px;
}

    .topButton .topBtn {
        padding: 10px;
        color: #000;
        font-weight: 600;
    }

    .topButton a {
        padding: 5px 15px;
        color: #333;
    }

    .topButton :hover {
        color: #333;
    }

@media screen and (max-width:1070px) {
    header {
        height: 51px;
    }

    .centerLogo img {
        max-height: 35px;
        margin-top: 5px;
    }

    .topNews {
        height: 51px;
    }
}

@media screen and (max-width:768px) {
    .topButtonMobile {
        /*display: block;*/
        padding-top: 51px;
        background-color: #f6f7f9;
    }
}

@media screen and (max-width:450px) {
    .centerLogo img {
        margin-top: 5px;
    }

    .centerLogo img {
        max-height: 28px;
    }

    .mobileTopArea {
        margin-top: 3px;
    }
}

@media screen and (max-width:430px) {
    .topButton a {
        padding: 5px 8px;
    }
}

@media screen and (max-width:380px) {
    .topButton a {
        padding: 5px 3px;
    }
}

@media screen and (max-width:350px) {
    .Mpromote a:nth-last-child(1) {
        display: none;
    }

    .centerLogo img {
        margin-top: 5px;
    }

    .centerLogo img {
        max-height: 22px;
    }

    .mobileTopArea {
        margin-top: 3px;
    }
}


/* 跑馬燈 */

.topNews {
    width: 100%;
    display: inline-flex;
    height: 32px;
}

.topNewsLeft {
    width: 80%;
    padding-left: 330px;
    background-color: #a06085;
}

    .topNewsLeft > a > p {
        color: white;
        margin: 16px 0 16px 0px;
    }

.topNewsRight {
    width: 20%;
    background-color: #7d0000;
}

    .topNewsRight > a > p {
        color: white;
        text-align: center;
        font-size: 15px;
        padding: 6px 0;
        letter-spacing: 1px;
        margin-bottom: 0px !important;
    }

@media screen and (max-width: 1600px) {
    .topNewsLeft {
        padding-left: 173px;
    }
}

@media screen and (max-width: 1440px) {
    .topNewsLeft {
        padding-left: 93px;
    }
}

@media screen and (max-width: 1366px) {
    .topNewsLeft {
        padding-left: 60px;
    }
}




@media screen and (max-width: 768px) {
    .topNewsLeft {
        width: 100%;
    }

    .topNewsRight {
        display: none;
    }
}

#dropdown-menu0 {
    display: none;
}

.dropdown-menurwd {
    display: flex;
    justify-content: space-around;
    border-bottom: 2px solid #71304e;
    border-top: 2px solid #71304e;
    background: white;
    z-index: 3000;
    position: absolute;
    width: 100% !important; /*加上import由上往下呈現*/
}

    /*.dropdown-menurwd .menu-book-class {
	padding: 10px 0 10px 0;
	white-space:nowrap;
}*/

    /*.dropdown-menurwd .menu-book-class a {
	display: block;
}*/

    .dropdown-menurwd .menu-book-class h4 {
        font-weight: 600;
        font-size: 18px;
        color: #71304e;
        line-height: 50px;
    }

    .dropdown-menurwd .menu-book-class .book-class-title {
        border-bottom: 2px solid #71304e;
        width: 100%;
        margin-bottom: 10px;
    }

    .dropdown-menurwd .menu-book-class .book-class-sub {
        line-height: 30px;
        color: #b8b8b8 !important;
        padding-bottom: 10px;
        /*padding: 10px 0 20px 0;*/
        /*width: 130px;*/
    }

        .dropdown-menurwd .menu-book-class .book-class-sub a {
            color: #796e6e !important;
            margin-right: 10px;
            display: inline-block;
            /*white-space: nowrap;*/
        }

            .dropdown-menurwd .menu-book-class .book-class-sub a:hover {
                color: #7d0000 !important;
                -webkit-transition: 0.8s;
                -moz-transition: 0.6s;
                -ms-transition: 0.6s;
                -o-transition: 0.6s;
                transition: 0.6s;
                text-decoration: underline;
            }

/* mainArea */

.mainArea {
    display: flex;
    margin-top: 10px;
}

/*.mainArea div:nth-child(1){width:100%;order:1;}
.mainArea div:nth-child(2){width:100%;order:2;}*/

@media screen and (max-width: 1024px) {
    .fullscreen_slider {
        margin: auto;
    }
}

ul.box {
    display: flex;
    flex-wrap: wrap;
    padding: 5% 0px 0px 0px;
}

    ul.box li:nth-child(1) {
        width: 50%;
        text-align: center;
    }

    ul.box li:nth-child(2) {
        width: 50%;
        text-align: center;
    }

    ul.box li:nth-child(3) {
        width: 100%;
    }

        ul.box li:nth-child(3) > div > h3 {
            color: #2f7282;
            font-size: 20px;
            min-height: 20px;
            font-weight: 700;
            padding: 0px 20px 0px 20px;
        }

    ul.box li:nth-child(2) > div > .addCart {
        width: 80% !important;
    }




.mobile_theme_slider {
    display: none;
}

@media screen and (max-width: 992px) {
    .mobile_theme_slider {
        display: block;
        /* padding: 20px 0 20px 0; */
    }

    .fullscreen_slider {
        display: none;
    }
}



/* slider products */

.discount {
    margin-right: 20px;
}

.discountTab {
    background-color: #f46665;
    color: white;
    font-size: 16px;
    padding: 0 10px 0 10px;
    min-height: 32px;
    text-align: center;
}

    .discountTab > p {
        font-size: 20px;
        padding: 0px;
    }

.discountFrame {
    border: 1px solid #f46665;
    width: 100%;
    padding: 10px 0px;
}

.carouPrice {
    padding: 0px 0 0 70px;
    text-align: left;
}

.price-m {
    display: none;
}

.price-w {
    display: block;
}

.view-m {
    display: none;
}

view-f {
    display: none;
}

.view-w {
    display: block;
}

@media screen and (max-width: 1080px) {
    .discount {
        width: 100%;
    }

    .carouPrice {
        padding: 0px 0 0 20px;
        text-align: left;
    }
}

@media screen and (max-width: 1024px) {
    .discount {
        width: 100%;
    }

    .carouPrice {
        padding: 20px 0 0 25px;
        text-align: left;
    }
}

@media screen and (max-width: 991px) {
    .discount {
        width: 100%;
    }

    .carouPrice {
        padding: 20px 0 0 350px;
        text-align: left;
    }

    .price-m {
        display: block;
    }

    .price-w {
        display: none;
    }

    .view-f {
        display: block;
    }

    .view-w {
        display: none;
    }
}

@media screen and (max-width: 836px) {
    .discount {
        width: 100%;
    }

    .carouPrice {
        padding: 20px 0 0 280px;
        text-align: left;
    }
}

@media screen and (max-width: 768px) {
    .discount {
        width: 100%;
    }

    .carouPrice {
        padding: 20px 0 0 260px;
        text-align: left;
    }
}

@media screen and (max-width: 628px) {
    .discount {
        width: 100%;
    }

    .carouPrice {
        padding: 20px 0 0 185px;
        text-align: left;
    }
}

@media screen and (max-width: 590px) {
    .discount {
        width: 100%;
    }

    .carouPrice {
        padding: 20px 0 0 170px;
        text-align: left;
    }
}

@media screen and (max-width: 425px) {

    .view-m {
        display: none;
    }

    .view-w {
        display: none;
    }

    .view-m {
        display: block;
    }
}

@media screen and (max-width: 415px) {
    .discount {
        width: 100%;
    }

    .carouPrice {
        padding: 10px 0 0 0px;
        text-align: center;
    }
}

@media screen and (max-width: 360px) {
    .discount {
        width: 100%;
    }

    .carouPrice {
        padding: 20px 0 0 65px;
        text-align: left;
    }
}

.addCart {
    background-color: #71304e;
    color: white;
    width: 120px;
    padding: 10px 0px;
    text-align: center;
    font-size: 12px;
}

    .addCart:hover {
        background-color: #965656;
    }

/* 最新消息&類別 */

.classArea {
    padding-top: 10px;
    display: flex;
    justify-content: space-around;
}

@media screen and (max-width: 1024px) {
    .classArea {
        display: none;
    }
}

/* @media screen and (max-width: 768px) {
	.classArea {
		display: none;
	}
} */

/* news */

.newsArea {
    /*width: 53%;  0730*/
    width: 40%;
}

@media screen and (max-width: 1024px) {
    .newsArea {
        width: 100%;
    }
}

.news {
    background-color: #bf7dad;
    color: white;
    width: 140px;
    font-size: 16px;
    padding: 0 10px 0 10px;
}

    .news > p,
    .tab > p,
    .tab1 > p,
    .tabcla > p {
        font-size: 16px;
        font-weight: 700;
    }

.bookStatusAddCtrl > div {
    margin-bottom: 5px;
}

.newsFrame {
    border: 2px solid #bf7dad;
    width: 100%;
}

.pagination {
    font-size: 16px;
    color: black;
    text-align: center;
    padding-bottom: 10px;
    letter-spacing: 10px;
}

.newsList {
    display: block;
    color: #3b6e71;
    padding: 5px 0 1px 39px;
    margin-bottom: 0px;
}

    .newsList > li {
        list-style: disc;
        width: 100%;
        padding: 7px;
    }

        .newsList > li > a {
            color: #3b6e71;
            font-size: 14px;
        }

            .newsList > li > a:hover {
                opacity: 0.5;
            }

/* booksArea */

.booksArea {
    /*width: 44%;   0730*/
    width: 58%;
}

@media screen and (max-width: 1024px) {
    .booksArea {
        width: 100%;
        padding-top: 20px;
    }
}

.bookClass {
    display: flex;
    justify-content: space-between;
}

.bookClass1 {
    background-color: #54bed8;
    color: white;
    width: 180px;
    font-size: 16px;
    padding: 0 10px 0 10px;
    text-align: center;
}

.bookClass2 {
    background-color: #5a9ac0;
    color: white;
    width: 180px;
    font-size: 16px;
    padding: 0 10px 0 10px;
    text-align: center;
}

.bookClass3 {
    background-color: #7375bf;
    color: white;
    width: 180px;
    font-size: 16px;
    padding: 0 10px 0 10px;
    text-align: center;
}

/*0730*/
.bookClass1, .bookClass2, .bookClass3 {
    width: 32%;
}

    .bookClass1:hover,
    .bookClass2:hover,
    .bookClass3:hover {
        opacity: 0.8;
        color: white !important;
    }

.bookClass > div > p > a {
    color: white;
}

.bookClassDetail {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
}

.bookCn {
    border: 2px solid #54bed8;
    color: #54bed8;
    width: 49%;
    height: 200px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

.bookEn {
    border: 2px solid #5a9ac0;
    color: #5a9ac0;
    width: 49%;
    height: 200px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

.row1,
.row2 {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 1024px) {
    .row1,
    .row2 {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .row1,
    .row2 {
        display: block;
    }
}

@media screen and (max-width: 414px) {
    .row1,
    .row2 {
        display: block;
    }
}

@media screen and (max-width: 375px) {
    .row1,
    .row2 {
        display: block;
    }

    .tab1 > p {
        font-size: 16px;
    }
}

.row1 > div,
.row2 > div {
    padding: 3px;
}

    .row1 > div > a > img,
    .row2 > div > a > img {
        width: 100%;
    }

    .row1 > div > a > picture > img,
    .row2 > div > a > picture > img {
        width: 100%;
    }

    .row1 > div > a > img:hover,
    .row2 > div > a > img:hover {
        opacity: 0.8;
    }

    .row1 > div > a > picture > img:hover,
    .row2 > div > a > picture > img:hover {
        opacity: 0.8;
    }

/*newBookArea*/

.newBookArea > .content {
    background: #d4ebf1;
}

.newArrivel {
    display: flex;
    border-bottom: 2px solid #317082;
    padding: 5px;
}

@media screen and (max-width: 1024px) {
    .newArrivel {
        display: flex;
    }
}

.newArrivelTitle {
    width: 70%;
}

.newArrivelMore {
    text-align: right;
    width: 30%;
}

.newArrivelTitle > h1 {
    color: #2b7389;
    font-size: 20px;
    font-weight: 700;
    margin-top: 0px;
    margin-bottom: 0px;
}

@media screen and (max-width: 1024px) {
    .newArrivelTitle {
        width: 50%;
        margin: auto;
    }

    .newArrivelMore {
        text-align: right;
        width: 50%;
    }
}

.morerwd {
    background-color: #317082;
    color: white;
    width: 70px;
    padding: 5px;
    text-align: center;
    font-size: 14px;
}

    .morerwd:hover {
        opacity: 0.7;
    }

.newArrivelBooks {
    display: flex;
}

@media screen and (max-width: 1024px) {
    .newArrivelBooks {
        display: block;
    }
}

.bookInfor {
    background-color: white;
    margin: 10px;
    padding-top: 10px;
    text-align: center;
}

.bookData {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover,
.infor {
    padding: 10px;
    height: 180px;
}

@media screen and (max-width:768px) {
    .cover,
    .infor {
        padding: 10px;
    }

    .inforh3 {
        font-size: 14px;
        font-weight: 700;
    }

    .inforh4 {
        font-size: 14px;
    }
}

.infor > div > .inforh3 {
    text-align: left;
    color: #2f7282;
    font-size: 16px;
    height: 45px;
    overflow: hidden;
    font-weight: 700;
    margin-top: 0px;
    margin-bottom: 0px;
    display: table-cell;
    vertical-align: middle;
}

.add {
    padding: 7px 10px;
    text-align: center;
}

    .add > button {
        /*margin: 10px;*/
        /*margin-left: 10px;
    margin-right: 10px;*/
    }

.collect {
    background-color: #e6e6e6;
    width: 120px;
    padding: 10px;
    text-align: center;
    font-size: 12px;
}

    .collect:hover {
        background-color: #dfdfdf;
    }

/*productSlider*/

.newBookTab {
    display: flex;
    border-bottom: 2px solid #4cacc5;
    padding-top: 20px;
    padding-bottom: 1px;
    position: relative;
}

.newBookTab1 {
    display: flex;
    border-bottom: 2px solid #4cacc5;
    padding-top: 20px;
    padding-bottom: 1px;
    width: 78%;
}

@media screen and (max-width:768px) {
    .newBookTab, .newBookTab1 {
        width: calc(100% - 150);
    }
}

.tabActive, .tabActive1, .tab1, .tab2 {
    background-color: #e6e6e6;
    color: #49abc4;
    width: 160px;
    margin-right: 5px;
    cursor: pointer;
}

.tab {
    background-color: #e6e6e6;
    color: #49abc4;
    width: 200px;
    /*font-size: 18px;*/
    margin-right: 5px;
    cursor: pointer;
}

.tab2, .tabActive2 {
    background-color: #e6e6e6;
    color: #49abc4;
    width: 140px;
    font-size: 18px;
    padding: 0 10px;
    border: 1px solid white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .tab:hover, .tab1:hover, .tab2:hover,
    .tabActive, .tabActive1, .tabActive2 {
        background: #49abc4;
        color: white;
    }

    .tab:hover, .tab1:hover, .tab2:hover, .tabcla:hover {
        background: #78c0d3;
        color: white;
    }

    .tab[class*=tabActive]:hover, .tab1[class*=tabActive1]:hover, .tab2[class*=tabActive2]:hover, .tabcla[class*=tabActive]:hover {
        background: #49abc4;
    }

.newBookTab > div > p, .newBookTab1 > div > p {
    text-align: center;
    padding: 10px 5px;
}

.topBook {
    padding: 5px;
    text-align: center;
    font-size: 14px;
}

    .topBook p {
        color: black;
    }

@media screen and (max-width:400px) {
    .topBook {
        padding: 5px;
        text-align: center;
    }

    /*.flag_r, .flag_b {
        top: 6.5px !important;
        left: 6.5px !important;
    }*/
}

.topBook > div {
    padding: 5px;
    border: 1px solid #49abc4;
}

    .topBook > div > .topBookh3 {
        text-align: left;
        padding-top: 5px;
        color: #2f7282;
        /*min-height: 60px;*/
        font-weight: 700;
        text-align: center;
    }

        .topBook > div > .topBookh3 > a {
            color: #2f7282;
        }

@media screen and (max-width: 1024px) {
    .topBook > div > .topBookh3 {
        text-align: center;
    }
}

.fsRed {
    font-size: 14px;
}

.flag_r {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 50px 50px 0 0;
    border-color: #ff0400 transparent transparent transparent;
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 1;
}

.flag_b {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 50px 50px 0 0;
    border-color: #049abc transparent transparent transparent;
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 1;
}

    .flag_r p, .flag_b p {
        position: absolute;
        top: -52px;
        left: 4px;
        font-size: 20px;
        color: white;
    }

    .flag_r img, .flag_b img {
        max-width: 100%;
    }

/* video-mobile */

.mobile-video {
    display: none;
}

@media screen and (max-width:768px) {
    .mobile-video {
        display: block;
        text-align: center;
    }
}

/* 主題書展 */

.bottomArea > .content,
.bottomAreaM > .content {
    background: #dcbfd3;
    color: #722f4e;
    cursor: pointer;
    padding: 5px;
}

    .bottomArea > .content a,
    .bottomAreaM > .content a {
        color: #722f4e;
    }

.bottomArea .content {
    /*padding: 1% 5% 1% 5%;*/
    margin-top: 10px;
}

.bottomAreaM {
    display: none;
}

@media screen and (max-width:768px) {
    .bottomAreaM {
        display: block;
    }
}

.bottomAreaM .content .bottom .bottomTitle h1 {
    display: flex;
    white-space: nowrap;
}

    .bottomAreaM .content .bottom .bottomTitle h1 div:nth-child(1) {
        text-align: left;
        width: 50%;
    }

    .bottomAreaM .content .bottom .bottomTitle h1 div:nth-child(2) {
        text-align: right;
        width: 50%;
    }

.bottom {
    display: flex;
}

@media screen and (max-width: 768px) {
    .bottom {
        display: block;
    }
}

.bottomTitle {
    width: 20%;
}

    .bottomTitle h1 {
        white-space: nowrap;
    }

    .bottomTitle > h1 {
        font-size: 20px;
        font-weight: 700;
        margin: 0;
    }

@media screen and (max-width: 768px) {
    .bottomTitle {
        width: 100%;
    }
}

.bottomMore {
    width: 130%;
    text-align: right;
    color: #722f4e;
}

@media screen and (max-width: 768px) {
    .bottomMore {
        width: 100%;
    }
}

.photoBlock {
    width: 100%;
    text-align: center;
}

/*.bottomAreaMobile #photoBlockRow1 .row .col-sm-6:not(:nth-child(-n+6)),
.bottomAreaMobile #photoBlockRow2 {
    display: none;
}*/

@media screen and (max-width:768px) {
    .photoBlock {
        display: none;
    }

    .bottomArea {
        display: none;
    }

    .mobileNone {
        display: none;
    }
}

.row > div {
    padding: 5px 10px;
    text-align: center;
}

/*0730*/
@media screen and (min-width:769px) {
    .bottomAreaMobile {
        display: none;
    }
}


/* footer */

footer > .content {
    display: flex;
    justify-content: space-around;
    padding: 10px 30px 30px 30px !important;
}

.fb,
.contact,
.guild {
    width: 100%;
    margin-bottom:20px;
}

@media screen and (max-width:1200px) {
    footer > .content {
        display: block;
    }
}

footer {
    background-color: #a06085;
}

@media screen and (max-width:400px) {
    .fb .footerLogo img {
        width: 100% !important;
    }

    .bookInfor > .add > button {
        width: 125px;
        font-size: 14px;
        margin-left: 0px;
        margin-right: 0px;
    }
}



.subs-footer {
    display: none;
}

@media screen and (max-width: 768px) {
    .contact,
    .blockTitle,
    .footerLogo,
    .SiteMap,
    .subs-footer-full {
        display: none;
    }

    .subs-footer {
        display: block;
    }
    footer .content {
        padding: 10px !important;
    }
}



.block {
    width: 100%;
}

.blockTitle > h2 {
    color: #7c3a5e;
    font-size: 22px;
    margin:0px;
}

footer a{
    color:#fff !important;
}


.block > div > p {
    color: #ffecff;
}

/*.section {
	padding: 10px;
}*/

.section > h4 {
    color: #6f2f51;
    font-size: 18px;
    font-weight: 600;
}

.contact > .block > .section > p {
    font-size: 14px;
    line-height: 8px;
}

.blockTitle > div > p {
    font-size: 14px;
    line-height: 16px;
}

.section > p > a {
    color: #ffecff;
    font-size: 14px;
    white-space: nowrap;

}

    .section > p > a:hover {
        opacity: 0.7;
    }

.copyright {
    color: #ffecff;
}

    .copyright p {
        padding: 0;
        word-break: keep-all;
    }

.about-footer > p > a {
    line-height: 25px;

}

.section .about-footer {
    padding: 0;
}

.social img {
    width: 90px;
    border-radius: 5px;
    margin: 10px;
    cursor: pointer;
}

    .social img:hover {
        opacity: 0.6;
    }

@media screen and (max-width: 768px) {
    .Logistics {
        display: none;
    }
}



#gotop {
    position: fixed;
    right: 20px;
    bottom: 80px;
    cursor: pointer;
    z-index: 9998;
    background-color: #d5d1d1;
    opacity: 0.6;
    border-radius: 5px;
    width: 48px;
    height: 45px;
    text-align: center;
}


/*level menu*/
.has-children {
    padding: 10px;
    width: 100%;
    background: #904d6b !important;
}

.sublist a {
    color: white;
}

.cd-accordion-menu ul {
    /* by default hide all sub menus */
    display: none;
}

.cd-accordion-menu li {
    width: 100%;
    padding: 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.cd-accordion-menu input[type=checkbox] {
    /* hide native checkbox */
    position: absolute;
    opacity: 0;
}

.cd-accordion-menu label::before,
.cd-accordion-menu label::after,
.cd-accordion-menu a::after {
    /* icons */
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.cd-accordion-menu label {
    cursor: pointer;
    color: white;
    font-weight: 400 !important;
}

    .cd-accordion-menu label::before {
        /* arrow icon */
        left: 18px;
        background-position: 0 0;
        -webkit-transform: translateY(-50%) rotate(-90deg);
        -moz-transform: translateY(-50%) rotate(-90deg);
        -ms-transform: translateY(-50%) rotate(-90deg);
        -o-transform: translateY(-50%) rotate(-90deg);
        transform: translateY(-50%) rotate(-90deg);
    }

    .cd-accordion-menu label::after {
        /* folder icons */
        left: 41px;
        background-position: -16px 0;
    }



.cd-accordion-menu input[type=checkbox]:checked + label::before {
    /* rotate arrow */
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.cd-accordion-menu input[type=checkbox]:checked + label::after {
    /* show open folder icon if item is checked */
    background-position: -32px 0;
}

.cd-accordion-menu input[type=checkbox]:checked + label + ul,
.cd-accordion-menu input[type=checkbox]:checked + label:nth-of-type(n) + ul {
    /* use label:nth-of-type(n) to fix a bug on safari (<= 8.0.8) with multiple adjacent-sibling selectors*/
    /* show children when item is checked */
    display: block;
    margin: 10px 0;
    background: #9e5a79;
}

.cd-accordion-menu > li:last-of-type > label,
.cd-accordion-menu > li:last-of-type > a,
.cd-accordion-menu > li > ul > li:last-of-type label,
.cd-accordion-menu > li > ul > li:last-of-type a {
    box-shadow: none;
}



a.to_nav {
    float: right;
    color: #fff;
    background: #4e4e4e;
    text-decoration: none;
    padding: 0 10px;
    font-size: 12px;
    font-weight: bold;
    line-height: 22px;
    height: 22px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

    a.to_nav:hover,
    a.to_nav:focus {
        color: #1c1c1c;
        background: #ccc;
    }


.imgstyle-1 img {
    width: 64px;
}

.imgstyle-1 {
    width: 200px;
    height: 100px;
    background-color: #54bdd8;
    color: white;
}

.carouPrice > h4 {
    color: black;
    font-size: 16px;
    font-weight: 500;
}

.frame > div > h3 {
    color: #2f7282;
    font-size: 20px;
    min-height: 60px;
    font-weight: 700;
    text-align: center;
}

/*0730*/
#coverMask {
    z-index: 9990;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    opacity: 1;
    display: none;
}

.collectheard svg {
    color: #f46564;
}

.collectheard2 {
    background-color: #f46564 !important;
    color: white !important;
}

    .collectheard2:hover {
        background-color: #f46564 !important;
        color: white !important;
    }


/*各館↓*/
.weblblue16,
.webblue16,
.webred16,
.PromoProd,
.title1_sg,
.title2_sg,
.title2,
.blue16,
.purple13,
.webgrassgreen15_grass,
.ProductInfo,
.table-bordered,
.bluelight13, .coffee13, .green13, .gray13, .white13_nb, .notice, .AdvanceBox, .bookred15, .line15, .blue13,
#AW01, #AW02, #AW03, #AW04, #AW05, #AW06, #AW07, #AW08, #GLink, .ba3, .ca4 {
    font-size: 13px;
}

.title1_sg {
    line-height: 30px !important;
}

.purple13_ {
    padding-top: 10px;
}


.white13_nb {
    padding-top: 5px;
}

.notice {
    width: 780px;
}

#ImagesZoom {
    top: 41px;
}



.productimg > .p_img {
    max-height: 223px;
}





.book-detail .product2img {
    height: 180px;
}

    .book-detail .product2img > a > img {
        max-width: 100%;
        max-height: 180px;
    }

.product2img .statustagul {
    left: 0 !important;
}

.product2img {
    height: 194px;
    vertical-align: middle;
    display: table-cell;
    width: 10000px;
    position: relative;
}

    .product2img img {
        max-width: 90%;
        max-height: 190px;
        height: auto;
        vertical-align: middle;
    }

.statustag1 {
    width: 70px !important;
}

@media screen and (max-width: 1024px) {
    .statustag1 {
        width: 65px !important;
    }
    .footerLogo{
        display:none;
    }
}

.rankCondit {
    background-color: #e6e6e6;
    padding: 5px 10px;
    font-size: 14px;
    margin: 5px;
}

.btn-gary-purple {
    background: #A06085 !important;
    color: #fff;
}

.check-prod-list .check-input {
    font-size: 16px;
    color: #4AACC5;
    float: left;
}

.option {
    display: block;
    position: relative;
    padding-left: 0;
    cursor: pointer;
    font-size: 22px;
    user-select: none;
    width: 25px;
    height: 25px;
    margin: 0 auto 10px;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
}

.option input:checked ~ .checkmark {
    background-color: #2196f3;
}

    .option input:checked ~ .checkmark:after {
        display: block;
    }

.option .checkmark:after {
    left: 7px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.checkmark:after {
    content: '';
    position: absolute;
    display: none;
}

/*側選單*/
.ClassTreeMenu > li {
    border: 2px solid #71304E;
}

.left-menu .ClassTreeMenu > li {
    margin-bottom: 10px;
}

.ClassTreeMenu > li > div {
    background: #71304E;
    color: #fff;
    padding: 10px 15px;
}

.ClassTreeMenu .ClassItem {
    padding: 10px 10px 0px 10px;
    margin: 5px auto;
}

    .ClassTreeMenu .ClassItem > ul {
        padding-left: 5px;
    }

.left-menu .ClassTreeMenu .CurrentID > a {
    color: #ff0000 !important;
}

.mbMenu2.ClassTreeMenu .inherit > div,
.mbMenu2.ClassTreeMenu .inherit > div > a,
.mbMenu2.ClassTreeMenu .inherit > div > span {
    color: #fea5a5;
}

.left-menu .cname {
    color: black;
}

.mbMenu2 .cname {
    color: white;
}

.tab_slider .productname {
    height: 36px;
    line-height: 18px;
    overflow: hidden;
}

    .tab_slider .productname a {
        color: #2f7282;
    }

.tab_slider .swiper-button-more {
    text-align: right;
    margin-top: 15px;
}



@media screen and (max-width: 768px) {
    .product3_slider > .swiper-pagination-bullets,
    .tab1_slider > .swiper-pagination-bullets,
    .tab2_slider > .swiper-pagination-bullets,
    .tab3_slider > .swiper-pagination-bullets,
    .tab4_slider > .swiper-pagination-bullets,
    .tab5_slider > .swiper-pagination-bullets,
    .tab6_slider > .swiper-pagination-bullets,
    .tab7_slider > .swiper-pagination-bullets {
        display: none;
    }
}

.hot-activty .col-6 {
    margin: 0;
}

.hotword {
    padding: 2px !important;
    background: #ffe589;
}

.LinkImg {
    height: 90px;
}

.MProdImg {
    line-height: 120px;
}

    .MProdImg img {
        max-height: 120px;
        max-width: 90px;
    }



@media screen and (max-width: 1200px) {
    .footerLogo {
        text-align: center;
        padding: 10px;
    }

    .contact > .block {
        display: flex;
    }

    .classTopMenu > ul > a, .classTopMenu > ul > a:hover {
        margin-right: 3px;
    }

    .fb > .block {
        display: none;
    }

    /*.blockTitle > h2 {
        text-align: center !important;
    }*/

    .copyright {
        border-top: 1px solid #ffecff;
        text-align: center;
        padding: 15px 0 45px 0;
    }

        .copyright p {
            padding-top: 5px;
        }
}

@media screen and (max-width: 1280px) {
    .fullScreenSearchBar {
        width: 100%;
    }

    .topNewsLeft {
        padding-left: 15px;
    }
}

@media screen and (min-width: 992px) {
    .container {
        margin-top: 20px;
    }

    ul.box li:nth-child(1) {
        order: 1 !important;
        width: 100% !important;
    }

    ul.box li:nth-child(2) {
        order: 3 !important;
        width: 100% !important;
    }

    ul.box li:nth-child(3) {
        order: 2 !important;
        width: 100% !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1070px) {
    #Body {
        margin-top: 10px;
    }
}
