/********************************************************
			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);
}
.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: 959;*/
  width: 100%;
  top: -65px;
  direction: ltr !important;
}
.customNavigation a {
  position: absolute;
  border: none;
  font-size: 32px;
  line-height: 32px;
  padding: 0;
  background: transparent;
  color: #b2b2b2;
  height: 35px;
  width: 35px;
  cursor: pointer;
  overflow: hidden;
  -webkit-transition: all 0.5s ease;
  -webkit-transition-delay: 0s;
  -moz-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

.slide.tmsubbanner-container:hover a::before {
  background: rgba(156, 153, 138, 0.1) none repeat scroll 0 0;
  border-right: 1300px solid rgba(0, 0, 0, 0);
  border-top: 1300px solid rgba(255, 255, 255, 0.1);
  transition: all 0.7s ease 0.2s;
}
.slide.tmsubbanner-container a::before {
  border-right: 0 solid rgba(0, 0, 0, 0);
  border-top: 0 solid rgba(156, 153, 138, 0.1);
  content: "";
  position: absolute;
}

#index .brands .customNavigation a.prev {
  left: -20px;
  right: auto;
}
#index .brands .customNavigation a.next {
right: -20px;
left: auto;
}
.js-qv-mask .customNavigation a.prev {
  left: -30px;
  right: auto;
}
.js-qv-mask .customNavigation a.next {
  right: -30px;

}
.customNavigation a:hover:before{ color: #3f93e9 !important; }

.customNavigation a.prev {
 right: 25px;
}
.customNavigation a.next {
  right: 0;
}
@media (max-width: 1300px) {
}
@media (max-width: 767px) {

	#main .images-container .js-qv-mask { margin:0px; }
}
@media (max-width: 767px) {
}
.customNavigation a.prev:before {
  content: "\E314";
  font-family: "Material Icons";
  color: #b2b2b2;
}
.customNavigation a.next:before {
  content: "\E315";
  font-family: "Material Icons";
  color:#b2b2b2;
}

#tmleftbanner img,
#tmrightbanner img{
	max-width: 100%;
}	

/******* Subbanner *******/

.tmsubbanner-container{
  float: left;
  overflow: hidden;
  position: relative;
}
@media(max-width: 1280px) and (min-width: 1200px){
  .tmsubbanner-container{
    width: 39%;
  }
}
 @media(max-width: 991px){
  .tmsubbanner-container{
    width: 38%;
  }
 }
  @media(max-width:479px){
  .tmsubbanner-container{
    width: 100%;
  }
 }
#tmsubbanner li a{
   display: block;
}
#tmsubbanner li img{ max-width: 100%; }
.slide.tmsubbanner-container:first-child{
  margin-right: 30px;
}

@media(max-width: 767px){
  .slide.tmsubbanner-container:first-child{
  margin-right: 20px;
}
}
@media(max-width: 1280px){
  .slide.tmsubbanner-container:first-child{
    width: 58%;
  }
  #index .brands .customNavigation a.next {
    right: 0;
    left: auto;
    }
    #index .brands .customNavigation a.prev {
        left: 0;
        right: auto;
    }
}
@media(max-width: 1199px){
  #index .brands .customNavigation a.prev{
    left: 0;
  }
  #index .brands .customNavigation a.next{
      right: 0;
  }
  .tmsubbanner-container{
    width: 38.7%;
  }
 }
@media(max-width: 991px){
  .slide.tmsubbanner-container:first-child{
    width: 57%;
  }
}
@media(max-width: 479px){
  .slide.tmsubbanner-container:first-child{
    margin-right: 0 !important;
    margin-bottom: 20px;
    width: 100% !important;
}
}
@media(max-width: 767px){
  .js-qv-mask .customNavigation a.prev {
    left: 0px;
    right: auto;
}
.js-qv-mask .customNavigation a.next {
    right: 0px;

}
}
.js-qv-mask .customNavigation a{
  top:5px;
}