

*{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

body{
    overflow-x: hidden;
}

.galeria{
    display:flex;
    flex-wrap: wrap;
    padding: 10px 10px;
}
.columna{
    flex: 20%;
    max-width: 20%;
    padding: 0 4px;
}
.columna img{
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
    filter: grayscale(-50%ss);
    transition: all .2s ease;
    z-index: 400;
}
.columna img:hover{
    cursor: pointer;
    filter: grayscale(0%);
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
    transform: scale(1.1);
}
 .overlay{
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .7s ease;
    visibility: hidden;
    opacity: 0;
    z-index: 100000;
}
.overlay .slideshow{
    width: 90%;
    height: 90%;
    background-color: rgba(255 , 255, 255, .9);
    color: black;
    position: relative;
    display: flex;
    justify-content: center; 
}
.slideshow img{
    height: 100%;
    width: 100%;
    object-fit: contain;
}
.btn_cerrar{
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 35px;
    background-color: rgba(0 , 0, 0, .7 );
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: all .2s ease;
}

.btn_cerrar:hover{
    transform: scale(1.3);
    cursor: pointer;
}

.botones{
    
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 70px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
  
   
}



.botones:hover > i{
    transform: scale(1.2);
    transition: all .2 ease;
}

.atras{
left: 20px;
}

.adelante{
    right: 20px ;
}

.needs-validation {
 
  
    max-width: 100%; 
  
    padding: 1rem;
    background-color: #ffffff;
    border-radius: .5rem;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    justify-content: center;
  }

  .real{
    background-color: #002369;
}

.real-t{
    color: #0039a3;
}






/* Adaptable*/

@media screen and (max-width:800px) {
    
    

.botones{
    font-size: 55px;
}

.atra{
    left: 5px;
}

.adelante{
    right: 5px;
}

.slideshow img{
    width: 98%;
}

.galeria{
    display:flex;
    flex-wrap: wrap;
    padding: 10px 10px;
}
.columna{
    flex: 20%;
    max-width: 20%;
    padding: 0 4px;
}

.letra{
    font-size:14px;
}





}


@media (max-width:500px){
    .galeria{
        display:flex;
        flex-wrap: wrap;
        padding: 10px 10px;
    }
    .columna{
        flex: 20%;
        max-width: 20%;
        padding: 0 4px;
    }
    .t-foo{
        font-size:.8rem
    }
    .d-inline-block{
        width: 150px;
        height: 65px;
    }
}


