﻿* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    /*max-width: 100%;*/
    /*max-height: 100%;*/
    font-family: 'Microsoft JhengHei UI', arial, helvetica, san-serif;
}

html {
    zoom: 1;
}

body {
    overflow: hidden;
    /*overflow: scroll;*/
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}

.HidElem {
    display: none;
}

.styled-btn {
    position: relative;
}

    .styled-btn .btn {
        width: 100%;
        height: 100%;
        background: none;
        border: none;
        position: absolute;
        left: 0px;
        top: 0px;
        z-index: 1;
    }

.SELECT,
input {
    border: none;
    border-radius: 10px;
    padding: 5px 15px;
    font-size: 22px;
}

    .SELECT.List_Lan {
        border: 1px solid rgba(0, 0, 0, 0.2);
    }

.BodyPanel {
    margin: 70px 3% 3%;
}

.DefaultText {
    font-size: x-large;
    font-weight: bold;
}

/*
    查詢頁面
*/
.Panel_Col {
    display: inline-table;
    width: 27vw;
    height: 100%;
    margin: auto 1vw;
    /*border: 1px solid rgba(100,100,100,0.5);*/
}

.Panel_Col2 {
    display: inline-table;
    /*display: inline;*/
    width: 27vw;
    height: 42vh;
    /*margin: auto 1vw;*/
    /*border: 1px solid rgba(100,100,100,0.5);*/
}

.Panel_Col3 {
    display: inline-table;
    /*display: inline;*/
    width: 27vw;
    height: 42vh;
    margin-top: 2vh;
    /*margin: auto 1vw;*/
    /*border: 1px solid rgba(100,100,100,0.5);*/
}

.Panel_Mid {
    display: table;
    margin: auto;
}

.Panel_Title {
    font-size: 40px;
    font-weight: bold;
    padding: 2vh 2vw 1vh 2vw;
    text-align: center;
}

.Panel_Title2 {
    font-size: 40px;
    font-weight: bold;
    padding: 2vh 2vw 0px 2vw;
    text-align: center;
}

.Panel_Content {
    font-size: 26px;
    font-weight: bold;
    padding: 0vh 2vw;
}

    .Panel_Content .SELECT {
        width: 20vw;
    }

    .Panel_Content .SELECT,
    .Panel_Content input {
        border: 1px solid #8eaebe;
        max-width: 90%;
    }

    .Panel_Content .SELECTNone {
        display: none;
    }

    .Panel_Content input.btn-default {
        border: 3px outset rgb(183, 223, 243);
        background-color: rgba(182, 225, 252, 1.0);
        padding: 10px 20px;
        cursor: pointer;
        font-weight: bold;
    }

        .Panel_Content input.btn-default:disabled {
            border: 3px outset rgb(240, 240, 240);
            background-color: rgba(200, 200, 200, 1.0);
            padding: 10px 20px;
            font-weight: bold;
        }

/*.DisabledForm {
        color: rgba(0,0,0,0.5);

    background: rgba(100,100,100,0.1);
    }
.EnabledForm {
    box-shadow: rgba(0, 0, 0, 0.3) 0pt 0pt 30pt;
}*/

fieldset {
    border-top: 3px outset rgb(183, 223, 243);
    border-bottom: none;
    border-left: none;
    border-right: none;
    text-align: center;
    display: block;
    margin-bottom: -10px;
}

    fieldset legend {
        color: rgba(69, 104, 121, 1.0);
    }

.row {
    padding: 5px;
}

    .row span {
        padding-right: 10px;
    }

.FilterPanel {
    position: relative;
    border-radius: 15px;
    border: 4px solid rgba(80, 93, 93, 0.7);
    background-color: rgba(250,250,250, 0.8);
}

.FilterBtn {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: rgba(30, 35, 35, 0.50);
    color: rgba(255,255,255,1);
    font-size: xx-large;
    font-weight: bold;
    z-index: 1;
    visibility: hidden;
}

/*
    篩選狀態
*/
.browse-header {
    margin: 0px auto;
}

.BrowseBooksMessage {
    display: inline-block;
    font-size: x-large;
    font-weight: bold;
    line-height: 2em;
    padding: 0 50px;
    border-bottom: 1px solid rgb(66, 139, 202);
    border-top: 1px solid rgb(66, 139, 202);
    /*background: rgba(255,255,255,0.8);*/
    background: linear-gradient(to right, rgba(255,255,255,0.3), rgba(255,255,255,0.9) 10%, rgba(255,255,255,0.9) 90%, rgba(255,255,255,0.3));
}

    .BrowseBooksMessage .sort-btn-icon {
        font-size: xx-large;
    }
