/********************************************************
			Templatemela Custom Styles
********************************************************/
/*.tm-carousel {
  display: none;
  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);
	-ms-transform: translate3d(0px, 0px, 0px);
	-o-transform: translate3d(0px, 0px, 0px);
	-moz-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%;
  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;
}
.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;
}
.customNavigation {
  position: absolute;
  z-index: 7;
  width: 100%;
  top: 0px;
  direction: ltr !important;
  right: 0;
}
.lastest_block .customNavigation a.prev {
    right: auto !important;
    left: 0 !important;
    background: transparent;
    border-color: transparent;
    position: relative;
    color: #000 !important;
}
.lastest_block .customNavigation a.next {
  right: 0 !important;
  left: 0 !important;
  background: transparent;
  border-color: transparent;
  position: relative;
  color: #000 !important;
}
.lastest_block .customNavigation a:hover { background: transparent !important;border-color: transparent !important;}
.lastest_block .customNavigation a:hover::before{color: #176bb0 !important;}
.lastest_block .customNavigation {
    top: -34px;
    right: 0;
    left: 0;
    text-align: right;
}
.featured-products .customNavigation {top: 41px;}
#tmtestimonialcmsblock .customNavigation{
  top:-25px;
  z-index:5;
  right:-8px;
}

@media(max-width: 991px){
  #tmtestimonialcmsblock .customNavigation{top:20px !important;}

}

.tm-hometabcontent:hover .customNavigation, .tm-hometabcontent .customNavigation {
  top: 25px;
  opacity: 1;
  -khtml-opacity: 1;
  -webkit-opacity: 1;
  -moz-opacity: 1;
}

.customNavigation a {
  color: #000 !important;
  cursor: pointer;
  font-size: 0;
  font-weight: 500;
  height: 30px;
  line-height: 32px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  text-align: center;
  width: 30px;
  background: transparent;
  border: 1px solid #f2f2f2;
}
.customNavigation a:hover {
  background: #fed649 !important;
  border-color: #fed649;
}
#tmtestimonialcmsblock .customNavigation a {
  height: 30px;
  width: 30px;
  color: #939393 !important;
  border: none;
  background: transparent;
}

.customNavigation a:hover:before{ color: #000 !important; }
#tmtestimonialcmsblock .customNavigation a.prev {
  right: 45px;
}
.customNavigation a.prev {
  background: #ebebeb;
  right: 36px;
}
.customNavigation a.next {
  background: #ebebeb;
  right: 0px;
}
#tmtestimonialcmsblock .customNavigation a.next {
  right: 22px;
}

@media (max-width: 991px) {

	.customNavigation a.next {
		right: 0px;
	}
	#main .images-container .js-qv-mask { margin:0px; }
  .lastest_block .customNavigation {top: 0;}
  .featured-products .customNavigation {
    top: 44px;
  }
	
}
@media (max-width: 767px) {
}
.customNavigation a.prev:before {
  content: "\E314";
  font-family: "Material Icons";
  position: absolute;
  font-size: 23px;
    right: 2px;
    top: -2px;

}
#tmtestimonialcmsblock .customNavigation a.prev::before {
   right: 1px;
    font-weight: 500;
}
#tmtestimonialcmsblock .customNavigation a.next::before {
  right: 0;
   font-weight: 500;
}
.customNavigation a.next:before {
  content: "\E315";
  font-family: "Material Icons";
  position: absolute;
   font-size: 23px;
    position: absolute;
    right: 1px;
    top: -2px;
}

#tmleftbanner img,
#tmrightbanner img{
	max-width: 100%;
}	

/******* Subbanner *******/
#tmsubbanner {
  background: #ffffff none repeat scroll 0 0;
  float: right;
  margin: 0;
  padding: 0;
  width: 23.4%;
}

#tmsubbanner li {
    float: left;
    overflow: hidden;
}
#tmsubbanner li a{
   display: block;
  position: relative;
  overflow: hidden;
}

#tmleftbanner li,#tmrightbanner li,#tmrightbanner1 li,#tmrightbanner2 li{
  overflow: hidden;
}
#tmleftbanner1 li {
    overflow: hidden;
    position: relative;
    float: left;
}
#tmleftbanner li a, #tmrightbanner li a, #tmrightbanner1 li a, #tmrightbanner2 li a, #tmleftbanner1 li a {
  display: inline-block;
  position: relative;
  overflow: hidden;
  width: auto;
  border-radius: 5px;
-webkit-border-radius: 5px;
-khtml-border-radius: 5px;
-moz-border-radius: 5px;
float: left;
}
#tmrightbanner1 li img{
	max-width: 100%; 
	transition: all 1s linear 0s;
	-webkit-transition: all 1s linear 0s;
	-moz-transition: all 1s linear 0s;
	-ms-transition: all 1s linear 0s;
	-o-transition: all 1s linear 0s;
}
#tmrightbanner1 li:hover img{
	transform: scale(1.1);
		 -webkit-transform: scale(1.1);
	-ms-transform:scale(1.1);
	-o-transform:scale(1.1);
	-moz-transform:scale(1.1);
}

#tmsubbanner li:first-child a {
  margin-bottom: 27px;
}
#tmsubbanner li a img{ 
	max-width: 100%;     
 	 transform: scale(1);
	-webkit-transform: scale(1);
	-ms-transform:scale(1);
	-o-transform:scale(1);
	-moz-transform:scale(1);
    transition: all 1s linear 0s;
	-webkit-transition: all 1s linear 0s;
	-moz-transition: all 1s linear 0s;
	-ms-transition: all 1s linear 0s;
	-o-transition: all 1s linear 0s;
}



@media (max-width: 1199px) {
#tmsubbanner{ width: 21.4%;}
#tmtestimonialcmsblock .customNavigation a.prev {
  right: 38px;
}
#tmtestimonialcmsblock .customNavigation a.next {
  right: 15px;
}
.customNavigation a.prev::before{ right: 2px; }
#tmsubbanner li:first-child a {
  margin-bottom: 22px;
}

}
 @media(max-width: 767px){    }
  @media(max-width: 479px){
   .crosssell-products .customNavigation a.prev,
    .productscategory-products .customNavigation a.prev,
    .product-accessories .customNavigation a.prev{
      position: relative;
      left: 0;
      right: 0;
      text-align: center;
      margin: 0 auto;
    }
    .crosssell-products .customNavigation a.next,
    .productscategory-products .customNavigation a.next,
    .product-accessories .customNavigation a.next{
      position: relative;
      left: 0;
      right: 0;
      text-align: center;
      margin: 0 auto;
    }
    .crosssell-products .customNavigation ,
    .productscategory-products .customNavigation ,
    .product-accessories .customNavigation {
      right: 0;
      left: 0;
      text-align: center;
      top: 60px;
    }
  }
  /* FIX móvil: que nada bloquee el scroll sobre la foto */
.product-cover,
.images-container {
  touch-action: pan-y !important;
  pointer-events: auto !important;
}

@media (max-width: 1024px) {
  /* Overlay/contendor del zoom (elevateZoom) */
  .zoomContainer { 
    display: none !important;
    pointer-events: none !important;
  }
  /* Botón/layer de zoom del tema */
  .product-cover .layer {
    pointer-events: none !important;
    display: none !important;
  }
}
