#contenedor-galeria-5 {
    width: 90%;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    margin:0px auto 50px auto;
    flex-direction: row-reverse;
    z-index:1;
}
#contenedor-galeria-5 h4{
    width: 100%;
    min-width: 300px;
    box-sizing: border-box;
    text-align: center;
    font-family: 'Titulo',helvetica,verdana,sans-serif;
    color: rgba(104,161,36,1);
    font-size: 26px;
    margin: 40px auto;
    z-index: 2;
    letter-spacing: var(--espaciado-titulos);
}
#galeria-5-contenido{
    width: 50%;
    font-size: 17px;
    line-height: 1.5em;
    text-align: justify;
    color: rgba(65,65,65,1);
    padding:0px 0px 0px 30px;
    box-sizing: border-box;
    font-family: 'Principal',helvetica,verdana,sans-serif;
    z-index: 2;
    font-weight: 600;
}
#galeria-5-contenido a{
    border: 2px solid rgba(65,65,65,1);
    color: rgba(65,65,65,1);
    box-sizing: border-box;
    font-family: 'Titulo',helvetica,verdana,sans-serif;
    font-size: 17px;
    cursor: pointer;
    z-index: 5;
    width: 140px;
    text-align: center;
    padding: 10px;
    margin: 20px auto;
    display: block;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    font-weight: bold;
}
#galeria-5-contenido a:hover{
    color: rgba(255,255,255,1);
    background-color: rgba(65,65,65,1);
}
.galeria-5 {
    width: 50%;
    height: auto;
    box-sizing: border-box;
    margin:0px auto;
    position: relative;
    background-attachment: scroll;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    z-index:1;
}
.slide-galeria-5 {
    width: 100%;
    height: 400px; 
    position: relative;
    overflow: hidden;
    margin:0px auto;
}
.slideImg {
    width: 100%;
    height: 400px;
    left: -100%;    
    position: absolute;
    opacity: 1; 
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
}
.siguienteGaleria , .anteriorGaleria {    
    cursor: pointer;
    position: absolute;    
    width: 40px;
    height: 40px;
    font-weight: bold;
    font-size: 17px;
    z-index: 15;
    color: rgba(255,255,255,1);
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,.4);
}
.siguienteGaleria {
    right: 10px;
    border-left: 1px solid rgba(255,255,255,1);
    -webkit-border-radius: 0% 50% 50% 0%; 
    -moz-border-radius: 0% 50% 50% 0%;
    border-radius: 0% 50% 50% 0%;
}
.anteriorGaleria {
    right: 50px;
    border-right: 1px solid rgba(255,255,255,1);
    -webkit-border-radius: 50% 0% 0% 50%; 
    -moz-border-radius: 50% 0% 0% 50%;
    border-radius: 50% 0% 0% 50%;
}
.anteriorGaleria:hover, .siguienteGaleria:hover {
    background-color: rgba(0,0,0,.85);
    color: rgba(255,255,255,1);
}

.moverIActualImg {
    animation: moverIActualImg 0.5s ease-in-out;
    animation-fill-mode: forwards;
}
.moverISiguienteImg {
    animation: moverISiguienteImg 0.5s ease-in-out;
    animation-fill-mode: forwards; 
}
@keyframes moverIActualImg{
    from{left:0; opacity:1;} to { left:-100%; opacity:1;}
}
@keyframes moverISiguienteImg{
    from{ left:100%; opacity:1;} to {left:0%; opacity:1;}
}
.moverDActualImg{
    animation: moverDActualImg 0.5s ease-in-out;
    animation-fill-mode: forwards;
}
.moverDSiguienteImg{
    animation: moverDSiguienteImg 0.5s ease-in-out;
    animation-fill-mode: forwards; 
}
@keyframes moverDActualImg{
    from{ left:0; opacity:1;} to { left:100%; opacity:1; }
}
@keyframes moverDSiguienteImg{
    from{left:-100%; opacity:1;} to { left:0%; opacity:1;}
}

@media (max-width: 900px){
    #galeria-5-contenido{
        width: 100%;
        margin-bottom: 50px;
        padding: 0;
    }
    .galeria-5{
        width: 100%;
    }
}
@media (max-width: 600px){
    .slide-galeria-5,
    .slideImg{
        height: 250px;
    }

}
