/* GLOBAL STYLES */
html {
    position: relative;
    min-height: 100%;
}
body {
    padding: 0;
    color: #5a5a5a;
    font-family: Arial,微軟正黑體,Consolas,sans-serif;
}
a {
    color: #323232;
}
a:hover {
        color: #3399FF;
}
/*無障礙設定*/
a:focus {
        background: #FFBF47 !important;
        color: #000000;
        font-weight: 700;
    }
:focus-visible {
    outline: -webkit-focus-ring-color auto 1px;
    outline-color: -webkit-focus-ring-color;
    outline-style: auto;
    outline-width: 1px;
}
.linkyellow:hover {
    background: #FFBF47 !important;
    color: #000000;
    font-weight: 700;
    outline: -webkit-focus-ring-color auto 1px;
    outline-color: -webkit-focus-ring-color;
    outline-style: auto;
    outline-width: 1px;
}
#ACCU {
    color: rgba(255,255,255);
}
#ACCZ {
    color: #252E36;
}
/*顏色*/
.box-c1 {
    color: #fff;
    background-color: #198754;
}
.box-c2 {
    color: #fff;
    background-color: #b8860b;
}
.box-c3 {
    color: #fff;
    background-color: #BF00BF;
}
.font-c1 {
    color: #198754;
}
.font-c2 {
    color: #b8860b;
}
.font-c3 {
    color: #BF00BF;
}
/*字級*/
.fontBig {
    font-size: 1.2rem;
}
.fontSmall {
    font-size: 0.8rem;
}
.fontSizeh4 {
    font-size: 1.5rem;
}
.fontover {
    color: #fff;
    background-color: #6c757d;
}
.p-md p {
    font-size: 1.2rem;
    line-height: 2em;
    margin: 1.5em 0;
}
.p-md h1, h2, h3, h4 {
    color: #466E78;
}
/*CSSD：圖片*/
.index-cov {
    background-color: #666666;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
    width: 100%;
}
.index-cov-contain {
	/*background-color: #666666;*/
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	display: block;
	width: 100%;
}
.cov-hid {
    overflow: hidden;
    position: relative;
}
.cov-md-h-2nd {
    height: 280px;
}
.cov-md-h-m {
    height: 175px;
}
.cov-md-h-l {
    height: 320px;
}
.cov-md-h-3rd {
    height: 65px;
}
.img100 {
    width: 100%;
    height: auto;
}
.linkimg a:hover {
    border: 1px solid #3399FF;
}
.author-img {
    width: 80px;
    height: 80px;
}
.content-img {
    max-width: 100%;
    height: auto;
    max-height: 695px;
}
/*@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}*/
/*html {
  position: relative;
  min-height: 100%;
}

/*CSSN：主版頁首頁尾*/
.bg-dark-opacity {
    background: rgba(255,255,255);
    border-bottom: 1px solid #DADADA;
}
.search-btn-1 {
    border-radius: 0px 5px 5px 0px;
    -moz-border-radius: 0px 5px 5px 0px;
    -webkit-border-radius: 0px 5px 5px 0px;
    border: 1px solid #CED4DA;
    border-left: 0px;
}
li.dropdown:hover > .dropdown-menu {
    display: block;
}
.infostyle {
    color: #FFF;
    background-color: #5D635D;
    padding: 20px 15px 0px 15px;
    position: relative;
}
.infostyle li a {
        color: #FFF;
    }
.infostyle ul {
        padding: 0;
    }
.infostyle li {
        list-style-type: none;
        line-height: 1.75em;
    }
.infostyle-bg {
    position: absolute;
    right: 0;
    bottom: 0;
}
.white-line {
    border-color: #fff;
}
.footerstyle {
    background-color: #252E36;
    padding: 30px;
    color: #FFF;
}
.footerstyle a {
        color: #FFF;
    }
.icon-s-use {
    padding: 0 10px 0 0;
}
/*CSSO：搜尋區元件*/
.index-slogan {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.75em;
}
/*search-btn-1=>引用「CSSN：主版頁首頁尾」*/
/*index-cov=>引用「CSSD：圖片*/
/*首頁*/
/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.marketing h2 {
    font-weight: 400;
}

