#content {
  padding-top: 90px;
  padding-right: 10px;
}

#gallery {
  /* Prevent vertical gaps */
  line-height: 0;

  -webkit-column-count: 3;
  -webkit-column-gap:   0px;
  -moz-column-count:    3;
  -moz-column-gap:      0px;
  column-count:         3;
  column-gap:           15px;

   
}

#gallery img {
  /* Just in case there are inline attributes */
  margin: 7.5px;
  width: 100% !important;
  height: auto !important;
  opacity: 0;
  -webkit-transition: all 0.22s linear;
  -moz-transition: all 0.22s linear;
  -ms-transition: all 0.22s linear;
  -o-transition: all 0.22s linear;
  transition: all 0.22s linear;
}

#gallery img.animated {
  opacity: 1;
}


@media (min-width: 2501px) {
  #gallery {
    -moz-column-count:    8;
    -webkit-column-count: 8;
    column-count:         8;
  }
}

@media (max-width: 2500px) {
  #gallery {
    -moz-column-count:    6;
    -webkit-column-count: 6;
    column-count:         6;
  }
}

@media (max-width: 1950px) {
  #gallery {
    -moz-column-count:    5;
    -webkit-column-count: 5;
    column-count:         5;
  }
}

/*@media (max-width: 1600px) {
  #gallery {
    -moz-column-count:    5;
    -webkit-column-count: 5;
    column-count:         5;
  }
}*/

@media (max-width: 1400px) {
  #gallery {
    -moz-column-count:    4;
    -webkit-column-count: 4;
    column-count:         4;
  }
}

@media (max-width: 1000px) {
  #gallery {
    -moz-column-count:    3;
    -webkit-column-count: 3;
    column-count:         3;
  }
}

@media (max-width: 800px) {
  #gallery {
    -moz-column-count:    2;
    -webkit-column-count: 2;
    column-count:         2;
  }
}

@media (max-width: 415px) {
  #gallery {
    -moz-column-count:    1;
    -webkit-column-count: 1;
    column-count:         1;
  }
}






/*W3S*/

/** {*/
  /*box-sizing: border-box;*/
/*}*/

/*#gallery {*/
  /*display: -ms-flexbox; !* IE10 *!*/
  /*display: flex;*/
  /*-ms-flex-wrap: wrap; !* IE10 *!*/
  /*flex-wrap: wrap;*/
  /*padding: 0 4px;*/
/*}*/

/*!* Create four equal columns that sits next to each other *!*/
/*.column {*/
  /*-ms-flex: 25%; !* IE10 *!*/
  /*flex: 25%;*/
  /*max-width: 25%;*/
  /*padding: 0 4px;*/
/*}*/

/*.column img {*/
  /*margin-top: 8px;*/
  /*vertical-align: middle;*/
  /*width: 100%;*/
/*}*/

/*!* 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%;*/
  /*}*/
/*}*/


/*ANIMATIONS*/
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  50% {
    opacity: 1;
  }
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    -ms-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  50% {
    opacity: 1;
  }
}

.zoomIn {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
}


