html {
  font-family: "Lato", Sans-serif;
}
.search-form .category-container button {
  background-color: #fff !important;
  border: none !important;
}

.search-form {
  position: relative;
  width: 100% !important;
  max-width: var(--wp--style--global--wide-size) !important;
}

.search-result,
.category-result {
  width: 100% !important;
}
.category-button {
  display: flex;
  font-size: 16px !important;
  font-weight: 300 !important;
  position: relative !important;
  justify-content: center;
  @media (min-width: 900px) {
    font-size: 18px !important;
  }
}

.arrow {
  width: 20px;
  transition: transform 0.3s ease;
}
.district_button.open .arrow {
  transform: rotate(180deg);
}
.company_button.open .arrow {
  transform: rotate(180deg);
}
.category-button button {
  outline: none;
  display: flex;
  justify-content: space-between !important;
  align-items: center !important;
  height: 51px !important;
  color: #1b2326 !important;
  background-color: #fff;
  text-align: left;
  padding: 0px !important;
  border: solid 1px #c6c8c9 !important;
  padding: 12px 16px !important;
  width: 240px !important;
  @media (min-width: 900px) {
    width: 270px !important;
  }
}
.reset-button {
  outline: none;
  font-size: 12px !important;
  display: block !important;
  width: 240px;
  height: 51px;
  align-self: center !important;
  color: #fff !important;
  background-color: #e73a3b !important;
  border: none !important;
  text-align: center !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
  @media (min-width: 640px) {
    width: 196px;
  }
}
.cat-option {
  padding: 0.5rem 1rem !important;
  height: 51px !important;
  cursor: pointer !important;
  display: flex !important;
  color: #1b2326 !important;
  align-items: center !important;
}
.input-row {
  display: flex;
  gap: 16px;
  flex-flow: column;
  justify-content: center;
  @media (min-width: 900px) {
    flex-flow: row;
  }
  @media (min-width: 640px) {
    gap: 24px;
  }
}
.category-container {
  display: flex;
  flex-flow: column;
  justify-content: center;
  gap: 16px;
  @media (min-width: 640px) {
    flex-flow: row;
    gap: 24px;
  }
}

/* Hover / Fokus */
.search-form .category-container button {
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.search-form .category-container button:hover,
.search-form .category-container button.open {
  box-shadow: inset 0 0 0 1px #1b2326, 0 6px 16px -8px rgba(27, 35, 38, 0.35);
}
.search-form .category-container button:not(.open):hover .arrow {
  transform: translateY(2px);
}
.reset-button:hover {
  background-color: #c92f30 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -8px rgba(231, 58, 59, 0.6);
}
.reset-button:active {
  transform: translateY(0);
  box-shadow: none;
}
.cat-option {
  transition: background-color 0.15s ease, padding-left 0.15s ease,
    box-shadow 0.15s ease;
}
.cat-option:hover,
.search-form .cat-option:focus-visible {
  background-color: #f3f3f3 !important;
  box-shadow: inset 3px 0 0 #e73a3b;
  padding-left: 1.25rem !important;
  outline: none;
}
.category-button button:focus-visible,
.reset-button:focus-visible,
.type-selector:focus-visible {
  outline: 2px solid #325472;
  outline-offset: 2px;
}
.options-container {
  z-index: 5 !important;
  position: absolute !important;
  width: 100% !important;
  max-height: 300px !important;
  background-color: #fff !important;
  overflow: auto !important;
  display: none;
  margin-top: 56px !important;
  border: solid 1px #c6c8c9 !important;
  box-shadow: 0 12px 28px -12px rgba(27, 35, 38, 0.3);
}

#loading {
  display: none;
  position: absolute !important;
  inset: 0;
  justify-content: center !important;
  align-items: center !important;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px); /* Safari-specific */
  transform: translate(0%, 0%);
  z-index: 9999;
}

/* Spinner style */
.spinner {
  width: 50px;
  opacity: 1;
  height: 50px;
  border: 5px solid #e73a3b;
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s infinite linear;
}

/* Animation for the spinner */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.open_jobs_container {
  @media (max-width: 1300px) and (min-width: 1024px) {
    .e-con-inner {
      flex-flow: column !important;
      align-items: center !important;
    }
    .open_jobs_heading {
      margin-bottom: 120px !important;
      align-items: center !important;
      text-align: center !important;
    }
  }
}
