#tcb-admin-dashboard-wrapper {
  max-width: 1370px;
  padding: 0 5px;
  .tvd-row {
    .tvd-col.tvd-s12 {
      h3 {
        font-size: 22px;
        #tcb-add-new-category {
          font-size: 14px;
          background-color: #3498db;
          padding: 0 25px;
          height: 36px;
          line-height: 36px;
          box-sizing: content-box;
          font-weight: 600;
        }
      }
    }
  }

  .tcb-admin-c-item-row {
    background-color: #fff;
    margin: 0 20px 40px 0;
    border-radius: 3px;
    padding: 12px 20px 20px;
    transition: all .5s ease;
    p {
      font-size: 13px !important;
      font-weight: 400 !important;
      margin: 10px 0 5px !important;
      color: #879198;
    }
    > div:first-child {
      margin: 0;
      > div {
        width: auto;
        padding: 0;
        &:first-child {
          width: calc(100% - 15px);
          div {
            width: calc(100% - 40px);
            display: inline-block;
            input {
              margin: 0 0 10px !important;
              display: block;
            }
          }
        }
        &:last-child {
          float: right;
          span {
            position: relative;
            top: 3px;
            &:hover {
              svg {
                fill: #FB5C55;
              }
            }
            svg {
              transition: fill .3s;
              fill: #95A5A6;
              width: 15px;
              height: 15px;
              cursor: pointer;
            }
          }
        }
        .tvd-card-title {

        }
        .tvd-icon-pencil {
          margin-left: 12px;
          &:before {
            font-size: 15px;
            color: #95A5A6;
            transition: color .3s;
          }
          &:hover:before {
            color: #50565F;
          }
        }
      }
    }
    .tvd-card-title {
      font-size: 19px;
      color: #393939;
    }
    .tcb-admin-c-item-card {
      border: 1px solid #f1f1f1;
      float: left;
      width: 300px;
      margin: 20px 20px 0 0;
      background-color: #fff;
      padding: 0;
      // box-shadow: 0 1px 10px rgba(0,0,0,0.15);
      border-radius: 3px;
      overflow: hidden;
      transition: all .3s;
      position: relative;
      .tvd-tooltipped {
        opacity: 0;
        transition: opacity .3s;
      }
      > div > div {
        &.tcb-admin-image-overlay-wrapper {
          text-align: center;
          height: 270px;
          position: relative;
          &:after {
            transition: all .3s;
            opacity: 0;
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background-color: rgba(0,0,0,.5);
          }
          &:hover {
            &:after {
              opacity: 1;
            }
            a.tcb-admin-preview-text {
              opacity: 1;
            }
          }
          a.tcb-admin-preview-text {
            transition: all .3s;
            opacity: 0;
            z-index: 5;
            position: absolute;
            line-height: 32px;
            font-size: 13px;
            color: #fff;
            background-color: transparent;
            border-radius: 3px;
            border: 1px solid #fff;
            top: calc(50% - 16px);
            padding: 0;
            width: 135px;
            left: calc(50% - 67.5px);
            &:hover {
              background-color: #fff;
              color: rgba(0,0,0,.7);
            }
          }
        }
        &:first-child {
          text-align: right;
          &:after {
            content: "";
            display: table;
            clear: both;
          }
        }
      }
      a.tvd-tooltipped {
        margin: 14px 10px 0 0;
        display: inline-block;
        &:first-of-type {
          margin-right: 5px;
        }
        &:hover {
          svg {
            fill: #FB5C55;
            &.tcb-admin-icon-move-symbol {
              fill: #50565F;
            }
          }
        }
        svg {
          transition: fill .3s;
          fill: #95A5A6;
          width: 15px;
          font-size: 15px;
          cursor: pointer;
        }
      }
      .tvd-row {
        margin-bottom: 0;
        .tcb-admin-image-overlay-wrapper {
          height: 150px;
          position: relative;
          .tcb-admin-image-overlay {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            height: 100%;
            width: 100%;
            opacity: 0;
            transition: .5s ease;
            background-color: #313b47;
            color: #FFF;
            .tvd-center {
              position: relative;
              top: 15px;
            }
            .tcb-admin-preview-text {
              cursor: pointer;
              border: 1px solid rgba(156, 161, 167, 0.5);
              border-radius: 2px;
              padding: 10px 35px;
              color: #fff;
              font-size: 14px;
              font-weight: 500;
              transition: all .5s;
              &:hover {
                color: #313b47;
                border-color: #fff;
                background-color: #fff;
              }
            }
            .tcb-admin-icon {
              width: 1.25em;
              height: 1.25em;
              position: relative;
              top: 5px;
            }
            .tcb-admin-delete-template-item {
              font-size: 19px;
              position: relative;
              top: 5px;
            }
          }
        }
      }
      .tcb-admin-template-name {
        line-height: 50px;
        padding: 0 20px 0 15px;
        position: relative;
        height: 50px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 81%;
        display: inline-block;
        float: left;
        text-align: left;
        .tvd-card-title {
          font-size: 17px;
        }
        .tcb-admin-edit-template-name {
          // display: none;
          cursor: pointer;
          line-height: 15px;
          position: absolute;
          top: 17px;
          right: 3px;
          &:hover:before {
            color: #50565F;
          }
          &:before {
            transition: color .3s;
            color: #95a5a6;
            font-size: 15px;
          }
        }
      }
      img { // The template Image
        max-width: 100%;
        max-height: 100px;
        margin: 0 auto;
        display: block;
        padding-top: 10px;
      }
      &:hover {
        .tvd-tooltipped {
          opacity: 1;
        }
        box-shadow: 0 3px 10px 0 rgba(153,153,153,.25);
        .tcb-admin-image-overlay-wrapper {
          .tcb-admin-image-overlay {
            opacity: 0.8;
          }
        }
        .tcb-admin-edit-template-name {
          display: block;
        }
      }
    }
    input[type=text]:focus:not([readonly]) {
      border-bottom: 1px solid #555;
      box-shadow: 0 1px 0 0 #555;
    }
    .tcb-admin-delete-category-item {
      //color: #95a5a6;
    }
    .tcb-admin-delete-category-item, .tcb-admin-edit-category-name {
      visibility: hidden;
    }
    &:hover {
      .tcb-admin-delete-category-item, .tcb-admin-edit-category-name {
        visibility: visible;
      }
    }
  }

  .tcb-admin-template-preview {
    background-color: #FFF;
    min-height: 400px;
    text-align: center;
    line-height: 400px;
    img {
      vertical-align: middle;
    }
  }

  #tcb-admin-edit-text {
    height: inherit;
    margin: 0;
  }

  .tcb-admin-show-more-less {
    background-color: #FFF;
    text-align: center;
    margin: -20px auto 0;
    width: 15%;
    position: relative;
    div {
      background-color: #F8F8F8;
      margin-top: 20px;
      color: #95a5a6;
      font-weight: 600;
      font-size: 12px;
      text-transform: uppercase;
      line-height: 2em;
    }
    &:after, &:before {
      content: "";
      position: absolute;
      top: 20px;
      border-top: 25px solid #F8F8F8;
    }
    &:after {
      right: 0;
      border-right: 20px solid #f1f1f1;
    }
    &:before {
      left: 0;
      border-left: 20px solid #f1f1f1;
    }
  }
}
