.portfolio-items, .gallery-masonry .gallery-description {
  width: 940px;
}
/* 2 Columns*/
.portfolio-items-cols2 .thumb-label-item {
  width: 464px;
}

.boxed .portfolio-items-cols2 .thumb-label-item {
  width: 464px;
}

/* 3 cols & 3 cols boxed */
.portfolio-items.portfolio-items-cols3 .thumb-label-item {
  width: 317px;
}

.boxed .portfolio-items-cols3 .thumb-label-item {
  width: 308px;
}
@media (max-width: 767px)
{
  .portfolio-items, .thumb-label-item {
    width: 100% !important;
  }

  .portfolio-filter {
    width: 100%;
  }

  .portfolio-filter li {
    float: none;
    width: 100%;
    margin: 0;
    display: block;
  }

  .portfolio-filter li:first-child {
    margin-left: 0;
  }

  .portfolio-filter li a {
    padding: 5px 10px;
    border-radius: 5px;
    width: 100%;
    display: block;
    margin: 2px 0 0 0;
    box-sizing: border-box;
  }
}

@media (min-width: 768px) and (max-width: 992px)
{

  .portfolio-items, .boxed .portfolio-items {
    width: 724px;
  }

  /* 2 cols & 2 cols boxed */
  .portfolio-items-cols2 .thumb-label-item,
  .boxed .portfolio-items-cols2 .thumb-label-item {
    width: 356px;
  }

  /* 3 cols & 3 cols boxed */
  .portfolio-items.portfolio-items-cols3 .thumb-label-item {
    width: 237px;
  }

  .boxed .portfolio-items-cols3 .thumb-label-item {
    width: 234px;
  }
}
@media (min-width: 1200px)
{
  .portfolio-items {
    width: 1170px;
  }

  .boxed .thumb-label-item {
    width: 229px;
  }

  .boxed .portfolio-items {
    width: 940px;
  }

  /* 2 cols & 2 cols boxed */
  .portfolio-items-cols2 .thumb-label-item {
    width: 566px;
  }

  .boxed .portfolio-items-cols2 .thumb-label-item {
    width: 464px;
  }

  /* 3 cols & 3 cols boxed */
  body .portfolio-items.portfolio-items-cols3 .thumb-label-item {
    width: 386px;
  }

  body .boxed .portfolio-items-cols3 .thumb-label-item {
    width: 308px;
  }
}
@media (min-width: 993px) and (max-width: 1199px)
{


  .thumb-label-item, .boxed .thumb-label-item {
    width: 230px;
  }

  .portfolio-items, .boxed .portfolio-items {
    width: 970px;
  }
}
/****************************
Img overlay
****************************/
.img-overlay {
  width: 100%;
  height: 100%;
  position: relative;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: 0 150px;
}

.img-overlay img {
  width: 100%;
}

.item-img-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0%;
  top: 0;
  opacity: 0;
  filter: alpha(opacity=0);
  text-align: center;
  background-color: black;
  background-color: rgba(39, 159, 187, 0.5);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 500ms;
  -moz-transition: all 500ms;
  -o-transition: all 500ms;
  transition: all 500ms;
  overflow: hidden;
}

.item-img-overlay * {
  filter: alpha(opacity=0);
}

.item-img-overlay:hover * {
  filter: alpha(opacity=100);
}

.item-img-overlay:hover {
  filter: alpha(opacity=80);
  opacity: 0.8;
}

.item-img-overlay .item_img_overlay_content {
  position: absolute;
  left: 0%;
  top: 50%;
  margin-top: -20px;
  width: 100%;
  text-align: center;
}

.item-img-overlay a:hover {
  text-decoration: none;
}

.img-overlay:hover .item-img-overlay {
  opacity: 1;
}

.item-img-overlay .item_img_overlay_content i {
  margin-right: 10px;
}

.item-img-overlay {
  color: #fff;
}

.item-img-overlay a {
  color: #fff;
}
.item-img-overlay a:hover {
  color: #fff !important;
}

a.portfolio-zoom icon-resize-full:hover {
  color: #279fbb !important;
}

.item-img-overlay i {
  background-color: white;
  background-color: rgba(255, 255, 255, 0.95);
  color: #279fbb;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 18px;
  cursor: pointer;
  display: inline-block;
  position: relative;
  -webkit-transition: background-color, color 0.4s;
  -moz-transition: background-color, color 0.4s;
  -ms-transition: background-color, color 0.4s;
  -o-transition: background-color, color 0.4s;
  transition: background-color, color 0.4s;
}
.item-img-overlay i:hover {
}

