body { margin: 0; padding: 0; }

input[type=checkbox] {
    transform: scale(1.6);
    margin: -2px 6px 0 0;
}

.kbs-po { cursor: pointer; }
.kbs-fl-1000 { z-index: 1000; }
.kbs-fl-900 { z-index: 900; }
.kbs-fl-800 { z-index: 800; }

.kbs-ckswitch {
    position: relative;
    width: 30px;
    height: 20px;
    border-radius: 10px;
    border:#8f8f8f solid 1px;
    overflow: hidden;
    cursor: pointer;
}
.kbs-ckswitch input[type=checkbox] {
    display: none;
}
.kbs-ckswitch:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: #e9e9eb;
    -webkit-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
}
.kbs-ckswitch:after {
    content: "";
    position: absolute;
    top: 2px;
    left: 3px;
    width: 14px;
    height: 14px;
    display: block;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 9px 28px -6px rgba(0, 0, 0, 0.3);
    -webkit-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
    }
.kbs-ckswitch.checked:before {
    background: #35c759;
}
.kbs-ckswitch.checked:after {
    left: 12px;
    box-shadow: 0 9px 28px -6px rgba(0, 0, 0, 0.5);
}

.kbs-header .btn,.kbs_header .btn:hover { outline: none; box-shadow: none; }

.ui-autocomplete {
    position: fixed;
    background: #fffcf4;
    border-radius :8px;
    box-shadow :0px 0px 5px silver;
    padding: 0.5em 0.5em 0.5em 2em;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    /*padding-right: 20px;*/
    font-size: 10px;
    z-index: 1100;
}
.ui-menu-item-wrapper { padding-left: 10px!important; }
.ui-state-active {
    border-radius: 8px;
    border: 0!important;
    color:rgb(255, 255, 255)!important;
    background: rgb(112, 112, 112)!important;
}
#jquery-ui-autocomplete label {
    float: left;
    margin-right: 0.5em;
    color: black;
    font-size: 10px;
}

.dropdown-toggle::after { display: none; }
.kbs-header { z-index: 1000;}

#kbs-book-operation-space {
    display: block;
    margin: auto;
    width: 800px;  
}

#kbs-book-result { margin: 10px; display: none; }

