#galeria, #galeria-2{
    width: 90%;
    min-height: 300px;
    background-color: #fff;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-flow: wrap;
    align-items: center;
    justify-content: start;
    padding-bottom: 70px;
}

.thumb{
    display: flex;
    align-items: center;
}

#galeria a img{
    width: 250px;
    margin: 10px;
    border-radius: 10px;
    cursor: pointer;
    pointer-events: auto;
    transition: 0.3s;
}

#galeria-2 a video{
    width: 250px;
    margin: 10px;
    border-radius: 10px;
    cursor: pointer;
    pointer-events: auto;
    transition: 0.3s;
    object-fit: contain;

}

.seminario-row-2{
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}



.video-play{
    position: absolute;
    width: 130px;
    height: 130px;

    opacity: 0.8;

    background-color: transparent;
    border: 8px solid var(--rojoL);
    border-radius: 100%;

    left: 50%;
    top: 40%;
    transform: translate(-50%,-50%);

    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    color: var(--rojoL);
    font-size: 4em;
    font-weight: bold;
    transition: 0.4s;
    z-index: 3;
    cursor: pointer;

   
}

.video-play p{
    margin-left: 10px;
}

.video-play:hover{
    width: 140px;
    height: 140px;
    font-size: 5em;
    transition: 0.3s;
}

#galeria a img:hover, #galeria-2 a img:hover{
    transform: scale(1.02);
    transition: 0.3s;
}

.year-cat {
    width: 100%;
    height: 30px;
    margin-top: 80px;
    margin-bottom: 50px;
    font-family: 'Josefin Sans',sans-serif;
    text-transform: capitalize;
    border-bottom: 2px solid #ccc;
}


.cat-cat {
    width: 100%;
    height: 0px;
    margin-top: 10px;
    margin-bottom: 30px;
    font-family: 'Josefin Sans',sans-serif;
    text-transform: capitalize;
    
}

@media (max-width:1100px){
    .cat-cat{
        margin-bottom: 70px;
    }

    #galeria, #galeria-2{
        justify-content: center;
    }
}

.seminario-fecha {
    width: 100%;
    color: #555;
    margin-bottom: 20px;
    font-family: 'Montserrat',sans-serif;
    text-align: center;
    text-transform: capitalize;
}

.seminario-categoria {
    width: 100%;
    color: #555;
    display: none;
    margin-bottom: 20px;
    font-family: 'Montserrat',sans-serif;
    text-align: center;
    text-transform: capitalize;
}


#foto-bottom{
    width: 120%;
    height: 120%;
    position: fixed;
    background-color: rgba(255,255,255,0.8);
    backdrop-filter:blur(4px);
    top:0;
    z-index: 3;
    display: none;
    cursor: alias;
}

#galeria-zoom:hover ~ #foto-info{
    background-size: contain;
}

#galeria-zoom:hover{
    background-color: #555;
}

#foto-container{
    position: fixed;
    height: 90%;
    width: 80%;
/*    background-color: #fff;*/
    border-radius: 30px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    /* display: flex; */
    display: none;
    flex-flow: wrap;

    transition: 0.4s;
}

#foto-info{
    width: 100%;
    height: 100%;
    
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    
    display: flex;
    flex-flow: wrap;
    align-items: end;
    align-content: end;
}

#galeria-fecha{
    width: 100%;
    margin: 0 auto;
    color: #fff;
    background-color: rgba(0,0,0,0.7);
    padding: 10px;
    text-transform: capitalize;
    font-family: 'Montserrat',sans-serif;
    user-select: none;
}

#galeria-categoria{
    width: 100%;
    margin: 0 auto;
    color: #fff;
    background-color: rgba(0,0,0,0.7);
    padding: 10px;
    font-family: 'Montserrat',sans-serif;
    user-select: none;
}

#galeria-foto{
    width: 100%;
    height: 100%;
}

#galeria-zoom{
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 20;
    top:20;
    font-size: 1.2em;
    font-family: 'Ubuntu',sans-serif;
    cursor: zoom-out;
    color: #fff;
    opacity: 0.7;
}

#galeria-cerrar{
    background-color: var(--rojoL);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20;
    top:20;
    font-size: 1.2em;
    font-family: 'Ubuntu',sans-serif;
    cursor: pointer;
    color: #fff;
}

#galeria-cerrar:hover{
    background-color: rgba(0,0,0,0.6);
}


#galeria-next,#galeria-prev{
    display: none;
}

#galeria-next{
    height: 100px;
    width: 100px;
    border-radius: 20px;
    position: fixed;
    right: 9%;
    top: 50%;
    transform: translate(-9%, -50%);
    /* display: flex; */
    justify-content: center;
    align-items: center;
    font-size: 3em;
    color: #333;
    z-index: 4;
    cursor: pointer;
}

#galeria-prev{
    height: 100px;
    width: 100px;
    border-radius: 20px;
    position: fixed;
    left: 10%;
    top: 50%;
    transform: translate(-10%, -50%);
    /* display: flex; */
    justify-content: center;
    align-items: center;
    font-size: 3em;
    color: #333;
    z-index: 4;
    cursor: pointer;
}

#galeria-prev:hover{
    background-color: rgba(0,0,0,0.4);
    font-size: 4em;
    
}

#galeria-next:hover{
    background-color: rgba(0,0,0,0.4);
    font-size: 4em;
    
}

