
.galeria{
    font-family: 'open sans';
  
}

.galeria h1{
    text-align: center;
    margin:20px 0 15px 0;
    font-weight: 300;
}

.linea{
    border-top: 5px solid #0077C0;
    margin-bottom: 40px;
}

.contenedor-imagenes{
    display:flex;
    width: 100%;
    margin: auto;
    justify-content: space-around;
    flex-wrap: wrap;
    border-radius:3px;
    
}

.contenedor-imagenes .imagen{
    width: 32%;
    position: relative;
    height:250px;
    margin-bottom:20px;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, .75)
}

.imagen img{
    width: 100%;
    height:100%;
   
    object-fit: cover;
}

.overlay{
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8) ;
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: .5s ease;
}
.text-img{
    position: absolute;
    bottom: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    
    color: #fff;
    background-color: hsla(359, 89%, 42%, 0.2);
    
}
.text-img span{
    display: inline-block;
    position: absolute;
    top: 25%;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    text-align: center;
    font-size: 20px;
  
    overflow: hidden !important;
}

.overlay h2{
    color: #fff;
    font-weight: 300;
    font-size:18px;
    position: absolute;
    top: 50%;
    left: 50%;
    
    letter-spacing: 0.015em;
    hyphens: auto;
    -webkit-hyphens: auto; /* A día de hoy aún es necesario el prefijo para soportar a Safari */
		
    transform: translate(-50%, -50%);
    width: 80%;
}

.imagen:hover .overlay {
    height:100%;
    cursor: pointer;
    
}
.serv-titulo {
    font-family: 'Quicksand', sans-serif;
  font-size: 25px;
  line-height: 30px;
  color:#fff;
  text-shadow: 0 0 0.2em #000000, 0 0 0.2em #000000,
		0 0 0.2em #000000;
}
.imagen:hover .serv-titulo {
   display: none;
    
}
.logot {
    background-color: #ffffff !important;
  }
  .logot img {
    height: 190px;
    display: block;
    margin: auto;
  }
  



@media screen and (max-width:1201px){
.text-img .text-lg{
    font-size: 16px !important;
}
}


@media screen and (max-width:1000px){
    .contenedor-imagenes{
        width: 95%;
    }
    .text-img span{
      
        font-size: 18px !important;
        
    }
}
@media screen and (max-width:992px){
    
    .text-img span{
      
        font-size: 18px !important;
            }
            .text-img .text-lg{
                font-size: 12px !important;
            }
}

@media screen and (max-width:768px){
    .text-img span{
      
        font-size: 14px !important;
            }
            .text-img .text-lg{
                font-size: 9px !important;
            }
}
}
@media screen and (max-width:700px){
    .contenedor-imagenes{
        width: 90%;
    }
    .contenedor-imagenes .imagen{
        width: 48%;
    }
    .text-img span{
      
        font-size: 14px !important;
            }
}


@media only screen and (max-width:  565px) {
    .text-img span{
       
        text-align: center;
        font-size: 15px !important;
      
       
    }

}

@media screen and (max-width:450px){
    h1{
        font-size:22px;
    }
    .contenedor-imagenes{
        width: 98%;
    }
    .contenedor-imagenes .imagen{
        width: 80%;
    }
    .text-img span{
       
        text-align: center;
        font-size: 25px !important;
        width: 90% !important;
       
    }
    .text-img .text-lg{
        font-size: 18px !important;
    }
}
@media screen and (max-width:360px){
   
    .text-img span{
       
        text-align: center;
        font-size: 20px !important;
        width: 100%;
       
    }
    .text-img .text-lg{
        font-size: 15px !important;
    }
    .items_servicios  .text-sm  li{
font-size: 10px !important;
    }
}
