
.portfolio-full {
  // Detail 01
  &.detail-01 {
    .portfolio-top {
      margin-top: 50px;
      text-align: center;
      .col-md-12{
        img{
          width: 100%;
        }
        .post-slideshow {
          &:hover{
            .owl-nav{
              opacity: 1;
            }
          }
          .owl-nav{
            opacity: 0;
            .transition( all 0.35s ease);
            > div{
              .translateY(-50%);
              top: 50%;
              position: absolute;
              line-height: 1;
              font-size: 60px;
              color: fade(@black, 30%);
              .transition( all 0.35s ease);
              &:hover{
                color: @primary_color;
              }
              &.owl-next{
                right: 30px;
              }
              &.owl-prev{
                left: 30px;
              }
            }
          }
        }
      }
    }
    .paging-wrap{
      margin-top: 15px;
      .container{
        .row{
          margin: 0;
          &:hover{
            .owl-nav{
              opacity: 1; 
            } 
          }
          .owl-nav{
            opacity: 0;
            .transition( all 0.35s ease);
            > div{
              .translateY(-50%);
              top: 50%;
              position: absolute;
              padding: 7px 10px;
              line-height: 1;
              background-color: fade(@black,30%);
              color: @white;
              .transition( all 0.35s ease);
              &:hover{
                background-color: @primary_color;
              }
              &.owl-next{
                right: 0;
              }
              &.owl-prev{
                left: 0;
              }
            }
          }
        }
      }
    }
    .portfolio-content-wrap {
      padding-top: 30px;
      .portfolio-title-wrap {
        h2{
          position: relative;
          font-size: 24px;
          font-weight: bold;
          text-transform: uppercase;
          padding-bottom: 15px;
          margin-top: 15px;
          &:before{
            content: '';
            height: 1px;
            width: 50px;
            background-color: @primary_color;
            position: absolute;
            bottom: 0;
            left: 0;
          }
        }
      }
      .col-md-4{
        .portfolio-info{
          .portfolio-info-box{
            &:first-child{
              h6{
                margin-top: 20px;
              }
            }
          }
        }
      }
      .portfolio-info {
        &.spec {
          .portfolio-info-box {
            h6{
              font-size: 18px;
              margin-top: 30px;
              color: @secondary_color;
              font-weight: bold;
            }
            div{
                line-height: 1.4;
                color: @secondary_color;
            }
            .portfolio-term-cat{
              span{
                text-transform: uppercase;
              }
            }
            .portfolio-term-tag {
              span {
                padding: 5px 10px;
                background: #f6f6f6;
                margin-right: 5px;
                display: inline-block;
                margin-top: 5px;
                &:hover {
                  background: @primary_color;
                }
              }
            }
            .portfolio-social-profile-wrapper {
              list-style: none;
              list-style-type: none;
              padding: 0;
              li {
                display: inline-block;
                margin: 0 9px;
                width: 40px;
                height: 40px;
                float: left;
                border: 1px solid @border_color;
                a{
                  display: block;
                  i{
                    line-height: 38px;
                    width: 40px;
                    text-align: center;
                  }
                }
                &:first-child{
                  margin-left: 0;
                }
                &:last-child{
                  margin-right: 0;
                }
              }
            }
          }
        } 
      }
    }
  }
  &.detail-02{
    .container{
      margin-top: 100px;
      text-align: center;
      .col-md-6{
        .post-slideshow{
          .item{
            margin-bottom: 30px;
            img{
              width: 100%;
            }
          }
        } 
      }
    }
    .col-md-6 {
      text-align: left;
      .portfolio-info {
        h2{
          margin-top: 0;
          position: relative;
          font-size: 24px;
          font-weight: bold;
          text-transform: uppercase;
          padding-bottom: 15px;
          &:before{
            content: '';
            height: 1px;
            width: 50px;
            background-color: @primary_color;
            position: absolute;
            bottom: 0;
            left: 0;
          }
        }
      }
      .portfolio-info {
        .portfolio-info-box {
          h6{
            font-size: 18px;
            margin-top: 30px;
            color: @secondary_color;
            font-weight: bold; 
          }
          div{
              line-height: 1.4;
              color: @secondary_color;
          }
          .portfolio-term-cat{
            span{
              text-transform: uppercase;
            }
          }
          .portfolio-term-tag {
            span {
              padding: 5px 10px;
              background: #f6f6f6;
              margin-right: 5px;
              display: inline-block;
              margin-top: 5px;
              &:hover {
                background: @primary_color;
              }
            }
          }
          .portfolio-social-profile-wrapper {
            list-style: none;
            list-style-type: none;
            padding: 0;
            li {
              display: inline-block;
              margin: 0 9px;
              width: 40px;
              height: 40px;
              float: left;
              border: 1px solid @border_color;
              a{
                display: block;
                i{
                  line-height: 38px;
                  width: 40px;
                  text-align: center;
                }
              }
              &:first-child{
                margin-left: 0;
              }
              &:last-child{
                margin-right: 0;
              }
            }
          }
        } 
      }
    }
  }
  &.detail-03{
    .container{
      margin-top: 100px;
      text-align: center;
      .col-md-8{
        img{
          width: 100%;
        }
        .post-slideshow {
          &:hover{
            .owl-nav{
              opacity: 1;
            }
          }
          .owl-nav{
            opacity: 0;
            .transition( all 0.35s ease);
            > div{
              .translateY(-50%);
              top: 50%;
              position: absolute;
              line-height: 1;
              font-size: 60px;
              color: fade(@black, 30%);
              .transition( all 0.35s ease);
              &:hover{
                color: @primary_color;
              }
              &.owl-next{
                right: 30px;
              }
              &.owl-prev{
                left: 30px;
              }
            }
          }
        }
        .paging-wrap{
          margin-top: 15px;
          .container{
            margin-top: 0;
            .row{
              margin: 0;
              &:hover{
                .owl-nav{
                  opacity: 1; 
                } 
              }
              .owl-nav{
                opacity: 0;
                .transition( all 0.35s ease);
                > div{
                  .translateY(-50%);
                  top: 50%;
                  position: absolute;
                  padding: 7px 10px;
                  line-height: 1;
                  background-color: fade(@black,30%);
                  color: @white;
                  .transition( all 0.35s ease);
                  &:hover{
                    background-color: @primary_color;
                  }
                  &.owl-next{
                    right: 0;
                  }
                  &.owl-prev{
                    left: 0;
                  }
                }
              }
            }
          }
        }
      }
    }
    .col-md-4 {
      text-align: left;
      .portfolio-info {
        h2{
          margin-top: 0;
          position: relative;
          font-size: 24px;
          font-weight: bold;
          text-transform: uppercase;
          padding-bottom: 15px;
          &:before{
            content: '';
            height: 1px;
            width: 50px;
            background-color: @primary_color;
            position: absolute;
            bottom: 0;
            left: 0;
          }
        }
      }
      .portfolio-info {
        .portfolio-info-box {
          h6{
            font-size: 18px;
            margin-top: 30px;
            color: @secondary_color;
            font-weight: bold;
          }
          div{
            line-height: 1.4;
            color: @secondary_color;
          }
          .portfolio-term-cat{
            span{
              text-transform: uppercase;
            }
          }
          .portfolio-term-tag {
            span {
              padding: 5px 10px;
              background: #f6f6f6;
              margin-right: 5px;
              display: inline-block;
              margin-top: 5px;
              &:hover {
                background: @primary_color;
              }
            }
          }
          .portfolio-social-profile-wrapper {
            list-style: none;
            list-style-type: none;
            padding: 0;
            li {
              display: inline-block;
              margin: 0 9px;
              width: 40px;
              height: 40px;
              float: left;
              border: 1px solid @border_color;
              a{
                display: block;
                i{
                  line-height: 38px;
                  width: 40px;
                  text-align: center;
                }
              }
              &:first-child{
                margin-left: 0;
              }
              &:last-child{
                margin-right: 0;
              }
            }
          }
        } 
      }
    }
  }
  &.detail-04{
    .container{
      margin-top: 100px;
      text-align: center;
      .col-md-8{
        img{
          width: 100%;
        }
        .post-grid{
          .col-md-6{
            .item{
              position: relative;
              margin-bottom: 30px;
              .grid-image-hover{
                opacity: 0;
                top: 0;
                left: 0;
                position: absolute;
                height: 100%;
                width: 100%;
                .scale(0.7);
                background-color: fade(@white, 90%);
                .transition(all 0.35s ease-in-out);
                i{
                  font-size: 36px;
                  position: absolute;
                  top: 50%;
                  .translate(-50%,-50%);
                  .transition(all 0.35s ease-in-out);
                  &:hover{
                    color: @primary_color;
                  }
                }
              }
              &:hover{
                .grid-image-hover{
                  opacity: 1;
                  .scale(0.9);
                }
              }
            }
          }
        }
      }
    }
    .col-md-4 {
      text-align: left;
      .portfolio-info {
        h2{
          margin-top: 0;
          position: relative;
          font-size: 24px;
          font-weight: bold;
          text-transform: uppercase;
          padding-bottom: 15px;
          &:before{
            content: '';
            height: 1px;
            width: 50px;
            background-color: @primary_color;
            position: absolute;
            bottom: 0;
            left: 0;
          }
        }
      }
      .portfolio-info {
        .portfolio-info-box {
          h6{
            font-size: 18px;
            margin-top: 30px;
            color: @secondary_color;
            font-weight: bold;
          }
          div{
            line-height: 1.4;
            color: @secondary_color; 
          }
          .portfolio-term-cat{
            span{
              text-transform: uppercase;
            }
          }
          .portfolio-term-tag {
            span {
              padding: 5px 10px;
              background: #f6f6f6;
              margin-right: 5px;
              display: inline-block;
              margin-top: 5px;
              &:hover {
                background: @primary_color;
              }
            }
          }
          .portfolio-social-profile-wrapper {
            list-style: none;
            list-style-type: none;
            padding: 0;
            li {
              display: inline-block;
              margin: 0 9px;
              width: 40px;
              height: 40px;
              float: left;
              border: 1px solid @border_color;
              a{
                display: block;
                i{
                  line-height: 38px;
                  width: 40px;
                  text-align: center;
                }
              }
              &:first-child{
                margin-left: 0;
              }
              &:last-child{
                margin-right: 0;
              }
            }
          }
        } 
      }
    }
  }
  &.detail-05{
    .container{
      margin-top: 100px;
      .col-md-12{
        img{
          width: 100%;
        }
        .post-grid{
          .col-md-4{
            .item{
              position: relative;
              margin-bottom: 30px;
              .grid-image-hover{
                opacity: 0;
                top: 0;
                left: 0;
                position: absolute;
                height: 100%;
                width: 100%;
                .scale(0.7);
                background-color: fade(@white, 90%);
                .transition(all 0.35s ease-in-out);
                i{
                  font-size: 36px;
                  position: absolute;
                  top: 50%;
                  left: 50%;
                  .translate(-50%,-50%);
                  .transition(all 0.35s ease-in-out);
                  &:hover{
                    color: @primary_color;
                  }
                }
              }
              &:hover{
                .grid-image-hover{
                  opacity: 1;
                  .scale(0.9);
                }
              }
            }
          }
        }
      }
      &.portfolio-content-wrap{
        margin-top: 50px;
        .col-md-8 {
          text-align: left;
          .portfolio-info {
            h2{
              color: @secondary_color;
              margin-top: 0;
              position: relative;
              font-size: 24px;
              font-weight: bold;
              text-transform: uppercase;
              padding-bottom: 15px;
              &:before{
                content: '';
                height: 1px;
                width: 50px;
                background-color: @primary_color;
                position: absolute;
                bottom: 0;
                left: 0;
              }
            }
          }
        }
        .col-md-4{
          .portfolio-info {
            .portfolio-info-box {
              &:first-child{
                h6{
                  margin-top: 0;
                }
              }
              h6{
                font-size: 18px;
                margin-top: 30px;
                color: @secondary_color;
                font-weight: bold;
              }
              div{
                line-height: 1.4;
                color: @secondary_color; 
              }
              .portfolio-term-cat{
                span{
                  text-transform: uppercase;
                }
              }
              .portfolio-term-tag {
                span {
                  padding: 5px 10px;
                  background: #f6f6f6;
                  margin-right: 5px;
                  display: inline-block;
                  margin-top: 5px;
                  &:hover {
                    background: @primary_color;
                  }
                }
              }
              .portfolio-social-profile-wrapper {
                list-style: none;
                list-style-type: none;
                padding: 0;
                li {
                  display: inline-block;
                  margin: 0 9px;
                  width: 40px;
                  height: 40px;
                  float: left;
                  border: 1px solid @border_color;
                  a{
                    display: block;
                    i{
                      line-height: 38px;
                      width: 40px;
                      text-align: center;
                    }
                  }
                  &:first-child{
                    margin-left: 0;
                  }
                  &:last-child{
                    margin-right: 0;
                  }
                }
              }
            } 
          }
        }
      }
    }

    
  }
}
.portfolio-related-wrap{
  .heading-wrap{
    .post-navigation{
      margin-top: 100px;
      .nav-links{
        .nav-previous,.nav-next{
          .post-navigation-content{
            display: none;
          }
        }
        a{
          div{
            i{
              color: @secondary_color;
              top: 0;
              margin-top: 0;
              text-align: center;
              height: 50px;
              width: 60px;
              line-height: 50px;
              background-color: #f6f6f6;
              .transition( all 0.35s ease );
            }
            &:hover{
              i{
                color: @primary_color;
              }
            }
          }
        }
        > i{
          color: @secondary_color;
          line-height: 50px;
          font-size: 28px;
          .transition( all 0.35s ease );
        }
      }
    }
    .heading {
      text-align: center;
      text-transform: uppercase;
      color: @secondary_color;
      font-size: 36px;
      margin-top: 70px;
      .heading-icon{
        font-size: 14px;
        height: 30px;
        width: 30px;
        line-height: 30px;
        position: relative;
        margin: 0 auto;
        z-index: 1;
        i{
          font-size: 12px;
          color: #6fd9ec;
          height: 30px;
          width: 30px;
          background-color: @white;
          line-height: 30px;
          position: relative;
          margin: 0 auto;
          z-index: 1;
        }
        &:before{
          content: '';
          width: 70px;
          height: 1px;
          background-color: @border_color;
          position: absolute;
          top: 50%;
          left: 50%;
          .translate(-50%, -50%);
          z-index: -1;
        }
      }
      @media(max-width:479px){
        font-size: 24px;
        margin-top: 50px;
      }
    }
  }
  .portfolio-related{
    margin-top: 60px;
    margin-bottom: 100px;
    position: relative;
    &.portfolio-wrapper{
      .portfolio-item{
        width: 100% !important;
        padding: 0 15px;
      }
    }
    .owl-nav{
      div{
        position: absolute;
        top: 50%;
        .translate(0, -50%);
        .rounded(0);
        height: 44px;
        width: 44px;
        padding: 0;
        background-color: fade(gray, 50%);
        text-align: center;
        .transition(all 0.35s ease);
        i{
          font-size: 24px;
          color: @white;
          line-height: 44px;
        }
        &:hover{
          background-color: @primary_color;
        }
      }
      .owl-prev{
        left: -10px;
      }
      .owl-next{
        right: -10px;
      }
    }
  }
}