#presentacion {
    height: 80%;
    min-height: 550px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

#carousel-imagenes {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
}

#carousel-recuadros {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

#carousel-recuadros .carousel-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#carousel-recuadros .carousel-item {
    height: 100%;
    width: 100%;
    padding: 10% 13%;
}

.modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.contenedor-imagen-modal {
    text-align: center;
}

.contenedor-informacion-modal {
    border-left: none;
    border-top: 2px solid #5C5F93;
    margin-top: 15px;
    padding: 15px 15px 15px;
}

.modal-footer {
    border-top: none;
    padding-top: 0;
}

.contenido {
    margin-bottom: 15px;
}

.experto {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-bottom: 15px;
}

.informacion-experto {
    padding: 5px;
    text-align: center;
    height: 100%;
}

.enlace-expertos {
    position: absolute;
    bottom: -13px;
    right: 13px;
}

@media screen and (max-height: 500px) {
    #presentacion {
        height: 175%;
        width: 100%;
    }
}

@media screen and (min-width: 768px) {

    #presentacion {
        height: 100%;
        width: 100%;
        min-height: 600px;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .carousel {
        float: left;
    }

    #carousel-recuadros {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        width: 70%;
        height: 100%;
    }

    #carousel-imagenes {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
        width: 50%;
        margin-left: -20%;
    }

    .recuadro {
        width: 100%;
        height: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .contenedor-informacion-modal {
        border-top: none;
        border-left: 2px solid #5C5F93;
        margin-top: 0;
    }

    #carousel-recuadros .carousel-item {
        padding-right: 32%;
        padding-left: 12%;
    }

    .imagen-contenido {
        -webkit-transition: all 1s ease;
        -o-transition: all 1s ease;
        transition: all 1s ease;
    }

    .nombre-contenido {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        visibility: hidden;
        opacity: 0;
        -webkit-transition: opacity .2s, visibility .2s;
        -o-transition: opacity .2s, visibility .2s;
        transition: opacity .2s, visibility .2s;
    }

    .contenido:hover .imagen-contenido {
        -webkit-transform: scale(1.4);
        -ms-transform: scale(1.4);
        transform: scale(1.4);
        -webkit-transform-origin: 50% 25%;
        -ms-transform-origin: 50% 25%;
        transform-origin: 50% 25%;
        opacity: .2;
    }

    .contenido:hover .nombre-contenido {
        visibility: visible;
        opacity: 1;
    }

    .contenedor-imagen-contenido {
        overflow: hidden;
    }

    .enlace-expertos:hover {
        font-size: 1rem;
    }
}

@media screen and (min-width: 1400px) {

    .recuadro {
        padding-left: 5%;
        margin-left: 15px;
    }
}

.intro {
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.todo {
    display: none;
    width: 100%;
    height: 100%;
}

.desc .no-gutters {
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    #img-descripcion {
        max-height: 400px;
    }

    #contenedor-imagen-descripcion {
        margin-bottom: -120px;
    }
}

@media screen and (min-width: 768px) {
    #img-introduccion {
        max-height: 510px;
        float: right;
    }
}

@media screen and (min-width: 1200px) {
    #img-introduccion {
        max-height: 570px;
    }
}