/*--------------------------------------------
                  6. PORTFOLIO
  ---------------------------------------------- */

.portfolioMeta {
  span {
    display: inline-block;
  }
}

#filter-list {
  li {
    display: inline-block;
    width: auto;
    padding: 0px 15px;
    font-size: 14px;
    margin: 0px;
    line-height: 35px;
    cursor: pointer;
    color: $textColour;
  }
  li:hover,
  li:active {
    background: #ffd42d;
    color: $darkGray;
  }
}

#portfolio {
  padding: 0px;
  display: block;
  width: 100%;
  text-align: center;
  .item {
    display: inline-block;
    padding: 0px 10px;
    vertical-align: top;
    margin-bottom: 12px;
    color: #fff;
    font-size: 30px;
    text-align: center;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    a {
      display: inline-block;
      max-width: 100%;
      text-decoration: none;
      background: #fff;
    }
    img {
      max-width: 100%;
    }
    @media only screen and (max-width: 767px) {
      width: 100% !important;
    }
  }
  .item.hidden-item {
    display: none;
  }
}

.folio-img {
  position: relative;
  h4 {
    font-size: 14px;
    font-weight: bold;
    color: $darkGray;
    margin: 0px 0 -3px;
  }
  p {
    font-size: 11px;
    font-style: italic;
    color: $darkGray;
  }
}

.overlay-inner {
  p {
    display: none;
  }
  h4 {
    line-height: 40px;
  }
}

.folio-img:hover {
  .overlay-inner p {
    display: block;
    line-height: 17px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .overlay-inner h4 {
    margin-bottom: 5px;
  }
  .overlay {
    height: 100%;
    margin: auto;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
}

/** standalone items **/

.works {
  padding: 30px 30px 0;
  margin-bottom: 0px;
  overflow: hidden;
  background: #fff;
}

.portfolio-wrap {
  padding: 0 5px;
}

#filter-list {
  display: block;
  width: 100%;
  margin: 30px 10px;
  margin-left: 0px;
  padding: 0px;
}

.blogpost:after {
  content: "";
  display: block;
  clear: both;
}

.SocialMediaShareButton {
  display: inline-block;
}

.overlay {
  background: rgba(255, 212, 45, 0.9);
  position: absolute;
  left: 0px;
  right: 0px;
  width: 100%;
  height: 100%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  visibility: visible;
  opacity: 1;
  height: 40px;
  bottom: 0px;
}

.overlay-inner {
  height: 37px;
  position: absolute;
  top: 0px;
  bottom: 0px;
  right: 0px;
  left: 0px;
}

@media print {
  #portfolio {
    .item {
      a[href]:after {
        content: none;
      }
    }

    margin-top: 20px;

  }

  #filter-list{
    display:none;
  }
}
