/********************************************************
			Templatemela Custom Styles
********************************************************/
.tm-carousel {
  position: relative;
  float: left;
  width: 100%;
  margin: 0;
  -ms-touch-action: pan-y;
}
.owl-carousel .owl-wrapper {
  display: none;
  position: relative;
  -webkit-transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-wrapper:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.owl-carousel .owl-wrapper-outer {
  overflow: hidden;
  position: relative;
  float: left;
  width: 100%;
}
.owl-carousel .owl-wrapper-outer.autoHeight {
  -webkit-transition: height 500ms ease-in-out;
  -moz-transition: height 500ms ease-in-out;
  -ms-transition: height 500ms ease-in-out;
  -o-transition: height 500ms ease-in-out;
  transition: height 500ms ease-in-out;
}
.owl-carousel .owl-item {
  float: left;
}
.owl-carousel .owl-item .manu_image a {
  display: inline-block;
}
.owl-carousel .owl-item .manu_image a img {
  max-width: 100%;
}
.owl-carousel .owl-item:hover a img {
  border-color: blue;
}
.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
  /* fix */
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  text-align: center;
}

/* mouse grab icon */
.grabbing {
  cursor: url("../img/megnor/grabbing.png") 8 8, move;
}
.product-accessories:hover .customNavigation, .crosssell-products:hover .customNavigation, .productscategory-products:hover .customNavigation {
	opacity: 1;
}
.customNavigation {
  position: absolute;
  z-index: 5;
  width: 100%;
  top: 40%;
  direction: ltr !important;
  text-align: center;
  opacity: 0;
}
.homeblog-inner:hover .customNavigation {
	opacity: 1;
}
.tmcategorylist .customNavigation a.prev {
  left: -25px;
}
.tmcategorylist .customNavigation a.next {
  right: -26px;
}
.quickview .mask .customNavigation {
  top: 45%;
  opacity: 1;
}
.customNavigation a.prev {
  right: auto;
  left: -40px;
  height: 35px;
  width: 22px;
  background: transparent url("../img/megnor/pro-arrow.png") no-repeat 0 4px;
}
.js-qv-mask.mask.additional_slider .customNavigation{
	position: absolute;
	top: 40%;
  width: 100%;
}
.js-qv-mask.mask.additional_slider .customNavigation a{
	position: absolute;
}
.brands .customNavigation {
  top: 45%;
  width: 100%;
  position: absolute;
  display: none;
}
.product-accessories .customNavigation,
.crosssell-products .customNavigation,
.productscategory-products .customNavigation {
  top: 45%;
}
.lastest_block .customNavigation a.prev {
  left: -25px;
}
.lastest_block .customNavigation a.next {
  right: -27px;
}
.brands .customNavigation a.prev{
  right: auto !important;
  left: 0 !important;
}
.brands .customNavigation a.next{
  right: 0px !important;
  left: auto !important;
}
.brands .customNavigation a.prev::before,
.js-qv-mask.additional_slider .customNavigation a.prev::before{
  display: none;
}
.brands .customNavigation a{
  position: absolute;
}
.tmcategorylist .customNavigation {
  top: 40%;
}
.js-qv-mask.additional_slider .customNavigation a.prev {
  left: 0 !important;
  right: auto !important;
}
.js-qv-mask.additional_slider .customNavigation a.next {
  right: 0px !important;
  left: auto !important;
}
#tmtestimonialcmsblock .customNavigation {
  top: -66px;
  text-align: right;
  display: none;
}
#tmtestimonialcmsblock .customNavigation a.prev {}
#tmtestimonialcmsblock .customNavigation a.next {right: 0 !important;}
#tmtestimonialcmsblock .customNavigation a.prev:hover {
  background-position: 0 -75px;
}
#tmtestimonialcmsblock .customNavigation a.next:hover {
  background-position: -43px -75px;
}
#tmtestimonialcmsblock .customNavigation a.prev::before{
  background: #2c2c2c;
}
.customNavigation a.prev:hover {
  background-position: 0 -80px;
}
.customNavigation a.next {
  right: -42px;
  left: auto;
  height: 35px;
  width: 22px;
  background: transparent url("../img/megnor/pro-arrow.png") no-repeat -72px 4px;
}
.customNavigation a.next:hover {
  background-position: -72px -80px;
}

