/** css de galeria dinamica 2 **/
/** comun galeria **/

.imageg{
	position: relative;
	float: left;
	width: 30%;
	height:200px;
	margin-right: 3%;	
	margin-bottom: 2em;
	border: .5em solid #e5e5e5;
	overflow: hidden;
	box-shadow: 0 0 .5em #000;
}
.imageg:hover{
	cursor: pointer;
}
@media screen and (max-width: 980px) {
	.imageg{
		height: 150px;
	}
}
@media screen and (max-width: 480px) {
	.imageg{
		height: 80px;
	}
}



#grupo-1:after{
	content: "";
	clear: both;
	display: block;
}
.imageg img{
	position: relative;
	-webkit-transition: all .5s ease 0s;
	-moz-transition: all .5s ease 0s;
	-ms-transition: all 1s ease 0s; 
	-o-transition: all 1s ease 0s; 
	transition: all .5s ease 0s;
	width: 100%;
}
.imageg a{
	-moz-transition: all .2s ease 0s;
	-webkit-transition: all .2s ease 0s;
	-ms-transition: all .2s ease 0s;
	-o-transition: all .2s ease 0s;
	transition: all .2s ease 0s;
	background: -moz-linear-gradient(bottom, #700, #900);
	background: -webkit-linear-gradient(bottom, #700, #900);
	background: -ms-linear-gradient(bottom, #700, #900);
	background: -o-linear-gradient(bottom, #700, #900);
	background: linear-gradient(bottom, #700, #900);
	color: #FFF;
	text-decoration: none;
	text-transform: lowercase;
	padding: .3em 1.5em .4em 1.5em;
	font-variant: small-caps;
	border-radius: .2em;
}
.imageg a:hover{
	box-shadow: 0 0 .8em #000;
}
.imageg h2{
	position: relative;
	background-color: rgba(10, 30, 0, .9);
	padding: .2em 0;
	text-transform: lowercase;
	text-shadow: none;	
	font-variant: small-caps;
}
.imageg p{
	position: relative;	
	padding: 0 0 .5em 0;
	font-size: .8em;
	margin: 0 auto 1em auto;
	width: 15em;
}
/** efecto hover 1 **/
#ehover1 .imageg:hover img{
	-webkit-transform: scale(1.2); 
	-moz-transform: scale(1.2);
	-o-transform: scale(1.2);
	-ms-transform: scale(1.2);
	transform: scale(1.2);
	cursor: pointer;
}
#ehover1 .imageg .mask{
	-moz-transition: all .5s ease 0s;
	-webkit-transition: all .5s ease 0s;
	-ms-transition: all .5s ease 0s;
	-o-transition: all .5s ease 0s;
	transition: all .5s ease 0s;	
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;	
	left: 0;
	background-color: rgba(10, 30, 10, .8);	
	color: #FFF;
	opacity: 0;
}
#ehover1 .imageg:hover .mask{
	opacity: 1;
}
#ehover1 .imageg h2{
	-moz-transition: all .2s ease .1s;
	-webkit-transition: all .2s ease .1s;
	-ms-transition: all .2s ease .1s;
	-o-transition: all .2s ease .1s;
	transition: all .2s ease .1s;
	top: -5em;	
}
#ehover1 .imageg p{
	-moz-transition: all .2s ease .1s;
	-webkit-transition: all .2s ease .1s;
	-ms-transition: all .2s ease .1s;
	-o-transition: all .2s ease .1s;
	transition: all .2s ease .1s;	
	top: 8em;
}
#ehover1 .imageg:hover p,
#ehover1 .imageg:hover h2{
	top: 0;
}