.job-openings {
  display: flex;
  background-color: var(--fog-gray);
  margin: 0 2.5rem 2rem 2.5rem;
  padding: 8rem 3rem;
  align-items: center;
  justify-content: center;
}

.job-openings > .job-openings-main {
  display: flex;
  width: var(--max-screen-width);
  align-items: start;
  flex-direction: column;
}

.job-openings-main > h5.job-openings-main-title {
  font-size: var(--font-size-l);
  font-weight: var(--font-weight-bold);
  color: var(--blue);
  line-height: 1.5rem;
  letter-spacing: 0.5em;
  margin-bottom: 1rem;
}

.job-openings-main > .job-openings-current {
  margin-top: 0;
  color: var(--main-text-color);
  font-size: var(--font-size-xxxl);
  font-weight: var(--font-weight-bold);
  line-height: 3.125rem;
}

.jobs-middle-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
}

.jobs-middle-wrapper > .job-openings-side-image {
  position: relative;
  width: 35%;
  margin-right: 4rem;
}

.jobs-middle-wrapper > .job-openings-side-image > .job-desk {
  position: absolute;
  top: 3.563rem;
  left: -0.438rem;
  width: 100%;
  height: auto;
}

.job-listing {
  flex: 2;
  padding-left: 2rem;
}

.careers-statistics {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 1rem;
  margin-top: 7rem;
}

.company-stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 18.75rem;
  background-color: var(--white);
  color: var(--blue);
}

.company-stats-item > h1 {
  font-size: 6rem;
  margin-bottom: 0;
  margin-top: 3.8rem;
}

.company-stats-item > h4 {
  font-size: 1.188rem;
  margin-top: 0;
  line-height: 1.688rem;
  letter-spacing: 0.25rem;
}

.jobs-listing-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.job-search-comp {
  margin-left: 0;
  position: relative;
  margin-right: 1rem;
}

#no-jobs-found-image,
#sorry-no-jobs {
  display: none;
}

.sorry-no-jobs-title {
  font-size: var(--font-size-xxxxl);
  color: var(--blue);
  font-weight: var(--font-weight-bold);
  max-width: 45rem;
  line-height: 4.063rem;
}

.sorry-no-jobs-subtitle {
  margin-top: 2rem;
  font-size: var(--font-size-l);
  color: var(--placeholder-color);
  font-weight: var(--font-size-xxl);
  line-height: 2.375rem;
  max-width: 45rem;
}

#search-job {
  width: 14rem;
  display: flex;
  height: 2.875rem;
  align-items: center;
  padding: 0 2.188rem 0 0.938rem;
  gap: 0.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--light-grey);
  color: var(--placeholder-color);
  background: var(--fog-gray);
  font-size: var(--font-size-l);
}

#search-job:hover {
  border: 1px solid var(--checkbox-border-color);
}

#search-job:focus {
  outline: none;
}

#search-job::placeholder {
  color: var(--placeholder-color);
}

.job-search-comp > .search-icon-container {
  position: absolute;
  top: 54%;
  right: 1rem;
  transform: translateY(-50%);
}

.job-search-comp > img.search-icon {
  width: 1.25rem;
  height: auto;
  cursor: pointer;
}

.filter-jobs-container {
  width: 12rem;
}

#filter-jobs {
  display: flex;
  color: var(--placeholder-color);
  border: 1px solid var(--light-grey);
  border-radius: var(--border-radius);
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease-out;
  background: var(--fog-gray);
  align-items: center;
  max-width: 12rem;
  width: 12rem;
  height: 3rem;
  flex-direction: row;
  justify-content: space-between;
}

#filter-jobs::placeholder {
  color: var(--placeholder-color);
}

#filter-jobs > .filter-selector {
  color: var(--placeholder-color);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-l);
  padding: 0 0.3rem 0 0;
  min-width: 6.25rem;
}
#filter-jobs:hover {
  border: 1px solid var(--checkbox-border-color);
}

#filter-jobs > .filter-selector > img {
  width: 1.25rem;
  height: auto;
  color: var(--placeholder-color);
}

.job-items {
  box-sizing: border-box;
  margin-left: 1rem;
  margin-top: 0;
}

.job-item {
  border: 1px solid var(--light-grey);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.job-item > .job-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: auto;
}

.job-title {
  color: var(--main-text-color);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-xxxl);
  margin: 0;
  text-decoration: none;
}

.job-title:hover {
  color: var(--black);
}

.job-location {
  color: var(--main-text-color);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-xxl);
  margin: 0;
}
.job-address {
  display: flex;
  flex-direction: row;
  margin-top: 0.5rem;
}

.job-address > a {
  margin-left: 0.5rem;
  color: var(--placeholder-color);
  font-weight: var(--font-weight-regular);
  text-decoration: underline;
  font-size: var(--font-size-l);
  line-height: 1.5rem;
}

