.unitar_staff_members {
  .staff_filter_area {
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 40px;
    @media (max-width: 991.98px) {
      margin-bottom: 30px;
    }
    @media (max-width: 767.98px) {
      margin-bottom: 20px;
    }
    form {
      .form_row {
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(4, 1fr);
        @media (max-width: 991.98px) {
          grid-template-columns: repeat(2, 1fr);
        }
        @media (max-width: 575.98px) {
          grid-template-columns: repeat(1, 1fr);
          gap: 10px;
        }
        .input_wrap {
          max-width: 100%;
        }
        .search_field_wrap {
          display: flex;
          flex-wrap: nowrap;
          align-items: flex-start;
          gap: 10px;

          [type="button"] {
            font-size: 14px;
            padding-left: 15px;
            padding-right: 15px;
            min-height: 46px;
            border: none;
            outline: none;
          }
        }
        .select2-container {
          width: 100% !important;
          max-width: 100%;
          .selection {
            width: 100%;
            .select2-selection {
              border: none !important;
              height: 45px;
              .select2-selection__rendered {
                line-height: 17px;
              }
            }
          }
          .select2-search--dropdown {
            padding: 0 !important;

            [type="search"] {
              min-height: 40px !important;
              padding: 5px 10px !important;
              border-radius: 5px;
            }
          }
        }
        .select2-container--open .select2-dropdown {
          margin-top: 0px;
          padding: 7px;
          border: none;
          background: #fff;
          box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
          border-radius: 10px;
        }
      }
    }
  }
  .staff_filter_posts {
    .staff_row {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      column-gap: 60px;
      row-gap: 24px;
      @media (max-width: 1199.98px) {
        column-gap: 40px;
      }
      @media (max-width: 991.98px) {
        grid-template-columns: repeat(1, 1fr);
        column-gap: 24px;
      }

      .staff_wrap {
        background: #fff;

        .inner {
          display: flex;
          flex-wrap: nowrap;
          /* align-items: center; */
          padding: 15px;
          gap: 20px;
          @media (max-width: 575.98px) {
            /* flex-wrap: wrap; */
            gap: 10px;
          }

          .img_wrap {
            position: relative;
            width: 160px;
            min-width: 160px;
            height: 180px;
            background-image: linear-gradient(180deg, #fea533 0%, #df5704 100%);
            display: flex;
            align-items: flex-end;
            justify-content: center;
            overflow: hidden;

            @media (max-width: 575.98px) {
              width: 100px;
              min-width: 100px;
              height: 110px;
            }
          }
          .text_wrap {
            @media (max-width: 575.98px) {
              width: 100%;
            }
            .staff_name {
              font-size: 18px;
              margin-bottom: 5px;
              line-height: 1.3;
              color: #024b72;
              @media (max-width: 575.98px) {
                font-size: 16px;
              }
            }
            p {
              font-size: 15px;
              color: #333333;
              line-height: 1.5;
              margin-bottom: 5px;

              @media (max-width: 575.98px) {
                font-size: 14px;
                margin-bottom: 3px;
              }
            }
            .staff_email {
              margin: 7px 0;
              display: flex;
              align-items: center;
              gap: 5px;
              a {
                font-size: 14px;
              }
              i {
                color: #ed7d31;
              }
            }
            .staff_view_profile {
              a {
                font-size: 14px;
                color: #ed7d31;
              }
            }
          }
        }
      }
    }
  }
  .page-numbers {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;

    li {
      span,
      a {
        font-size: 16px;
        min-width: 30px;
        height: 20px;
        line-height: 1;
        margin: 0;
        color: #333333;

        &.current {
          color: #ed7d31;
        }
      }
    }
  }
  #staff_load_more_wrap {
    margin-top: 30px;
    text-align: center;
    button {
      font-size: 15px;
    }
  }
}
.staff_message {
  text-align: center;
  p {
    font-size: 15px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;

    &.loading {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 999;

      span {
        font-size: 15px;
        color: #fff;
      }
    }
    &.error {
      color: #721c24;
      background-color: #f8d7da;
      border-color: #f5c6cb;
    }
  }
}
.img_cover {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.unitar_form_control {
  width: 100%;
  font-size: 15px;
  color: #444444;
}
.container_tm {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;

  @media (max-width: 1199.98px) {
    max-width: 1000px;
  }
  @media (max-width: 991.98px) {
    max-width: 800px;
  }
  @media (max-width: 767.98px) {
    max-width: 600px;
  }
  @media (max-width: 609.98px) {
    max-width: 100%;
  }
}
