body {
    margin: 0;
    font-family: Nunito, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica Neue, Arial, sans-serif;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #444444;;
    text-align: left;
    background-color: #f2f2f2;
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: sans-serif;
}

.h2, h2 {
    font-size: 1.5rem;
}

.bold-text {
    font-weight: 700;
    color: #5f687b;
}

hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/*.card-header {
    background-color: inherit;
    border-bottom: 0;
}

.card-header:first-child .feather {
    width: 24px;
    height: 24px;
    color: lightblue
}*/

.content {
    overflow: auto;
    padding: 2.5rem;
    height: calc(100vh - 75px);
}

@media (max-width: 576px) {
    .content  {
        padding: 2.5rem 0 0 0;
    }

    .invisible-md {
        visibility: hidden !important;
    }

    .justify-content {
        -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
    }
}

.lead {
    font-family: sans-serif;
    font-size: 1.09375rem;
    font-weight: 500;
    color: #495057;;
}

.login {
    border-top: 3px solid #ff7539;
    border-bottom: 3px solid #ff7539;
    background-color: #ffffff;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #f44455
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input, .form-group select {
    height: 44px;
}

.h-30 {
    height: 35px !important;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #ff7539;
    background-color: #ff7539;
}

form button[type="submit"] {
    background: #ff7539;
    border: 0;
    padding: 10px 24px;
    color: #fff;
    transition: 0.4s;
    border-radius: 4px;
}

form button[type="submit"]:hover {
    background: #ff3d00;
}

.error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    font-weight: 700;
}

.error-message br + br {
    margin-top: 5px;
}

a, .link {
    color: #ff7539;
    text-decoration: none;
    background-color: transparent
}

a:hover, .link:hover {
    color: #ff3d00;
    cursor: pointer;
    text-decoration: none;
}

/*a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover {
    color: inherit;
    text-decoration: none
}

a:not([href]):not([tabindex]):focus {
    outline: 0
}*/

img {
    border-style: none
}

img, svg {
    vertical-align: middle
}

svg {
    overflow: hidden
}

table {
    border-collapse: collapse
}

th {
    text-align: inherit
}

label {
    display: inline-block;
    margin-bottom: .5rem
}

button {
    border-radius: 0
}

button:focus {
    outline: 1px dotted;
    outline: 5px auto -webkit-focus-ring-color
}

button, input, optgroup, select, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit
}

button, input {
    overflow: visible
}

[type=button], [type=reset], [type=submit], button {
    -webkit-appearance: button
}

[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
    cursor: pointer
}