.kbs-book-exist {
    background-color: #d5cdb4;
    border-radius: 15px;
    box-shadow:0 0 3px 2px rgba(0,0,0,0.4);
}
.kbs-book-exist:hover { background-color: #f1ecdc; transition: 0.5s; }

.kbs-no-book {
    background-color: #cdfbac;
    border-radius: 15px;
    box-shadow:0 0 3px 2px rgba(115, 115, 115, 0.4);
}
.kbs-no-book:hover { background-color: #ecfce6; transition: 0.5s; }

.kbs-book-exist .kbs-book-info-btn,.kbs-no-book .kbs-book-info-btn {
    font-size:20px;
    cursor: pointer;
}

.kbs-book-edit-box {
    background-color: #cdfbac;
    border-radius: 15px;
    box-shadow:0 0 3px 2px rgba(115, 115, 115, 0.4);
}

.kbs-book-close i { color:rgb(138, 138, 138); cursor: pointer; }
.kbs-book-close i:hover { color:rgb(0, 0, 0); transition: 0.2s ease-out; }
.kbs-book-edit-box .kbs-title { width:120px; display: flex; justify-content: flex-end; padding-right: 10px; }
.kbs-book-edit-box .kbs-book-title { font-size: 22px; font-weight: bold; }
.kbs-book-edit-box .kbs-date-info { font-size: 10px; color: darkslategray; }
.kbs-book-edit-btn { cursor: pointer; }

.kbs-book-icon-btn {
    width: 28px;
    height: 28px;
    background-color: rgb(220, 53, 70);
    border-radius: 14px;
    cursor: pointer;
}
.kbs-book-icon-btn:hover { background-color: rgb(98, 0, 0); transition: 0.2s ease-out; }

.kbs-book-option-toggle {
    background-color:rgb(212, 212, 212);
    border-radius: 20px;
    font-size: 10px;
    cursor: pointer;
}
.kbs-book-option-toggle:hover {
    background-color:rgb(255, 255, 255);
    transition: 0.5s ease-out;
}

.table .thead-dark th { color:#00284b; background-color: #70ca7d; border-color: #000000; font-size: 10px; padding: 0 10px; }
.border-2{ border-width:2px !important; }
.border-3{ border-width:3px !important; }
.dropdown-item:hover { background-color: #76c8ff !important;}
.modal-backdrop {
    background-color: #00284b;
    opacity:0.8 !important;
}
.form-control::placeholder{ color: #c4cfff; }

.tooltipster-base { z-index: 900 !important; }

.custom-select-sm,.form-control-sm {
    height: calc(1.5em + 0.5rem + 2px) !important;
    padding: 0.2rem 0.4rem !important;
    font-size: 0.7rem !important;
    line-height: 1.5 !important;
    border-radius: 0.2rem !important;
}

.es-input { background-color: white !important;}
.es-list { font-size: 10px !important;}

.kbs-search-all-box {
    width: 100%;
}

.kbs-main-search-box {
    width: 100%;
    margin: 2px 0 0 0; 
}

.kbs-sub-search-box {
    width: 100%;
    margin:0 0 2px 0;
    padding-right: 28px;
}
    
.kbs-search-box {
    width: 100%;
 }

.kbs-main-search-box .kbs-input-all-box {
    background-color: black;
    width: 100%;
    border: 1px solid #fff;
    border-radius: 40px 0 0 40px;
    height: 40px;
}

.kbs-sub-search-box .kbs-input-all-box {
    background-color: black;
    width: 100%;
    border: 1px solid #fff;
    border-radius: 30px;
    height: 30px;
    margin: 0 10px 4px 0;
}

.kbs-input-box {
     width:100%;
}

.kbs-main-search-box .kbs-input-box input {
    width: 100%;
    height: 40px;
    outline: none;
    box-sizing: border-box;
    background-color: transparent;
    border: none;
    box-shadow: none;
    font-family: Roboto,Noto,sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #fff;
    padding-left:20px;
}

.kbs-sub-search-box .kbs-input-box input {
    width: 100%;
    height: 30px;
    outline: none;
    box-sizing: border-box;
    background-color: transparent;
    border: none;
    box-shadow: none;
    font-family: Roboto,Noto,sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #fff;
    padding-left:0px;
}

.kbs-main-search-box .kbs-find-btn {
    border-radius: 0 40px 40px 0;
    border: 1px solid #fff;
    cursor: pointer;
    height: 40px;
    width: 64px;
    margin: 0;
}
.kbs-main-search-box .kbs-find-btn:hover {
    background-color: #d5cdb4;
}
.kbs-main-search-box .kbs-find-btn:focus {
    outline:0;
}

.kbs-main-search-box .kbs-input-del-icon {
    width: 40px;
    cursor: pointer;
    display: none;
    position: relative;
    top: 7px;
}

.kbs-sub-search-box .kbs-input-del-icon {
    width: 20px;
    cursor: pointer;
    display: none;
    position: relative;
    top: 2px;
}

.kbs-more-search-icon {
    width: 40px;
    cursor: pointer;
    color :#fff;
}

.kbs-aicon a { color :#fff; }
.kbs-aicon a:visited { text-decoration: none; }
.kbs-aicon a:hover { text-decoration: none; }

.kbs-more-search-icon a:
.kbs-more-search-icon i:hover:before {
    color :darkgray;
}

#kbs-book-info-comprehensive {
    position: absolute;
    top: 80px;
    width: 100%;
}

.kbs-login-btn {
    width:150px;
    height:40px;
    text-decoration: none;
    background:#D42323;
    text-align:center;
    border:1px solid #FFFFFF;
    color:#FFFFFF;
    font-size:25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight:bold;
    border-radius:10px;
    box-shadow:0px 0px 3px 0px #810000 ;
    transition: all 0.5s ease;
   
}
.kbs-login-btn:hover{
    background:#530000;
    color:#FFFFFF;
    border:1px solid #FFFFFF;
    box-shadow:0px 0px 3px 0px #810000 ;
}

.kbs-new-book {
    width:80px;
    height:80px; 
    cursor:pointer;
    background-color: #48c9b8;
    border: #fff solid 2px;
}
.kbs-new-book:hover {
    transition: 0.5s ;
    background-color: #2f8478;
}

#kbs-new-edit {
    position: fixed;
    top: 110px;
    left: -10px;
    width:80px;
    height:80px;
    background-color: #01cba3;
    border: #fff solid 2px;
}
#kbs-new-edit:hover {
    transition: 0.5s ;
    background-color: #00583f;
}

#kbs-scroll-top {
    position: fixed;
    bottom: 50px;
    right: 0px;
    width:50px;
    height:50px;
    background-color: #9501cb;
    border: #fff solid 2px;
    display: none;
}
#kbs-scroll-top.show {
    display: block;
}
#kbs-scroll-top:hover {
    transition: 0.5s ;
    background-color: #230058;
}