.customNavigation a {
  display: inline-block;
  position: absolute;
  font-size: 0;
  padding: 0;
  overflow: hidden;
}

@media (max-width: 1250px){
  .tmcategorylist .customNavigation a.prev {left: -6px;}
  .tmcategorylist .customNavigation a.next {right: -8px;}
  .customNavigation a.prev {left: -20px;}
  .customNavigation a.next {right: -22px;}
  .lastest_block .customNavigation a.prev {
    left: -15px;
  }
  .lastest_block .customNavigation a.next {
    right: -17px;
  }
}
@media (max-width: 991px){
  #tmtestimonialcmsblock .customNavigation {
    top: 0;
  }

}


@media (max-width: 767px) {
  .product-accessories .customNavigation, .crosssell-products .customNavigation, .productscategory-products .customNavigation {
    top: 10%;
  }
  #featureProduct .customNavigation ,#newProduct .customNavigation,#bestseller .customNavigation {
    top: 0px;
  }
	.customNavigation a{position: relative;display: inline-block;}
  .customNavigation a.prev {right: 0 !important;left: auto !important;}
  .customNavigation a.next{right: 0 !important;left: auto !important; }
  .tmcategorylist .customNavigation {top: -60px;}
  .customNavigation {top: -60px;}
}

@media (max-width: 480px) {
  .tmcategorylist .customNavigation {
  top: -40px;
}
.lastest_block .customNavigation {
	top: -47px;
}
}

/* Modifiche Pier */

.brands .products .product_list li img {
  opacity: 1;
  -khtml-opacity: 1;
  -webkit-opacity: 1;
  -moz-opacity: 1;
  -webkit-filter: none;
  filter: opacity(0.7);
  transition: filter 0s,box-shadow 0s;
  -webkit-transition: filter 0s,-webkit-filter 0s,box-shadow 0s;
  -moz-transition: filter 0s,box-shadow 0s;
  -ms-transition: filter 0s,box-shadow 0s;
  -o-transition: filter 0s,box-shadow 0s;
}
.brands .products .product_list li:hover img {
  opacity: 1;
  -khtml-opacity: 1;
  -webkit-opacity: 1;
  -moz-opacity: 1;
  transition: 2s;
}
.brands .brand-image:hover a img {
  filter: none;
}

.brands .brand-image:hover a img {
  transform: none;
  -webkit-transform: none;
  -ms-transform: none;
  -o-transform: none;
  -moz-transform: none;
}

/* Rimozione logo BRAND da descrizione breve */
.product-information .manufacturer-logo {
  height: 35px;
  display: none;
}


/* Dimensione Bandiera lingue Variante prodotto in pagina prodotto */
.quickview .product-variants > .product-variants-item .color, #main .product-container .product-variants > .product-variants-item .color {
  height: 33px;
  width: 50px;
  cursor: default;
  pointer-events: none;
}

.product-variants > .product-variants-item .input-color:checked + span {
  border: 0px solid #e6e6e6;
}

/* Rimozione link a bandiera per variante prodotto */
.input-color {
  position: absolute;
  opacity: 0;
  -webkit-opacity: 0;
  -moz-opacity: 0;
  -ms-opacity: 0;
  -o-opacity: 0;
  -khtml-opacity: 0;
  cursor: pointer;
  pointer-events: none;   
  height: 1.25rem;
  width: 1.25rem;
  display: none;
}

#add-to-cart-or-refresh .product-variants-item label {
  display: flex;
  margin: 0;
  cursor: pointer;
  pointer-events: none;
}

/* Dimensione Bandiera lingue Variante prodotto in pagina vista per categoria */
.color, .custom-checkbox input[type="checkbox"] + span.color {
  width: 22px;
  height: 15px;
  display: inline-block;
  margin: 3px;
  cursor: default;
  background-size: contain;
}

.highlighted-informations .variant-links {
  display: flex;
  width: auto;
  padding: 0px;
  background: transparent;
}

 /* Posizionemento Logo */
 #header .header-top .header_logo {
  padding: 0;
  float: none;
  width: auto;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  cursor: pointer;
  top: 20px;
}

/* Posizionemento Campo di ricerca */
#search_widget {
  float: left;
  margin: 40px 0 10px;
  position: relative;
  width: auto;
  padding: 0;
}

