/*-------------- unwrap -----------------*/
.unwrap {
  margin-bottom: 24px;

  &__head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    .btn {
      padding: 0 30px;
    }
  }

  &__head-content {
    display: flex;
    align-items: center;
    width: 50%;

    .btn,
    .btn-more {
      margin-left: 16px;
    }
  }

  &__head .form-search {
    display: none;
    margin-top: -3px;
  }

  &.active &__head .form-search {
    display: block;
  }

  &__title {
    max-width: calc(100% - 34px);
    margin-left: 4px;
  }

  &__arr {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 0 -2px 0 -9px;
    transform: rotate(-90deg);
  }

  &__title,
  &__count {
    @include font(normal, 600, rem(18px), 1.3, $color-dark-grey);
    text-transform: uppercase;
  }

  &__content {
    display: none;
    padding-top: 12px;
  }

  &.active &__arr {
    transform: rotate(0);
  }

  &.active &__content {
    display: block;
  }

  .form-search input[type="text"] {
    height: rem(25px);
    line-height: rem(23px);
    padding-top: 0;
  }

  &__text {
    @include font(normal, normal, rem(14px), 1.43, $color-dark-grey);
    padding-left: 23px;
    margin-bottom: 12px;
  }

  .admin-table-detail-wrap {
    height: 340px;
    margin-bottom: 24px;

    &_small {
      height: 150px;
    }
  }

  .empty-block {
    margin-top: 0;

    &__head {
      margin-top: 10px;
    }

    &__img {
      margin-top: 28px;
      margin-bottom: 23px;
    }
  }

  &_empty &__arr,
  &_empty &__content{
    display: none;
  }

  &_empty &__title{margin-left: 0;}
}

@media (max-width: 767px) {
	.unwrap{
		&__head{
			flex-wrap: wrap;
		}

		&__head-content{
			width: 100%;
		}

		&.active &__head .form-search{display: none;}
	}
}
