#gallery .item{
	text-align:center;
	margin-bottom:30px;
	background:#f5f5f5;
	font-size:12px;
  border-right: 10px solid #fff;
}
#gallery .item:last-child{
  border-right:none;
}
#gallery .item h4{
  margin-top:10px;
	font-size:16px;
	margin-bottom:0;
}

#gallery img {
  border: 0 none;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
  display:inline;
}
#gallery .grid .one-quarter, .grid .w-1-4{width:25% !important;}
/* --------------------------------------------------
	isotope
/* -------------------------------------------------- */
.isotope,
.isotope .isotope-item {
  /* change duration value to whatever you like */
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

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

#filters{padding:0; margin:10px 0 5px;}
#filters li{display:inline-block; margin-right:3px;  margin-bottom:20px; }
#filters a{color:#fff; padding:5px 10px 5px 10px; color:#555; border:solid 1px #ddd; text-decoration:none;}
#filters a:hover{ border:solid 1px #CC0000;}
#filters a.selected{ background:#CC0000; border:solid 1px #CC0000; color:#FFF;}

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}
.preview .img-polaroid{max-width:160px;}