/********************************************************
			Coderplace Custom Styles
********************************************************/
.tm-carousel {
  display: none;
  position: relative;
  float: left;
  width: 100%;
  margin: 0;
}
.cp-carousel {
  display: none;
  position: relative;
  float: left;
  width: 100%;
  margin: 0;
}
.owl-carousel .owl-wrapper {
  display: none;
  position: relative;
  -webkit-transform: translate3d(0px, 0px, 0px);
  -ms-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate3d(0px, 0px, 0px);
  -moz-transform: translate3d(0px, 0px, 0px);
  display: flex !important;
  flex-wrap: wrap;
}
.owl-carousel .owl-wrapper:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.owl-carousel .owl-wrapper-outer {
  overflow-x: clip;
  position: relative;
  float: left;
  width: 100%;
  padding: 0;
}
.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;
  display: flex;
  height: auto;
}
.owl-carousel .owl-item .manu_image a {
  display: inline-block;
}
.owl-carousel .owl-item .manu_image a img {
  max-width: 100%;
}

.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 */
.customNavigation {
	position: absolute;
	z-index: 9;
	width: 100%;
	top: 57%;
	direction: ltr !important;
	right: 0;
	left: auto;
  opacity: 0;
  -khtml-opacity: 0;
  -webkit-opacity: 0;
  -moz-opacity: 0;
}
.products .customNavigation {
	top: 35%;
}
.customNavigation a.prev::before {
	content: "\E314";
	font-family: "Material Icons";
	position: absolute;
	font-size: 20px;
	right: 5px;
	top: -1px;
	color: #808080;
}
.customNavigation a.next::before {
	content: "\E315";
	font-family: "Material Icons";
	position: absolute;
	font-size: 20px;
	position: absolute;
	right: 3px;
	top: -1px;
	color: #808080;
}
.special-products:hover .customNavigation, 
.products:hover .customNavigation,
.testimonial-block-part:hover .customNavigation,
.tmblog-latest:hover .customNavigation, 
.product-accessories:hover .customNavigation,
.productscategory-products:hover .customNavigation{
  opacity: 1;
  -khtml-opacity: 1;
  -webkit-opacity: 1;
  -moz-opacity: 1;
}
.lastest_block .customNavigation {
	top: 44%;
}
.customNavigation i {
	color: #222 !important;
	cursor: pointer;
	font-size: 0;
	font-weight: 500;
	height: 38px;
	line-height: 32px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	text-align: center;
	width: 38px;
	background: transparent;
	border-radius: 0;
	font-style: unset;
	box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.11);
}
.customNavigation i.prev {
	background: transparent;
	right: auto;
	background: #fff;
	border-radius: 50%;
	left: -5px;
}
.customNavigation i.next {
	background: transparent;
	right: 0px;
	background: #fff;
	border-radius: 50%;
	right: -5px;
}
.testimonial-block-part .customNavigation i.prev, 
.special-products .customNavigation i.prev,
.btn.prev.accessories_prev {
	left: -20px;
} 
.testimonial-block-part .customNavigation i.next, 
.special-products .customNavigation i.next,
.btn.next.accessories_next  {
  right: -20px;
}
.customNavigation i.prev::before {
	content: '';
	-webkit-mask-image: url(../img/megnor/pro-left.svg);
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-image: url(../img/megnor/pro-left.svg);
	mask-position: center;
	mask-repeat: no-repeat;
	background-color: #000;
	mask-size: 14px;
	font-size: 14px;
	width: 38px;
	height: 38px;
	display: block;
  -webkit-mask-size: 14px;
}
.customNavigation i.next::before {
	content: '';
	-webkit-mask-image: url(../img/megnor/pro-right.svg);
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-image: url(../img/megnor/pro-right.svg);
	mask-position: center;
	mask-repeat: no-repeat;
	background-color: #000;
	mask-size: 14px;
	font-size: 14px;
	width: 38px;
	height: 38px;
	display: block;
  -webkit-mask-size: 14px;
}
.customNavigation i.next:hover::before,.customNavigation i.prev:hover::before  {
  color: #fff;
}
#cpleftbanner1 img,
#cpleftbanner2 img {
  max-width: 100%;
}
#cpleftbanner1 li,
#cpleftbanner2 li {
  overflow: hidden;
  position: relative;
  float: left;
  border-radius: 5px;
}
#cpleftbanner1 li a,
#cpleftbanner2 li a {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: top;
}
.footer-container .links.lastest_block .customNavigation i.prev:hover {
  color: #9bbab1 !important;
}
.footer-container .links.lastest_block .customNavigation i.next:hover {
  color: #9bbab1 !important;
}
.carousel { width: 100vw;       /* prende tutta la larghezza della viewport */
  margin-left: calc(-50vw + 50%);}

