

h1,h2,h3,h4,h5,h6{
    color: #036d95;
}

a{
    text-decoration: none;
    color: aliceblue;
}
a:hover {
    color: #02425a;
}

.btn{
    color: #fff;
    background-image: linear-gradient( 75deg, #0e6889c7, #36a2b3ed);
    border-color: #1d7a9d;
    transition: .9s;
}
.btn:hover {
    color: #fff;
    background-image: linear-gradient(320deg, #0e6889c7, #36a2b3ed);
    border-color: #1d7a9d;
    letter-spacing: 1px;
    transition: .9s;
}
 tr {
    border-color: #001d36;
}
.action-btn ul li {
    list-style: none;
    display: inline;
    margin: 0 5px;
}

.action-btn ul {
    padding-left: 0;
}
.action-btn ul li .fa-edit{
    color: #0265bb;
}
.action-btn ul li .fa-trash {
    color: #dc3545;
}

.container-fluid{
    padding-right: 0!important;
    padding-left: 0!important;
}

/*===============
 Login Codes
================*/

.login-box{
    display: flex;
    justify-content: center;
}
.login-sctn .col-4 {
    padding-left: 0;
}
.mb-1 {
    margin-top: 10px;
}

/*===============
 forgot_password-box Codes
================*/

.forgot_password-box{
    display: flex;
    justify-content: center;
}

/*===============
 register Codes
================*/

.register-box{
    display: flex;
    justify-content: center;
}

/*===============
 Header Codes
================*/

header{
    background: #1d7a9d;
    border-bottom: 1px solid #00719b;
    padding: 20px 0;
    display: flex;
    align-items: center;
}

header .navbar-brand span{
    color: #fff;
}

.navbar-light .navbar-brand {
    font-weight: 500!important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

header .navbar-nav .nav-link{
    text-transform: uppercase;
    color: #fff!important;
}

header .dropdown-item:hover{
    background: #00719b!important;
    color: #fff!important;
}
.nav-link img{
    width: 30px;
    height: 30px;
    border: .5px solid #23a3c9;
    border-radius: 50%;
}
.dropdown-menu {
    border: none;
    text-transform: capitalize;
}
section{
    min-height: 60vh;
    padding-top: 100px;
    padding-bottom: 100px;
}

.login-sctn{
    min-height: 100vh;
    background-image: linear-gradient(11deg, #155870, #29ab8d45 );
}
/*===============
 Home Page Codes
================*/
.sctn_1{
    background-image: url(../img/home-section1_bg.jpg);
    display: inline-block;
    width: 100%;
    height: 60vh;
    text-align: center;
    position: relative;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    z-index: 1;
}

.sctn_1:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: -1;
}

.sctn_1 h1{
    color: #fff;
}

.all_books .book_row, .search_books .col-lg-4{
    margin-bottom: 40px;
}
.all_books h2{
margin-bottom: 35px;
}

.book-item{
    border-radius: 10px;
}

.book-item:hover{
    box-shadow: 2px 4px 30px rgb(0 0 0 / 20%);
    transition: .5s;
}

.book_img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    opacity: 0.75;
}

.book_img:hover, .book_img:active{
    border-radius: 10px;
    opacity: 1;
}

.book-thumbnail{
    position: relative;
    border-radius: 10px;
    background: #000;
}

.author_name{
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.65);
    width: 100%;
}

.author_name h4{
    color: #fff;
    text-align: center;
    padding: 10px;
}

.book-item .book_info{
    padding: 20px 25px 30px;
    background: #fff;
    box-shadow: 2px 4px 30px rgb(0 0 0 / 5%);
    border-radius: 0 0 10px 10px;
}

.book-item .book_info h3{
    font-size: 1.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.book-item .book_info p{
    margin-bottom: .1rem;
}

.book_info .sub_title{
    font-size: 20px;
    font-style: italic;
    margin-bottom: 0.2rem;
}
.book-item .book_info .sub_title{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.book-item .quantity{
    font-weight: 500;
    font-style: italic;
    color: #036d95;
    margin-bottom: 0.4rem!important;
}

.book-item .book_info span{
    color: #036d95;
    font-size: 18px;
    font-style: initial!important;
    font-weight: 500;
}
.all_books .book-item .book_info p {
    overflow: hidden;
    /*white-space: nowrap;*/
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.book-item .book_info .read_more{
    color: #036d95;
    font-style: italic;
}

.book_info .theme_btn{
    position: relative;
    text-align: center;
    overflow: hidden;
    text-decoration: none;
    display: block;
    border: 1px solid #1d7a9d;
    color: #1d7a9d;
    padding: 7px 20px;
    margin: 17px 0 0;
    transition: all 0.5s ease-in-out;
    z-index: 1;
}

.book_info .theme_btn::after{
    background: #1d7a9d;
    color: #fff;
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    border: 1px solid #1d7a9d;
    top: -100%;
    left: 0;
    transition: all 0.5s ease-in-out;
    z-index: -1;
}
.book_info .theme_btn:hover{
    border: 1px solid #1d7a9d;
    color: #fff;
}
.book_info .theme_btn:hover::after{
    top: 0;
}

/*======================
 Search Btn Codes
========================*/

.section2{
    background-image: linear-gradient( 27deg, #1d7a9dc7, #83cbbe40);
    background-image: linear-gradient( 27deg, #1d7a9d36, #83becb00);
}

.search_box{
    padding: 40px 0px;
    background-image: linear-gradient( 75deg, #0e6889c7, #36a2b3ed);
    border-radius: 8px;
    margin-top: 20px;
}
.book_info .book_now:hover {
    border: 1px solid #1d7a9d;
    color: #fff;
}
.book_info .book_now{
    position: relative;
    text-align: center;
    overflow: hidden;
    text-decoration: none;
    display: block;
    border: 1px solid #1d7a9d;
    color: #1d7a9d;
    padding: 7px 20px;
    margin: 17px 0 0;
    transition: all 0.5s ease-in-out;
    z-index: 1;
}
.search_books h2{
margin-bottom: 35px;
}

.search_books .form-control{
    border-radius: 0;
}

.search_books .book_info .search_btn{
    color: #fff;
    background: #1d7a9d!important;
    transition: .9s;
    z-index: 9;
}

.search_books .book_info .search_btn:hover{
    background: #1d7a9d!important;
    transition: .9s;
}

/*======================
 Single Books Page Codes
========================*/
.single_books h2{
    margin-bottom: 35px;
}
.single_books .book-item{
    padding: 0;
    border-radius: 0px;
}

.single_books .book-item:hover{
    box-shadow: none;
}

.single_books .book_img{
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.single_books .book-item .book_info {
    box-shadow: none;
    padding-top: 0;
    pointer-events: 0;
}

.single_books .book_info .theme_btn {
    position: relative;
}

.single_books .book_info .theme_btn::after{
    top:  0;
    left: -100%;
}

.single_books .book_info .theme_btn:hover::after{
    left: 0;
}

.single_books .book_author_name p{
    font-size: 1.3rem;
}

/*======================
 Search Page Codes
========================*/

.sctn_bg{
    background-image: url(../img/section_bg.jpg);
}
.sctn_bg:before {
    background: rgba(0, 0, 0, 0.5);
}
.card{
    background-image: linear-gradient( 75deg, #0e6889c7, #36a2b3ed);
    color: #fff;
}
.card-title{
    color: #fff;
}

/*======================
 Order History Page Codes
========================*/
.order_history {
    width: 73%;
}
.table-dark {
    --bs-table-bg: #1d7a9d!important;
}
tr {
    border-color: #1d7a9d!important;
}
td .action-btn{
    display: flex;
    justify-content: center;
}

/*======================
 Order History Page Codes
========================*/
.Footer{
    background: #1d7a9d;
    padding: 80px 0 15px;
}
.Footer h4{
    color: #212529;
}
.Footer p{
    color: lavender;
}
.Footer ul{
    padding-left: 0;
    list-style: none;
}
.Footer ul li:hover{
    text-decoration: underline;
    transition: 0.5s;
   }
.Footer a:hover {
    color: #ffffff;
    font-size: 16.5px;
}
.Footer .ftr_mail input{
    padding: 4px 10px 7px;
    border: 0;
    outline: none;
    border-radius: 2px;
}
@media only screen and (max-width: 1024px) {
header {
    padding: 15px 0;
}
section {
    padding-top: 50px;
    padding-bottom: 80px;
}
.login-sctn{
    padding-top: 80px;
    padding-bottom: 80px;
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 0.05rem;
}
.right_sidebar{
    margin-top: 25px!important;
}
.single_books .book-item {
    padding-left: 15px;
    padding-right: 15px;
}
.single_books .book-item .book_info {
    padding: 20px 0px 30px;
}
/*.single_books .book-item .book_info h3 {
    margin-top: 25px;
}*/
.order_history{
    width: 100%;
    margin-bottom: 20px;
}
.profile{
margin-bottom: 35px;
    overflow: hidden;
}
.Footer{
    padding: 50px 5px 15px;
}
.Footer .ftr_mail input{
        width: 100%;
    }
.Footer .ftr_mail .btn{
        margin-top: 8px;
        width: 100%;
    }
}
@media (min-width: 992px) and (max-width: 1200px){
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-left: 2px;
        font-size: 14px;
    }   
}
@media only screen and (max-width: 767px) {

header {
    padding: 12px 0;
}
section {
    padding: 40px 10px 50px;
}
.login-sctn{
    padding-top: 50px;
    padding-bottom: 50px;
}
.all_books h2 {
    margin-bottom: 25px;
}
.right_sidebar {
    margin-top: 15px!important;
}
.single_books .book_img {
    height: 220px;
}
.order_history{
    width: 97%;
}