@import url('https://fonts.googleapis.com/css?family=Roboto:500');

.tvd-notifications {
  color: red;
}

#tvd-notifications-btn {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  display: inline-block;
  border-radius: 50%;
  margin: 0 0 0 20px;
  background: #57A21D url('../images/bell.png') center no-repeat;
  #wpbody & {
    padding: 0;
  }
}
.ni-inbox-counter {
  position: relative;
  span {
    position: absolute;
    top: 17px;
    left: 32px;
    display: inline-block;
    cursor: pointer;
    // border: 1px solid #fff;
    background-color: #D0021B;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    border-radius: 8px;
    text-align: center;
    padding: 0 5px;
  }
}
.tvd-inbox-holder {
  position: absolute;
  top: 60px;
  right: 0;
  background: #fff;
  width: 360px;
  height: 335px;
  box-shadow: 0 3px 6px 0 rgba(99,99,99,.5);
  border-radius: 3px;
  z-index: 10;
  font-family: 'Roboto', sans-serif;
  li {
    float: left;
    width: 100%;
  }
}
.tvd-ni-detail-data {
  line-height: 1.33;
  #wpbody & a {
    color: #0a5cc1;
    text-decoration: underline;
    &:hover {
      color: #0877ff;
    }
  }
}
.tvd-ni-inbox-detail {
  padding: 25px;
  #wpbody & {
    line-height: 14px;
    font-size: 12px;
    color: #4d4d4d;
  }
  .tvd-ni-detail-title {
    font-weight: 500;
    font-size: 14px;
    margin: 0 0 15px;
    line-height: 19px;
  }
  .ni-go-back {
    cursor: pointer;
    color: #57a21d;
    font-size: 12px;
    margin: 20px 0 0;
    display: inline-block;
    font-weight: 500;
    &:hover {
      color: #388100;
    }
  }
}
.tvd-notification-header {
  height: 30px;
  background-color: #57A21D;
  display: flex;
  padding: 0 10px 0 25px;
  border-radius: 3px 3px 0 0;
  position: relative;
  &:after {
    content: '';
    position: absolute;
    top: -8px;
    right: 49px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 9px solid #57A21D;
  }
  .tvd-ni-single-header {

  }
  #wpbody & span {
    line-height: 30px;
    &.tvd-ni-box-title {
      width: 65%;
      font-size: 14px;
      color: #fff;
      font-weight: 500;
    }
    &.tvd-ni-mark-read {
      width: 28%;
      color: #fff;
      text-decoration: underline;
      font-size: 12px;
      cursor: pointer;
      &.tvd-ni-disabled {
        pointer-events: none;
      }
    }
    &.tvd-ni-close {
      width: 7%;
      color: #fff;
      text-align: right;
      font-size: 12px;
      cursor: pointer;
      background: url('../images/times.png') center right no-repeat;
    }
  }
}
.tvd-ni-single-header {
  position: absolute;
  top: 0;
  width: 100%;
  height: 30px;
  left: 0;
  padding: 0 10px 0 0;
  display: flex;
  span {
    line-height: 30px;
    &.ni-go-back {
      width: 110px;
      font-size: 14px;
      color: #fff;
      margin: 0;
      padding: 0 0 0 25px;
      border-radius: 3px 0 0 0;
      background: url('../images/arrow-left.png') left 10px center no-repeat;
      &:hover {
        background-color: #388101;
        color: #fff;
      }
    }
    &.tvd-ni-close {
      width: calc(100% - 110px);
      color: #fff;
      text-align: right;
      font-size: 12px;
      cursor: pointer;
      background: url('../images/times.png') center right no-repeat;
    }
  }
}
.tvd-notification-wrapper {
  height: calc(100% - 30px);
  overflow: auto;
  &::-webkit-scrollbar {
    width: 4px;
  }
  &::-webkit-scrollbar-track {
    background-color: rgba(0,0,0,.05);
  }
  &::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,.2);
    border-radius: 2.5px;

  }
}
.td-inbox-item {
  padding: 10px 25px;
  cursor: pointer;
  position: relative;
  background-color: #fff;
  transition: all .15s;

  border-bottom: 1px solid rgba(0,0,0,.05);
  &.td-inbox-item-unread {
    background-color: rgba(219, 234, 208, .42);
    .td-inbox-date {
      color: #8AB36C;
    }
  }
  &:hover {
    background-color: #f2f2f2;
    .td-inbox-date {
      color: #a9a9a9;
    }
  }
  &:last-of-type {
    border: none;
  }
  #wpbody & {
    line-height: normal;
  }
  .td-inbox-title {
    line-height: 16px;
    font-size: 12px;
    color: #4d4d4d;
    display: inline-block;
    font-weight: 500;
  }
  .td-inbox-status-unread {
    position: absolute;
    left: 9px;
    top: 17px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #D0021B;
  }
  .td-inbox-date {
    font-size: 10px;
    color: #a9a9a9;
    display: block;
    margin: 3px 0 0;
    font-weight: 500;
  }
}
.tvd-ni-load {
  display: block;
  background-color: #fff;
  text-align: center;
  padding: 8px 15px 15px;
  border-top: 1px solid #f6f6f6;

  #wpbody & {
    line-height: 22px;
  }

  .tvd-ni-load-inner {
    line-height: 22px;
    background-color: #f1f1f1;
    color: #4d4d4d;
    font-size: 12px;
    display: inline-block;
    width: 100%;
    cursor: pointer;
    transition: all .15s;
    &:hover {
      color: #57A21D;
    }
  }
}
.tvd-ni-no-more-data, .tvd-ni-no-data {
  font-size: 12px;
  // font-weight: bold;
  color: #4d4d4d;
  padding: 0 25px;
}