@charset "UTF-8";

.animated {
    -webkit-animation-duration: 0.8s;
    -moz-animation-duration: 0.8s;
    -o-animation-duration: 0.8s;
    animation-duration: 0.8s;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
}

.animated.fast {
    -webkit-animation-duration: 0.6s;
    -moz-animation-duration: 0.6s;
    -o-animation-duration: 0.6s;
    animation-duration: 0.6s;
}

.animated.slow {
    -webkit-animation-duration: 1.0s;
    -moz-animation-duration: 1.0s;
    -o-animation-duration: 1.0s;
    animation-duration: 1.0s;
}

.shake {
    -webkit-animation-name: shake;
    -moz-animation-name: shake;
    -o-animation-name: shake;
    animation-name: shake;
}

@-webkit-keyframes shake {
    0%, 100% {
        -webkit-transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        -webkit-transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        -webkit-transform: translateX(10px);
    }
}

@-moz-keyframes shake {
    0%, 100% {
        -moz-transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        -moz-transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        -moz-transform: translateX(10px);
    }
}

@-o-keyframes shake {
    0%, 100% {
        -o-transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        -o-transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        -o-transform: translateX(10px);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(10px);
    }
}

.kbs-radio {
    margin: 5px 0;
}
.kbs-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
}
.kbs-radio input[type="radio"] + .kbs-radio-label:before {
    content: '';
    background: #f4f4f4;
    border-radius: 100%;
    border: 1px solid #b4b4b4;
    display: inline-block;
    width: 1.4em;
    height: 1.4em;
    position: relative;
    top: 0;
    margin-right: 1em;
    vertical-align: top;
    cursor: pointer;
    text-align: center;
    transition: all 250ms ease;
}
.kbs-radio input[type="radio"]:checked + .kbs-radio-label:before {
    background-color: #3197ee;
    box-shadow: inset 0 0 0 4px #f4f4f4;
}
.kbs-radio input[type="radio"]:focus + .kbs-radio-label:before {
    outline: none;
    border-color: #3197ee;
}
.kbs-radio input[type="radio"]:disabled + .kbs-radio-label:before {
    box-shadow: inset 0 0 0 4px #f4f4f4;
    border-color: #b4b4b4;
    background: #b4b4b4;
}
.kbs-radio input[type="radio"] + .kbs-radio-label:empty:before {
    margin-right: 0;
}

.kbs-drop-area {
    position: fixed;
    top : 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -15;
}
.kbs-drop-area .kbs-line {
    width: 98%;
    height: 98%;
    border: 3px dashed #c8c8c8 !important;
    background-color: #f0f0f0c7 !important;
    border-radius: 5px;
    margin: 10px;
    padding: 150px 30px;
    text-align: center;
}
.kbs-drop-area .kbs-drop-mark {
    display: inline-block;
}
.kbs-drop-area .kbs-drop-mark:hover {
    cursor: pointer;
}
.kbs-drop-area .kbs-drop-mark input {
    display: none;
}
.kbs-drop-area .kbs-drop-mark svg {
    width: 500px;
    fill: currentColor;
    color: #4b4b4b;
}
.kbs-child-table { table-layout: fixed; word-wrap: break-word; margin-bottom: 0;}
.kbs-child-table tbody th { color:#00284b; background-color: #FFF; border-color: #000000; font-size: 10px; padding: 0; }
.kbs-child-table tbody td { color:#00284b; background-color: #FFF; border-color: #000000; font-size: 10px; padding: 0; }
.kbs-child-table thead th:nth-of-type(1) { width:15px; }
.kbs-child-table thead th:nth-of-type(2) { width:100px; }
.kbs-child-table thead th:nth-of-type(3) { width:80px; }
.kbs-child-table thead th:nth-of-type(6) { width:100px; }
.kbs-child-table thead th:nth-of-type(6) { width:115px; }
.kbs-child-table thead th:nth-of-type(8) { width:80px; }
.kbs-child-table tbody td:nth-of-type(1) { background-color: #e2e1e1c7; }
.kbs-child-table tbody td:nth-of-type(2) { background-color: #e2e1e1c7; }