/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
 /*#header{ background: red !important; }*/
.header-top{
    background-color:#9f2c1f !important;
}

a:hover{
    color: #9f2c1f !important;
}

.brands-sort .select-list:hover{
    background-color:#fff;
}
.btn-secondary{
color:#fff;    
}

#header .header-nav .cart-preview.active{
    background-color:#fff;
    color:#232323;
}
#header .header-nav .cart-preview.active i,
.header-nav .cart-preview.active a{
    color:#232323 !important;
}
#header .top-menu a[data-depth="0"]{
    color:#fff;
}

#header .top-menu a[data-depth="0"]:hover{
    color:#dedede !important;
}

#header .header-top .container .row .col-md-2{
    float: left;
    width: 15%;
}
.sub-menu  ul{
    display:flex;
    flex-direction:column;
}
.page-home .banner img {
    max-width: 100%;
    height: 100%;
}

#checkout #header .header-nav .logo {
    width: auto;
    max-height: 7.375rem !important;
}

.product-price,
.product-name a,
.js-show-details {
    color:#232323 !important;
}

.icon-next, .icon-prev{
    display:none !important;
} 

.carousel-inner>.carousel-item>a>img,.carousel-inner>.carousel-item>img,.img-fluid,.img-thumbnail {
    max-width: 100%;
    height: 600px;
}

.product-miniature .thumbnail-container .product-thumbnail img {
    position: relative;
    display: block;
    max-width: 100%;
    height: 330px;
    margin: auto
}

#product-modal .modal-content .modal-body .product-images img {
height:202px;
}

.btn {
    background-color:#9f2c1f;
}
.btn-primary:active,
.btn-primary:active:hover,
.btn:hover{
    background-color:#7b1b11;
    color:#fff !important;
}
.btn-primary:active{
    background:#fff;
    color:#9f2c1f;
}
#blockcart-modal .product-name{
    color:#9f2c1f;
}

.category a:hover,
.quick-view:hover{
    color: #9f2c1f !important;
}

.current-price span,
.tabs .nav-tabs .nav-link.active{
    color:#9f2c1f;
}

.tabs .nav-tabs .nav-link.active,.tabs .nav-tabs .nav-link:hover {
    border: 0;
    border-bottom: #9f2c1f 3px solid
}

.brand-img{
    display:none;
}

/*Copertine libri*/

#pstj-products .product-miniature .products .product_list_item .product-miniature {
    background: #fff;
    box-shadow: 2px 2px 8px 0 rgba(0,0,0,.2);
    position: relative;
    padding-bottom: 70px;
    height:390px;
}
#pstj-products .thumbnail-container img{
    height:100% !important;
}

.brand-infos a{
    color:#9f2c1f;
}
.pagination .current a
{
    font-size: 1.25rem;
    color: #9f2c1f;
    text-decoration: none
}

.product-flags li.product-flag{
    background:#9f2c1f;
}
#contact-infos a{
        color: #9f2c1f;
    text-decoration: none
}
.footer-container li a:hover{
     color: #9f2c1f;
}

@media screen and (max-width: 767px){
#header .top-logo img{
width: auto;
    max-height: 7rem;
}
#header .header-top .position-static{
    position: static;
margin-top: 45px;
}

#header .top-menu a[data-depth="0"]{
    color:#7a7a7a;
}
    #header .header-nav .material-icons{
        color:#fff;
    }
    #header .header-nav {
        background-color:#9f2c1f;
    }
    #header .header-nav {
        border-bottom:none;
    }
}