/*
    書目瀏覽
*/
.BrowseBooksPanel {
    display: block;
    overflow: hidden;
    text-align: center;
    margin: 10px 0%;
    padding: 3vh 1%;
    /*background-color: rgba(255, 255, 255, 0.9);*/
    background-image: url(images/glass-frame.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    /*border: 10px solid transparent;
    border-image-source: url('images/glass-frame-00.png');
    border-image-outset: 0px;
    border-image-slice: 40%;
    border-image-repeat: stretch;
    border-image-width: 100px; */
}

.BooksPanel {
    position: relative;
    padding: 0pt 30pt;
    height: 25vh;
}

.SortButtonsPanel {
    display: inline-block;
}

    .SortButtonsPanel .SortButton {
        background: none;
        border: 3px solid black;
        border-radius: 10px;
        padding: 5px 15px;
        margin: 5px;
        font-size: x-large;
        font-weight: bold;
		color: black;
    }

        .SortButtonsPanel .SortButton:hover,
        .SortButtonsPanel .SortButton:active,
        .SortButtonsPanel .current {
            background-color: rgba(0, 0, 0, 1.0);
            color: rgba(255,255,255,1.0);
        }

.BookCoverImage {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.Book, .BookCoverImage, .BookCoverImageButton, .BookTitleLabel, .BookTitlePanel {
    width: 150px;
}

.Book, .BookCoverImage, .BookCoverImageButton {
    /*之後改成%，不對，不好，這樣不響應式 */
    height: 200px;
}

.Book {
    /*background-color: rgba(255, 255, 255, 1.0);*/
    background-image: url('images/loading.gif');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    margin: 10px 6.5px;
    /*border: 5px inset BurlyWood;
    box-shadow: 0px 3px 5px 0 rgba(0, 0, 0, 0.7);*/
}

    .Book .BookCoverImage {
        position: relative;
        /*background-color: rgba(255, 255, 255, 1.0);*/
    }

    .Book .BookCoverImageButton {
        border: none;
        background: none;
        z-index: 1;
        position: absolute;
        left: 0;
        top: 0;
    }

    .Book .TopBook {
        position: absolute;
        left: 0px;
        top: 0px;
        color: FireBrick;
        text-shadow: -2px -2px 3px gold, 2px 2px 3px gold;
        font-size: xx-large;
        font-size: -webkit-xxx-large;
        transform: translate(-25px, -25px) rotate(-30deg);
    }
    /*.Book .TopBook {
        position: absolute;
        left: 0px;
        top: 0px;
        width: auto;
        height: auto;
        background-image: url('images/crown02.png');
        transform: translate(-25px, -25px) rotate(-30deg);
    }*/
    .Book .rownum {
        position: absolute;
        right: 0px;
        top: 0px;
        padding: 0px 6px;
        font-size: large;
        font-family: "Arial Black", Gadget, sans-serif;
        background-color: rgba(0,0,0,1.0);
        color: rgba(255,255,255,1.0);
    }

    .Book .BookTitleLabel,
    .Book .BookTitlePanel {
        font-size: large;
        font-weight: bolder;
        color: rgba(255,255,255,1);
        text-shadow: 2px 2px 2px rgba(0, 0, 0, 1.0), 2px -2px 2px rgba(0, 0, 0, 1.0), -2px 2px 2px rgba(0, 0, 0, 1.0), -2px -2px 2px rgba(0, 0, 0, 1.0), 0px 0px 10px rgba(0, 0, 0, 1.0);
        position: absolute;
        left: 0px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .Book .BookTitleLabel {
        background-color: rgba(0, 0, 0, 0.1);
        bottom: 0px;
        max-height: 48px;
    }

    .Book .BookTitlePanel {
        top: 100px;
        transform: translate(0,-50%);
        padding: 10%;
        z-index: 0;
    }


/*
    書單滑動桿
*/
.slidercontainer {
    width: 100%;
}

/*
    單冊書籍資訊
*/
#bookDetail {
    /*width: 1200px;
    height: 700px;*/
    max-width: 1280px; /* 覆蓋.modal */
    width: auto; /* 覆蓋.modal */
    padding: 30px; /* 覆蓋.modal */
}

#bookDetailModal .title,
#bookDetailModal .data {
    display: inline-block;
    width: 45%;
    padding: 5px;
    border-bottom: 1px solid grey;
}
/*#bookDetail #BookData,
#bookDetail #MapFloor {
    display: none;
}*/
.CoverPanel {
    display: inline-block;
    text-align: right;
    vertical-align: middle;
    margin: 20px;
    /*width: 49%;
    padding-left: 18%;*/
}

    .CoverPanel .BookCoverImage {
        width: 150px;
        height: 200px;
        border: 1px solid lightgrey;
    }

.InfoPanel {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    max-width: 700px;
    min-width: 600px;
}

    .InfoPanel .title,
    .InfoPanel .data {
        display: inline-block;
        font-size: 24px;
        vertical-align: text-top;
        padding: 1px 2px;
    }

    .InfoPanel .title {
        width: 25%;
        text-align: right;
        font-weight: bold;
    }

    .InfoPanel .data {
        width: 70%;
        text-align: left;
    }

.MapFloor {
    padding: 20px;
    text-align: center;
    /*display:table;
    margin: auto;*/
    background: rgba(182, 225, 252, 1.0);
}

.ShelfMapMsg {
    padding: 0 0 10px;
    font-size: large;
    font-weight: bold;
}

.ShelfMapPanel,
.ShelfMapPanel > svg {
    /*position:  absolute;
    top: 0;
    left: 0;*/
    margin: 0px auto;
    /*設定跟管理端同步*/
    /* (760:1000)*0.76 */
    width: 577px;
    height: 760px;
    /* (678:783)*0.76 */
    /*width: 515px;
    height: 595px;*/
    /*width: 760px;
    height: 860px;*/
    /*background-size: contain;*/
    background-size: contain;
    background-position: center top;
    background-attachment: local;
    background-repeat: no-repeat;
}

    .ShelfMapPanel > .MapHiddenField {
        display: none;
    }

/*
    待機畫面
*/
#idleMsg {
    max-width: 100%;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    padding: 0;
    border-radius: 0px; /*覆蓋.modal*/
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}

