@import url('https://fonts.googleapis.com/css?family=Raleway|Roboto+Condensed');

#tarjetas {
	padding: 0;
	margin: 0;
	

	/* PARALLAX EFFECT
	background-image: url(../imagenes/bg_boy.jpg); 
	background-position: center;
	background-size: cover;
	background-attachment: fixed;*/
}
/* AQUI TERMINA EL FONDO */
#tarjetas .contenedor {
	width: 90%;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

#tarjetas h4 {
	margin: 0;
	padding-top: 0;
	padding-left: .5em;
	font-size: 1.4em;
	text-align: center;
	font-family: 'Raleway', sans-serif;

	color: #093c8e;
	/*text-shadow: 1px 1px 2px #000;*/
}

#tarjetas .contenedor article {
	width: 100%;
	margin: .2em;
	padding: 0;
	height: auto;
	overflow:hidden;
	/* box-shadow: 0 0 0 2px steelblue; */

	position: relative;
	
}

#tarjetas article a img {
	margin: auto;
	width: 100%;

	-webkit-filter: brightness(50%);
	-moz-filter: brightness(50%);
	filter: brightness(50%);
}

#tarjetas article a:hover img {
	/*-webkit-filter: blur(2px);
	-moz-filter: blur(2px);
	filter: blur(2px);*/

	-webkit-filter: brightness(20%);
	-moz-filter: brightness(20%);
	filter: brightness(20%);

	/* border-radius: 0;
	transition: .2s all ease;
	transform: scale(1.10); */

	cursor: pointer;
}

#tarjetas .contenedor article p {
	font-size: .9em;
	margin: .7em;
	padding: 2em;
	padding-top: 0;
	padding-bottom: .2em;
	text-align: justify;
	font-family: 'Raleway', sans-serif;

	/* background: rgba(255, 255, 255, .7); 
	border-radius: 10px; */
}


#tarjetas article ul {
	list-style: none;
	text-decoration: none;
}

#tarjetas article ul .ton a {
	font-family: 'Raleway', sans-serif;
	list-style: none;
	text-decoration: none;
	color: rgb(255, 255, 255);
	border-radius: 25px;
	/*border: 1px solid #000;*/
	background-color: rgb(192, 42, 42);
	padding: 2px 3%;
	margin: 0;
	margin-left: 0;
}

#tarjetas article ul .ton a:hover {
	border-radius: 25px;
	color: #fff;
	background-color: rgb(113, 13, 13);
	border: 0px;
}


#tarjetas .contenedor article .overlay {
	width: 100%;
	height: 30%;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(254, 254, 242, 0);
	overflow: hidden;
	transition: .5s ease;
	
}

#tarjetas .contenedor article:hover .overlay {
	height: 40%;
	
}

#tarjetas .contenedor article .overlay .ovelay-texto {
	top: 25%; 
	left: 49%;
	position: absolute;
	white-space: nowrap;
	color: rgb(28, 21, 21);
	font-size: 1em;
	transform: translate(-50%, 50%);
	overflow: hidden;
	margin: .5em;
	/* font-family: 'conto-mediumuploaded_file', sans-serif; */

	/* background: rgba(255, 255, 255, .7); 
	border-radius: 10px; */

	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

#tarjetas .contenedor article .overlay .ovelay-texto2 {
	top: 22%; 
	left: 48%;
	position: absolute;
	white-space: nowrap;
	color: rgb(28, 21, 21);
	font-size: 1em;
	transform: translate(-50%, 50%);
	overflow: hidden;
	margin: .5em;
}

#tarjetas .contenedor article .overlay .ovelay-texto3 {
	top: 22%; 
	left: 48%;
	position: absolute;
	white-space: nowrap;
	color: #fff;
	font-size: 1em;
	transform: translate(-50%, 50%);
	overflow: hidden;
	margin: .5em;
	/* font-family: 'conto-mediumuploaded_file', sans-serif; */

	/* background: rgba(255, 255, 255, .7); 
	border-radius: 10px; */
}

#tarjetas .contenedor article .overlay .over-titulo {
	top: 10%; 
	left: 47%;
	position: absolute;
	white-space: nowrap;
	color: rgb(255, 255, 255);
	font-size: 1.1em;
	transform: translate(-50%, 50%);
	overflow: hidden;
	margin: .5em;
	font-family: 'conto-mediumuploaded_file', sans-serif;
}

#tarjetas .contenedor article .overlay .over-boton {
	top: 59%; 
	left: 48%;
	position: absolute;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.8);
	font-size: 1.1em;
	transform: translate(-50%, 150%);
	overflow: hidden;
	margin: .5em;
	font-family: 'conto-mediumuploaded_file', sans-serif;
	background-color: rgb(15, 10, 83);
	padding: 7px 20px;
	border-radius: 7px;
}

#tarjetas .contenedor article .overlay .over-boton:hover {
	
	color: rgb(15, 10, 83);
	background-color: rgb(255, 255, 255);
	padding: 7px 20px;
	border-radius: 7px;
	cursor: pointer;
}

/* Media Querys MEDIANO ============================================================*/
@media screen and (min-width: 768px) {

	#tarjetas .contenedor {
		width: 100%;
	}

	#tarjetas .contenedor article {
		width: 33%;
		height: auto;
		margin: .1em .1em;
	}

	#tarjetas article a img {
		width: 100%;
	}

}

/* Media Querys COMPLETO ============================================================*/
@media (min-width: 1120px) {

	#tarjetas .contenedor article {
		width: 33%;
		height: auto;
		margin: .2em .1em;
		margin-bottom: 0;

		/*outline: 1px solid #B6B6B6;*/
	}

	#tarjetas article a img {
		margin: 0;
		padding: 0;
		width: 100%;
	}





	#tarjetas .contenedor article .overlay .ovelay-texto {
		top: 28%; 
		left: 49%;
		position: absolute;
		white-space: nowrap;
		color:rgb(252, 253, 240);
		font-size: 1em;
		transform: translate(-50%, 50%);
		overflow: hidden;
		margin: .5em;
		/* font-family: 'conto-mediumuploaded_file', sans-serif; */
	
		/* background: rgba(255, 255, 255, .7); 
		border-radius: 10px; */
	
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
	}
	
	#tarjetas .contenedor article .overlay .ovelay-texto2 {
		top: 25%; 
		left: 48%;
		position: absolute;
		white-space: nowrap;
		color: rgb(252, 253, 240);
		font-size: 1em;
		transform: translate(-50%, 50%);
		overflow: hidden;
		margin: .5em;
	}
	
	#tarjetas .contenedor article .overlay .ovelay-texto3 {
		top: 25%; 
		left: 48%;
		position: absolute;
		white-space: nowrap;
		color:rgb(252, 253, 240);
		font-size: 1em;
		transform: translate(-50%, 50%);
		overflow: hidden;
		margin: .5em;
		/* font-family: 'conto-mediumuploaded_file', sans-serif; */
	
		/* background: rgba(255, 255, 255, .7); 
		border-radius: 10px; */
	}
	
	#tarjetas .contenedor article .overlay .over-titulo {
		top: 13%; 
		left: 47%;
		position: absolute;
		white-space: nowrap;
		color: rgb(252, 253, 240);
		font-size: 1.3em;
		transform: translate(-50%, 50%);
		overflow: hidden;
		margin: .5em;
		font-family: 'conto-mediumuploaded_file', sans-serif;
	}

}