[type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner {
    padding: 0;
    border-style: none
}

input[type=checkbox], input[type=radio] {
    box-sizing: border-box;
    padding: 0
}

input[type=date], input[type=datetime-local], input[type=month], input[type=time] {
    -webkit-appearance: listbox
}

textarea {
    overflow: auto;
    resize: vertical
}

/* ===== Navbar ===== */
.navbar {
    position: relative;
    padding: .875rem 1.25rem;
    border-bottom: 0;
    box-shadow: 0 0 2rem 0 rgba(53, 64, 82, .1);
    z-index: 1;
}

.hamburger, .hamburger:after, .hamburger:before {
    cursor: pointer;
    border-radius: 1px;
    height: 3px;
    width: 24px;
    background: #495057;
    display: block;
    content: "";
    -webkit-transition: background .1s ease-in-out, color .1s ease-in-out;
    transition: background .1s ease-in-out, color .1s ease-in-out
}

.hamburger {
    position: relative
}

.hamburger:before {
    top: -7.5px;
    width: 18px;
    position: absolute
}

.hamburger:after {
    bottom: -7.5px;
    width: 14px;
    position: absolute
}

.sidebar-toggle:hover .hamburger, .sidebar-toggle:hover .hamburger:after, .sidebar-toggle:hover .hamburger:before {
    background: #ff3d00;
}

.hamburger-right, .hamburger-right:after, .hamburger-right:before {
    right: 0
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.8125rem + 2px);
    padding: .25rem .7rem;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .2rem;
    -webkit-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control-no-border {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.form-control-no-border:focus {
    box-shadow: none;
    outline: 0
}

.form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

.avatar {
    margin-top: -15px;
    margin-bottom: -15px;
    width: 40px;
    height: 40px
}

.admin {
    width: 90px;
    height: 90px
}

/* ===== Sidebar =====*/

.sidebar {
    min-width: 256px;
    max-width: 256px;
    border-right: 0;
    overflow-y: auto;
    height: 100vh;
}

.sidebar, .sidebar-content {
    -webkit-transition: margin-left .35s ease-in-out, left .35s ease-in-out;
    transition: margin-left .35s ease-in-out, left .35s ease-in-out;
    background: #354052
}

.sidebar-sticky .sidebar-content {
    border-right: 0
}

.sidebar-sticky .sidebar-nav {
    padding-bottom: 0
}

.sidebar-sticky .sidebar-content {
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 256px
}

.sidebar-nav {
    padding-bottom: 3.5rem;
    padding-left: 0;
    list-style: none
}

.sidebar-link, a.sidebar-link {
    display: block;
    padding: .75rem 1.5rem;
    color: #ced4da;
    font-weight: 400;
    background: #354052;
    -webkit-transition: background .1s ease-in-out;
    transition: background .1s ease-in-out;
    position: relative;
    text-decoration: none;
    cursor: pointer
}

.sidebar-link i, .sidebar-link svg, a.sidebar-link i, a.sidebar-link svg {
    margin-right: .75rem;
    color: #fff;
    opacity: .3
}

.sidebar-dropdown .sidebar-dropdown .sidebar-link {
    padding: .625rem 1.5rem .625rem 3.625rem
}

.sidebar-dropdown .sidebar-dropdown .sidebar-dropdown .sidebar-link {
    padding: .625rem 1.5rem .625rem 4.5rem
}

.sidebar-link:focus {
    outline: 0
}

.sidebar-link:hover {
    color: #ced4da;
    background: #2d3646
}

.sidebar-link:hover i, .sidebar-link:hover svg {
    color: #fff;
    opacity: .5
}

.sidebar-item.active .sidebar-link:hover, .sidebar-item.active > .sidebar-link {
    color: #ced4da;
    background: #2d3646;
    text-decoration: none;
}

.sidebar-item.active .sidebar-link:hover i, .sidebar-item.active .sidebar-link:hover svg, .sidebar-item.active > .sidebar-link i, .sidebar-item.active > .sidebar-link svg {
    color: #fff;
    opacity: .5
}

.sidebar-dropdown .sidebar-link {
    padding: .625rem 1.5rem .625rem 2.75rem;
    color: #adb5bd;
    background: #313b4c;
    font-weight: 400
}

.sidebar-dropdown .sidebar-item.active .sidebar-link, .sidebar-dropdown .sidebar-item .sidebar-link:hover {
    color: #e9ecef;
    background: #2d3646;
    font-weight: 400;
    text-decoration: none;
}

.sidebar [data-toggle=collapse] {
    position: relative;
    text-decoration: none;
}

.data-feather-s1 {
    height: 20px;
    width: 20px;
}

.data-feather-16 {
    height: 12px;
    width: 12px;
}

.sidebar [data-toggle=collapse]:before {
    content: " ";
    border: solid;
    border-width: 0 .1rem .1rem 0;
    display: inline-block;
    padding: 2px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out
}

.sidebar [aria-expanded=true]:before, .sidebar [data-toggle=collapse]:not(.collapsed):before {
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    top: 1.4rem
}

.sidebar-brand {
    font-weight: 400;
    font-size: 1.15rem;
    padding: 1.15rem 1.5rem;
    color: #f8f9fa;
    display: block
}

.sidebar-brand:hover {
    text-decoration: none;
    color: #f8f9fa
}

.sidebar-brand:focus {
    outline: 0
}

.sidebar-brand .feather, .sidebar-brand svg {
    color: #47bac1;
    height: 24px;
    width: 24px;
    margin-left: -.15rem;
    margin-right: .375rem
}

.sidebar-toggle {
    cursor: pointer;
    width: 26px;
    height: 26px
}

.sidebar.toggled {
    margin-left: -256px
}

.sidebar.toggled .sidebar-content {
    left: -256px
}

@media (min-width: 1px) and (max-width: 991.98px) {
    .sidebar {
        margin-left: -256px
    }

    .sidebar .sidebar-content {
        left: -256px
    }

    .sidebar.toggled {
        margin-left: 0
    }

    .sidebar.toggled .sidebar-content {
        left: 0
    }

    .sidebar-collapsed {
        margin-left: 0
    }

    .sidebar-collapsed .sidebar-content {
        left: 0
    }

    .sidebar-collapsed.toggled {
        margin-left: -256px
    }

    .sidebar-collapsed.toggled .sidebar-content {
        left: -256px
    }
}

.sidebar-header {
    background: transparent;
    color: #adb5bd;
    padding: 1.125rem 1.5rem .375rem;
    font-size: .75rem;
    text-transform: none
}

.sidebar-bottom {
    -webkit-transition: margin-left .35s ease-in-out, left .35s ease-in-out;
    transition: margin-left .35s ease-in-out, left .35s ease-in-out;
    padding: 1rem;
    width: inherit;
    font-size: .8rem;
    bottom: 0;
    left: 0;
    position: fixed;
    background: #313b4c;
    min-width: 256px;
    max-width: 256px;
    color: #e9ecef;
    border-right: 0;
    margin-left: 0
}

.sidebar-bottom h5 {
    color: #e9ecef
}

.sidebar.toggled .sidebar-bottom {
    margin-left: -256px
}

.sidebar-badge {
    position: absolute;
    right: 15px;
    top: 14px
}

/* ==== Main ===== */
.main {
    width: 100%;
    min-height: 100vh;
    min-width: 0;
    -webkit-transition: margin-left .35s ease-in-out, left .35s ease-in-out;
    transition: margin-left .35s ease-in-out, left .35s ease-in-out;
}

.wrapper {
    -webkit-box-align: stretch;
    align-items: stretch;
    display: -webkit-box;
    display: flex;
    width: 100%
}


/* ===== Card ===== */
.card {
    position: relative;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #ffffff;
    background-clip: border-box;
    border: 0 solid transparent;
    border-radius: .25rem;
    margin-bottom: 1rem;
    box-shadow: 0 0 .875rem 0 rgba(53, 64, 82, .05);
}

/* ===== Table =====*/
.table {
    width: 100%;
    margin-bottom: 0;
    color: #212529;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    background: #fff;
}

.table-layout-fixed {
    table-layout: fixed;
}

.table td, .table th {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6
}

.table tbody tr td {
    vertical-align: middle;
}

.table tbody + tbody {
    border-top: 2px solid #dee2e6
}

.table-sm td, .table-sm th {
    padding: .3rem
}

.card > .dataTables_wrapper .table.dataTable tr:first-child td, .card > .dataTables_wrapper .table.dataTable tr:first-child th, .card > .table-responsive-lg .table tr:first-child td, .card > .table-responsive-lg .table tr:first-child th, .card > .table-responsive-md .table tr:first-child td, .card > .table-responsive-md .table tr:first-child th, .card > .table-responsive-sm .table tr:first-child td, .card > .table-responsive-sm .table tr:first-child th, .card > .table-responsive-xl .table tr:first-child td, .card > .table-responsive-xl .table tr:first-child th, .card > .table-responsive .table tr:first-child td, .card > .table-responsive .table tr:first-child th, .card > .table tr:first-child td, .card > .table tr:first-child th {
    border-top: 0;
}

.card > .dataTables_wrapper .table.dataTable td:first-child, .card > .dataTables_wrapper .table.dataTable th:first-child, .card > .table-responsive-lg .table td:first-child, .card > .table-responsive-lg .table th:first-child, .card > .table-responsive-md .table td:first-child, .card > .table-responsive-md .table th:first-child, .card > .table-responsive-sm .table td:first-child, .card > .table-responsive-sm .table th:first-child, .card > .table-responsive-xl .table td:first-child, .card > .table-responsive-xl .table th:first-child, .card > .table-responsive .table td:first-child, .card > .table-responsive .table th:first-child, .card > .table td:first-child, .card > .table th:first-child {
    border-left: 0;
    padding-left: 1.25rem;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8f9fa
}

.table-hover tbody tr:hover {
    color: #495057;
    background-color: rgba(0, 0, 0, .075)
}

.bold-text {
    font-weight: 600;
}

#tbody tr td:last-child {
    font-weight: normal !important;
}

/* ===== Pagination ===== */
.page-link {
    position: relative;
    display: block;
    padding: .3rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #6c757d;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.page-link:hover {
    z-index: 2;
    color: #343a40;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #ff7539;
    border-color: #ff7539;
}

.justify-content {
    -webkit-box-pack: end !important;
    -ms-flex-pack: end !important;
    justify-content: flex-end !important;
}

@media (max-width: 576px) {
    .justify-content {
        -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
    }

    .d-xs-block {
        display: block !important;
    }
}

/* === Books ===*/
.poster {

}

.icon {
    height: 24px;
    width: 24px;
    margin: 6px 6px 0 0;
    position: absolute;
}

.book {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.book .book-info {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transition: 0.2s;
    padding: 8px 0;
    background: rgba(29, 28, 41, 0.6);
}

.book .book-info-content {
    height: 12px;
    transition: height 0.4s;
}

.book:hover .book-info {
    transition: 0.4s;
}

.book:hover .book-info-content {
    height: 65px;
}

.book h4 {
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 14px;
    color: #fff;
}

.book .mx-width, .list-group-item .mx-width, .mx-width {
    max-width: 80%;
}

@media (max-width: 786px) {
    .book .mx-width, .mx-width {
        max-width: 90%;
    }
}

.book span {
    font-style: italic;
    display: block;
    font-size: 13px;
    color: #fff;
}

/*.book .book-actions {
    margin-top: 6px;
}*/

.book .book-actions:first-child {
    font-size: 12px;
    margin: 0 2px;
}

.book .book-actions a {
    transition: none;
    color: #fff;
}

.book .book-actions a:hover {
    color: #ff7539;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #ff7539;
}

input:focus + .slider {
    box-shadow: 0 0 1px #ff3d00;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Scrollbars */
/* Works on Firefox */
#sidebar {
    scrollbar-width: thin;
    scrollbar-color: #2d3646 #354052;
}

/* Works on Chrome, Edge, and Safari */
#sidebar::-webkit-scrollbar {
    width: 12px;
}

#sidebar::-webkit-scrollbar-track {
    background: #354052;
}

#sidebar::-webkit-scrollbar-thumb {
    background-color: #2d3646;
    border-radius: 20px;
    border: 3px solid #2d3646;
}

.small-image {
    width: 50px;
    height: 50px;
}

.book-image {
    width: 180px;
    height: 180px;
}