.marketing .col-lg-4 p {
    margin-right: .75rem;
    margin-left: .75rem;
}
.icon-use {
    padding: 0 0 0 10px;
}
.topstyle {
    padding: 20px 15px 0px 15px;
}
.top-title {
    height: 20px;
    background-color: #3399FF;
    position: relative;
}
.top-title-name {
    position: absolute;
    top: -7px;
    color: #3399FF;
    background-color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 0 0.5em 0 0;
}
.top-title-c {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0px 15px 10px 15px;
    padding: 5px 15px;
    letter-spacing: 0.25em;
}
.n2-title-c {
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    height: 2px;
    margin-bottom: 20px;
}
.n2-title-c-font {
    position: absolute;
    background-color: #fff;
    top: -17px;
    padding: 0 0.5em 0 0;
}
.topbookstyle {
    padding: 0 30px;
}
.top-book {
    padding: 2em 1em 0 1em;
}
    .top-book img {
        width: auto;
        height: 160px;
        overflow: hidden;
    }
    .top-book p {
        font-size: 1.2rem;
        font-weight: bold;
        padding: 1em 0 0 0;
    }
.content-book {
    font-size: 1.2rem;
    font-weight: bold;
}
    .content-book img {
        width: auto;
        height: 160px;
        overflow: hidden;
        margin-bottom: 0.5em;
    }
.new-book {
    margin: 1em 0 0 0;
    padding: 0.5em;
    color: #785718;
    background-color: #FFD685;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1em;
    border-bottom: 1px solid #CD9628;
}
.newbookstyle {
    background-color: #FFBB33;
}
.newbookstyle-r {
    padding: 20px 20px 20px 0px;
}
    .newbookstyle-r h5 {
        font-size: 1.25rem;
        font-weight: bold;
        line-height: 1.25em;
    }
    .newbookstyle-r a {
        color: #644B14;
    }
        .newbookstyle-r a:hover {
            color: #644B14;
        }
.newbookstyle-l {
    padding: 20px;
}
.add-mb {
    margin-bottom: 15px;
}
.sidetitle a {
    display: block;
    font-size: 1.25rem;
    line-height: 1.25em;
    margin: 0;
    padding: 0;
    max-height: 2.5em;
    overflow: hidden;
    color: #000000;
}
.swlist-h1 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1em 0 0 0;
    padding: 0 0 0.25em 0;
}
.blueline {
    display: block;
    height: 2px;
    background-color: #3399FF;
    margin: 30px 15px 15px 15px;
}
.big3style {
    padding: 20px 15px 0px 15px;
}


    .big3style h4 {
        line-height: 1.25em;
        padding: 0.5em 0 0.25em 0;
    }

.title-box {
    padding: 0.5em;
    display: block;
    position: absolute;
    top: 0;
    font-size: 1.2rem;
    line-height: 1;
    font-weight: bold;
    z-index: 2;
}

.title-mov {
    width: 72px;
    height: 72px;
    display: block;
    position: absolute;
    top: 50%;
    right: 50%;
    margin: -36px -36px 0 0;
    opacity: 0.8;
}

.mov-p {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.25em;
    margin: 0.5em 0 0 0;
}
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
/*.carousel {
    margin-bottom: 4rem;
}*/
/* Since positioning the image, we need to help out the caption */
/*.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}*/

/* Declare heights because of positioning of img element */
/*.carousel-item {
    height: 32rem;
    background-color: #777;
}

    .carousel-item > img {
        position: absolute;
        top: 0;
        left: 0;
        min-width: 100%;
        height: 32rem;
    }*/

/* Featurettes
------------------------- */

/*.featurette-divider {
    margin: 5rem 0;*/ /* Space out the Bootstrap <hr> more */
/*}*/

/* Thin out the marketing headings */
/*.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.05rem;
}*/


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
     Bump up size of carousel content 
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 3.2rem;
    }
}

@media (min-width: 62em) {
    .featurette-heading {
        margin-top: 7rem;
    }
}

/*
 * Sidebar
 */
.sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    overflow-x: hidden;
    overflow-y: auto;  /*Scrollable contents if viewport is shorter than content. */
    border-right: 1px solid #CCC;
}

    .sidebar .nav {
        margin-bottom: 20px;
    }

    .sidebar .nav-item {
        width: 100%;
    }

        .sidebar .nav-item + .nav-item {
            margin-left: 0;
        }

    .sidebar .nav-link {
        border-radius: 0;
    }

    .sidebar a:hover {
        background: #28A745;
        color: #fff;
    }
 /** Dashboard
 /*Placeholders*/ 
.placeholders {
    padding-bottom: 3rem;
}

