.woocs__tabs {
  font-family: $general-font-family;
  font-size: $general-font-size;
  color: #161c2d;
  line-height: 1.5rem;
  box-shadow: $box-shadow;

  &:not(:last-child) {
    margin-bottom: 1.2rem;
  }

  img {
    height: auto;
    max-width: 100%;
  }

  a {
    transition: color .25s ease;

    &:focus {
      box-shadow: none;
      outline: none;
    }
  }

  .woocs__tabs-nav {
    margin-bottom: 0;
    border-bottom: 1px solid #dee2e6;
    background-color: $white-bg-color;
    border-radius: $border-radius $border-radius 0 0;

    > ul {
      display: flex;
      flex-flow: wrap;

      @media (max-width: 1025px) {
        li {
          flex-basis: 50%;
        }
      }

      @media (max-width: 575px) {
        li {
          flex-basis: 100%;
        }
      }

      li {
        padding: 5px;

        @media (min-width: 576px) {
          flex: 1;
        }

        a {
          display: block;
          padding: 0.5rem 0.7rem;
          color: #495057;
          font-weight: 600;
          background: none;
          border-radius: $border-radius;
          font-size: 1rem;
          text-align: center;
          transition: all 0.5s ease;
          text-decoration: none;
          white-space: nowrap;
          border: 1px solid transparent;

          i {
            margin-right: 3px;
          }

          @media (max-width: 1140px) { padding: 0.5rem .7rem; }
          @media (max-width: 985px)  { padding: 0.5rem; }

          &.woocs-active {
            background-color: #2f55d4;
            color: #fff;

            i {
              display: none;
            }
          }

          &:hover {
            border-color: #2f55d4;
          }
        }
      }

    }

  }

  .woocs__tab-content {
    position: relative;

    > .woocs__tab-pane {
        position: relative;
        display: none;
        flex-direction: column;
        word-wrap: break-word;
        background-clip: border-box;
        border-radius: $border-radius;
        transition: opacity 0.15s linear;

        &.woocs-active     { display: block; }
        &:not(.woocs-show) { opacity: 0; }
    }

    .woocs__tab-content {
      border-radius: 0 0 $border-radius $border-radius;
      background-color: $white-bg-color;
    }

    .woocs__tab-content-list {

      &-item {
        padding: 5px;
        transition: background-color .25s ease;

        &:not(:last-child) {
          border-bottom: 1px solid #dee2e6;
        }

        &:hover {
          background-color: #f8f9fa;
        }

      }

      &-item-profile {

        .woocs_fields {
          @include flex-center;

          > * {
            &:not(:last-child) {
              margin-right: 10px;
            }

            @media (max-width: 1300px) {
              margin-bottom: 10px;
            }

          }

          input[type="text"] {

            @media (min-width: 576px) {
              max-width: 300px;
              min-width: 300px;
            }

          }

        }

        .woocs__profiles-add-to-rules {
          display: flex;

          > *:not(:first-child) {
            margin-left: 10px;
          }
        }

      }

    }

  }

}