.item-img-overlay i:hover {
  background-color: #279fbb;
  color: white;
  color: rgba(255, 255, 255, 0.95);
}

.item-img-overlay .portfolio-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: white;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 18px;
  transform: scale(0);
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  -ms-transform: scale(0);
  cursor: pointer;
}
.item-img-overlay .portfolio-zoom:hover {
  color: #279fbb !important;
}

.item-img-overlay:hover .portfolio-zoom,
.item-img-overlay:hover i {
  opacity: 1;
  -webkit-animation-fill-mode: forwards;
  -webkit-animation-name: overlay-animation;
  -webkit-animation-duration: 0.5s;
  -webkit-animation-timing-function: linear;
  -webkit-animation-delay: 0s;
  -moz-animation-fill-mode: forwards;
  -moz-animation-name: overlay-animation;
  -moz-animation-duration: 0.5s;
  -moz-animation-timing-function: linear;
  -moz-animation-delay: 0s;
  -o-animation-fill-mode: forwards;
  -o-animation-name: overlay-animation;
  -o-animation-duration: 0.5s;
  -o-animation-timing-function: linear;
  -o-animation-delay: 0s;
  animation-fill-mode: forwards;
  animation-name: overlay-animation;
  animation-duration: 0.5s;
  animation-timing-function: linear;
  animation-delay: 0s;
  transform: scale(1) \9;
}

@-webkit-keyframes overlay-animation {
  0% {
    -webkit-transform: scale(1.5);
    opacity: 0;
  }

  50% {
    -webkit-transform: scale(0.5);
  }

  100% {
    -webkit-transform: scale(1);
    opacity: 1;
  }
}

@-moz-keyframes overlay-animation {
  0% {
    -moz-transform: scale(1.5);
    opacity: 0;
  }

  50% {
    -moz-transform: scale(0.5);
  }

  100% {
    -moz-transform: scale(1);
    opacity: 1;
  }
}

@-o-keyframes overlay-animation {
  0% {
    -o-transform: scale(1.5);
    opacity: 0;
  }

  50% {
    -o-transform: scale(0.5);
  }

  100% {
    -o-transform: scale(1);
    opacity: 1;
  }
}

@keyframes overlay-animation {
  0% {
    transform: scale(1.5);
    opacity: 0;
  }

  50% {
    transform: scale(0.5);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.img-overlay {
  overflow: hidden;
}

.img-overlay img {
  -webkit-transition: all 0.8s;
  -moz-transition: all 0.8s;
  -ms-transition: all 0.8s;
  -o-transition: all 0.8s;
  transition: all 0.8s;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.img-overlay:hover img {
  -webkit-transition: all 0.8s;
  -moz-transition: all 0.8s;
  -ms-transition: all 0.8s;
  -o-transition: all 0.8s;
  transition: all 0.8s;
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -o-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}
/**
Portfolio Items
*/
.portfolio {
  clear: both;
  overflow: hidden;
}

.portfolio-items {
  padding: 0px 0 0 0;
  clear: both;
/*  width: 100%;*/
  margin: auto;
}

.boxed .thumb-label-item {
  width: 280px;
}

.thumb-label-item .thumb-label-item-img {
  margin-bottom: 6px;
}

.thumb-label-item .thumb-label-item-img img {
  width: 100%;
}

.thumb-label-item {
  width: 229px;
}


/**/
.thumb-label-item .thumb-label-item-title {
  margin: 0 0 0px 0;
  text-align: center;
  display: block;
}

.thumb-label-item .thumb-label-title-tags {
  font-size: 11px;
  font-style: italic;
  text-align: center;
}






.portfolio-group {
  margin-bottom: 34px;
}

.portfolio-more {
  text-align: center;
  margin-bottom: 30px;
}

.gallery-masonry .gallery-description {
	margin: auto;
}
.gallery-masonry .masonry-hoverlink { 
  position:absolute; 
  width:100%;
  height:100%;
  top:0;
  left: 0;

  /* edit: added z-index */
  z-index: 1;

  /* edit: fixes overlap error in IE7/8, 
   *      make sure you have an empty gif */
  background-image: url('../images/blank.gif');
}   
