/********************************************************
			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%;
}
.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;
}

.brands .customNavigation {
  position: absolute;
  top: 40%;
}
.customNavigation {
  position: absolute;
  z-index: 7;
  width: 100%;
  direction: ltr !important;
  text-align:center;
  clear:both;
  top: 40%;
}
.tmcategorylist .customNavigation {
  top: -64px;
}
.tmcategorylist .customNavigation a.prev{ right: 31px;}
.tmcategorylist .customNavigation a.next{ right: 1px;}
.tm-hometabcontent .customNavigation, #tmcategorytabs  .customNavigation,.special-products .customNavigation,#bestseller .customNavigation{ top: -55px;}
.product-accessories .customNavigation,.crosssell-products .customNavigation{ top: -75px;}


.product-accessories .customNavigation .accessories_prev,.crosssell-products .customNavigation .crosssell_prev{ right: 38px;}
.product-accessories .customNavigation .accessories_next,.crosssell-products .customNavigation .crosssell_next{ right: 10px;}


.customNavigation a {
  display: block;
  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: all 0.3s ease 0s;
	-webkit-transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	-ms-transition: all 0.3s ease 0s;
	-o-transition: all 0.3s ease 0s;
  z-index: 9;
  padding: 0;
  background: #ffffff none repeat scroll 0 0;
  border: 1px solid #ebebeb;
  border-radius: 5px;
-webkit-border-radius: 5px;
-khtml-border-radius: 5px;
-moz-border-radius: 5px;
-o-border-radius: 5px;
  color: #000000;
  display: block;
  font-size: 0;
  font-weight: 500;
  height: 26px;
  line-height: 25px;
  width: 26px;
  top: 20px;
}


.customNavigation a.prev {
	  left: auto;
	right: 48px;    

}
.customNavigation a.prev::before{
  content: "\f104";
  font-family: "FontAwesome";
  font-size: 16px;
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
  color: #000000;

}
.customNavigation a:hover{
  background: #6284ce none repeat scroll 0 0;
  border-color: #6284ce;
}
.customNavigation a.prev:hover::before,.customNavigation a.prev:focus::before,
.customNavigation a.next:hover::before, .customNavigation a.next:focus::before{ color: #fff;}

.customNavigation a.prev:hover {
  background-position: 0 -40px;
}

.customNavigation a.next {
   left: auto;
    right: 18px;
}
.customNavigation a.next::before {
  content: "\f105";
  font-family: "FontAwesome";
  font-size: 16px;
  left: 4px;
  position: absolute;
  right: 0;
  text-align: center;
  color: #000;
}

#tmleftbanner img,
#tmrightbanner img{
	max-width: 100%;
}	




@media (max-width: 991px) {

  #main .images-container .js-qv-mask { margin:0px; }
  #bestseller .customNavigation{ top: -55px;}
}
@media (max-width: 767px) {
		.tm-hometabcontent .customNavigation, #tmcategorytabs .customNavigation  {
	  left: 0;
	  margin: 0 auto;
	  right: 0;
	  text-align: center;
	  top: -37px;
	  width: 100%;
	}
	.tm-hometabcontent .customNavigation a {
	  display: inline-block;
	  position: relative;
	  text-align: center;
	  top: 0;
	}

	#tmcategorytabs .customNavigation a{
	  left: 0;
	  position: relative;
	  right: auto;
	  top: 0;
	   display: inline-block;
	}
	#tmcategorytabs .customNavigation .tmcategory_prev, .tm-hometabcontent .customNavigation  a.prev{ left: 0; right: auto;}
	#tmcategorytabs .customNavigation .tmcategory_next, .tm-hometabcontent .customNavigation a.next{ right: 0; left: auto;}
}

.ui-autocomplete.ui-front.ui-menu.ui-widget.ui-widget-content.ui-corner-all{
  z-index: 50004;
}
@media(max-width: 479px){

  .ui-autocomplete.ui-front.ui-menu.ui-widget.ui-widget-content.ui-corner-all{
    width: 260px !important;
  }
  .brands .customNavigation{ top: 40%;}	
	  #tmcategorytabs .customNavigation.tabpane-nav a {
	  position: absolute;
	}
	
	#tmcategorytabs .customNavigation a.tabpane_prev.prev{ left: 10px; right: auto;}
	#tmcategorytabs .customNavigation a.tabpane_next.next{ right: 10px; left: auto;}
	.customNavigation a.next {
	  left: auto;
	  right: 8px;
	}
	.customNavigation a.prev {
	  left: auto;
	  right: 38px;
	}
}

/******* 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;
}

#header .header-top .header_logo{
    float: none;
    position: relative;
    margin: 0 auto;
    text-align: center;
}
#tmservicecmsblock{
	padding-left:30px;
}

#tmservicecmsblock h3{
	padding-left:0;
}

#tm_vertical_menu_top .top-menu a[data-depth="1"], #tm_vertical_menu_top .top-menu a[data-depth="2"] {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vertical-menu .top-menu .sub-menu ul[data-depth="1"] > li{
	max-width:190px;
	width:190px;
}
.vertical-menu .top-menu .sub-menu ul[data-depth="1"] > li:last-child{
	padding:0 30px 0 0;
}