.job-item > .job-footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}

.job-type {
  font-size: var(--font-size-l);
  line-height: 1.5rem;
  font-weight: var(--font-weight-regular);
  color: var(--placeholder-color);
}

.job-item:first-child {
  margin-top: 0;
}

#job-items {
  margin-top: 1rem;
  overflow-y: auto;
  max-height: 34rem;
}

#job-items-no-match {
  margin-top: 3rem;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  display: none;
}

.title-no-match {
  color: var(--blue);
  font-size: var(--font-size-xxxl);
  text-align: center;
  line-height: 2.688rem;
  font-weight: var(--font-weight-bold);
  max-width: 39rem;
}

.subtitle-no-match {
  margin-top: 0.5rem;
  font-weight: var(--font-weight-regular);
  color: var(--placeholder-color);
  line-height: 1.813rem;
}

/* Filters */
.c-chevron-down-img {
  transition: all 0.2s ease-in-out;
  width: 20px;
  height: 20px;
}

.filter-rotate-chevron {
  transform: rotate(-180deg);
}
.filter-dropdown-content {
  background-color: var(--fog-gray);
  list-style: none;
  position: absolute;
  z-index: 1;
  margin-top: 0.188rem;
  min-width: 9rem;
  border: 1px solid var(--light-grey);
  border-radius: var(--border-radius);
  box-sizing: border-box;
  padding: 0;
  display: none;
  width: 12rem;
}

.filter-show-dropdown {
  display: block;
}

.filter-location-item {
  padding: 0.625rem;
  color: var(--main-text-color);
}
.filter-location-item:hover {
  background: var(--white);
  cursor: pointer;
}

.filter-location-item > span {
  font-weight: var(--font-weight-bold);
}

@media only screen and (max-width: 1500px) {
  .jobs-middle-wrapper > .job-openings-side-image > img {
    width: 28.125rem;
  }
}

@media only screen and (max-width: 1430px) {
}

@media only screen and (max-width: 1366px) {
  .job-openings {
    margin: 0 1.5rem 2rem 1.5rem;
  }

  .jobs-middle-wrapper > .job-openings-side-image > img {
    width: 24.125rem;
  }
  #job-items {
    max-height: 36rem;
  }
}

@media only screen and (max-width: 1200px) {
  .job-openings {
    margin: 0 0 2rem 0;
    padding: 8rem 1.5rem;
  }
}

@media only screen and (max-width: 1080px) {
  .jobs-middle-wrapper > .job-openings-side-image {
    margin-left: 0.2rem;
    margin-right: 0;
    width: 42%;
  }
  .jobs-middle-wrapper > .job-openings-side-image > img {
    width: 22.125rem;
    height: auto;
  }
}

@media only screen and (max-width: 960px) {
  .jobs-middle-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .job-listing {
    padding-left: 0;
    margin-top: 1rem;
  }
  .job-openings-side-image {
    display: none;
  }
  .careers-statistics {
    flex-wrap: wrap;
  }
  .company-stats-item {
    flex: 1 0 17.5rem;
  }
  .jobs-middle-wrapper > .job-openings-side-image {
    width: 50%;
  }
}

@media only screen and (max-width: 767px) {
  .jobs-middle-wrapper > .job-openings-side-image {
    width: 75%;
  }

  .careers-statistics {
    flex-wrap: wrap;
  }

  .company-stats-item {
    flex: 1 0 14.5rem;
  }
}

@media only screen and (max-width: 580px) {
  .jobs-middle-wrapper > .job-openings-side-image > .job-desk {
    position: absolute;
    top: 3.563rem;
    left: 15%;
    width: 98%;
    height: auto;
  }

  .jobs-middle-wrapper > .job-openings-side-image > img {
    margin-left: 5%;
  }

  .careers-statistics {
    flex-wrap: wrap;
    margin-top: 3rem;
  }

  .company-stats-item {
    flex: 1 0 8rem;
  }

  .jobs-listing-header {
    flex-direction: column;
  }

  .job-search-comp {
    width: 100%;
    margin-bottom: 1rem;
  }

  .filter-jobs-container {
    width: 100%;
    margin-bottom: 1rem;
  }

  #search-job {
    width: calc(100% - 3.3rem);
  }

  #filter-jobs {
    max-width: 100%;
    width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  .careers-statistics {
    flex-wrap: wrap;
    margin-top: 3rem;
  }
  .company-stats-item {
    flex: 1 0 20rem;
  }
  .job-openings {
    margin: 0;
    padding: 2rem 1rem;
  }
  .jobs-middle-wrapper > .job-openings-side-image {
    width: 98%;
  }
  .jobs-middle-wrapper > .job-openings-side-image > img {
    width: 100%;
    margin-left: 6%;
  }

  .job-item > .job-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
}
