.toggle.btn-danger.off, .toggle.btn-success {
    width: 120px !important;
}

.toggle.btn-danger.off, .toggle.btn-success {
    height: 34px !important;
}

.toggle-on, .toggle-off {
    line-height: 1.128571 !important;
}

.toggle-handle.btn {
    min-width: unset;
    padding: 6px 12px;
}

.modal-xl {
    max-width: 85%;
}

.modal-header {
    min-height: 16.43px;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background-color: #00b5e2;
    border-top: 6px solid #003B5C;
    color: #FFFFFF;
}

.modal-footer {
    padding: 15px;
}

/* Spinner Wrapper */
.loader {
    width: 100vw;
    height: 250px;
    background: #fff;
    position: relative;
    top: 0;
    left: 0;
}

.loader-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* Spinner */
.lds-roller {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 32px 32px;
}

.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #333;
    margin: -3px 0 0 -3px;
}

.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
    top: 50px;
    left: 50px;
}

.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
    top: 54px;
    left: 45px;
}

.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
    top: 57px;
    left: 39px;
}

.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
    top: 58px;
    left: 32px;
}

.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
    top: 57px;
    left: 25px;
}

.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
    top: 54px;
    left: 19px;
}

.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
    top: 50px;
    left: 14px;
}

.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
    top: 45px;
    left: 10px;
}

.btn.item-list, .btn.book-remove {
    max-height: 30px;
    min-width: 30px;
    line-height: 0.1;
}

button:focus {
    outline: none;
}

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 600px) {
    table.books_selected thead {
        display: none;
    }

    table.books_selected td {
        display: flex;
    }

    table.books_selected td:first-child {
        background-color: #003b5c;
        border-right: 1px solid #00B5E2;
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
        color: #FFFFFF;
    }

    table.books_selected td:last-child {
        border-right: none !important;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    table.books_selected td::before {
        content: attr(label);
        font-weight: bold;
        width: 120px;
        min-width: 120px;
    }
}


@media (max-width: 768px) {
    .toggle-on, .toggle-off {
        line-height: 0.828571 !important;
    }

    .toggle-on {
        padding-left: 1px !important;
    }

    .toggle-off {
        padding-left: 24px !important;
    }

    .toggle.btn-danger.off, .toggle.btn-success {
        width: 100px !important;
    }

    .modal-xl {
        max-width: 99%;
    }
}