﻿body {
    /*background: url(../images/background/index.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 1920px 1080px;
    overflow: hidden;
    font-family: 微軟正黑體,Lucida Sans Unicode,Arial, sans-serif;*/
    background: url(../images/background/index.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 100vw 100vh;
    overflow: hidden;
    font-family: 微軟正黑體,Lucida Sans Unicode,Arial, sans-serif;
}

.btn {
    display: inline-block;
    /*padding: 6px 30px;*/
    /*margin-bottom: 30px;
    margin-top: 30px;*/
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 25px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.msg {
    white-space: nowrap;
    vertical-align: middle;
    color: rgba(116,81,46,0.3);
    font-size: 2.5vw;
    /*font-weight: bold;*/
    width: auto;
}

.QRcode {
    /*float: left;
    text-align: right;*/
    /*padding-right: 2.604167vw;
    padding-top: 10vh;*/
    width: 15vw;
    height: auto;
    /*border: 1px inset #000000;*/
}

    .QRcode canvas {
        /*display: block;*/
        -webkit-box-shadow: 0vw 0.7813vw 0.521vw -0.4167vw rgba(0,0,0,.5);
        -moz-box-shadow: 0vw 0.7813vw 0.521vw -0.4167vw rgba(0,0,0,.5);
        box-shadow: 0vw 0.7813vw 0.521vw -0.4167vw rgba(0,0,0,.5);
        width: 10vw;
        height: 10vw;
        margin: 2vh 2.5vw 0px;
        /*margin-top: 0.521vw;*/
        /*border-radius: 0.7813vw 0.7813vw 0.7813vw 0.7813vw;*/
        /*border:1px solid black;*/
    }

.bookstore_icon {
    width: 9vw;
    height: 3vw;
    /*margin: 1.5vh;*/
    /*border: 1px solid black;*/
}

.hrefBtn {
    width: auto;
    height: 6vw;
    cursor: pointer;
    outline: none;
    position: absolute;
    top: 18px;
    left: 3vw;
}
    .hrefBtn:focus {
        opacity: 0.8;
    }

.book1 {
    /*width: auto;
    padding-top: 0%;
    margin-right: 3.5%;
    margin-left: 3.5%;*/
    text-align: center;
    width: 93vw;
    margin: 0 auto;
    clear: both;
    /*overflow: hidden;*/
    /*padding-left:1%;*/
    /*border:1px solid black;*/
}

.title_head {
    font-size: 1.8vw;
    width: 100%;
    /*margin: 0 auto;*/
    position: absolute;
    bottom: 0;
    left: 0;
}

.title_sub {
    font-size: 2.5vw;
}

.name-overlay {
    text-align: center;
    position: relative;
    font-family: 微軟正黑體,Lucida Sans Unicode,Arial, sans-serif;
    /*font-size: 1.14583vw;*/ /* 22px; */
    font-size: 1vw;
    /*font-size: 0.8334vw;*/ /* 16px; for English */
    height: auto;
    width: 7.5vw;
    padding-top: 0.52083vw; /* 10px; */
    font-weight: bold;
    white-space: pre-line;
    clear: both;
    /*overflow: hidden;*/
}

.topic-overlay3 {
    text-align: center;
    position: relative;
    font-family: 微軟正黑體,Lucida Sans Unicode,Arial, sans-serif;
    /*color: #800000;*/
    width: 7.5vw;
    max-height: 1.05vw;
    font-size: 0.9vw;
    /*margin-top: 5px;*/
    /*margin-left: 35px;*/
    padding-top: 0.52083vw; /* 10px; */
    padding-bottom: 0px;
    font-weight: bold;
    white-space: pre-line;
    clear: both;
    overflow: hidden;
}

.topic-overlay2 {
    color: #800000;
    width: 145px;
    margin-top: 3px;
    white-space: pre-line;
    margin-left: 35px;
}

.topic-overlay1 {
    width: 145px;
    margin-top: 5px;
    white-space: pre-line;
    margin-left: 35px;
}

#Carousel1 {
    /*padding: 0.5%;*/
    position: relative;
    margin-top: 1vw;
}

.cycle-slideshow {
    width: auto;
    padding: 0 0 0 0;
    position: absolute;
}

    /* slideshow images (for most of the demos, these are the actual "slides") */
    .cycle-slideshow img {
        /*
    some of these styles will be set by the plugin (by default) but setting them here
    helps avoid flash-of-unstyled-content
    */
        position: absolute;
        /*left: 10px;*/
        width: 100%;
        display: block;
        /*border: 1px inset #808080;*/
        box-shadow: 1px -1px rgba(84, 84, 84, 0.8), 2px -2px rgba(89, 89, 89, 0.8), 3px -3px rgba(94, 94, 94, 0.8), 4px -4px rgba(99, 99, 99, 0.8), 5px -5px rgba(104, 104, 104, 0.8), 6px -6px rgba(109, 109, 109, 0.8), 7px -7px rgba(114, 114, 114, 0.8), 8px -8px rgba(119, 119, 119, 0.8), 9px -9px rgba(124, 124, 124, 0.8);
        width: 10.41667vw; /* 200px; */
        height: 13.45484vw; /* 258.333px*/
        margin-top: 0.98958vw; /* 19px*/
        margin-right: 3.125vw; /* 60px*/
        /*margin-top: 19px;
        margin-left: 35px;
        margin-right: 30px;*/
    }

        /* in case script does not load */
        .cycle-slideshow img:first-child {
            position: static;
            z-index: 100;
        }

.book2 {
    /*max-width: 240px;
    min-width: 240px;*/
    max-width: 7.5vw;
    min-width: 7.5vw;
    vertical-align: top;
}

.imgbtn {
    position: absolute;
    left: 0px;
    top: 0px;
    display: block;
    /*border: 1px inset #808080;*/
    -webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
    box-shadow: 0px 10px 6px -6px #777;
    width: 7.5vw;
    height: 10vw;
    /*height: 78%;
        width: 40%;*/
    /*height: auto;*/
    float: left;
    /*防止拖動圖片本身*/
    -webkit-user-drag: none; /* Safari 和 Chrome */
    -moz-user-drag: none; /* Firefox */
    -ms-user-drag: none; /* Internet Explorer */
    user-drag: none; /* 標準 */
}

    .imgbtn:first-child {
        position: static;
        z-index: 100;
    }

.main_center {
    margin-top: .1%;
    /*border:5px solid black;*/
}

.count_title {
    font-size: 28px; /* for chi */
    /*font-size: 25px;*/ /* for eng */
    width: 220px;
    height: 28px;
    padding-top: 3%;
    padding-left: 1%;
    padding-bottom: 15%;
}

.count_show {
    padding: 5%;
    line-height: 16px;
    letter-spacing: 6pt;
    font-size: 38px;
}

.title_table {
    width: 95%;
    margin-left: 2.5%;
    font-size: 25px;
}

    .title_table tr {
        height: 34px;
    }

.rank_Readertd {
    width: 325px;
}

.rank_Unittd {
    width: 433.33333px;
}

.left_count {
    /*height: 10%;*/
    float: left;
    padding-left: 1%;
    padding-top: 20px;
    width: 20%;
    /*border: 1px solid black;*/
}

#Carousel2 {
    width: 87%;
    margin-left: 11%;
    margin-right: 0%;
    /*border: 1px solid black;*/
}

