/* homogenize font family, size and style between bs3 and bs4 pages */
.job-family-dropdown {
  text-align: left;
  position: relative;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #fff;
}
.job-family-dropdown.open {
  outline: 2px solid #268DEC;
}
.job-family-dropdown.comp-table {
  border-radius: 4px;
}
.job-family-dropdown.verified {
  border-radius: 0.3rem 0.3rem 0 0;
  border-bottom: 0;
}
.job-family-input {
  padding: 6px 12px;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.job-family-input__text {
  overflow-x: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.job-family-input__arrow {
  transition: all 0.15s linear;
}
.job-family-input.comp-table {
  line-height: 1.75;
  border-radius: 4px;
  margin-bottom: -2px;
  padding: 0.5rem 1rem;
}
.job-family-input.comp-table ~ ul {
  border-radius: 4px;
}
.job-family-input.verified ~ ul {
  border-radius: 0 0 10px 10px;
}
.job-family-list {
  left: -3px;
  width: calc(100% + 6px);
  position: absolute;
  overflow-y: auto;
  margin-bottom: 0;
  height: 500px;
  list-style: none;
  padding: 0 12px;
  border: 1px solid #ccc;
  z-index: 10000;
  background: #fff;
  transition: all 0.15s linear;
  border-radius: 10px;
  margin-top: 3px;
}
.job-family-list.closed {
  height: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.15s linear;
}
.job-family-category {
  color: #777;
  line-height: 2;
  font-weight: 700;
}
.job-family-item {
  padding-left: 10px;
  line-height: 1.75;
  cursor: pointer;
  transition: all 0.15s ease-out;
}
.job-family-item:hover {
  background: #eee;
  transform: translateX(3px);
  font-weight: 600;
}
.job-family-item > a {
  display: block;
  text-decoration: none;
  color: #333;
  width: 100%;
}
.job-family-item > a:hover, .job-family-item > a:click {
  text-decoration: none;
  color: inherit;
}

@media screen and (max-width: 1000px) {
  .job-family-dropdown[data-page=home-page] {
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 991px) {
  .job-family-dropdown:not(.region-page) li {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .job-family-dropdown.region-page a.region-page-selector-item {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}
@media screen and (max-width: 767px) {
  .job-family-dropdown.comp-table {
    margin-bottom: 10px;
  }
}