html {
    font-size: 13px;
}
th {
    white-space: nowrap;
    text-align: center;
    background-color: #fff;
}
td {
    white-space: nowrap;
}

.text-bold {
    font-weight: bold;
}
#container {
    min-width: 100%;
}
.nav {
    padding: 5px 10px;
    background-color: #000;
    color: #fff;
    position: relative;
}
.itemcenter {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.mrg_btm0 {
    margin-bottom: 0 !important;
}
.btnsearch {
    cursor: pointer;
}

.printbox {
    position: fixed;
    top: 0;
    right: 11.5%;
    z-index: 2010;
    color: #fff;
    padding: 5px 10px;
    border-radius: 0 0 5px 5px;
    cursor: pointer;
}

.menu {
    position: fixed;
    top: 0;
    right: 1.5%;
    z-index: 2020;
    color: #fff;
    padding: 5px 10px;
    border-radius: 0 0 5px 5px;
}
.menu h3, .printbox h3 {
    padding: 0;
    margin: 0;
    cursor: pointer;
}
.menu nav {
    display: none;
}
.menu nav ul, .menu nav ul li {
    padding: 0;
    margin: 5px 0 0;
    font-size: 0.9rem;
}
.menu nav a {
    color: #fff;
}
.menu nav ul li.kanri {
    padding: 3px 0 0;
    border-top: 1px solid #fff;
}

.table-sm th {
    border-right: solid 1px #000;
    border-bottom: solid 1px #ccc;
}
.table-sm td {
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
}
.table-sm .sumtr td {
    border-top: solid 1px #000 !important;
}
.table-sm .avtr td {
    border-bottom: solid 1px #000 !important;
}

.bookbox {
    padding: 3px;
    border-bottom: solid 1px #ccc;
}
.haku {
    border-bottom: solid 1px #ccc;
}
.bookbox:last-child, .haku:last-child {
    border-bottom: none;
}
.bookbox p, .arariZen p, .arariKou p, .arariTotal p, .mokuhyo p, .pmini {
    margin: 0;
    font-size: 0.8em;
}
.bookbox.art, .bookbox.design, .bookbox.comic, .bookbox.tradition {
    color: #fff;
}
.stafftable.table-sm td.bookin {
    padding: 0rem;
}
.stafftable.table-sm th, .stafftable.table-sm td {
    border-right: 3px solid #000;
    border-bottom: 1px solid #000;
}
.stafftable.table-sm th.sumarari, .stafftable.table-sm td.sumarari {
    border-right: 1px solid #000;
}

.kibetsu.table-sm th {
    border-bottom: solid 2px #000 !important;
}
.kibetsu.table-sm tr td:last-child {
    border-right: none;
}
.stafftable.table-sm tr.monthhead th {
    border-top: 1px solid #000 !important;
    border-bottom: 3px solid #000;
}
.stafftable.table-sm tr.mmtop th {
    border-bottom: 1px solid #000;
}
.stafftable.table-sm tr.staffararitr td {
    border-top: 3px solid #000;
}
.arariHensyuAll {
    background-color: #000;
    color: #fff;
}
.shelf {
    color: #fff;
}

.table-genre {
    border-collapse: collapse;
    table-layout: fixed;
}
.table-genre.table-sm th{
    border-right: 3px solid #000;
    border-bottom: 2px solid #000;
}
.table-genre.table-sm td{
    padding: 0;
    border-right: 3px solid #000;
    border-bottom: 1px solid #000;
}
.table-genre.table-sm td.categoryname {
    padding: 0.3rem;
}
.table-genre.table-sm .monthhead {
    width: auto;
}
.genreth {
    width: 100px;
}
.monthhead {
    text-align: left;
    line-height: 1.2;
    width: 170px;
}
.categoryname {
    color: #fff;
    font-weight: bold;
}
.categoryname.photo, .categoryname.kids {
    color: #000;
}

.genrebookbox {
    width: 100%;
    font-size: 0.7em;
    margin: 0 0 3px;
    padding: 0 0 3px;
}
.genrebookbox p {
    margin: 0;
    word-break: break-all;
    text-align: left;
    white-space: normal;
}

.genrebookbox .title {
    word-break: break-all;
    white-space: normal;
    line-height: 1.2;
    padding: 3px 3px 0 3px;
}
.genrebookbox .price {
    word-break: break-all;
    white-space: normal;
    padding: 3px 3px 0 3px;
}
.genrebookbox .price.blinking {
    color: #fff;
    padding: 0 3px 0 3px;
}
.tr_kids .genrebookbox .price.blinking {
    color: #000;
}
.genrebookbox .editor {
    word-break: break-all;
    white-space: normal;
    line-height: 1.2;
    padding: 3px;
}
.monthbox .genrebookbox {
    border-bottom: solid 1px #000;
    padding: 3px 0 3px;
    margin: 0 0 0;
}
.sumgenre {
    text-align: center;
}

.flexwrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin: 20px 0 0;
}
.flexbox1 {
    width: 60%;
    min-width: 480px;
    font-size: 0.8em;
}
.flexbox2 {
    width: 35%;
    font-size: 0.8em;
}
.history table {
    width: 100%;
    border: 1px solid #000;
}
.history table tr th {
    background-color: #999;
    color: #fff;
}
.history .table-sm td {
    border: 1px solid #000;
}

.counter {
    margin-bottom: 0;
    font-size: 0.8em;
}

.tc1 {
    color: rgba(75,131,252,1);
}
.tc2 {
    color: #999;
}
.tc3 {
    color: #000;
}
.puname {
    font-weight: bold;
}

.blinking {
    -webkit-animation:blink 0.5s ease-in-out infinite alternate;
    animation:blink 0.5s ease-in-out infinite alternate;
}
@-webkit-keyframes blink{
    0% {opacity:0.6;}
    100% {opacity:1;}
}
@keyframes blink{
    0% {opacity:0.6;}
    100% {opacity:1;}
}

.print {
    display: none;
}
#overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    pointer-events: none;
}
#overlay::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 40px;
    height: 40px;
    margin: auto;
    border: 4px #ccc solid;
    border-top: 4px transparent solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}
@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}

@media print {
    @page {
        size: A3 landscape;
        margin: 2mm 2mm;
    }
    body {
        top:0 !important;
        left:0 !important;
        width: 420mm !important;
        height: auto !important;
        overflow: auto;
    }
    .floatThead-container, colgroup {
        display: none !important;
    }
    #container {
        width: 420mm !important;
    }
    table {
        page-break-inside: auto !important;
    }

    thead {
        display: table-header-group !important;
    }

    tfoot {
        display: table-row-group !important;
    }

    tr {
        -webkit-column-break-inside: avoid !important;
        break-inside: avoid !important;
        page-break-after:auto;
    }

    td, th {
        page-break-inside: avoid !important;
    }
    .categoryname {
        font-size: 0.7em;
    }
    .table {
        width: 420mm !important;
        min-width: 420mm !important;
    }
    .table-genre {
        border-collapse: collapse;
        table-layout: fixed;
    }
    .genreth {
        width: 50px !important;
    }
    .monthhead, th, td {
        width: 80px !important;
    }
    .nav, .menu, .printbox {
        display: none;
    }
    a[href]:after {
        content: "" !important;
    }

    .flexwrap {
        display: block;
    }
    .flexbox1 {
        width: 100%;
    }
    .flexbox2 {
        width: 100%;
    }

    .blinking {
        -webkit-animation:none;
        animation:none;
    }

    .print {
        display: block;
    }
}