.brands {display:none;}

#footer {background:black !Important;}
#link-cms-page-1-2{color:#ababab;}
#link-cms-page-4-2{color:#ababab;}
#link-cms-page-5-2{color:#ababab;}
#link-static-page-contact-2{color:#ababab;}
#link-static-page-sitemap-2{color:#ababab;}
#link-static-page-stores-2{color:#ababab;}
.h3 .hidden-md-down {color:#ababab !Important;}
.footer-container .links .collapse, .footer-container .block_newsletter .collapse{color:white;}
.footer-container .links .h3, .footer-container .links h3, .footer-container .links h3 a {color:white;}
.footer-container .footer-right li a {color:#ababab;}
.link-product-page-best-sales-1 {color:#ababab;}

#header .header-top .header_logo img.logo {width:35% !Important;}
.body {overflow-x:hidden !Important;}
#index {overflow-x:hidden !Important;}

.header-top .header-div > .container {grid-template-columns: 1fr 1fr !Important;display:flex !Important;padding: 0 0px !Important;}
#searchbox {display:none;}
.header-top-main.bg_main .container {
border-top: 0px !Important;
border-bottom: 0px !Important; 
	background-color: #ffffff !Important;}
.header-top-main.bg_main #_top_main_menu li {margin-inline:15px;}
/* Contenitore della traccia */
.logo-track {
  display: flex;               /* mette i loghi in riga */
  flex-wrap: nowrap;           /* impedisce il ritorno a capo */
  gap: 24px;                   /* spazio tra loghi */
  animation: scroll 28s linear infinite;
  width: max-content;          /* la larghezza si adatta ai loghi */
}

/* Ogni logo */
.logo-slide {
  flex: 0 0 auto;              /* larghezza fissa in base al contenuto */
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-slide img {
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Keyframes per lo scorrimento orizzontale */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* scorre di metà larghezza totale (necessaria la duplicazione) */
  }
}

/* Mobile: 3 loghi visibili, margine ridotto */
@media (max-width: 768px) {
  .logo-track {
    gap: 16px;
  }
  .logo-slide img {
    max-height: 64px;
  }
}

@media (max-width: 1449px) {
  .testimonial-block-part .customNavigation i.prev, 
  .special-products .customNavigation i.prev,
  .btn.prev.accessories_prev {
    left: -15px;
  }
  .testimonial-block-part .customNavigation i.next,
   .special-products .customNavigation i.next,
   .btn.next.accessories_next {
    right: -15px;
  }
  .customNavigation i.next {
    right: 0;
  }
  .customNavigation i.prev {
    left: 0;
  }
}

#header .header-nav .right-nav {display:none;}
@media (max-width: 1199px) {
}

@media (max-width: 991px) {
  #cpleftbanner1 li img,
  #cpleftbanner2 li a {
    width: auto;
  }
}
@media (max-width: 767px) {
  .customNavigation {
    opacity: 1;
    -khtml-opacity: 1;
    -webkit-opacity: 1;
    -moz-opacity: 1;
  }
  
  .testimonial-block-part .customNavigation i.prev, 
  .special-products .customNavigation i.prev,
  .btn.prev.accessories_prev {
    left: 5px;
  }
  .testimonial-block-part .customNavigation i.next,
   .special-products .customNavigation i.next,
   .btn.next.accessories_next {
    right: 5px;
  }
  #main .images-container .js-qv-mask .customNavigation {
    top: 13px;
  }
  .quickview .mask.additional_slider .customNavigation i.prev {
    left: -10px !important;
  }
  .quickview .mask.additional_slider .customNavigation i.next {
    right: -10px !important;
  }
  .btn.next.brand_next {
    left: auto;
    right: 0;
    position: absolute;
  }
  .btn.prev.brand_prev {
    left: 0;
    right: auto;
  }
  .customNavigation i.next {
    left: auto;
    right: 0;
  }#header .header-top .header_logo img.logo {width:85% !Important;}
}
@media (max-width: 480px) {#header .header-top .header_logo img.logo {width:85% !Important;}
}

