/********************************************************
			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;
}
.tm-hometabcontent .customNavigation{  top: -65px;}
 
.customNavigation {
  position: absolute;
  z-index: 959;
  width: 100%;
  top: 3px;
  direction: ltr !important;
  right: 0;
}
#tmtestimonialcmsblock .customNavigation{
  top:-32px;
}

@media(max-width: 991px){
  #tmtestimonialcmsblock .customNavigation{top:20px !important;}
}
.special-products .customNavigation {
  top: 3px;
}
.lastest_block .customNavigation{ top: -60px;}

.customNavigation a {
  border: 1px solid #d5d5d5;
  color: #d5d5d5 !important;
  cursor: pointer;
  font-size: 0;
  font-weight: 500;
  height: 25px;
  line-height: 32px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  text-align: center;
  width: 25px;
  background: #fff;
}
#tmtestimonialcmsblock .customNavigation a{
  height: 18px;
  width: 18px;
  color: #fff !important;
  background: #cd0a0a;
  border:none;
}
.customNavigation a:hover {
  background: #3886c9 none repeat scroll 0 0;
  border: 1px solid #3886c9;
}

.customNavigation a:hover:before{ color: #fff; }
#tmtestimonialcmsblock .customNavigation a:hover{ background: #f9ba48; }
#tmtestimonialcmsblock .customNavigation a.prev {
  right: 45px;
}
.customNavigation a.prev {
  right: 36px;
}

.special-products .customNavigation a.prev, .lastest_block .customNavigation a.prev {
  right: 48px;
}
.product-accessories .customNavigation a.prev,.crosssell-products .customNavigation a.prev,.productscategory-products .customNavigation a.prev{
  right:45px;
}
.customNavigation a.next {
  right: 0px;
}
#tmtestimonialcmsblock .customNavigation a.next {
  right: 22px;
}
.special-products .customNavigation a.next, .lastest_block .customNavigation a.next{
  right: 12px;
}
@media(max-width: 1450px){
	.special-products .customNavigation a.next{right: 15px;}
	.special-products .customNavigation a.prev{right: 55px;}
}
.product-accessories .customNavigation a.next,.crosssell-products .customNavigation a.next,.productscategory-products .customNavigation a.next{
  right:10px;
}
.js-qv-mask .customNavigation a.next {
  right: 0;
}
@media (max-width: 1300px) {
}
@media (max-width: 991px) {
	.customNavigation a.prev {
		/*left: 0px;*/
	}
	.customNavigation a.next {
		right: 0px;
	}
	#main .images-container .js-qv-mask { margin:0px; }
}
@media (max-width: 767px) {
}
.customNavigation a.prev:before {
  content: "\E314";
  font-family: "Material Icons";
  position: absolute;
  font-size: 20px;
  right: 1px;
  top: -3px;

}
#tmtestimonialcmsblock .customNavigation a.prev::before {
  font-size: 15px;
  right: 1px;
  top: -7px;
   font-weight: 500;
}
#tmtestimonialcmsblock .customNavigation a.next::before {
  font-size: 15px;
  right: 0;
  top: -7px;
   font-weight: 500;
}
.customNavigation a.next:before {
  content: "\E315";
  font-family: "Material Icons";
  position: absolute;
   font-size: 20px;
    position: absolute;
    right: 0px;
    top: -3px;
}

#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;
  border-radius: 5px;
}
#tmleftbanner li a,#tmrightbanner li a,#tmrightbanner1 li a,#tmrightbanner2 li a{
  display: block;
  position: relative;
}
#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);
}
#tmrightbanner2 li img,#tmleftbanner li img,#tmsubbanner li a {
    transition: all 0.3s ease-in-out 0s;
-webkit-transition: all 0.3s ease-in-out 0s;
-moz-transition: all 0.3s ease-in-out 0s;
-ms-transition: all 0.3s ease-in-out 0s;
-o-transition: all 0.3s ease-in-out 0s;
max-width: 100%;

}
#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;
}
#tmrightbanner2 li img:hover, #tmleftbanner li img:hover, #tmsubbanner li a: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);
}


