
#header{
	background-color: #3f8dbf;
	float: left;
	width: 100%;
	height: 50px;
	color: rgba(255,255,255,1);
	line-height: 50px;
}
#header a {
	color: rgba(255,255,255,1);
	text-decoration: none;
	display: block;
	font-size: 15px;
}
#header-left{
	float: left;
	height: 50px;
}
#header-left:hover #header-left-icon{
	background-color: #3F8DBF;
}
#header-left:hover #header-left-text{
	background-color: #599BC8;
}
#header-left-icon{
	float: left;
	height: 50px;
	width: 50px;
	text-align: center;
	background-color: #35759F;
	-webkit-transition: background 0.5s;
	-moz-transition: background 0.5s;
	-o-transition: background 0.5s;
	transition: background 0.5s;
}
#header-left-icon a {
	font-size: 25px;
}

#header-left-text{
	float: left;
	height: 50px;
		-webkit-transition: background 0.5s;
	-moz-transition: background 0.5s;
	-o-transition: background 0.5s;
	transition: background 0.5s;
}
#header-left-text a {
	padding-left: 20px;
	padding-right: 20px;
}
#header-right{
	float: right;
	height: 50px;
}
#header-right:hover #header-right-icon{
	background-color: #3F8DBF;
	}
#header-right:hover #header-right-text{
	background-color: #599BC8;
	}
#header-right-icon{
	float: right;
	height: 50px;
	width: 50px;
	text-align: center;
	background-color: #35759F;
	-webkit-transition: background 0.5s;
	-moz-transition: background 0.5s;
	-o-transition: background 0.5s;
	transition: background 0.5s;
}
#header-right-text{
	float: right;
	height: 50px;
	-webkit-transition: background 0.5s;
	-moz-transition: background 0.5s;
	-o-transition: background 0.5s;
	transition: background 0.5s;
}
#header-right-text a {
	padding-right: 20px;
	padding-left: 20px;
}
#gallery{
	float: left;
	width: 100%;
}
#gallery-header{
	height: 100px;
	width: 100%;
	float: left;
}
#gallery-header-center{
	height: 100px;
	width: 950px;
	margin-right: auto;
	margin-left: auto;
}
#gallery-header-center-left{
	float: left;
	height: 35px;
	line-height: 35px;
	margin-top: 32px;
}
#gallery-header-center-left-icon{
	float: left;
	height: 35px;
	width: 35px;
	background-color: rgba(63,141,191,1);
	color: rgba(255,255,255,1);
	text-align: center;
	font-size: 20px;
	-webkit-transition: background 0.5s;
	-moz-transition: background 0.5s;
	-o-transition: background 0.5s;
	transition: background 0.5s;
}
#gallery-header-center-left-icon:hover {
	background-color: rgba(63,141,191,0.5);
	cursor: pointer;
}
#gallery-header-center-left-title{
	float: left;
	height: 35px;
	font-size: 25px;
	color: #3f8dbf;
	margin-left: 20px;
}
#gallery-header-center-right{
	float: inherit;
	margin-top: 32px;
	line-height: 35px;
}
.gallery-header-center-right-links {
	color: #333333;
	float: left;
	height: 35px;
	padding-right: 20px;
	padding-left: 20px;
	margin-left: 0px;
	font-size: 16px;
	font-weight: 400;
	-webkit-transition: background 0.5s;
	-moz-transition: background 0.5s;
	-o-transition: background 0.5s;
	transition: background 0.5s;
}
.gallery-header-center-right-links:hover {
	background-color: rgba(63,141,191,1);
	color: rgba(255,255,255,1);
	cursor: pointer;
}
.gallery-header-center-right-links-current {
	color: #FFFFFF;
	background-color: rgba(63,141,191,1);
}
.gallery-header-center-right-links-current:hover {
	background-color: rgba(63,141,191,0.5);
}
#gallery-content{
	float: left;
	width: 100%;
}
.gallery-content-center-normal {
	width: 950px;
	margin-right: auto;
	margin-left: auto;
}
.gallery-content-center-full {
	float: left;
	width: 100%;
}

#gallery-content-center .tl-ms-grid {
	width: 24%;
	  overflow: hidden;
	/* margin-bottom: 10px; */
	
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
	/* margin-left: 10px; */
}



/** custom style ****/
.tl-ms-grid img {
  max-width: 100%;}
.tl-ms-grid a {display: block; padding:2px; color:#333; }
.hover-ms-icon { background: transparent; height: 100%; position: absolute; top: 0; width: 100%;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s; 
  }
.hover-ms-icon h2 {	 position: absolute; text-align: center; vertical-align: middle; width: 100%;
  -webkit-transform:translate3d(0%, 1300%, 0);
  -moz-transform:translate3d(0%, 1300%, 0);
  transform:translate3d(0%, 1300%, 0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
  opacity:0;
  font-size:20px;
  
  
}
.ms-icons {	text-align: center;
	-webkit-transform: translate3d(0%, -2015%, 0);
	-moz-transform: translate3d(0%, -2015%, 0);
	transform: translate3d(0%, -2015%, 0);
	-webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}
.ms-icons i{ width:50px; height:50px; line-height:46px; background:rgba(255,255,255,0.3); font-size:1.3em; 
-webkit-border-radius: 50%; 
-webkit-border-radius: 50%; 
border-radius: 50%; 
}

.tl-ms-grid a:hover .hover-ms-icon {background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;}
.tl-ms-grid a:hover .hover-ms-icon h2 {transform:translate3d(0%,300%, 0); color:#FFF; opacity:1;}
.tl-ms-grid a:hover .hover-ms-icon .ms-icons {transform:translate3d(0%,80%, 0); color:#FFF;}

/** custom style ****/
/** custom style column 3 / 2 column ****/
.tl-3col-masonary-1 .tl-ms-grid {
  width: 32% !important;
}
.tl-2col-masonary-1 .tl-ms-grid {
  width: 48% !important;
}
/** custom style ****/




.tl-2col-masonary-1 img , .tl-3col-masonary-1 img  {
  width: 100%;
}
@media screen and (min-width:320px) and (max-width:767px) and (orientation:portrait) {
	.tl-3col-masonary-1 .tl-ms-grid {
  width: 48% !important;
}

}
@media screen and (min-width:480px) and (max-width:767px) and (orientation:landscape) {
	.tl-3col-masonary-1 .tl-ms-grid{
  width: 33% !important;
}
}