#Carousel3 {
    float: left;
    position: relative;
    width: 100%;
    height: 400px;
    /*height: 295px;*/
    /*border: 2px solid yellow;*/
    margin: 0% 0%;
}

#NewBook {
    padding: 0 1%;
    width: auto;
}

#LibraryCollections {
    margin-left: 1.2%;
    clear: both;
}

#Borrowing_Returning {
    clear: both;
    margin-left: 1.2%;
    margin-top: 70px;
}

#opac_onlinecount {
    clear: both;
    margin-left: 1.2%;
    margin-top: 70px;
}

#Doors_Rfid {
    clear: both;
    margin-left: 1.2%;
    margin-top: 70px;
}

#loanRanks_part {
    float: left;
    padding-top: 0px;
    width: 76%;
    /*border: 2px solid #990066;*/
}

#Tabel_part {
    float: left;
    width: 77%;
    /*margin-top:1%;*/
    padding-right: 0%;
    /*border: 1px solid black;*/
}

.imgAndContent {
    text-align: center;
    position: relative;
    font-family: 微軟正黑體,Lucida Sans Unicode,Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    vertical-align: top;
    height: 300px;
    /*border: 1px inset #FFFF00;*/
}

/*
    these are just the default styles used in the Cycle2 demo pages.
    you can use these styles or any others that you wish.
*/

/* set border-box so that percents can be used for width, padding, etc (personal preference) */
.cycle-slideshow, .cycle-slideshow * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*
    media queries
    some style overrides to make things more pleasant on mobile devices
*/

@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
    .cycle-slideshow {
        width: 200px;
    }

    .cycle-overlay {
        padding: 4px;
        margin-left: 5%;
        background-color: #FFF;
    }

    .cycle-caption {
        bottom: 4px;
        right: 4px;
    }
}

.topic-slideshow, .topic-slideshow * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.topic-slideshow {
    position: relative;
}

    .topic-slideshow img {
        /*
    some of these styles will be set by the plugin (by default) but setting them here
    helps avoid flash-of-unstyled-content
    */
        position: absolute;
        position: relative;
        width: 145px;
        height: 190px;
        border: 1px solid #c2c0b8;
        /*background-color: #fff;*/
        box-shadow: 0 0 60px 10px rgba(0, 0, 0, .1) inset, 0 5px 0 -4px #fff, 0 5px 0 -3px #c2c0b8, 0 11px 0 -8px #fff, 0 11px 0 -7px #c2c0b8, 0 17px 0 -12px #fff, 0 17px 0 -11px #c2c0b8;
        /*margin-left:100%;*/
        margin-top: 0px;
        margin-left: 35px;
        margin-right: 74px;
    }

        /* in case script does not load */
        .topic-slideshow img:first-child {
            position: static;
            z-index: 100;
        }

/*.topic-overlay {
    text-align: center;
    position: relative;
    font-family: 微軟正黑體,Lucida Sans Unicode,Arial, sans-serif;
    font-size: 17px;
    font-weight: bold;
    word-wrap: break-word;
    margin-top: 10px;
    width: 140px;
}*/

@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
    .topic-slideshow {
        width: 200px;
    }

    .topic-overlay {
        padding-left: 5%;
        background-color: #FFF;
    }

    .topic-caption {
        bottom: 4px;
        right: 4px;
    }
}
