.node-portfolio {
  height: inherit;
  .content {
    position: relative;
    height: inherit;
  }
}
//Portfolio filter
.fa.fa-arrow-circle-o-right {
  font-size: 35px;
}
.portfolio-style2 {
  .portfolio-icon {
    margin-top: 20%;
  }
  h3.portfolio-title {
    margin: 0px !important;
    padding: 0px !important;
  }
  .dexp-grid-filter {
    li {
      position: relative;
      a {
        line-height: 60px !important;
        border: none !important;
        font-size: 14px !important;
        &:hover {
          &::after {
            background-color: @base_color;
            content: "";
            position: absolute;
            width: 12px;
            height: 12px;
            .transform-rotate(45deg);
            bottom: 0px;
            left: 50%;
            margin-left: -6px;
            .transition(all, 0.3s ease-in-out);
          }
        }
        &.active {
          color: @base_color !important;
          &::after {
            background-color: @base_color;
            content: "";
            position: absolute;
            width: 12px;
            height: 12px;
            .transform-rotate(45deg);
            bottom: 0px;
            left: 50%;
            margin-left: -6px;
            .transition(all, 0.3s ease-in-out);
          }
        }
      }
    }
  }
}
.grid-filter {
  .dexp-grid-filter {
    margin: 0 0 50px 0;
    padding: 0;
    text-align: center;
    li {
      display: inline-block;
      margin-left: 15px;
      margin-bottom: 15px;
      a {
        border: 1px solid #DEDEDE;
        font-size: 10px;
        font-weight: 600;
        padding: 5px 25px;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: #6F6F6F;
        line-height: 30px;
        display: block;
        &.active,
        &:hover {
          color: @base_color;
          border-color: @base_color;
          text-decoration: none;
          .transition(all, 0.3s);
        }
        &:focus {
          color: #23527C;
        }
      }
    }
  }
  ul.dexp-masonry-filter {
    margin-bottom: 50px;
  }
}
//Portfolio classic
.dexp-grid-item-inner {
  position: relative;
  overflow: hidden;
  img {
    width: 100%;
    height: auto;
  }
  .portfolio-description {
    text-align: center;
    background-color: #f5f5f5;
    padding: 15px 0;
    text-align: center;
    h3 {
      font-size: 16px;
      margin: 15px 0 0px;
      text-transform: uppercase;
    }
  }
  &:hover {
    .portfolio-overlay {
      opacity: 1;
      .scale(1);
    }
  }
}
.field-name-field-portfolio-categories {
  .field-item {
    a {
      color: #fff;
      font-style: italic;
      font-size: 18px;
      text-align: center;
      line-height: 60px;
      font-family: "Crimson Text";
      font-weight: normal;
      word-spacing: 0;
      &:hover {
        text-decoration: none;
        .transition(all, 0.3s);
        color: @base_color;
      }
    }
  }
}
.portfolio-overlay {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  padding-top: 7%;
  background-color: #fff;
  opacity: 0;
  text-align: center;
  .transition(all, 200ms, ease-in-out);
  .scale(0);
  .porfolio-middle {
    .middle();
    text-align: center;
    width: 100%;
    .transition(all, 0.3s, ease-in-out);
    h3.portfolio-title {
      font-size: 15px;
      text-align: center;
      text-transform: uppercase;
      position: relative;
      margin: 0 0 20px;
      padding: 0 0 20px;
      line-height: 28px;
      color: #fff;
      a {
        color: #fff;
        &:hover {
          color: @link_hover_color;
          .transition(all, 0.3s);
          text-decoration: none;
        }
      }
    }
    .portfolio-tools {
      margin-top: 15px;
    }
    .team-position {
      font-size: 18px;
      color: @link_color;
      line-height: 60px;
      font-style: italic;
      &:hover {
        text-decoration: none;
      }
    }
  }
  &.style01 {
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    padding-top: 0%;
    left: 0%;
    top: 0%;
  }
  &.style04 {
    .porfolio-middle {
      height: 100%;
      top: 0%;
      .translateY(0%);
    }
    .portfolio-tools,
    .portfolio-title {
      width: inherit;
      height: inherit;
      margin-top: 0px;
    }
    .portfolio-title {
      padding: 0px !important;
      a {
        width: inherit;
        height: inherit;
        display: block;
        border-radius: 0% !important;
        margin: 0 !important;
        text-indent: -99999px;
        background: rgba(0, 0, 0, 0.8) url('../images/buttonx.png') no-repeat scroll center center;
      }
    }
  }
  &.style05 {
    .portfolio-title {
      a {
        color: #141414 !important;
        font-size: 12px;
        &:hover {
          color: @link_hover_color !important;
        }
      }
      &::after {
        position: absolute;
        bottom: 0px;
        left: 50%;
        content: "";
        width: 38px;
        height: 1px;
        background-color: #141414;
        margin-left: -20px;
      }
    }
    .team-position {
      color: #6F6F6F !important;
    }
    .portfolio-tools {
      margin-top: 0;
      a {
        display: inline-block;
        width: 28px;
        height: 28px;
        line-height: 28px;
        text-align: center;
        color: #FFF;
        font-size: 10px;
        background-color: #FCC403;
        border-radius: 50%;
        margin: 0px 3px;
        &:hover {
          color: #141414;
        }
      }
    }
    .field-name-field-portfolio-categories {
      .field-item {
        a {
          color: #141414;
        }
      }
    }
  }
  &.portfolio-masonry {
    width: 100%;
    left: 0%;
    height: auto;
    min-height: 83px;
    bottom: 0px;
    top: auto;
    background-color: #141414;
    padding: 20px 0px 20px 20px;
    .translateY(100%);
    .transition(all,
    0.3s,
    ease-in-out);
    z-index: 5;
    .porfolio-middle {
      position: relative;
      top: auto;
      .translateY(0%);
      text-align: left;
      .portfolio-tools {
        margin-top: 0;
        position: absolute;
        right: 30px;
        bottom: 5px;
      }
      a {
        line-height: normal;
      }
      .portfolio-categories {
        width: 85%;
      }
    }
    h3.portfolio-title {
      text-align: left;
      margin: 0;
      padding: 0;
      line-height: normal;
    }
    &.portfolio-team {
      height: 73px;
      min-height: 73px;
      border-top: 2px solid #fff;
      .scale(1);
      opacity: 1;
      background-color: transparent;
      padding: 0;
      .porfolio-middle {
        position: relative;
        top: auto;
        .translateY(0%);
        .transition(all,
        0.3s);
        text-align: left;
        height: 68px;
        padding: 15px 0px 0px 20px;
      }
      .team-socials {
        position: absolute;
        width: 100%;
        height: 73px;
        top: auto;
        .translateY(100%);
        .transition(all,
        0.3s,
        ease);
        text-align: center;
        line-height: 73px !important;
        a {
          .fa {
            color: #fff;
            &:hover {
              color: @base_color;
            }
          }
        }
        .field-collection-container {
          .field-items {
            .field-item {
              display: inline-block;
              width: 50px;
            }
          }
        }
        .field-collection-view {
          padding: 0;
        }
        .content {
          line-height: 73px !important;
        }
      }
      a {
        font-size: 14px;
        margin: 0px;
        padding: 15px 0px 0px;
        line-height: normal;
        letter-spacing: 0.1em;
        color: #FFF !important;
      }
      .position {
        color: #fff;
        font-size: 12px;
        text-transform: uppercase;
        font-family: @global_font_1;
      }
    }
    &.team-style2 {
      height: 42px;
      line-height: 42px;
      min-height: 42px;
      padding: 0;
      opacity: 0.8;
      .name {
        font-size: 18px;
        color: #fff;
        line-height: 42px;
        text-align: center;
        a {
          color: #fff;
        }
        .fa {
          color: #FCC403;
          float: right;
          padding-right: 10px;
          margin-top: 12px;
        }
      }
    }
    &.team-style3 {
      background-color: #fff;
      padding: 0;
      min-height: 42px;
      bottom: 20px;
      height: 42px;
    }
  }
  &.team-style4 {
    top: auto;
    bottom: 10%;
    padding: 27px 20px 17px 27px;
    height: auto;
    background-color: @base_color;
    .field-collection-container {
      .field-items {
        text-align: right;
        line-height: 1;
        .content {
          line-height: 1;
        }
      }
    }
    .fa {
      font-size: 14px !important;
      color: #fff !important;
      &:hover {
        color: #000 !important;
      }
    }
    .name {
      margin: 0 !important;
      text-align: left;
      line-height: 14px;
      a {
        font-size: 14px;
        text-transform: uppercase;
        font-weight: normal;
      }
    }
    .team-position {
      text-align: left;
      a {
        text-transform: uppercase;
        font-size: 12px;
        font-style: italic;
        color: #FFF;
        line-height: 12px;
        font-family: "Crimson Text";
      }
    }
    a {
      color: #fff;
    }
    &::before {
      border-width: 17px;
      border-style: solid;
      border-color: transparent transparent @base_color;
      content: "";
      top: -33px;
      left: 50%;
      .translateX(-50%);
      position: absolute;
    }
  }
  &.team-style5 {
    .scale(1);
    opacity: 0;
    .middle-center();
    width: 100%;
    background: transparent;
    .transition(all,
    0.4s,
    ease-in-out);
    .field-collection-container {
      a {
        font-size: 14px !important;
        .fa {
          color: #fff !important;
        }
      }
    }
    .porfolio-middle {
      background: rgba(0, 0, 0, 0.4) none repeat scroll 0% 0%;
      padding: 0;
      min-height: 290px;
    }
  }
}
.our-team-style5 {
  .portfolio-images {
    img {
      opacity: 0.3;
      .transition(all,
      0.4s,
      ease-in-out);
    }
    &:hover {
      img {
        opacity: 1;
        .transition(all,
        0.4s,
        ease-in-out);
      }
      .team-style5 {
        opacity: 1;
      }
    }
  }
  .portfolio-overlay .porfolio-middle h3.portfolio-title {
    margin: 70px 0px 0px;
    padding: 0;
    font-size: 14px;
    a{
      &:hover{
        text-decoration: none;
      }
    }
  }
  .portfolio-categories {
    font-size: 12px;
    line-height: 20px;
    font-family: @global_font_1;
    font-style: italic;
    margin-bottom: 50px;
  }
}
.our-team {
  .portfolio-images {
    position: relative;
    opacity: 0.7;
    &:hover {
      opacity: 1;
    }
  }
}
.team-inner {
  width: 100%;
  position: absolute;
  bottom: 0px;
  top: 0px;
  left: 0px;
  right: 0px;
  display: block;
  &:hover {
    .portfolio-overlay.portfolio-masonry.portfolio-team {
      .porfolio-middle {
        .translateY(100%);
      }
      .team-socials {
        .translateY(0%);
        bottom: 0;
      }
    }
  }
}
//Portfolio Masonry
.portfolio-masonry-image {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  &:hover {
    .portfolio-overlay {
      opacity: 1;
      .transtalteY(0px);
    }
  }
  .portfolio-inner {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    .transition(all,
    0.3s,
    ease-in-out);
    z-index: 3;
    display: block;
    &:hover {
      background: rgba(20, 20, 20, 0.6) none repeat scroll 0% 0%;
    }
  }
}
//Portfolio details
.portfolio-details {
  .portfolio-image {
    .field-item {
      margin-bottom: 40px;
    }
    img {
      width: 100%;
      height: auto;
    }
  }
  .portfolio-content {
    h3 {
      font-size: 30px;
      margin-bottom: 20px;
      font-weight: bold;
      margin-top: 0 !important;
    }
  }
  .portfolio-more {
    label {
      font-size: 13px;
      font-weight: bold;
      text-transform: uppercase;
      margin: 2px 0;
      color: #141414;
    }
    a {
      color: @base_color;
    }
    margin-bottom: 50px;
  }
  .portfolio-project {
    padding: 15px 45px !important;
    &:hover {
      background-color: #141414 !important;
      border-color: #141414 !important;
    }
  }
}
.bx-wrapper {
  .bx-controls-direction {
    a {
      background: none;
      text-indent: 0;
      border: solid 1px rgba(105, 105, 105, 0.5);
      width: 50px;
      height: 50px;
      i {
        .middle-center();
        color: #fff;
        font-size: 20px;
      }
      &:hover {
        background-color: #869791;
      }
    }
  }
}
.control-outside {
  .bx-next {
    right: -65px;
  }
  .bx-prev {
    left: -65px;
  }
}
.portfolio-style3 {
  .portfolio-images {
    &::before {
      content: "";
      position: absolute;
      top: 0px;
      left: 0px;
      width: 100%;
      height: 100%;
      z-index: 5;
      .transition(all,
      0.3s,
      ease-in-out);
    }
  }
  &:hover {
    .portfolio-images::before {
      background: rgba(20, 20, 20, 0.6) none repeat scroll 0% 0%;
    }
  }
}
