 .galle .text a{
	color: #fff;
	font-size: 15px;
	display:inline-block;
	font-weight: bold;
    text-decoration: none;
	background: none repeat scroll 0 0 #DDD;
	padding-bottom: 7px;
    padding-left: 4px;
    padding-top: 6px;
	width:100%;
	border:1px solid #fff;
	text-align:center;
	border-radius:5px;
}
 .galle{border-radius:5px;margin-bottom:20px;float:left;}
 .galle .text a:hover{background:#FF53CB;border-radius:5px;}
 .gallery_row{
    float: left;
    width: 100%;
	}
/* TMD Photo Gallery module css end*/

/*Gallery page css*/
#gallery  .photo{margin-bottom:30px;}
#gallery  .photo .galle{-webkit-box-shadow: 2px 2px 10px 7px #ddd; box-shadow: 2px 2px 10px 7px #ddd;}
/*#gallery .galle{text-align: center;margin-right:40px;width: 185px;float:left;}*/
#gallery .galle .images a{overflow:hidden;padding:0;background:none;}
#gallery .images{background: none repeat scroll 0 0 #fff;}
#gallery .galle a{
	color: #fff;
	font-size: 15px;
	display:inline-block;
	font-weight: bold;
    text-decoration: none;
	background: none repeat scroll 0 0 #DDD;
	padding-bottom: 7px;
    padding-left: 4px;
    padding-top: 6px;
	width:185px;
	border:1px solid #fff;
}
#gallery .galle .text a:hover{ background:#666;}
#gallery .image{box-shadow: 2px 2px 13px 2px #ddd;
box-shadow: 2px 2px 13px 2px #ddd;}
#gallery .photo .image a{color:#000;}
#gallery .pagination{margin-top:30px; border-top: 1px solid #eeeeee;
    display: inline-block;
    margin-bottom: 10px;
    padding-top: 8px;
    width: 100%;}
#gallery  .photo{margin-bottom:30px;}
#gallery  .photo .galle{-webkit-box-shadow: 2px 2px 10px 7px #ddd; box-shadow: 2px 2px 10px 7px #ddd;}
/*#gallery .galle{text-align: center;margin-right:40px;width: 185px;float:left;}*/
#gallery .galle .images a{overflow:hidden;padding:0;background:none;}
#gallery .images{background: none repeat scroll 0 0 #fff;}
#gallery .galle a{
	color: #fff;
	font-size: 15px;
	display:inline-block;
	font-weight: bold;
    text-decoration: none;
	background: none repeat scroll 0 0 #DDD;
	padding-bottom: 7px;
    padding-left: 4px;
    padding-top: 6px;
	width:100%;
	border:1px solid #fff;
}
#gallery .galle .text a:hover{background:#666;}
#gallery .image{padding:10px;border-radius:5px;-webkit-box-shadow: 0 0 10px 0 #000;box-shadow: 0 0 10px 0 #EEEEEE;}
#gallery .image:hover{border-radius:5px;-webkit-box-shadow:inset  0 0 10px 0 #000;
box-shadow:inset  0 0 10px 0 #EEEEEE;padding:10px;}
/*#gallery .photo {border-radius:5px;-webkit-box-shadow: 0 0 10px 0 #000;box-shadow: 0 0 10px 0 #EEEEEE;padding:10px;}*/
#gallery .photo .image a{color:#000;}
#gallery .pagination{margin-top:30px; border-top: 1px solid #eeeeee;display: inline-block;margin-bottom: 10px;padding-top: 8px;width: 100%;}
#gallery .galeryimg{bottom: 46px;
    position: relative;
    right: 42px;}
/*Gallery page css*/	
.gallary {
	border:1px solid #ece8df;
	box-shadow:0 9px 40px rgba(234, 228, 223, 0.68);
	padding:19px;
	 margin-bottom: 15px;
}
.description{
	color: #17284d;
    display: block;
    font-size: 17px;
    text-align: left;
	padding-top:10px;
	font-family: 'Poppins', sans-serif;
}
.texthover .name span{
	 margin-bottom: 15px;
}
.gallary .thumbnail{
	padding:0px;
	border-radius:0px;
	border:none;
	margin:0px;
}
.texthover .namephoto{
	color:#96243a;
	font-weight:400;
	line-height:39px;
	text-align:center;
	font-size:27px;
	font-family: 'Poppins', sans-serif;
	left:0px;
	position:absolute;
	width:100%;
	bottom:138px;
	text-transform:uppercase;
	cursor:pointer;
}
.texthover .name{
	color:#96243a;
	font-weight:400;
	line-height:40px;
	text-align:center;
	font-size:23px;
	font-family: 'Poppins', sans-serif;
	
}
.gallary .images{
position:relative;
overflow:hidden;
-webkit-animation:anima 2s;-moz-animation:anima 2s;-o-animation:anima 2s;-ms-animation:anima 2s;animation:anima 2s;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-o-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden
}
.gallary .images:hover .texthover {
	opacity:1;
}
.totalphoto{
	color:#17284d;
	font-size:18px;
	letter-spacing:2px;
	text-transform:uppercase;
}
.gallary .images .texthover {
	transition: all 0.3s ease 0s;
    padding: 5px 0px;
	cursor:pointer;
	position:absolute;
	width:100%;
	height:100%;
	background:rgba(255, 255, 255, 0.95);
	text-align:center;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=($opacity * 100))";
	filter:alpha(opacity=0);
	-moz-opacity:0;
	-khtml-opacity:0;
	opacity:0;
	top:0;
	left:0px;	
}
.mainhead{
	font-family: 'Poppins', sans-serif;
	text-transform:uppercase;
	font-size:22px;
	font-weight:400;
	line-height:40px;
	text-align:center;
}
.viewall a{
	font-family: 'Poppins', sans-serif;
	font-size:16px;
	line-height:40px;
}
.photo h1{
	color:#96243a;
	font-weight:400;
	line-height:40px;
	text-align:center;
	font-size:32px;
	font-family: 'Poppins', sans-serif;
}
.desc{
	color:#17284d;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
	font-family: 'Poppins', sans-serif;
	text-align:center;
	margin-bottom:40px;
}
.galle  .owl-wrapper-outer{
	border:none;
	box-shadow:none;
}
.photopage .description{font-size:19px;}