.placeholder img {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
.sw3bar {
    border-bottom: 1px solid #CCC;
}


/*進度調
----------------------*/
.now-left {
    color: #FFF;
    position: relative;
    background-color: #33CC99;
    border-radius: 200px 0px 0px 200px;
    -moz-border-radius: 200px 0px 0px 200px;
    -webkit-border-radius: 200px 0px 0px 200px;
    border: 0px solid #000000;
    padding: 0.25em;
}

.now-left-b {
    color: #666;
    background-color: #ccc;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: #aaa;
}

.now-mid {
    color: #FFF;
    position: relative;
    background-color: #33CC99;
    padding: 0.25em;
}

.now-mid-b {
    color: #666;
    background-color: #ccc;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: #aaa;
}

.now-right {
    color: #FFF;
    position: relative;
    background-color: #33CC99;
    border-radius: 0px 200px 200px 0px;
    -moz-border-radius: 0px 200px 200px 0px;
    -webkit-border-radius: 0px 200px 200px 0px;
    padding: 0.25em;
}

.now-right-b {
    color: #666;
    background-color: #ccc;
}

.down-menu-bg {
    background: #fff;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #CCC;
}


.sign-log {
    display: block;
    border: 1px;
    border-style: solid;
    border-color: #868E96;
    padding: 0.25em;
    margin: 0 0 1em 0;
}

/*行距*/
.margin-bottom-add {
    margin-bottom: 20px;
}

.margin-bottom-add3 {
    margin-bottom: 30px;
}

.margin-top-add {
    margin-top: 99px;
}

.margin-top-add3 {
    margin-top: 30px;
}
/*搜尋*/
.searchtable th {
    font-weight: bold;
    font-size: 1.3rem;
    line-height: 1.25em
}
.search-btn-2 {
    border: 1px solid #CED4DA;
    border-right: 0px;
}
.searchbook-img {
    margin-top: 20px;
}

    .searchbook-img img {
        height: 160px;
        width: auto;
    }

.book-name {
    font-weight: bolder;
    line-height: 1.25em;
    height: 2.5em;
    overflow: hidden;
}

.book-data {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    min-height: 13em;
}

    .book-data li {
        display: block;
        line-height: 1.4em;
        max-height: 2.7em;
        overflow: hidden;
        margin: 0.5em 0;
    }

.bookbuy {
    display: block;
    border: 1px;
    border-style: solid;
    border-color: #007BFF;
    padding: 0.38em;
    margin: 0;
}
/*單書頁*/
.booklist li {
    list-style-type: none;
    line-height: 1.75em;
}

/*.infostyle li a {
    color: #3399FF;
}*/

.booklist ul {
    padding: 0;
}

.bookinfo {
    background-color: #F5F4E1;
    color: #000;
    margin: 0px 15px 30px 15px;
}

    .bookinfo h4 {
        font-size: 1.3rem;
        font-weight: bold;
        color: #466E78;
    }

    .bookinfo p {
        line-height: 1.75em;
        padding: 1em;
    }

    .bookinfo ul {
        margin: 1em 0;
    }

    .bookinfo li {
        padding: 0 1em;
    }

/* pagination 分頁按鈕 */
.cd-pagination {
    width: 90%;
    max-width: 768px;
    margin: 2em auto 4em;
    letter-spacing: normal;
    text-align: center;
    font-family: 'Century Gothic', 'Microsoft JhengHei';
    padding: 0;
}
    /* hide numbers on small devices */
    .cd-pagination li {
        
        display: none;
        margin: 0 -3px;
    }
        /* make sure prev next buttons are visible */
        .cd-pagination li.button {
            
            display: inline-block;
        }

            .cd-pagination li.button span {
                display: inline-block;
            }
    /* use padding and font-size to change buttons size */
    .cd-pagination a,
    .cd-pagination span {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
       
        font-size: .83rem;
        padding: 11px 17px;
        line-height: 1.42857143;
        text-decoration: none;
        color: #747474;
        background-color: #ffffff;
        border: 1px solid #929292;
        margin: 0 auto;
    }

        .cd-pagination a:hover {
            color: #FFF;
            background-color: #646464;
            border-color: #929292;
        }

.no-touch .cd-pagination a:hover {
    background-color: #f7f7f7;
}
/* click effect */
.cd-pagination a:active {
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
    transform: scale(0.9);
}
/* button disabled */
.cd-pagination li.disabled a {
    color: rgba(46, 64, 87, 0.4);
    pointer-events: none;
}

    .cd-pagination li.disabled a::before::before,
    .cd-pagination li.disabled a::after {
        opacity: .4;
    }

.cd-pagination .button:first-of-type a::before {
    content: '\00ab  ';
    font-size: 1.2rem;
}

.cd-pagination .button:last-of-type a::after {
    content: ' \00bb';
    font-size: 1.2rem;
}

.cd-pagination .active span {
    color: #FFF;
    background-color: #646464;
    border-color: #929292;
}

@media only screen and (min-width: 768px) {
    .cd-pagination li {
        display: inline-block;
    }

        .cd-pagination li.button span {
            display: none;
        }
}
/*覆寫按鈕info*/
.btn-info {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-info:hover, .btn-info:active, .btn-info.focus, .btn-info:focus {
    color: #fff;
    background-color: #0b5ed7;
    border-color: #0a58ca;
}