/*
Mendimi Theme
Author: Violent, Renato
*/
body{
    margin:0;
    padding: 0;
    background-color:#BB272D;
}
 .custom-bg-image{
     width:100%;
     height: auto;
     margin:0;
     padding: 0;
     overflow:hidden!important;
 }
.custom-bg-image img{
    margin:0;
    padding: 0;
    overflow:hidden!important;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    -webkit-mask-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
    z-index: -1;
}
.custom-bg-image img:after{
    -webkit-mask-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
    margin-bottom: -20px;
    overflow:hidden!important;
}


.footer-title {
    font-weight: 900;
    color: #fff;
}
.footer-title:after {
    display: inline-block;
    content: "";
    border-top: .1rem solid #fff;
    width: 5rem;
    margin: .5rem 1rem;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}
.footer-element p {
    color: #fff;
}
.map-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}

.map-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

.nice-form-item {
    font-size: 14px;
    height: 50px;
    line-height: 50px;
    outline: none;
    padding-left: 18px;
    padding-right: 30px;
    position: relative;
    text-align: left !important;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
    width: auto;
    background: #fff;
    border: 1px solid #687786;
    margin-bottom: 15px;
    width: 100%;
    color: #C7C7C7;
}

.logo img {
    width: auto;
    max-height: 90px;
}
.main_slider img {
    max-height: 550px;
    width: auto;
    object-fit: cover;
    object-position: center;
}

.section-red {
    background-color: #bb272d;
    color: #fff;
}
.section-red-text {
    font-size: 20px;
}
.header-area .custom-img-style {
    width : 100%;
    height: auto;
    background-size: contain;

}
.banner-description {
    color: #fff;
    font-weight: 700;
    line-height: 19px;
    font-size: 16px;
}
.section-book-categories {
    background-image: url("../assets/img/background-books.PNG");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    /*padding: 60px 0;*/
}
.book-category-element img {
    border-radius: 50%;
    max-width: 150px;
}

@media(min-width: 1024px){
    .funders-img {
        max-width: 180px;
    }

}
.banner-label {
    background: rgba(0,0,0,.5);
    padding: 30px;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    max-width: 80%;
    margin: 0 auto 50px auto;
}
.section-funders-images{
    background-color: unset;
}
@media(max-width: 767px){
    .funders-img {
        max-width: 100px;
        height: auto;
        margin: 0 auto;
    }
    .section-red-text {
        font-size: 16px;
    }
    .book-category-element img {
        max-width: 100px;
    }
}

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}
.navbar {
    background-color: #bb272d;
}
.navbar-dark .navbar-nav .nav-link {
    font-size: 25px;
    font-weight:bold;
}
.show-books-card {
    height: 265px;
    object-fit: cover;
}
 .img-thumbnail{
    padding: 0!important;
    background-color:transparent!important;
    border: none!important;
    border-radius: unset!important;
}
.carousel-item {
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.carousel-item img {
    max-height: 400px;
    margin-left: auto;
    margin-right: auto;
}
.btn-primary {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: none;
}

#main-carousel{
    background-image: url("../assets/img/new/sfond para.jpg");
    background-position: center center;
    background-repeat: no-repeat;
}

.breadcrumb {
    padding: 0;
    margin-bottom: 0;

}

.books-card .card-body{
    height: 105px;
    overflow-y:auto;
}
.books-card .card-text {
    font-size: 12px;
    line-height: 14px;
}
.author-card{

}
.author-card .card-img-top{
    max-height: 105px;
    width: auto!important;
    overflow-y:auto;
}
.author-card .card-body{
    height: 105px;

    overflow-y:auto;
}
.author-card .card-body .title{
    font-size: 1rem;
}
.author-card .card-body p{
    font-size: .75rem;
    line-height: 14px;
}
a btn-primary:active {
   color:red;
    background-color: #fff;
}
/*header style*/
.header_nav_items_color {
    color: yellow!important;
}
/*Nav Style*/
.dropdown-item{
    font-size: 1.2rem;
}
.partners_img{
    max-height: 105px;
}
