/*Slider*/
.carousel-inner div:nth-child(1) .fill {background-image:url('../images/slider3.jpg')}
.carousel-inner div:nth-child(2) .fill {background-image:url('../images/slider1.jpg')}
.carousel-inner div:nth-child(3) .fill {background-image:url('../images/slider2.jpg')}

/*Contenido*/
main {width:100%; max-width:1200px; margin:-90px auto 0 auto;}
#madrigalena {height:70px; position:relative; top:-70px; width: 1px;}
section {width:96%; max-width: 1200px; margin:20px auto 20px auto; overflow: auto; padding:0.5% 2%; text-align:left;}
/*Aptitudes*/
#aptitude {width:100%; max-width: 1200px; margin:40px auto 20px auto; overflow: auto; display: flex; justify-content: center;}
#aptitude article {width:100%; margin: 1.25%; padding: 0 10px; text-align: center;}
#aptitude .apt_text * {color: #000; text-align: center; width: 86%; margin: auto; font-size:18px;}
#aptitude .apt_text h2 {margin: 10px auto; font-size:30px;}
/*Textos*/
h3 {text-align:center; border-top:1px solid #bebebe;}
h3 span {font-size:22px; font-weight:bold; color:#6e9b36; background:#fff; padding:5px; position:relative; top:-15px;}
		/*Quiénes somos*/
section:nth-child(2) {text-align:center; margin-top:40px;}
		/*Personal*/
#personal_text {width:60%; float:left;}
#personal_text a {color:#6e9b36; text-decoration:underline;}
#personal_text a:hover {text-decoration:none;}
#personal_text li {list-style-type:disc; margin-left:30px;}
#personal_text li span {text-decoration:underline;}
#personal_img {float:right; width:39%;}
#personal_img ul {display: flex; justify-content:space-around; flex-flow:row wrap;}
#personal_img ul li {width:48%; margin-bottom:5px;}
#personal_img ul li img {width:100%; height:auto;}
		/*Gestión*/
#frutas {width:30%; max-width:220px; margin:30px auto !important;text-align:center; background: red;}
#frutas img {width:100%;}

.diagrama_actividades {width:100%; max-width:600px; margin:auto; text-align:center;}
.diagrama_actividades img {width:100%;}

/* MediaQuery */
@media screen and (max-device-width: 900px), screen and (max-width: 900px) {
#personal_text {width:75%;}
#personal_img {width:24%;}
#personal_img ul li {width:70%;}
}

@media screen and (max-device-width: 767px), screen and (max-width: 767px) {
#aptitude {flex-flow:row wrap;}
#aptitude article {margin-bottom:25px;}

#personal_img ul li {width:90%;}
}

@media screen and (max-device-width: 670px), screen and (max-width: 670px) {
#personal_text, #personal_img {float:none; clear:both; width:100%;}
#personal_img {margin-top: 20px;}
#personal_img ul li {width:23%;}
}

@media screen and (max-device-width: 478px), screen and (max-width: 478px) {
#personal_img ul li {width:48%;}
}