@charset "UTF-8";
.employee_menu {
  display: grid;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px dashed var(--c-line);
}
.employee_menu ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}
.employee_menu ul::before {
  content: "prejsť na oddelenie";
  font-size: 0.875rem;
  flex: 100%;
  width: 100%;
  color: var(--c-muted);
}
.employee_menu ul li {
  list-style-type: none;
}
.employee_menu .button--small {
  padding: 0.35rem 0.65rem;
}
.employee_search {
  max-width: 450px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-weight: var(--w-regular);
  font-size: 1rem;
  color: var(--c-muted);
}
.employee_search svg {
  color: var(--c-blue);
}
.employee h2 {
  margin: 2rem 0 1rem 0;
  scroll-margin-top: 200px;
}
.employee_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin: 2rem 0;
  width: 100%;
  padding-bottom: 2rem;
  border-bottom: 1px dashed var(--c-line);
}
.employee_item {
  display: grid;
  gap: 0.5rem;
}
.employee_item img {
  border-radius: 2px;
  max-width: 100%;
}
.employee_item a {
  text-decoration: none;
  color: var(--c-text);
}
.employee_item_image {
  background-color: var(--c-line);
  border-radius: 2px;
  display: grid;
  place-items: center;
  aspect-ratio: 1/1;
}
.employee_item_image svg {
  color: var(--c-line-4);
  height: 40%;
  width: 40%;
  min-width: 3rem;
  min-height: 3rem;
  stroke-width: 0.5px;
}
.employee_item .name {
  font-size: 1.2rem;
  display: block;
  font-weight: var(--w-bold);
  margin: 0.5rem 0 0 0;
}
.employee_item .position {
  color: var(--c-muted);
}
.employee_item .email {
  font-size: 0.875rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.employee_modal {
  max-height: 70svh;
  height: 100%;
  overflow: hidden;
}
.employee_modal .modal_body {
  padding: 0;
  height: 100%;
  overflow: auto;
}
.employee_modal .modal_title {
  padding: 0;
}
.employee_modal .modal_title input {
  padding: 1rem;
  border: 0;
  width: 100%;
}
.employee_modal .modal_title input:focus-visible {
  outline: 0;
}
.employee_modal ul {
  margin: 0;
  padding: 0;
  display: grid;
}
.employee_modal ul li {
  list-style-type: none;
  width: 100%;
  border-bottom: 1px dashed var(--c-line);
}
.employee_modal ul li a {
  display: flex;
  padding: 0.5rem 1rem;
  justify-content: space-between;
  width: calc(100% - 2rem);
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--c-text);
}
.employee_modal ul li .name {
  display: grid;
}
.employee_modal ul li .name b {
  font-size: 1rem;
  font-weight: var(--w-semibold);
}
.employee_modal ul li .name span {
  color: var(--c-muted);
  font-size: 0.75rem;
}
.employee_modal ul li .email {
  color: var(--c-muted);
  font-size: 0.75rem;
}
.employee_modal ul li .button--small {
  margin-left: auto;
}
.employee_back {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.875rem;
}
.employee_back svg {
  height: 21px;
  width: 21px;
  color: var(--c-red);
}
.employee_detail {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}
.employee_detail_info {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  width: 100%;
}
.employee_detail_image {
  background-color: var(--c-line);
  border-radius: 2px;
  display: grid;
  place-items: center;
  aspect-ratio: 1/1;
  flex-shrink: 1;
  align-self: start;
  max-width: 220px;
  width: 100%;
}
.employee_detail_image svg {
  color: var(--c-line-4);
  height: 40%;
  width: 40%;
  min-width: 3rem;
  min-height: 3rem;
  stroke-width: 0.5px;
}
.employee_detail_image img {
  width: 100%;
  border-radius: 2px;
  max-width: 300px;
}
.employee_detail_wrap > b {
  font-weight: var(--w-regular);
  letter-spacing: 1px;
  font-size: 0.75rem;
  color: var(--c-muted);
  text-transform: uppercase;
}
.employee_detail_wrap .item {
  margin: 1rem 0;
  display: grid;
}
.employee_detail_wrap .item small {
  color: var(--c-muted);
}
.employee_detail_wrap .item ul {
  margin: 0;
  padding: 0;
}
.employee_detail_wrap .item ul li {
  list-style-type: none;
  padding-bottom: 0.5rem;
}

@media screen and (max-width: 1024px) {
  .employee_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .employee_detail_info {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 768px) {
  .employee_menu {
    display: grid;
    gap: 1rem;
    gap: 1rem;
  }
  .employee_menu ul {
    order: 2;
    max-width: 525px;
    margin: auto;
  }
  .employee_search {
    order: 1;
    max-width: 425px;
    margin: auto;
  }
}
@media screen and (max-width: 525px) {
  .employee_modal_list li .email {
    display: none;
  }
}
@media screen and (max-width: 640px) {
  .employee_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .employee_detail {
    display: grid;
  }
  .employee_detail_name span {
    display: block;
  }
}
@media screen and (max-width: 375px) {
  .employee_grid {
    display: grid;
    grid-template-columns: 1fr;
  }
}
