/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

.mt-0{
   margin-top: 0 !important;
}

 .color-green{
   color: ;
 }

 #product #content{
   margin-bottom: 0;
 }

 #main.product-image-gallery > .row{
   display: flex;
   flex-wrap: wrap;
 }

 #main.product-image-gallery > .row > [class*="col"]:first-child,
 #main.product-image-gallery > .row > [class*="col"]:nth-child(2){
   display: flex;
   flex-direction: column;
 }

 #main.product-image-gallery > .row > [class*="col"]:nth-child(2){
   position: relative;
   /*padding-bottom: 85px;*/
 }

/* #main.product-image-gallery > .row > [class*="col"]:first-child{
   justify-content: flex-end;
 }*/

 #main.product-image-gallery .addition-promo-info{
   /*position: absolute;*/
   /*left: 60px;*/
   /*bottom: 0;*/
   margin-bottom: 10px;
   /*width: 95%;*/
   margin-top: auto;
   display: flex;
   justify-content: center;
 }

 .product-detail .product-prices.row{
   margin-left: -15px;
   margin-right: -15px;
 }

.title-info-product{
   display: none;
}

/* #leofeature-product-review,
 #product-availability{
   display: none;
 }*/

.product-description table{
   width: 100% !important;
   height: auto !important;
}

.product-description table tr{
   display: flex;
}

 .product-description table td{
   display: flex;
   flex-direction: column;
   width: 50% !important;
   padding: 5px 30px 5px 0;
}

.product-description.top{
   position: relative;
   margin-bottom: 50px;
}

.product-description.top table td:first-child,
#product-details table td:first-child{
   position: relative;
   height: 300px;
   overflow: hidden;
}

.product-description.top table td:first-child.after-el:after,
#product-details table td:first-child.after-el:after{
   position: absolute;
   content: "";
   width: 100%;
   /*height: 100px;*/
   height: 35px;
   left: 0;
   bottom: 0;
   background: linear-gradient(to top, #fff 50%, #fff 50%, rgba(255,255,255,.3));
}
/*
.product-description.top table td:first-child.after-el.active:after,
#product-details table td:first-child.after-el.active:after{
   height: 20px;
}*/

.product-description{ padding-bottom: 20px; }
.product-description .toggle-link{
   position: absolute;
   right: 60px;
   bottom: 0;
   z-index: 10; color: #292929;
}

.product-description.top .toggle-link span:last-child,
#product-details .toggle-link span:last-child{
   display: none;
}

.product-description.top .toggle-link.active span:last-child,
#product-details .toggle-link.active span:last-child{
   display: block;
}

.product-description.top .toggle-link.active span:first-child,
#product-details .toggle-link.active span:first-child{
   display: none;
}

.product-actions .add-to-cart{
 line-height: 1;
}

.wishlist-button-add{
 display: inline-block !important;
}

.product-quantity .input-group-btn-vertical .btn i{
 position: absolute;
 left: 50%;
 top: 50%;
 transform: translate(-50%,-50%);
}

.product-thumb-images a,
.product-miniature-custom .product-thumbnail{
 position: relative;
}

.product-thumb-images a:before,
.product-miniature-custom .product-thumbnail:before{
 content: "";
 width: 100%;
 height: 100%;
 position: absolute;
 left: 5px;
 right: 5px;
 top: 5px;
 bottom: 5px;
 -ms-transform-origin: center;
 transform-origin: center;
 background: rgba(112, 112, 110, 0.19) !important;
 transition: transform 0.4s ease, filter 0.2s ease, opacity 0.2s ease !important;
 -ms-transform: scale(0.8);
 transform: scale(0.8);
 filter: opacity(0);
}

.product-thumb-images a:hover:before,
.product-miniature-custom .product-thumbnail:hover:before{
 left: 0;
 right: 0;
 top: 0;
 bottom: 0;
 width: 100%;
 height: 100%;
 -ms-transform: scale(1);
 transform: scale(1);
 filter: opacity(1);
}

.promo-category .promo-content{
   width: 450px;
}

