.jobs_container h8 {
  display: flex;
  margin: 20px 0;
  color: #7b7b7b;
  font-size: var(--e-global-typography-d91b568-font-size);
  font-weight: var(--e-global-typography-d91b568-font-weight);
  line-height: var(--e-global-typography-d91b568-line-height);
  word-spacing: var(--e-global-typography-d91b568-word-spacing);
  letter-spacing: var(--e-global-typography-d91b568-letter-spacing);
  font-family: var(--e-global-typography-d91b568-font-family), Sans-serif;
}
.jobs_container h8.active {
  font-weight: bold;
  color: var(--e-global-color-primary);
}

.job_row {
  opacity: 1;
  max-height: 500px;
  transform: scaleY(1);
  transform-origin: top;
  border-bottom: 1px solid var(--e-global-color-primary);
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out,
    transform 0.3s ease-in-out;
}
.job_row.hidden {
  margin: 0;
  padding: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: scaleY(0);
  transform-origin: top;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out,
    transform 0.3s ease-in-out;
  border-bottom: 0;
}

.filters_wrap {
  top: 14%;
  position: sticky !important;
  overflow: hidden;
  height: calc(100vh - 200px);
}

@media (min-width: 1200px) {
  .filters_wrap .filters h8 {
    margin: 6px 0px;
    font-size: 14px;
  }
}

@media (min-width: 1366px) {
  .filters_wrap .filters h8 {
    margin: 10px 0px;
    font-size: 16px;
  }
}

@media (min-width: 1700px) {
  .filters_wrap .filters h8 {
    margin: 20px 0px;
  }
}

.jobs_wrap {
  min-height: 200px;
}
.jobs_wrap h8 {
  color: var(--e-global-color-primary);
}

.jobs_container h7 {
  font-family: var(--e-global-typography-547cd0e-font-family), Sans-serif;
  font-size: var(--e-global-typography-547cd0e-font-size);
  font-weight: 500;
  line-height: var(--e-global-typography-547cd0e-line-height);
  letter-spacing: var(--e-global-typography-547cd0e-letter-spacing);
  word-spacing: var(--e-global-typography-547cd0e-word-spacing);
}

@media (max-width: 767px) {
  .jobs_container h7 {
    font-size: 14px !important;
  }
}
@media (max-width: 768px) {
  .job_row .title_mobile .date {
    font-size: 10px;
    margin-bottom: 0;
    line-height: 0;
  }
  .job_row .title_mobile .country {
    font-size: 12px;
    margin-top: 8px;
    line-height: 0;
  }
}

@media (max-width: 1199px) {
  .filters_wrap {
    display: none;
  }
  .jobs_container h7 {
    font-size: 18px;
  }
}

.jobs_container .hr {
  background: #7b7b7b;
  height: 1px;
}

.card-btn {
  padding: 12px 12px;
  border: 1px solid var(--e-global-color-primary);
}

@media (max-width: 640px) {
  .card-btn {
    padding: 10px;
  }
}

.filters span {
  cursor: pointer;
}

.filters span:hover {
  color: var(--e-global-color-primary);
}

.jobs_container a {
  line-height: 0;
}

/* Style for the custom select container */
.custom-filter-select {
  position: relative;
  width: 100%; /* Adjust the width as needed */
  border: 1px solid var(--e-global-color-primary);
  cursor: pointer;
  user-select: none;
  padding: 12px;
  background-color: #fff;
  margin-bottom: 40px;
}

/* Style for the selected option text */
.selected-option {
  display: block;
  padding-right: 30px; /* Add space for the custom arrow */
  font-size: 16px;
  color: var(--e-global-color-primary);
}

.custom-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 13px; /* Adjust the width and height as needed */
  height: 8px;
  background-image: url('../img/filter-down-arrow.png'); /* Replace 'arrow.png' with your image path */
  background-size: contain; /* Ensure the image fits within the container */
  background-repeat: no-repeat;
  transition: transform 0.3s ease; /* Add a transition for smooth rotation */
}

/* Style for the custom arrow image when the options list is open */
.custom-filter-select.open .custom-arrow {
  transform: translateY(-50%) rotate(180deg); /* Rotate the arrow 180 degrees */
}

/* Style for the options list */
.options {
  top: 100%;
  left: -1px;
  z-index: 1;
  width: 100.5%;
  margin: 1px 0;
  display: none;
  padding: 5px 0px;
  border-top: none;
  position: absolute;
  list-style-type: none;
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--e-global-color-primary);
}

/* Style for individual options */
.options li {
  padding: 3px 12px;
  cursor: pointer;
  font-size: 16px;
  color: var(--e-global-color-primary);
}

/* Hover effect for options */
.options li:hover {
  background-color: #f2f2f2;
}
.search_query {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 30px;
}
.search_query div {
  background: #eee;
  padding: 5px 14px 5px 20px;
  display: flex;
  min-width: 300px;
  border-radius: 10px;
  justify-content: space-between;
}
.string_value {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.close_search {
  cursor: pointer;
  padding: 0 6px;
}
