/* isotope */
* { box-sizing: border-box; }
.grid-sizer,
.grid-item {
    padding: 6px;
    width: 25%;
}
/* clear fix */
.grid-item:after {
  content: '';
  display: block;
  clear: both;
}
.grid-item--width2 {
    width: 50%!important;
}
.grid-item img {
    width: 100%;
    height: auto;
}
.grid-item a .in-middle {
    position: absolute;
    top: 50%;
    left: 6px;
    right: 6px;
    text-align: center;
    transform: translateY(-50%);
    color: white;
    opacity: 0;
    z-index: 999;
    padding: 0 15px;

    -webkit-transition: all 333ms;
    -moz-transition: all 333ms;
    -o-transition: all 333ms;
    transition: all 333ms cubic-bezier(0.42, 0.0, 0.58, 1.0);
}
.grid-item a:hover .in-middle,
.grid-item a:focus .in-middle {
    overflow: hidden;
    opacity: 1;
    z-index: 999;

    -webkit-transition: all 333ms;
    -moz-transition: all 333ms;
    -o-transition: all 333ms;
    transition: all 333ms cubic-bezier(0.42, 0.0, 0.58, 1.0);
}
.grid-item a .in-middle p {
    margin: 0;
    padding: 0;
    font-size: 21px;
    line-height: 25px
}
@media (max-width: 1199px) {
    .grid-item a .in-middle p {
        font-size: 20px;
        line-height: 24px;
    }
}
@media (max-width: 991px) {
    .grid-item a .in-middle p {
        font-size: 16px;
        line-height: 20px;
    }
}
@media (max-width: 767px) {
    .grid-item a .in-middle p {
        font-size: 14px;
        line-height: 18px;
    }
}
@media (max-width: 575px) {
    .grid-item a .in-middle p {
        font-size: 21px;
        line-height: 25px;
    }
}
.grid-item a img {
    -webkit-filter: brightness(1); /* Safari 6.0 - 9.0 */
    filter: brightness(1);

    -webkit-transition: all 333ms;
    -moz-transition: all 333ms;
    -o-transition: all 333ms;
    transition: all 333ms cubic-bezier(0.42, 0.0, 0.58, 1.0);
}
.grid-item a:hover img,
.grid-item a:focus img {
    -webkit-filter: brightness(0); /* Safari 6.0 - 9.0 */
    filter: brightness(0);

    -webkit-transition: all 333ms;
    -moz-transition: all 333ms;
    -o-transition: all 333ms;
    transition: all 333ms cubic-bezier(0.42, 0.0, 0.58, 1.0);
}
.button-group {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 40px;
}
.button {
    background-color: #000000;
    color: #999999;
    padding: 6px 24px;
    border: 0;
    font-size: 1em;
    font-weight: 300;
}
.button:active, .button.is-checked, .button.is-selected {
  background-color: #000000;
  color: #ffffff;
  border: 0;
}
/* end isotope */

/* isotope breack */
@media (max-width: 575px) {
    .grid-sizer, .grid-item, .grid-item--width2 {
        padding: 10px;
        padding-top: 0px;
        width: 100%!important;
    }
}
.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}
