/**** Isotope Filtering ****/
#container, .element article figure, .element article, .element article figure img{
  width: 100%;
}
.element{
  width: 297px;  
}
.isotope-item {
  z-index: 2;
}
.box{
  overflow: hidden;
}

#gallery .box {
  float: left;
}
.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.9s;
     -moz-transition-duration: 0.9s;
      -ms-transition-duration: 0.9s;
       -o-transition-duration: 0.9s;
          transition-duration: 0.9s;
   -webkit-transition-timing-function : cubic-bezier(0.175, 0.885, 0.32, 1.275);
      -moz-transition-timing-function : cubic-bezier(0.175, 0.885, 0.32, 1.275);
       -ms-transition-timing-function : cubic-bezier(0.175, 0.885, 0.32, 1.275);
        -o-transition-timing-function : cubic-bezier(0.175, 0.885, 0.32, 1.275);
           transition-timing-function : cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:      -o-transform, opacity;
          transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/

.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;
}