#malla_inf ul.resp-tabs-list {
    display: flex;
}

#malla_inf .resp-tabs-list li {
    width: 100%;
    color: #fff;
}

#malla_inf .tabs {
    padding: 10px 0px 6%;
}

#malla_inf li.tab1.resp-tab-item {
    background: #ac2293;
    margin-right: 5px !important;
    filter: drop-shadow(1px 3px 4px gray);
}



#malla_inf li.tab2.resp-tab-item {
    background: #ffac44;
    margin-right: 5px !important;
    filter: drop-shadow(1px 3px 4px gray);
}



#malla_inf li.tab3.resp-tab-item {
    background: #e15d56;
    margin-right: 5px !important;
    filter: drop-shadow(1px 3px 4px gray);
}

#malla_inf li.tab4.resp-tab-item {
    background: #fa7834;
    margin-right: 5px !important;
    filter: drop-shadow(1px 3px 4px gray);
}

#malla_inf li.tab5.resp-tab-item {
    background: #c84679;
    filter: drop-shadow(1px 3px 4px gray);
}

#malla_inf li.resp-tab-item.resp-tab-active i {
    filter: drop-shadow(2px 3px 6px #565656);
}

/*

#malla_inf li.tab1.resp-tab-item.resp-tab-active {
    background: #7f2b8c !important;
}

#malla_inf li.tab2.resp-tab-item.resp-tab-active {
    background: #e8ab3f !important;
}

#malla_inf li.tab3.resp-tab-item.resp-tab-active {
    background: #ab5651 !important;
}


#malla_inf li.tab4.resp-tab-item.resp-tab-active {
    background: #ce8d5f !important;
}

#malla_inf li.tab5.resp-tab-item.resp-tab-active {
    background: #933e6c !important;
}
*/


#malla_inf li.resp-tab-item.resp-tab-active i {
    filter: drop-shadow(2px 3px 6px #565656);
}


#malla_inf .resp-tabs-list li p {
    font-size: 1.2em;
    text-align: center;
    padding: 1px 0px 0px;
    font-weight: 600;
    line-height: 18px;
}

#malla_inf .resp-tabs-list li p i {
    font-size: 45px;
    padding: 10px 0px 0px;
}

#malla_inf .imagenprincipal {
    position: relative;
    overflow: hidden;
    max-height: 350px;
    background: rgb(255 255 255);
    background-size: cover;
    text-align: center;
    color: #fff;
}

#malla_inf .resp-tab-item {
    margin-right: 0px !important;
}

#malla_inf .imagenprincipal .banner {
    margin: auto;
    margin-top: -2%;
    opacity: .9;
    width: 100%;
}

#malla_inf .imagenprincipal .titulo {
    position: absolute;
    bottom: 13%;
    margin-top: 13%;
    left: 15%;
}

#malla_inf .imagenprincipal .titulo img {
    width: 100%;
    max-width: 550px;
}

#malla_inf .title-enseñanza {
    padding: 30px 0px 20px;
}

#malla_inf .title-enseñanza p a {
    color: #93278e;
}

#malla_inf .title-enseñanza p a:hover {
    color: #fa7834;
}



/* Common style */
#malla_inf .efecto_cajas.grid figure {
    position: relative;
    overflow: hidden;
    height: auto;
    background: #383838;
    text-align: center;
    cursor: pointer;
}

#malla_inf .efecto_cajas.grid figure img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 0.8;
    filter: blur(2px);
    margin: 0 auto;
}

.efecto_cajas.grid figure figcaption {
    padding: 2.5em 1.0em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

#malla_inf .efecto_cajas.grid figure figcaption::before,
#malla_inf .efecto_cajas.grid figure figcaption::after {
	pointer-events: none;
}

#malla_inf .efecto_cajas.grid figure figcaption,
#malla_inf .efecto_cajas.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
#malla_inf .efecto_cajas.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

#malla_inf .efecto_cajas.grid figure h2 {
    font-weight: 200;
    color: #fefefe;
    filter: drop-shadow(0px 2px 2px black);
    font-family: "Roboto Mono", monospace;
    font-size: 0.9em;
    letter-spacing: -1px;
    line-height: 23px;
}

#malla_inf .efecto_cajas.grid figure h2 span {
    font-weight: 700;
}

#malla_inf .efecto_cajas.grid figure h2,
#malla_inf .efecto_cajas.grid figure p {
	margin: 0;
}

#malla_inf .efecto_cajas.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}

/*-----------------*/
/***** Apollo *****/
/*-----------------*/

#malla_inf figure.effect-apollo {
	background: #3498db;
}

#malla_inf figure.effect-apollo img {
	opacity: 0.95;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale3d(1.05,1.05,1);
	transform: scale3d(1.05,1.05,1);
}

#malla_inf figure.effect-apollo figcaption::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,0.5);
	content: '';
	-webkit-transition: -webkit-transform 0.6s;
	transition: transform 0.6s;
	-webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-100%,0);
	transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-100%,0);
}

#malla_inf figure.effect-apollo p {
    position: absolute;
    right: 20px;
    bottom: 7%;
    margin: 3em;
    padding: 0 1em;
    /* max-width: 150px; */
    border-right: 4px solid #faaf3a;
    text-align: right;
    opacity: 0;
    -webkit-transition: opacity 0.35s;
    transition: opacity 0.35s;
}

#malla_inf figure.effect-apollo h2 {
    text-align: center;
    font-size: 0.8em;
}

#malla_inf figure.effect-apollo:hover img {
	opacity: 0.6;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

#malla_inf figure.effect-apollo:hover figcaption::before {
	-webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,100%,0);
	transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,100%,0);
}

#malla_inf figure.effect-apollo:hover p {
	opacity: 1;
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

#malla_inf .modal-dialog.modal-lg {
    width: 100%;
    max-width: 90%;
    top: 15%;
    bottom: 0;
}



@media only screen and (min-width: 1100px){
    #malla_inf .modal-dialog.modal-lg iframe {
        height: 580px !important;
    }
}


@media only screen and (max-width: 768px){

#malla_inf ul.resp-tabs-list {
    display: none;
}

#malla_inf .modal-dialog.modal-lg {
    width: 100%;
    max-width: 90%;
    top: 20px;
    margin: 0 auto;
}

#malla_inf .imagenprincipal .titulo {
    left: 5%;
}

#malla_inf h2.resp-accordion p i {
    font-size: 48px;
}
#malla_inf .imagenprincipal .titulo img {
    width: 100%;
    max-width: 350px;
}

#malla_inf h2.resp-accordion {
    color: #fff;
    margin: 6px 0px 0px;
}

#malla_inf h2.resp-accordion p {
    font-size: 18px;
    text-align: center;
    padding: 0px 0px 0px;
}

h2.resp-tab-active span.resp-arrow {
    border: none;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 12px solid #ffffff;
}

.resp-arrow {
    width: 0;
    height: 0;
    float: right;
    margin-top: 3px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 12px solid #ffffff;
}

#malla_inf h2.resp-accordion:nth-child(1) {
    background: #ac2293 !important;
}

#malla_inf h2.resp-accordion:nth-child(3) {
    background: #ffac44 !important;
}

#malla_inf h2.resp-accordion:nth-child(5) {
    background: #e15d56 !important;
}

#malla_inf h2.resp-accordion:nth-child(7) {
    background: #fa7834 !important;
}

#malla_inf h2.resp-accordion:nth-child(9) {
    background: #c84679 !important;
}

}

@media only screen and (max-width: 420px){
#malla_inf .imagenprincipal .titulo img {
    width: 100%;
    max-width: 247px;
}
}