.promo-category .promo-left{
   left: 50%;
   transform:translateX(-50%);
   top: 0;
   right: auto;
   bottom: 0;
   width: 500px;
   /*width: 100%;*/
   /*justify-content: flex-start;*/
   justify-content: center;
   background-color: rgba(0,0,0,.5);
   color: #fff; padding: 1rem;
   /*max-width: 100%;*/
   /*position: relative;*/
   /*height: 100%;*/
}

.promo-category .promo-left .promo-title{
   margin-bottom: 0;
}

.promo-category .promo-left .promo-title:after{
   content: none;
}

.promo-category .promo-text{
   position: relative;
}

.promo-category .promo-text:after{
   content: "";
   position: absolute;
   width: 122px;
   height: 0px;
   background: transparent;
   border-top: 1px
   solid #707070;
   left: 50%;
   bottom: -1.5rem;
   -ms-transform: translateX(-50%);
   transform: translateX(-50%);
   display: none;
}

.promo-category .promo-slider{
   margin-bottom: 0;
}

.subcategories .catalogue-item .descr{
   background: #F0ECEA;
}

.product-detail.product-image-gallery .product-thumb-images .thumb-container{
   padding-left: 5px;
   padding-right: 5px;
}

.product-detail.product-image-gallery .product-thumb-images{
   margin-left: -5px;
   margin-right: -5px;
}

.product-manufacturer .manufacturer-logo{
   max-height: 250px;
}

.product-quantities,
.product-detail .product-price-info #product-availability{
   padding: 15px 0;
}

.product-detail.product-image-gallery .product-thumb-images .thumb-container{
   margin-bottom: 10px;
}

.product_list .product{
   height: 100%;
}

.product-miniature-custom{
   display: flex;
   flex-direction: column;
   height: 100%;
   font-size: 18px;
   font-weight: 300;
}

.product-miniature-custom .product-title{
   background-color: #000;
   font-size: 28px;
   padding: 15px 25px;
   font-weight: normal;
   color: #fff;
}

.product-miniature-custom .product-content{
   flex: 1;
   padding: 15px 15px 15px 25px;
   /*background-color: #fcf8f8;*/
   background-color: #F0ECEA;
   margin-bottom: 10px;
}

.product-miniature-custom .product-attributes{
   font-weight: 400;
}

.product-miniature-custom .product-attributes,
.product-miniature-custom .product-available{
   margin-bottom: 10px;
}

.product-miniature-custom .product-features{
   margin-top: 0;
   font-size: 16px;
}

.product-miniature-custom .product-features{
   list-style-type: disc;
   padding-left: 20px;
   margin-bottom: 20px;
}

.product-miniature-custom .product-features li:not(:last-child){
   margin-bottom: 10px;
}

.product-miniature-custom .product-detail-reviews .reviews_global_rating .stars svg{
   width: 17px;
}

.product-miniature-custom .product-summary{
   padding: 10px 15px;
   background-color: #fff;
}

.product-miniature-custom .product-price{
   display: block;
   text-align: right;
   font-size: 16px;
   margin-bottom: 10px;
}

.product-miniature-custom .current-price span,
.product-miniature-custom .tax-label{
   font-weight: 500;
}

.product-miniature-custom .current-price span{
   font-size: 30px;
}

.product-miniature-custom .current-price span small{
   font-weight: 300;
}

.product-miniature-custom .current-price span.discount{
   font-size: .8em;
}

.product-miniature-custom .eco{
   display: block;
   font-size: 12px;
   text-align: right;
}

.product-miniature-custom .btn-main{
   font-size: 20px;
   padding: 10px 3px;
}

.product-miniature-custom .product-offer{
   padding: 15px;
   /*background-color: #F6F3EE;*/
   /*color: #571A0B;*/
   color: #000;
   font-size: 20px;
   font-weight: 400;
   text-align: center;
   border-top: 1px solid #888;
}

.product-miniature-custom .product-image{
   margin-bottom: 15px;
}

.product_list.grid .ajax_block_product{
   margin-bottom: 40px;
}

.product-miniature-custom .netreviews_note_generale{
   line-height: 1.3 !important;
   font-weight: 500;
}

