.sl-slider-wrapper {
	overflow: visible !important;
	margin: 0 auto;
}

/* Slide wrapper and slides */

.sl-slider,
.sl-slide,
.sl-slides-wrapper,
.sl-slide-inner {
	width: 100%;
	height: 100%;
	
} 

.demo-1 .sl-slide blockquote {
	width: 50%;
	left: 25%;
}

.demo-2 .bg-img {
	padding: 0;
	top: 0;
	left: 0;
}

.nav-arrows,
.nav-dots {
	display: block;
}
/*==============================================================*/
.thumbnail-grid {
	user-select: none
}
.thumbnail-grid figure {
	position: relative;
	min-width: 200px;
	height: 150px;
	margin: 5px;
	border-radius: 3px;
	box-shadow: inset 0 -40px 0 0 rgba(0, 0, 0, 0.1);
	transition: all .2s ease-in-out
}
.thumbnail-grid figure:hover {
	box-shadow: inset 0 -150px 0 0 rgba(0, 0, 0, 0.5)
}
.thumbnail-grid figcaption {
	position: absolute;
	width: 100%;
	font-weight: 300;
	text-align: center;
	color: #fff;
	text-shadow: 0 0 3px black;
	bottom: 10px;
	transition: all .2s ease-in-out;
	font-size:25px;
	font-family: 'Rancho', cursive !important; 
}
.thumbnail-grid figure:hover figcaption {
	bottom: 60px
}
.flex {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: stretch;
	align-content: stretch;
	margin:40px 0;
	float:left;
}
.flex-item {
	flex: 1 0 auto
}



.thumbnail-grid figure.i1 {
	background: url(../images/about-trt.jpg) no-repeat center;
	background-size: cover
}
.thumbnail-grid figure.i6 {
	background: url(../images/right-img1.jpg) no-repeat center;
	background-size: cover
}
.thumbnail-grid figure.i2 {
	background: url(../images/right-img2.jpg) no-repeat center;
	background-size: cover
}
.thumbnail-grid figure.i3 {
	background: url(../images/right-img3.jpg) no-repeat center;
	background-size: cover
}
.thumbnail-grid figure.i4 {
	background: url(../images/right-img4.jpg) no-repeat center;
	background-size: cover
}
.thumbnail-grid figure.i5 {
	background: url(../images/right-img4.jpg) no-repeat center;
	background-size: cover
}
.thumbnail-grid figure.i7 {
	background: url(../images/right-img5.jpg) no-repeat center;
	background-size: cover
}

@media print,
	(-o-min-device-pixel-ratio: 5/4),
	(-webkit-min-device-pixel-ratio: 1.25),
	(min-resolution: 120dpi) {
	.thumbnail-grid figure.i1 {
		background-image: url../images/about-trt.jpg)
	}
	.thumbnail-grid figure.i2 {
		background-image: url(../images/about-pack.jpg)
	}
	
}

.templatemo_portfolio img { 
	width: 100%; 
	margin-top: 30px;
}



/*------------------------------------------------------
	Gallery Styles 
--------------------------------------------------------*/
.gallery-item { 
	margin-bottom: 0px;
 	position: relative;
	overflow: hidden;
}
.gallery-item .content-gallery { 
	text-align: center;
}
.gallery-item .content-gallery h3 { 
	  color: #b10021;
	  font-size: 16px;
	  font-weight: 300;
	  margin-top: 5px;
	  padding-bottom: 5px;
	  display: inline-block;
}
.gallery-item img { 
 width: 100%;
}
.gallery-item .overlay { 
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  min-width: 100%;
  min-height: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: block;
  -webkit-transition: all 50ms ease-in-out;
  -moz-transition: all 50ms ease-in-out;
  -ms-transition: all 50ms ease-in-out;
  -o-transition: all 50ms ease-in-out;
  transition: all 50ms ease-in-out;
}
.gallery-item .overlay a { 
  color: #ffffff;
  text-align: center;
  line-height: 32px;
  position: absolute;
  top: 45%;
  left: 50%;
  margin-top: -16px;
  margin-left: -16px;
  font-size: 24px;
}




@media (max-width: 767px) { 
	.slider-caption a, .slider-caption p { 
	display: none; 
	top: 50px !important; } 
	.templatemo_servicegap {
	float: left;
	width: 100%;
	}
	}


 @media (min-width: 332px)	{ 
 .templatemo_address	{ 
	margin-top: 30px; 
	}
	.templatemo_search	{ 
	margin: 20px 0px;
	}
 }
 @media (min-width: 768px) {
 	.templatemo_search	{ 
	margin-top: 60px;}
 }
 @media (min-width: 768px) and (max-width: 991px) {
 	.main-navigation { margin-top: 20px;}
 }
 @media (min-width: 992px) { 
	.main_menu div.col-md-2 div.fa	{ line-height: 128px;}
	.main_menu div.col-md-2 a{ 
 	height: 128px; 
	line-height: 128px;
	}
	.main_menu div.col-md-2 a#prev	{ 
	margin-top: 22%;
	}
	.main_menu div.col-md-2 a#next	{ 
	margin-top: 22%;
	}
	.templatemo_imagecontrol { 
	height: 118px; 
	overflow: hidden;
	}
	.templatemo_imagecontrol .gallery-item .overlay a{ 
 top: 20%;}
	.templatemo_address	{ 
 margin-top: 0px;}

 }
 
@media (min-width: 1200px) { 
	.main_menu div.col-md-2 div.fa	{ 
	line-height: 160px;
	}
	.main_menu div.col-md-2 a{ 
	 height: 160px; 
	 line-height: 160px;
	 }
	.main_menu div.col-md-2 a#prev	{ 
	margin-top: 27%;
	}
	.main_menu div.col-md-2 a#next	{ 
 	margin-top: 27%;
	}
	.templatemo_imagecontrol { 
	height: 140px; 
	overflow: hidden;
	}
	.templatemo_imagecontrol .gallery-item .overlay a { 
	top: 22%;
	}
 }
 