.idle-msg {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 0;
    background-color: rgba(0,0,0,0.5);
    color: white;
    font-size: 60px;
    font-weight: bold;
    text-align: center;
}

#activeButton {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
/*
    載入提示
*/
#loadingFullPage {
    z-index: 100;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    text-align: center;
    vertical-align: middle;
    background-color: rgba(255,255,255,0.5);
    background-image: url('Images/loading.gif');
    background-repeat: no-repeat;
    background-position: center;
}

#loadingBookDetail {
    display: none;
    z-index: 100;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    text-align: center;
    vertical-align: middle;
    background-color: rgba(255,255,255,0.5);
    background-image: url('Images/loading.gif');
    background-repeat: no-repeat;
    background-position: center;
}
/*
    擬bootstrap
*/
.navbar,
.navbar-offset {
    width: 100%;
    height: 2.5em;
    padding: 10px;
    font-size: x-large;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    background: white;
    font-weight: bold;
}

    .navbar .navbar-left {
        float: left;
        line-height: 1.5em;
    }

    .navbar .navbar-middle {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .navbar .navbar-right {
        float: right;
        line-height: 1.5em;
    }

/*
    swiper
*/
.swiper-container {
    padding: 15pt 0pt 0pt;
}

/*
    rangeslider
*/
.irs-slider {
    width: 54px;
}

.irs-from, .irs-to, .irs-single {
    border-color: #888;
}

.irs-with-grid {
    /*background-image:url('images/light-wood-texture.jpg');*/
    margin: 0 30px;
}

.irs-grid-text, .irs-from, .irs-to, .irs-single {
    font-size: 20px;
}

.irs-line {
    background: linear-gradient(to bottom, #555 -50%, #ddd 150%);
    border: 1px solid #888;
}

/*
    modal
*/
.modal a.close-modal {
    width: 80px;
    height: 80px;
    border: 5px solid white;
    border-radius: 100%;
}

/*
    datepicker
*/ [id$='_JCalendar'] {
    /*height: 25vh;*/
    width: 60%;
    margin: auto;
    /*border: 3px dashed rgba(10,100,100,1);
      border-radius: 20px;
      background-color: rgba(255,255,255,0.3);*/
}

.datepicker-panel > ul > li.picked {
    background-color: rgba(16,76,136,1);
    color: rgba(255,255,255,0.9);
}

    .datepicker-panel > ul > li.picked:hover {
        background-color: rgba(16,76,136,0.8);
        color: rgba(255,255,255,1);
    }

.datepicker-panel > ul > li[data-view="years prev"],
.datepicker-panel > ul > li[data-view="year prev"],
.datepicker-panel > ul > li[data-view="month prev"],
.datepicker-panel > ul > li[data-view="years next"],
.datepicker-panel > ul > li[data-view="year next"],
.datepicker-panel > ul > li[data-view="month next"],
.datepicker-panel > ul > li[data-view="next"] {
    font-size: unset;
}

.datepicker-container {
    font-size: large;
    /*height: 20vh;*/
}

.datepicker-inline {
    width: 100%;
}

.datepicker-panel > ul > li {
    /*height: 14%;*/
    width: 14%;
}

    .datepicker-panel > ul > li[data-view="years current"],
    .datepicker-panel > ul > li[data-view="year current"],
    .datepicker-panel > ul > li[data-view="month current"] {
        width: 72%;
    }

    .datepicker-panel > ul > li[data-view="years prev"],
    .datepicker-panel > ul > li[data-view="year prev"],
    .datepicker-panel > ul > li[data-view="years next"],
    .datepicker-panel > ul > li[data-view="year next"],
    .datepicker-panel > ul > li[data-view="years current"],
    .datepicker-panel > ul > li[data-view="year current"] {
        /*height: 25%;*/
        /*line-height: 4em;*/
    }

    .datepicker-panel > ul > li[data-view="month prev"],
    .datepicker-panel > ul > li[data-view="month next"],
    .datepicker-panel > ul > li[data-view="month current"] {
        /*height: 20%;*/
    }

.datepicker-panel > ul[data-view="years"] > li,
.datepicker-panel > ul[data-view="months"] > li {
    /*height: 25%;*/
    /*line-height: 4em;*/
    width: 25%;
}