div#subcategories{
   margin: 0 0 3rem;
   text-align: center;
}

.subcategories-item{
   position: relative;
   font-size: 20px;
   padding: 15px;
   text-transform: uppercase;
}

.subcategories-item:after{
   content: "";
   position: absolute;
   bottom: 5px;
   left: 0;
   width: 100%;
   height: 2px;
   background-color: #000;
   opacity: 0;
   transition: opacity .3s;
}

.subcategories-item:hover:after{
   opacity: 1;
}

.product-miniature-custom .product-discount .regular-price{
   margin-right: 0;
}

.has-discount.product-price,
.has-discount .discount{
   color: #000;
}

.has-discount .discount{
   background-color: #fff;
   box-shadow: 0 0 10px rgba(0,0,0,.5);
}

.product-detail .has-discount .discount{
   vertical-align: middle;
}

.product-discount .regular-price,
.product-prices .current-price span[itemprop="price"]{
   margin-right: 0;
}

#product-availability span{
   color: #0F6E0B;
   font-size: 14px;
   font-weight: normal;
}

.free-delivery{
   color: #ffffff;
   font-size: 1px;
}

.product-detail-country,
.product-detail-reviews{
   margin-bottom: 10px;
}

.product-detail-country img{
   width: 20px;
   vertical-align: top;
}

.product-description .product-manufacturer .img-thumbnail{
   border:  none;
}

.product-description .product-manufacturer{
   text-align: center;
}



@media (min-width: 1400px){
   .promo-category .promo-text{
      font-size: 1.4rem;
   }
}

@media (max-width: 1199px) and (min-width: 992px){
   div.container, div.container-large{
     padding: 0 30px;
   }
}

@media (max-width: 1599px){
   .product-miniature-custom .product-title,
   .product-miniature-custom .current-price span{
      font-size: 24px;
   }
   .product-miniature-custom .product-offer{
      font-size: 18px;
   }
   .product-miniature-custom,
   .product-miniature-custom .product-features,
   .product-miniature-custom .btn-main{
      font-size: 16px;
   }
}

@media (max-width: 1399px){
   .product-miniature-custom .product-title,
   .product-miniature-custom .current-price span{
      font-size: 20px;
   }
}

@media (max-width: 1199px){
   .promo-category .promo-text:after{
      bottom: -2rem; display: none;
   }
   /*.promo-category .promo-left,
   .promo-category .promo-content{
      width: 50%;
   }*/
   .product-miniature-custom,
   .product-miniature-custom .product-features,
   .product-miniature-custom .btn-main{
      font-size: 14px;
   }
   .product-miniature-custom .product-offer{
      font-size: 16px;
   }
   .product-description .toggle-link{
      right: 15px;
   }

}

@media (max-width: 991px){
   .product-miniature-custom .product-summary{
      margin-bottom: 10px
   }
   .product-miniature-custom .btn-main{
      display: block;
      /*margin-left: auto;*/
      /*margin-right: auto;*/
   }
}

@media (max-width: 767px){
   .product-description table{ display: block; }
   .product-description table tr{      display: block   }
   .product-description table td{
      display: block;
      width: 100% !important;
      padding-right: 0;
      margin-top: 15px;
   }
   .product-description table tbody{ display: block; }
   .promo-category .promo-text:after{      content: none;   }
   .promo-category .promo-left,
   .promo-category .promo-content{      width: 100%;   }
   .promo-category .promo-content{ height: 100%; }
}
.product-description.top{   margin-bottom: 30px;}

.more-info-product > div{
   padding-bottom: 30px;
}

@media (max-width: 575px){
   .product-miniature-custom .product-content,
   .product-miniature-custom .product-offer,
   .product-miniature-custom .product-title{
      padding: 10px 15px;
   }
   .product-miniature-custom .product-title,
   .product-miniature-custom .current-price span{
      font-size: 18px;
   }
   .product-description tbody tr td video, .product-description tbody tr td iframe{ max-width: 100%; }
}

@media (max-width: 480px){
   .product-miniature-custom .current-price span.discount{
      vertical-align: middle
   }
}