/* Rimozione Label attributi pagina prodotto */
.product-actions .control-label, .product-actions-main .control-label {
  margin-bottom: 5px;
  width: 100%;
  color: #222222;
  font-weight: 500;
  display: none;
}


/* Posizione bandiera lingue variante pagina PRODOTTI */
.product-page .product-variants > .product-variants-item {
  margin: -10px 0 0;
}


/* Posizione PRODUTTORE (brand) pagine PRODOTTI */
.product-page .brand-infos, .product-page .product-reference, .product-page .product-quantities {
  margin-block-end: 3px;
  margin: 10px 0 -20px 0;
}

body {
  text-transform: none;
}


/* Dimensione testi colonna sinistra dei filtri */
#search_filters .facet .facet-label a {
  font-size: 15px;
  line-height: 26px;
  letter-spacing: 0px;
  margin: 0;
  padding: 0;
}

/* Visualizzazione lista brand */
#brand_list li.brand .brand-inner .row > div {
  display: block;
  width: auto;
  /*
  flex: auto; */
  flex: 0%;
  align-items: center;
}


@media (max-width: 767px) {
#brand_list li.brand .brand-inner .row > div {
    display: block !important;
    width: 100% !important;
    text-align: center;
}
}

/* Rimozione scritta VIEW MORE PRODUCT in home page */
#index .products .product_list li.loadmore {
  display: none;
  text-align: center;
  width: 100%;
  margin: 20px 0 0;
}

/* Spaziatura scroller dei BRAND in HOME */
.brands .products {
  padding: 20px 0 50px 0;
  border-top: 1px solid #e6e6e6;
}

/* Rimozione scritta COPYRIGHT nel footer delle pagine */
.copyright {
  float: left;
  font-size: 12px;
  line-height: 18px;
  margin: 0;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 1;
  font-weight: 400;
  color: #999999;
  padding-top: 15px;
  letter-spacing: 0.8px;
  display: none;
}

/*  Sistemazione voci di sotto-menu  */
.top-menu .sub-menu ul[data-depth="1"] > li {
  float: left;
  min-width: 170px;
  margin: -1px 10px;
  padding-right: 10px;
  padding-bottom: 0px;
  border-left: 3px solid #6a5aa3;
  border-bottom: 1px solid #6a5aa3;
  border-radius: 5px;
  line-height: 1.3;
  transition: 0.5s;
}

/*  Sistemazione voci di sotto-menu  */
.top-menu .sub-menu ul[data-depth="1"] > li:hover {
  border-radius: 15px;
  background-color: #f0f0f0;
  
  
}

#header .header-top .menu .sub-menu .category > a.dropdown-submenu {
  color: #222222;
  font-size: 16px;
  padding: 5px 10px 0 10px;
  max-width: 180px;
  white-space: normal;
  text-transform: capitalize;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}


/* Sfondo scritte nei due colonne con immagini in Homepage */
#tmcmsbannerblock .cms-content .cms-block .cms_offer1 {
  font-size: 30px;
  letter-spacing: 2.7px;
  text-transform: capitalize;
  line-height: 30Px;
  padding: 7px 10px 10px 10px;
  font-family: 'Inria Serif', serif;
  color: #ffffff;
  background-color: rgb(106 90 163 / 80%);
  /* border-radius: 5px; */
}

 /* Bottone Personalizzato */

 .button {
  border-radius: 50px;
  background-color: #6a5aa3;
  border: none;
  color: #fff;
  text-align: center;
  font-size: 15px;
  padding: 10px 0;
  width: 230px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}

.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button span:after {
  content: '\00bb';
  position: absolute;
  font-size:36px;
  opacity: 0;
  top: -1px;
  right: -30px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 25px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}

.button1 {
  border-radius: 50px;
  background-color: #ffffff;
  border: none;
  color: #6a5aa3;
  text-align: center;
  font-size: 15px;
  padding: 10px 0;
  width: 330px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
  box-shadow: 2px 2px 2px #6a5aa3
}

.button1 span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button1 span:after {
  content: '\00bb';
  position: absolute;
  font-size:36px;
  opacity: 0;
  top: -1px;
  right: -30px;
  transition: 0.5s;
}

.button1:hover span {
  padding-right: 25px;
}

.button1:hover span:after {
  opacity: 1;
  right: 0;
}

.product-variants > .product-variants-item ul li {
  margin-right: 0.625rem;
  margin-bottom: 5px;
}