/* Job landing page  */
.job-back-link {
  padding-bottom: 16px;
}

.job-back-link .back-link {
  color: rgb(18,53,86);
  text-decoration: none;
  font-weight: normal;
}

.job-back-link .back-link span svg {
  vertical-align: middle;
  fill: rgb(18,53,86);
  margin-bottom: 2px;
}

.strip-heading {
  background-color: #dd052b;
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-family: georama,sans-serif;
}

.job-fields {
  position: relative;
}

.job-field.apply-now {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.job-main-section .apply-options {
  display: none;
  position: absolute;
  right: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 10px;
  width: 220px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.job-main-section .apply-options-up {
  bottom: 100%;
}

.job-main-section .apply-options-down {
  top: 100%;
}

.job-main-section .apply-dropdown-list li {
  padding: 8px 10px;
}

.job-main-section .apply-now-top {
  position: absolute;
  top: 0;
  right: 0;
}

.job-main-section .apply-now-bottom {
  position: absolute;
  bottom: 0;
  right: 0;
}

.job-main-section .apply-dropdown-list li:not(:last-child) {
  border-bottom: 1px solid rgba(0,0,0,.15);
}

.job-main-section .apply-dropdown-list li .apply-option {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgb(18,53,86);
  line-height: 1.5;
}

.job-main-section .apply-dropdown-list li .apply-option img {
  width: 16px;
}

.job-main-section .apply-button {
  display: inline-block;
  padding: 0.5rem 2rem;
  background-color: #dd052b;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
}

.job-main-section .apply-dropup::after {
  content: '\25B2';
  font-size: 12px;
  padding-left: 4px;
  vertical-align: middle;
}

.job-main-section .apply-dropdown::after {
  content: '\25BC';
  font-size: 12px;
  padding-left: 4px;
  vertical-align: middle;
}

.job-main-section .apply-button:hover {
  color: #fff;
}

.job-main-section .job-field .field-label {
  font-weight: bold;
  font-size: 16px;
  display: inline-block;
}

.job-main-section .job-field .field-description {
  padding-left: 4px;
  display: inline-block;
  line-height: 1.5;
}

.job-main-section .job-field .field-description .address {
  display: flex;
  gap: 4px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.job-main-section .paragraph--type--job-details {
  padding-top: 12px;
}

.job-main-section .paragraph--type--job-details .paragraph-label strong > div {
  display: inline-block;
}

.job-main-section .job-taxonomy .field-description a,
.job-main-section .function-taxonomy .field-description a,
.job-main-section .business-taxonomy .field-description a {
  pointer-events: none;
  color: inherit;
  text-decoration: none;
}

.job-main-section .job-taxonomy .field-description > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.job-main-section .job-taxonomy .field-description > div > div:not(:last-child)::after,
.job-main-section .job-field .field-description .address span:not(:last-child)::after {
  content: ', ';
}

.job-main-section .field-description a {
  text-decoration: none;
  color: inherit;
}

/* Filters Form Styling */
.soar-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  align-items: center;
  gap: 32px;
}

.soar-title h1 {
  margin-bottom: 0;
  font-family: georama, sans-serif;
  font-size: 1.25rem;

}

.soar-title a {
  text-decoration: none;
}

.jobs-listing .views-exposed-form {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  align-items: flex-end;
  justify-content: space-between;
}

.jobs-listing .views-exposed-form .js-form-item {
  flex: 1;
  min-width: 150px;
}

.jobs-listing .views-exposed-form label {
  font-weight: bold;
  margin-bottom: 4px;
  display: block;
  color: rgb(18,53,86);
}

.jobs-listing .views-exposed-form input,
.jobs-listing .views-exposed-form select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  color: #000;
  margin-top: 0;
}

.jobs-listing .views-exposed-form .button {
  background-color: #dd052b;
  color: #fff;
  border: none;
  padding: 0.5rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  max-width: 125px;
  display: flex;
  justify-content: center;
  font-weight: 500;
}

.jobs-listing header {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* Table Styling */
.jobs-listing table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.jobs-listing table thead {
  border-bottom: 2px solid #ddd;
}

.jobs-listing table thead th {
  color: rgb(18,53,86);
  padding: 8px;
  width: 25%;
}

.jobs-listing table thead th a {
  color: rgb(18,53,86);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.jobs-listing table thead th a:hover,
.jobs-listing table tbody td a:hover {
  text-decoration: underline;
  color: rgb(91, 148, 255);
}

.jobs-listing table tbody tr:nth-child(2n+1),
.jobs-listing table tbody tr:hover {
  background-color: rgba(216,216,216,1.0);
}

.jobs-listing table tbody tr td {
  padding: 8px;
  background-color: transparent;
}

.jobs-listing table tbody tr td:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.jobs-listing table tbody tr td:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.jobs-listing table tbody td a {
  color: rgb(18,53,86);
  text-decoration: none;
}

.jobs-listing table tbody .views-field-field-location .address {
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.jobs-listing table tbody .views-field-field-location .address span:not(:last-child)::after {
  content: ', ';
}

@media (max-width: 992px) {
  .jobs-listing .views-exposed-form {
    justify-content: unset;
  }

  .job-main-section .apply-now-top,
  .job-main-section .apply-now-bottom {
    position: unset;
  }

  .job-main-section .apply-button {
    margin: 12px 0;
  }
}

@media (max-width: 768px) {
  .jobs-listing table {
    display: block;
    overflow-x: scroll;
  }
}

.job-main-section ul {
  margin: auto;
  padding-left: 2rem;
  list-style: disc;
}

.apply-dropdown-list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