@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: 991px) {
  #tmsubbanner {margin: 20px 0 0;}
  #tmsubbanner li a img{
  	height: 298px;
    width: 100%;
	}
  #tmrightbanner2 li img,#tmrightbanner1 li img,#tmrightbanner li img,#tmleftbanner li img,#tmsubbanner li a {width: 100%;}
  .js-qv-mask .customNavigation a.next{
    right: 0;
  }
  #tmsubbanner{ width: 100%; float: left;}
	#tmsubbanner li:first-child {
		margin-right: 3%;
		width: 51%;
	}
	#tmsubbanner li:last-child {
	  width: 46%;
	}
	#tmsubbanner li:first-child a {
	  margin-bottom: 0;
	}
	#tmtestimonialcmsblock .customNavigation a.prev::before, #tmtestimonialcmsblock .customNavigation a.next::before{ top: -6px;}
 }
 @media(max-width: 767px){

	.special-products .customNavigation a.prev, .lastest_block .customNavigation a.prev {
	  right: 48px;
	}
	.special-products .customNavigation a.next, .lastest_block .customNavigation a.next {
	  right: 12px;
	}
	#tmsubbanner li a img {
	  height: 288px;
	}
 }

 @media(max-width: 480px){
      .customNavigation {
        position: relative !important;
        z-index: 959;
        width: 100%;
        top: -45px;
        right: 0;
        left: 0;
        margin: 0 auto;
        float: none;
        text-align: center;
    }
	.tm-hometabcontent .customNavigation, .lastest_block .customNavigation{ top: -45px;}
    .customNavigation a.prev {
        float: none;
        left: -36px !important;
        right: 0 !important;
        margin: 0 auto;
        text-align: center;
    }
    .customNavigation a.next {
        float: none;
        left: 0 !important; 
        right: -36px !important;
        margin: 0 auto;
        text-align: center;
    }
 
  .special-products .customNavigation {top:0;}
  #tmsubbanner li:first-child, #tmsubbanner li:last-child { width: 100%;}
  #tmsubbanner li:first-child{ margin-bottom: 20px; margin-right: 0;}
  #tmrightbanner2 li img:hover, #tmleftbanner li img:hover, #tmsubbanner li a:hover img {
 	 transform: scale(1);
		 -webkit-transform: scale(1);
		-ms-transform:scale(1);
		-o-transform:scale(1);
		-moz-transform:scale(1);
	}
	.special-products .customNavigation {
	  top: 45px !important;
	}
	.product-accessories .customNavigation {
	  top: 43px !important;
	}
	.crosssell-products .customNavigation {
	  top: 73px;
	}
	#tmsubbanner li a img {
	  height: auto;
	}
	#tmsubbanner li:first-child, #tmsubbanner li:last-child{ width: 100%;}
	#tmsubbanner li a img,#tmrightbanner2 li img, #tmrightbanner1 li img, #tmrightbanner li img, #tmleftbanner li img, #tmsubbanner li a {
	  width: auto;
	}
	.brands .customNavigation {
	  top: -30px !important;
	}
 }

/********************************************************
		Ocultar barra lateral en checkout
********************************************************/
/* Ocultar barra lateral y título de categorías en páginas de checkout */
body#checkout .site-bar-menu-title,
body.checkout .site-bar-menu-title,
body#order .site-bar-menu-title,
body.order .site-bar-menu-title,
body#cart .site-bar-menu-title,
body.cart .site-bar-menu-title,
body#checkout .left-site-bar-menu,
body.checkout .left-site-bar-menu,
body#order .left-site-bar-menu,
body.order .left-site-bar-menu,
body#cart .left-site-bar-menu,
body.cart .left-site-bar-menu {
	display: none !important;
}

/* Hacer que el contenido ocupe todo el ancho en checkout */
body#checkout .right-main-content-area.full-width,
body.checkout .right-main-content-area.full-width,
body#order .right-main-content-area.full-width,
body.order .right-main-content-area.full-width,
body#cart .right-main-content-area.full-width,
body.cart .right-main-content-area.full-width {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	padding-left: 15px !important;
	padding-right: 15px !important;
}