/*
 * Shortcode: projects.scss
 * -----------------------------------------------
*/
.tm-project  {
  .projects-current-theme-style1 {
    position: relative;
    overflow: hidden;
    .thumb {
      overflow: hidden;
      position: relative;
      -webkit-transform: scale(1);
      -moz-transform: scale(1);
      transform: scale(1);
      -webkit-transition: transform 0.5s cubic-bezier(.57,.04,.06,.84), opacity 0s;
      transition: transform 0.5s cubic-bezier(.57,.04,.06,.84), opacity 0s;
    }
    .tm-project-content-wrapper {
      box-sizing: border-box;
      padding: 0;
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      width: 100%;
      .tm-project-content {
        display: table;
        height: 100%;
        width: 100%;
        overflow: hidden;
        &:after {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          bottom: 0;
          right: 0;
          opacity: 0;
          -webkit-transform-origin: 0 0;
          -moz-transform-origin: 0 0;
          transform-origin: 0 0;
          -webkit-transform: scaleY(0);
          -moz-transform: scaleY(0);
          transform: scaleY(0);
          -webkit-transition: transform 0.5s cubic-bezier(.57,.04,.06,.84), opacity 0s 0.5s;
          transition: transform 0.5s cubic-bezier(.57,.04,.06,.84), opacity 0s 0.5s;
          background-color: rgba(var(--theme-color4-rgb), 0.9);
        }
        .tm-project-content-inner {
          display: block;
          padding: 50px;
          height: 100%;
          width: 100%;
          position: absolute;
          vertical-align: middle;
          z-index: 9;
          .project-detials {
            overflow: hidden;
            bottom: 45px;
            position: absolute;
            .category {
              a {
                color: var(--theme-color1);
                font-size: 14px;
                letter-spacing: 1px;
                margin-bottom: 0;
                text-transform: uppercase;
              }
            }
            .title {
              color: #fff;
              margin-top: 0;
              text-transform: uppercase;
              a {
                &:hover,
                &:focus {
                  color: var(--theme-color1);
                }
              }
            }
          }
          .cat-list {
            list-style: none;
            margin: 0;
            li {
              display: inline;
              color: #fff;
              margin-right: 10px;
              a {
                color: #fff;
              }
              &:last-child {
                span {
                  display: none;
                }
              }
            }
          }
          .cat-list, .title, .styled-icons {
            position: relative;
            opacity: 0;
            -webkit-transform: translate3d(0, -100%, 0);
            -moz-transform: translate3d(0, -100%, 0);
            transform: translate3d(0, -100%, 0);
            -webkit-transition: -webkit-transform .4s, opacity .2s;
            transition: transform .4s, opacity .2s;
            will-change: transform, opacity;
          }
          .icons-holder-inner {
            top: 0;
            overflow: hidden;
            position: absolute;
            right: -4px;
            .styled-icons {
              .styled-icons-item {
                background-color: var(--theme-color1);
                border-radius: 0;
                color: $white;
                font-size: 24px;
                height: 73px;
                line-height: 70px;
                text-align: center;
                width: 75px;
              }
            }
          }
        }
      }
    }
    &:hover {
      .thumb {
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        transform: scale(1.1);
      }
      .tm-project-content-wrapper {
        .tm-project-content {
          &:after {
            opacity: 1;
            -webkit-transform: scaleY(1);
            -moz-transform: scaleY(1);
            transform: scaleY(1);
            -webkit-transition: transform 0.5s cubic-bezier(.57,.04,.06,.84), opacity 0s;
            transition: transform 0.5s cubic-bezier(.57,.04,.06,.84), opacity 0s;
          }
          .tm-project-content-inner {
            .cat-list {
              opacity: 1;
              -webkit-transform: translate3d(0, 0, 0);
              -moz-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
              -webkit-transition: -webkit-transform 0.6s cubic-bezier(.57,.04,.06,.84) 0.1s, opacity 0.2s 0.1s;
              transition: transform 0.6s cubic-bezier(.57,.04,.06,.84) 0.1s, opacity 0.2s 0.1s;
            }
            .title {
              opacity: 1;
              -webkit-transform: translate3d(0, 0, 0);
              -moz-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
              -webkit-transition: -webkit-transform 0.6s cubic-bezier(.57,.04,.06,.84) 0.1s, opacity 0.2s 0.1s;
              transition: transform 0.6s cubic-bezier(.57,.04,.06,.84) 0.1s, opacity 0.2s 0.1s;
            }
            .styled-icons {
              opacity: 1;
              -webkit-transform: translate3d(0, 0, 0);
              -moz-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
              -webkit-transition: -webkit-transform 0.6s cubic-bezier(.57,.04,.06,.84) 0.2s, opacity 0.2s 0.2s;
              transition: transform 0.6s cubic-bezier(.57,.04,.06,.84) 0.2s, opacity 0.2s 0.2s;
            }
          }
        }
      }
    }
  }
}