/********************************************************
			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: 0;
  direction: ltr !important;
}
.customNavigation a {  
    
    cursor: pointer;
    font-size: 28px;
    height: 22px;
    line-height: 22px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    text-align: center;
  
    width: 22px;
    background: url("../img/megnor/sprite_info.png") no-repeat 0 0;
}


.customNavigation a:hover:before{ color: #000; }

.customNavigation a.prev {
  right: 30px;
  background-position: 4px 0px;
}
.customNavigation a.prev:hover{
  background-position: 4px -28px;
}
.customNavigation a.next {
  right: 0px;
  background-position: -21px 0px;
}
.customNavigation a.next:hover{
  background-position: -21px -28px;
}
@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: "";
  font-family: "Material Icons";
}
.customNavigation a.next:before {
  content: "";
  font-family: "Material Icons";
}

#tmleftbanner img,
#tmrightbanner img{
	max-width: 100%;
  border:1px solid #dfdfdf;
  border-radius: 5px;
}	

/******* Subbanner *******/
#tmsubbanner {
    float: left;
    margin: 0px 0 20px;
    width: 100%;
}
#tmsubbanner li {
    float: left;
	width: 48.2%;
}
#tmsubbanner li a{
   display: block;
  position: relative;
  overflow: hidden;
}
#tmsubbanner li img{ width: 100%; border-radius: 5px; }
#tmsubbanner li:first-child {
    margin-right: 20px;
}
@media (max-width: 1199px) {
  #tmsubbanner li:first-child {
    margin-right: 18px;
  }
}

#tmsubbanner li a::after {
    background: rgba(255, 255, 255, 0.3) none repeat scroll 0 0;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    -webkit-transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0px, -125%, 0px);
    -moz-transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0px, -125%, 0px);
    -ms-transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0px, -125%, 0px);
    -o-transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0px, -125%, 0px);
    transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0px, -125%, 0px);
    -webkit-transition: transform 0.8s ease 0s;
    transition: transform 0.8s ease 0s;
    width: 100%;
    font-family: "FontAwesome";
}
#tmsubbanner li a:hover::after {
    -webkit-transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0px, 125%, 0px);
    -moz-transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0px, 125%, 0px);
    -ms-transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0px, 125%, 0px);
    -o-transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0px, 125%, 0px);
    transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0px, 125%, 0px);
}
@media (max-width: 991px) {
  #tmsubbanner li {
      width: 48.7%;
  }
}
@media (max-width: 767px) {
  #tmsubbanner li:first-child {
        margin-right: 2.6%;
  }
}