/* 
* Filtrado de servicios
*
*/

.row_fil {
    margin: 10px -16px;
}


/* Create three equal columns that floats next to each other */
.column {
    display: none; /* Hide all elements by default */
}
.column img {
    margin-top: 0px;
    vertical-align: middle;
}

/* Clear floats after rows */ 
.row_fil:after {
    content: "";
    display: table;
    clear: both;
}

/* Content */
.content {
    background-color: white;
    padding: 4px;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .column {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
}

/* Style the buttons */
.btn_filt {
    color: #4d4b4b;
  border: none !important;
  /* outline: none; */
  /* padding: 12px 16px; */
  background: none;
  cursor: pointer;

  /* Zoom */
  transition: width .4s, height .4s, transform .4s;
  -moz-transition: width .4s, height .4s, -moz-transform .4s;
  -webkit-transition: width .4s, height .4s, -webkit-transform .4s;
  -o-transform: width .4s, height .4s, -o-transform .4s;
}

.btn_filt:hover {
  /* background-color: #ddd; */
    /* Zoom */
    transform: scale(1.05);
    -moz-transform: scale(1.05);
    -webkit-transform: scale(1.05); 
    -o-transform: scale(1.05);
}

.btn_filt.active {
  /* background-color: #dd2323; */
  color: #0b4883;
  font-weight: 700 !important;
  font-size: 20px !important;
}


/* Hover */
.shadow_card {
    cursor: pointer;
    /* Zoom */
    transition: width .4s, height .4s, transform .4s;
    -moz-transition: width .4s, height .4s, -moz-transform .4s;
    -webkit-transition: width .4s, height .4s, -webkit-transform .4s;
    -o-transform: width .4s, height .4s, -o-transform .4s;
}
.shadow_card:hover{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    /* Zoom */
    transform: scale(1.1);
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1); 
    -o-transform: scale(1.1);
}


/* GRID GALERIA */
#photos {
    /* Prevent vertical gaps */
    line-height: 0;
    
    -webkit-column-count: 5;
    -webkit-column-gap:   0px;
    -moz-column-count:    5;
    -moz-column-gap:      0px;
    column-count:         5;
    column-gap:           0px;
 }
 
 #photos img {
   /* Just in case there are inline attributes */
   width: 100% !important;
   height: auto !important;
 }
 
 @media (max-width: 1200px) {
   #photos {
   -moz-column-count:    4;
   -webkit-column-count: 4;
   column-count:         4;
   }
 }
 @media (max-width: 1000px) {
   #photos {
   -moz-column-count:    3;
   -webkit-column-count: 3;
   column-count:         3;
   }
 }
 @media (max-width: 800px) {
   #photos {
   -moz-column-count:    2;
   -webkit-column-count: 2;
   column-count:         2;
   }
 }
 @media (max-width: 400px) {
   #photos {
   -moz-column-count:    1;
   -webkit-column-count: 1;
   column-count:         1;
   }
 }