/* Start: Recommended Isotope styles */

/**** Isotope Filtering ****/

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

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

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

.isotope,
.isotope .isotope-item {
  -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;
}

/* End: Recommended Isotope styles */

/* disable CSS transitions for containers with infinite scrolling*/
.isotope.infinite-scrolling {
  -webkit-transition: none;
     -moz-transition: none;
      -ms-transition: none;
       -o-transition: none;
          transition: none;
}

/**** Isotope styles ****/

/* required for containers to inherit vertical size from window */
html,
body {
  height: 100%;
}

#ablum *{box-sizing:border-box;}

/**** Horizontal ****/

.horizontal #ablum {
  height: 80%;
}

#copy {
  max-width: 640px;
}

.portfolio_gallery {
	width:90%;
	margin: 20px 5% 0;
}

.portfolio_gallery .box {
	width:31%;
	margin:1%;
}
@media screen and (max-width:479px) {
.portfolio_gallery .box {
	width:47.5%;
	margin:1%;
}
}

.portfolio_gallery .new {
    position: absolute;
    z-index: 160;
    width:30px;
    height:37.5px;
    background-image: url(../../../images/portfolio/label_new.png);
    background-repeat: no-repeat;
	background-size:cover;
	right:0;
}

.portfolio_gallery .box a {
    outline: none;
    display: block;
    background:url(../../images/bg_thumb.png) no-repeat center center;
	background-size:cover;
    text-decoration: none;
	width:100%;
}

.portfolio_gallery .box a img {
	width:100%;
	position:relative;
}

.portfolio_gallery .box .name {
	width:100%;
	padding:5px;
    position:absolute;
	bottom:0;
    height:34px;
    overflow: hidden;
    font-size:12px;
	line-height:12px;
    background-color: #FFFFFF;
    color: #2cbef7;
    text-align: right;
}

.docs #content {
  max-width: 640px;
}

.docs #content a:hover {
  border-bottom: 1px dotted;
}

/**** Infinite Scroll ****/

.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }
