/********************************************************
			Templatemela Custom Styles
********************************************************/
li.product-flag.new {
    display: none;
}
.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%;
}
.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%;
  direction: ltr !important;
  text-align:center;
  clear:both;
  top: 40%;
}
.tm-hometabcontent .customNavigation{  top: -61px;}
.product-accessories .customNavigation,.crosssell-products .customNavigation, #tmcategorytabs  .customNavigation,.productscategory-products .customNavigation{
	top: 44%;
}
.special-products .customNavigation{ top: 47%;}

.tmcategorylist .customNavigation {
	left: 0;
	right: auto;
	text-align: center;
	top: auto;
	width: 16.66%;
	bottom: 30%;
}
.tmcategorylist .customNavigation a {
	display: inline-block;
	position: relative;
	text-align: center;
}

.product-accessories .customNavigation a, .crosssell-products .customNavigation a{
		box-shadow: none;
	 -moz-box-shadow: none;
	-webkit-box-shadow: none;
}

.customNavigation a {
  border: none;
  display: block;
  font-size: 0;
  font-weight: 500;
  opacity: 1;
  -khtml-opacity: 1;
-webkit-opacity: 1;
-moz-opacity:1;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity=100);
  position: absolute;
  text-align: center;
  transition: none;
	-webkit-transition: none;
	-moz-transition: none;
	-ms-transition: none;
	-o-transition: none;
  z-index: 9;
  padding: 0;
  color: #fff;
	height: 65px;
	width: 70px;
	line-height: 34px;
	background: rgba(0, 0, 0, 0) url("../img/megnor/arrow-grid.png") no-repeat scroll 0 0;
}

.additional_slider .customNavigation a,.additional_slider .customNavigation a.next:hover,.additional_slider .customNavigation a.prev:hover{ 
		color: #000; 
		background: transparent; 
		border: transparent;
		box-shadow: none;
	 -moz-box-shadow: none;
	-webkit-box-shadow: none;
}



.customNavigation a.prev {
	right: auto;    
	  background-position: 16px -90px;
    left: 0;
}
.special-products .customNavigation {
  top: 53%;
}
.newproducts .customNavigation {
  top: 48%;
}

.newproducts .customNavigation a.prev,.special-products .customNavigation a.prev,#tmtestimonialcmsblock .customNavigation a.prev,
.product-accessories .customNavigation a.prev, .crosssell-products .customNavigation a.prev,.productscategory-products .customNavigation a.prev{ left: -70px;}

.customNavigation a.prev:hover{   
	     background: rgba(0, 0, 0, 0) url("../img/megnor/arrow-grid.png") no-repeat scroll 16px -164px;
}
.customNavigation a.prev::before{
  content: "\f104";
  font-family: "FontAwesome";
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
  color: #999;
   font-size: 16px;
   display: none;

}
.customNavigation a.prev:hover::before,.customNavigation a.next:hover::before{ color: #000;}

.customNavigation a.next {
   left: auto;
    right: 0;
  background-position: -36px -90px;

}
.newproducts .customNavigation a.next,.special-products .customNavigation a.next,#tmtestimonialcmsblock .customNavigation a.next,
.product-accessories .customNavigation a.next, .crosssell-products .customNavigation a.next,.productscategory-products .customNavigation a.next{right: -70px;}

.customNavigation a.next:hover {
	background: rgba(0, 0, 0, 0) url("../img/megnor/arrow-grid.png") no-repeat scroll -36px -164px;
}
.customNavigation a.next::before {
  content: "\f105";
  font-family: "FontAwesome";
  left: 4px;
  position: absolute;
  right: 0;
  text-align: center;
    color: #999;
   font-size: 16px;
   display: none;
}
.additional_slider .customNavigation a.prev::before,.additional_slider .customNavigation a.next::before{ font-size: 20px; display: block;}
.tm-hometabcontent .customNavigation a.prev{
  left: auto;
  right: 58px;
}
.tm-hometabcontent .customNavigation a.next{
  left: auto;
  right: 15px;
}

.tmcategorylist .customNavigation a.prev{ left: 0;}
.tmcategorylist .customNavigation a.next{ right: 0;}
#tmleftbanner img,
#tmrightbanner img{
	max-width: 100%;
}	

