/*-------------------------------------------*/
/*----------------- GENERAL -----------------*/
/*-------------------------------------------*/
main{
    background: rgb(255,255,255);
    background: -moz-linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(136,152,203,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(136,152,203,1) 100%);
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(136,152,203,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#8898cb",GradientType=1);
}

.navbar-custom-background{
    background: rgb(255,255,255);
    background: -moz-linear-gradient(270deg, rgba(255,255,255,0) 0%, rgba(136,152,203,1) 100%);
    background: -webkit-linear-gradient(270deg, rgba(255,255,255,0) 0%, rgba(136,152,203,1) 100%);
    background: linear-gradient(270deg, rgba(255,255,255,0) 0%, rgba(136,152,203,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#8898cb",GradientType=1);
}

.content-wrapper {
    background-color: #fff !important;
}

.h-page-box{
    height: 500px;
}

.h-header-box{
    height:200px !important;
}

#navbarDropdown{
    text-align: end;
}
body > div.wrapper > nav > ul.navbar-nav.ml-auto > li{
    text-align: end;
}
/*----------------------------------------*/
/*----------------- TEXT -----------------*/
/*----------------------------------------*/

h2{
    font-size: 1.4rem;
    color:#000;
}

h2:hover {
    font-size: 1.4rem;
    color:#828282;
}


/*-------------------------------------------*/
/*----------------- SIDEBAR -----------------*/
/*-------------------------------------------*/

.sidebar {
    padding:0px !important;
}

.sidebar-model{
    background-color: rgb(231, 231, 231);
}

.nav-link{
    width: 280px !important;
    color:#000 !important;
}

.nav-link.active {
    background-color: #fff !important;
    border-radius: 0px !important;
}


/*----------------------------------------*/
/*----------------- CARD -----------------*/
/*----------------------------------------*/

.card.extend{
    background-color: #ffffff00;
    box-shadow: 0 0 0px rgba(0,0,0,.125), 0 0px 0px rgba(0,0,0,.2);
}

.card.dimension{
    height: 800px !important;
}

body > div.login-box > div.card.card-outline.card-primary > div.card-body.login-card-body{
    border-radius: 20px !important;
}

.bookcard{
    border-radius: 15px;
    margin-bottom: 0;
}

.bookcard .card-header{
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    background-color: #d3d3d366;
    height: 80px;
    border-radius: 15px 15px 0 0;
    font-size: 1rem;
}

.bookcard .card-header h2{
    font-size: 1.2rem;
    text-transform: uppercase;
}

.bookcard .card-footer{
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    background-color: #d3d3d366;
    min-height: 80px;
    border-radius: 0 0 15px 15px;
}
.personal-shadow{
box-shadow: -5px 6px 6px -3px #2f2f2f;
z-index: 0;
}

.cut-text h2{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/*------------------------------------------*/
/*----------------- BUTTON -----------------*/
/*------------------------------------------*/

.button-empty{
    color: #000;
    background-color: #ffffff00;
    border:2px solid rgb(231, 231, 231);
    border-radius: 5px;
    padding:5px 15px;
}

.button-empty:hover{
    color: #fff;
    background-color: rgb(231, 231, 231);
}

.button-basic{
    border-radius: 4px;
    background-color: #000;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 16px;
    padding: 5px 15px;
    transition: 0.3s;
}

.button-basic:hover {
    color: #fff;
    background-color: #828282;
    transition: 0.3s;
}

.button-expand-box {
    border-radius: 4px;
    background-color: #000;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 18px;
    padding: 5px 15px;
    transition: 0.3s;
}

.button-expand-box:hover {
    color: #fff;
    padding: 7px 20px;
    transition: 0.3s;
}

.button-expand {
    border-radius: 4px;
    background-color: #000;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 24px;
    padding: 10px 20px;
    width: 200px;
    transition: all 0.5;
    cursor: pointer;
    margin: 5px;
}

.button-expand:hover{
    color: #e9d091 ;
}

.button-expand span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.button-expand span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.button-expand:hover span {
    padding-right: 25px;
}

.button-expand:hover span:after {
    opacity: 1;
    right: 0;
}

.back-top-icon,
.plus-top-icon{
    color:#000;
    font-size: 30px;
}

.back-top-icon:hover,
.plus-top-icon:hover{
    color:#828282;
}

.table-icon{
    color:#000;
    font-size: 24px;
    margin-left: 6px;
    margin-right: 6px;
}

.table-icon:hover{
    color:#828282;
}

.page-item.active .page-link{
    color:#fff !important;
    background-color: #405494 !important;
    border-color: #405494 !important;
}

.page-link{
    color:#405494 !important;
}

/*----------------------------------------------*/
/*----------------- DATATABLES -----------------*/
/*----------------------------------------------*/

#books-datatable_previous,
#books-datatable_next {
    display: none;
}

@media screen and (max-width: 576px) {
    ul.pagination {
        justify-content: center;
    }
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: 0px !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #fff !important;
    border: 0px !important;
}

/*----------------------------------------------*/
/*----------------- LOGIN PAGE -----------------*/
/*----------------------------------------------*/

.card-outline {
    border-top: 3px solid #000 !important;
    border-radius: 15px !important;
}

.card-outline .card-header {
    color: #fff !important;
    background-color: #828282;
    border-radius: 12px 12px 0 0;
}

.card-outline .card-footer {
    color: #fff !important;
    background-color: #000000;
    text-align: center;
    border-radius: 0 0 12px 12px;
}

.card-outline .card-body {
    padding: 80px 20px 40px 20px;
}

.card-outline a {
    color: #ffffff !important;
}

.card-outline a:hover {
    color: #828282 !important;
}

.card-outline button{
    background-color: #828282;
    border:2px solid #000 !important;
    border-radius: 5px !important;
}

.card-outline button:hover{
    background-color: #000;
}

.card-outline button:active{
    background-color: #000 !important;
}

.brand-text{
    color:#000 !important;
}

.brand-text:hover{
    color:#828282 !important;
}


/*----------------------------------------------*/
/*----------------- TEST BUTTON ----------------*/
/*----------------------------------------------*/

.testbtn{
    background-color: #8898cb;
    padding: 0.2em 0.8em;
    border-radius: 20em;
    border: none;
    user-select: none;
    cursor: pointer;
    font-size: 20px;
    transition: all 100ms linear;
    color: #ffffff;
    position: relative;
    box-shadow: inset 0 4px 6px -1px rgb(64 84 148 / 0.1),
    0 2px 4px -2px rgb(64 84 148 / 0.1);
}
.testbtn:hover{
    color:#fff;
}
.testbtn:active {
    box-shadow: inset 0 0 0 4px #7b7b7b6b;
}

.testbtn::before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: #8898cb;
    position: absolute;
    border-radius: inherit;
    z-index: -1;
    top: 0;
    left: 0;
    transition: all 500ms ease-in-out;
    opacity: 0;
    animation: flash 100ms ease-in-out;
    transform: scaleX(2) scaleY(2);
}

.testbtn:hover::before {
    opacity: 1;
    transform: scaleX(1) scaleY(1);
}


.testbtnB{
    background-color: #6579bb;
    padding: 0.2em 0.8em;
    border-radius: 20em;
    border: none;
    user-select: none;
    cursor: pointer;
    font-size: 20px;
    transition: all 100ms linear;
    color: #ffffff;
    position: relative;
    box-shadow: inset 0 4px 6px -1px rgb(64 84 148 / 0.1),
    0 2px 4px -2px rgb(64 84 148 / 0.1);
}
.testbtnB:hover{
    color:#fff;
}
.testbtnB:active {
    box-shadow: inset 0 0 0 4px #7b7b7b6b;
}

.testbtnB::before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: #6579bb;
    position: absolute;
    border-radius: inherit;
    z-index: -1;
    top: 0;
    left: 0;
    transition: all 500ms ease-in-out;
    opacity: 0;
    animation: flash 100ms ease-in-out;
    transform: scaleX(2) scaleY(2);
}

.testbtnB:hover::before {
    opacity: 1;
    transform: scaleX(1) scaleY(1);
}


@keyframes flash {
    0%{
        opacity: 1;
        transform: translate(45px);
    }
    100%{
        opacity: 0;
        transform: translate(0);
    }
}


/*--------------------------------------------*/
/*----------------- BOOK LIST ----------------*/
/*--------------------------------------------*/

.book-cover-list{
    width:200px;
    height:300px;
    object-fit: cover;
    box-shadow: 2px 4px 6px -3px #2f2f2f;
    border-radius: 15px;
}