@media (max-width:800px) {

    #foto-container{
        width: 100%;
        height: 50%;
        border-bottom-left-radius: 0%;
        border-bottom-right-radius: 0%;
        top:100px;
        bottom: 0;
        transform: translate(-50%, 0%);
        overflow: visible;
        z-index: 10000000000000000;
    }

    .foto-info{
        width: 80%;
        height: 50%;
        position: absolute;
        margin-top: -90px;
        left: 50%;
        transform: translate(-50%);
        border-radius: 20px;
    }

    #galeria-next {
        height: 100px;
        width: 100px;
        border-radius: 20px;
        position: fixed;
        right: 20%;
        top: 60%;
        transform: translate(-0%, 70%);
        /* display: flex; */
        justify-content: center;
        align-items: center;
        font-size: 3em;
        color: #333;
        z-index: 4;
        cursor: pointer;
        -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
    }

    #galeria-prev {
        height: 100px;
        width: 100px;
        border-radius: 20px;
        position: fixed;
        left: 20%;
        top: 60%;
        transform: translate(0%, 70%);
        /* display: flex; */
        justify-content: center;
        align-items: center;
        font-size: 3em;
        color: #333;
        z-index: 4;
        cursor: pointer;
        -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
    }

    #galeria-next:hover, #galeria-prev:hover{
        background-color: rgba(0,0,0,0.0);
        font-size: 3em;
    }
    
    #galeria-cerrar{
        right: 20;
        top: 20;
    }
    
    #galeria-categoria, #galeria-fecha{
        width: 100%;
    }

}

@media (min-width:370px) {

    #galeria-next {
        transform: translate(0%, 50%);
    }

    #galeria-prev {
        transform: translate(0%, 50%);
    }


}

@media (min-width:799px){

    #foto-container{
        height: 80%;
        width: 80%;
    }

    #galeria-next{
        height: 100px;
        width: 100px;
        border-radius: 20px;
        position: fixed;
        right: 0%;
        top: 50%;
        transform: translate(0%, -50%);
        /* display: flex; */
        justify-content: center;
        align-items: center;
        font-size: 3em;
        color: #333;
        z-index: 4;
        cursor: pointer;
    }
    
    #galeria-prev{
        height: 100px;
        width: 100px;
        border-radius: 20px;
        position: fixed;
        left: 0%;
        top: 50%;
        transform: translate(0%, -50%);
        /* display: flex; */
        justify-content: center;
        align-items: center;
        font-size: 3em;
        color: #333;
        z-index: 4;
        cursor: pointer;
    }
    
    #galeria-prev:hover{
        background-color: rgba(200,200,200,0.4);
        font-size: 4em;
        
    }
    
    #galeria-next:hover{
        background-color: rgba(200,200,200,0.4);
        font-size: 4em;
        
    }
}


@media (min-width:1200px){
    #foto-container{
        height: 90%;
        width: 70%;
    }

    #galeria-next{
        height: 100px;
        width: 100px;
        border-radius: 20px;
        position: fixed;
        right: 6%;
        top: 50%;
        transform: translate(-6%, -50%);
        /* display: flex; */
        justify-content: center;
        align-items: center;
        font-size: 3em;
        color: #333;
        z-index: 4;
        cursor: pointer;
    }
    
    #galeria-prev{
        height: 100px;
        width: 100px;
        border-radius: 20px;
        position: fixed;
        left: 7%;
        top: 50%;
        transform: translate(-7%, -50%);
        /* display: flex; */
        justify-content: center;
        align-items: center;
        font-size: 3em;
        color: #333;
        z-index: 4;
        cursor: pointer;
    }
    
    
    #galeria-cerrar{
        right: 20;
        top: 20;
    }
}

@media (min-width:1600px){


    #galeria-next{
        height: 100px;
        width: 100px;
        border-radius: 20px;
        position: fixed;
        right: 9%;
        top: 50%;
        transform: translate(-9%, -50%);
        /* display: flex; */
        justify-content: center;
        align-items: center;
        font-size: 3em;
        color: #333;
        z-index: 4;
        cursor: pointer;
    }
    
    #galeria-prev{
        height: 100px;
        width: 100px;
        border-radius: 20px;
        position: fixed;
        left: 10%;
        top: 50%;
        transform: translate(-10%, -50%);
        /* display: flex; */
        justify-content: center;
        align-items: center;
        font-size: 3em;
        color: #333;
        z-index: 4;
        cursor: pointer;
    }
}



#video-bottom{
    width: 120%;
    height: 120%;
    position: fixed;
    background-color: rgba(255,255,255,0.8);
    backdrop-filter:blur(4px);
    top:0;
    z-index: 3;
    display: none;
    cursor: alias;
}

#video-container{
    position: fixed;
    height: 90%;
    width: 80%;
/*    background-color: #fff;*/
    border-radius: 30px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    /* display: flex; */
    display: none;
    flex-flow: wrap;

    transition: 0.4s;
}

#video-info{
    width: 100%;
    height: 100%;
    
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    
    display: flex;
    flex-flow: wrap;
    align-items: end;
    align-content: end;
}

#video-fecha{
    width: 82%;
    margin: 0 auto;
    color: #fff;
    background-color: rgba(0,0,0,0.7);
    padding: 10px;
    text-transform: capitalize;
    font-family: 'Montserrat',sans-serif;
    user-select: none;
}

#video-categoria{
    width: 82%;
    margin: 0 auto;
    color: #fff;
    background-color: rgba(0,0,0,0.7);
    padding: 10px;
    font-family: 'Montserrat',sans-serif;
    user-select: none;
}

#video-item{
    width: 100%;
    height: 100%;
    background-color: #fff;
}



#video-cerrar{
    background-color: var(--rojoL);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20;
    top:20;
    font-size: 1.2em;
    font-family: 'Ubuntu',sans-serif;
    cursor: pointer;
    color: #fff;

    z-index: 3;
}

#video-cerrar:hover{
    background-color: rgba(0,0,0,0.6)
}