@media (max-width: 1449px) {
	.newproducts .customNavigation a.prev,.special-products .customNavigation a.prev,#tmtestimonialcmsblock .customNavigation a.prev,
	.product-accessories .customNavigation a.prev, .crosssell-products .customNavigation a.prev,.productscategory-products .customNavigation a.prev{ left: -20px;}
	.newproducts .customNavigation a.next,.special-products .customNavigation a.next,#tmtestimonialcmsblock .customNavigation a.next,
	.product-accessories .customNavigation a.next, .crosssell-products .customNavigation a.next,.productscategory-products .customNavigation a.next{ right: -20px;}
	.customNavigation a.prev{background-position: 0 -90px;}
	.customNavigation a.next{ background-position: -48px -90px;}
	.customNavigation a{ width: 40px;}
	.customNavigation a.prev:hover{ background-position: 0 -164px;}
	.customNavigation a.next:hover{ background-position: -48px -164px;}
}
@media (max-width: 1199px) {
	.special-products .customNavigation {
	  top: 49%;
	}
}
@media (max-width: 991px) {
.tmcategorylist .customNavigation {
	bottom: auto;
	top: 105px;
	left: 0;
	right: 0;
	width: 100%;
}
  #main .images-container .js-qv-mask { margin:0px; }
	.newproducts .customNavigation a.prev,.special-products .customNavigation a.prev,#tmtestimonialcmsblock .customNavigation a.prev,
	.product-accessories .customNavigation a.prev, .crosssell-products .customNavigation a.prev,.productscategory-products .customNavigation a.prev{ left: -10px;}
	.newproducts .customNavigation a.next,.special-products .customNavigation a.next,#tmtestimonialcmsblock .customNavigation a.next,
	.product-accessories .customNavigation a.next, .crosssell-products .customNavigation a.next,.productscategory-products .customNavigation a.next{ right: -10px;}
	.special-products .customNavigation {
	  top: 43%;
	}
}
@media (max-width: 767px) {
  #cms_carousel
  {
    display: none !important;
  }

  div#nivoslider img {
    height: 310px!important;
    object-fit: cover;
}

	.newproducts .customNavigation,.special-products .customNavigation,.product-accessories .customNavigation, .crosssell-products .customNavigation, .productscategory-products .customNavigation{
	  left: 0;
	  margin: 0 auto;
	  right: 0;
	  text-align: center;
	  top: 95px;
	  width: 100%;
	}
	.special-products .customNavigation a,.newproducts .customNavigation a,.product-accessories .customNavigation a, .crosssell-products .customNavigation a,.productscategory-products .customNavigation a{
	  display: inline-block;
	  position: relative;
	  text-align: center;
	}

	.newproducts .customNavigation a.prev,.special-products .customNavigation a.prev,.product-accessories .customNavigation a.prev, .crosssell-products .customNavigation a.prev,
	.productscategory-products .customNavigation a.prev{
	  left: 0;
	  right: auto;
	}
	.newproducts .customNavigation a.next,.special-products .customNavigation a.next,.product-accessories .customNavigation a.next, .crosssell-products .customNavigation a.next,
	.productscategory-products .customNavigation a.next{
	  left: auto;
	  right: 0;
	}
	.tm-hometabcontent .customNavigation a:hover{background: #000;}
	#tmtestimonialcmsblock .customNavigation a.prev{ left:0;}
	#tmtestimonialcmsblock .customNavigation a.next{ right: 0;}
	#tmtestimonialcmsblock .customNavigation{ top: 25%;}
	
}

.ui-autocomplete.ui-front.ui-menu.ui-widget.ui-widget-content.ui-corner-all{
  z-index: 1000;
}
@media(max-width: 479px){

  .ui-autocomplete.ui-front.ui-menu.ui-widget.ui-widget-content.ui-corner-all{
    width: 260px !important;
  }
  #tmservicecmsblock .customNavigation{ top: 29%;}
  .crosssell-products .customNavigation, .productscategory-products .customNavigation{ top: 125px;}

}

/******* Subbanner *******/
#tmsubbanner {
    float: left;
    margin: 30px 0;
}
#tmsubbanner li {
    float: left;
	width: 50%;
}
#tmsubbanner li a{
   display: block;
}
#tmsubbanner li img{ width: 100%; }
#tmsubbanner li:first-child,
#tmsubbanner li:last-child {
    padding-right: 10px;
}