/* CSS Document */


/* ///////////////////// CAROUSEL //////////////////// */

/* ////////////////////////////////////////////////////////// */

.carousel-caption h3 {
	padding: .4em;
	max-width: 450px;	
	text-align: center;
}

@media (min-width:768px){
	.carousel-caption h3 {
		padding: .4em;
		max-width: 550px;	
	}
}

@media (min-width:992px){
	.carousel-caption h3 {
		padding: .4em;
		max-width: 650px;	
		margin: auto;
	}
	
	#caption_2 {
		max-width: 630px;
	}
}

/* ///////////////////// SECTION/SECCION //////////////////// */

/* ////////////////////////////////////////////////////////// */

section {
/*	background-color: white;*/
/*	height: 300px;*/
	margin-bottom: 60px;
}

section h1 {
	font-family: 'Byom-Light', sans-serif;
	font-size: 3.8em;	
	margin: 3% 0% 3% 0%;
}

.linea-2-h1y3 {
	font-family: 'Byom-Bold', sans-serif;
	font-size: 1.1em;
	color: red;		
}

section p {
	font-size: 1.3em;
/*	text-align: justify;*/
}

table {
	font-family:  'DINPro-Light', sans-serif;
	font-size: 1.1em;
	margin-top: 5%;
}

th {	
	font-family: 'DINNextLTPro-Bold', sans-serif;
}

td:first-child {
	color: red;
	font-family: 'DINNextLTPro-Bold', sans-serif;
}

.table>tbody>tr>td {
	border-top: 1px solid black;
}

.table>thead>tr>th {
	border-bottom: 1px solid black;
}

@media (max-width:767px){
	section h1 {	
		font-size: 2.5em;	
		margin: 5% 0% 3% 0%;
	}
}


/*========== aside ===========  */
#aside {
/*	border: solid 1px aqua;*/	
}

#aside img {
	margin-left: auto;
	margin-right: auto;	
	display: block;
}

#aside .col-md-12 {
	margin-bottom: 25px;
}

#aside h3 {
	font-family: 'Byom-Light', sans-serif;
	font-size: 2.3em;
	margin: 10% 0% 5% 0%;
}

@media (max-width:767px){
	section p, section h1, #aside h3 {
		margin-left: 8px;
		margin-right: 8px;
	}
}

@media (max-width:1199px){
	#aside .linea-2-h1y3{		
		display: block
	} /* Para que el h3 parta por el comienzo del texto rojo */
}



/* //////////////////////// BANDA ////////////////////////// */

/* ////////////////////////////////////////////////////////// */


#banda {
/*	border: solid 1px red;*/
	padding: 30px; /*era 30  28.7*/
	background-color: white;
	margin-bottom: 30px;
}

.sombra {
	box-shadow: 4px 6px 14px 2px rgba(0, 0, 0, 0.5), 2px 2px 14px 0 rgba(0, 0, 0, 0.7);
	padding-right: 0px;
	padding-left: 0px;
	margin-left: 15px;
	margin-right: 15px;
}

/*Desplazar el último cuadrado en sm*/
@media (max-width: 991px) {
    #banda :nth-child(5) {
		margin-left: 26%;
/*		border: solid 1px chartreuse;*/
        
	}
}

@media (min-width: 768px) {
	#banda .col-md-3 {
/*		width: 45.3%;*/
/*		border: solid 1px chartreuse;*/
	}
}


@media (min-width: 992px) {
	#banda .col-md-3 {
		width: 21.5%;
/*		border: solid 1px chartreuse;*/
	}
}

@media (min-width: 1200px) {
	#banda .col-md-3 {
		width: 22.2%;
/*		border: solid 1px chartreuse;*/
	}
}


/* ----- Separar las cajas verticalmente según se hace pequeña la pantalla ------- */
@media (max-width: 991px){
		/* Vertical Offset Bottom, no existe por defecto en bootstrap */	
	.vert-offset-bottom-2-sm{
		margin-bottom: 2em;
	}	
}



/* ========== Efecto zoom ===========  */

.item-mov {
	position: relative;
/*	border: 1px solid #888888;*/
/*	margin: 2%;*/
	overflow: hidden;
/*	width: 540px;*/
    background-color: #666; /* Para disimular movimiento/borde blanco */
}

.item-mov img {
	max-width: 100%;
	-moz-transition: all 1.0s;
	-webkit-transition: all 1.0s;
	transition: all 1.0s;
}

.item-mov:hover img {
	-moz-transform: scale(1.1);
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}