.btn-primary {
  --bs-btn-bg: #217893;
  --bs-btn-border-color: #217893;
  --bs-btn-hover-bg: #217893;
  --bs-btn-hover-border-color: #217893;
  --bs-btn-active-bg: #217893;
  --bs-btn-active-border-color: #217893;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #217893;
  --bs-btn-disabled-border-color: #217893;
}

.text-primary {
  color: #217893 !important;
}

.pagination {
  --bs-pagination-color: #217893;
  --bs-pagination-hover-color: #217893;
  --bs-pagination-focus-color: #217893;
  --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(33, 120, 147, 0.25);
  --bs-pagination-active-color: #fff;
  --bs-pagination-active-bg: #217893;
  --bs-pagination-active-border-color: #217893;
}

.form-check-input:checked {
  background-color: #217893;
  border-color: #217893;
}

.form-check-input:focus {
  border-color: #42a3c1;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(33, 120, 147, 0.25);
}

.nav-link {
  color: #217893;
}

.nav-link:hover, .nav-link:focus {
  color: #217893;
}

.content-wrapper {
  background: #e9e9e9 !important;
  padding: 5px 0;
}

.job-details-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 50px 0;
  background: white;
  border: 1px solid rgb(197, 197, 197);
  border-radius: 5px;
  filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.2));
}
.job-details-section .hero-image {
  width: 100%;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.3333333333), rgba(255, 255, 255, 0));
  background-size: contain;
  background-position: center center;
  aspect-ratio: 32/9;
  margin-bottom: 25px;
  -o-object-fit: contain;
     object-fit: contain;
}
.job-details-section .job-details-text {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
  padding: 10px 25px;
}
.job-details-section .job-details-text .job-header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.job-details-section .job-details-text .job-header h1 a {
  text-decoration: none;
  color: black;
  cursor: pointer;
}
.job-details-section .job-details-text .job-header .share-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  width: auto;
}
.job-details-section .job-details-text .job-header .share-buttons .share-btn {
  padding: 2px 5px;
  border-radius: 5px;
  text-decoration: none;
  color: white;
  margin: 0 5px;
}
.job-details-section .job-details-text .job-header .share-buttons .share-btn.facebook {
  background-color: #3B5998;
}
.job-details-section .job-details-text .job-header .share-buttons .share-btn.twitter {
  background-color: black;
}
.job-details-section .job-details-text .job-header .share-buttons .share-btn.linkedin {
  background-color: #0077B5;
}

.job-apply-btn {
  width: 30%;
  margin: 0 auto;
  font-size: 1.2rem;
}

.jobs-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  width: 100%;
  margin-bottom: 25px;
}
.jobs-wrapper .card {
  margin: 5px;
  padding: 0;
  width: 20rem;
}
.jobs-wrapper .card.featured {
  position: relative;
}
.jobs-wrapper .card.featured:before {
  content: "IZDVOJENO";
  background-color: rgba(33, 120, 147, 0.75);
  color: white;
  width: auto;
  height: 20px;
  position: absolute;
  top: 10px;
  right: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: 5px;
}
.jobs-wrapper .card .job-card-image {
  aspect-ratio: 32/9;
  max-height: 76px;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center center;
     object-position: center center;
}
.jobs-wrapper .card .card-body {
  display: flex;
  flex-direction: column;
  padding: 0;
}
.jobs-wrapper .card .card-body .card-title {
  font-size: 1.1rem;
  padding: 0 5px;
  line-height: 20px;
  margin-top: 5px;
}
.jobs-wrapper .card .card-body .card-text {
  font-size: 1rem;
  text-overflow: ellipsis;
  margin-bottom: 5px;
  border-top: 1px solid lightgray;
  width: 100%;
}
.jobs-wrapper .card .card-body .job-card-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 5px;
}
.jobs-wrapper .card .card-body .job-card-button {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  text-align: center;
}

@media (max-width: 770px) {
  .jobs-wrapper .job-card-image {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center center;
       object-position: center center;
  }
  .jobs-wrapper .card-body .job-card-details {
    flex-direction: column;
    justify-content: space-between;
    align-items: baseline;
  }
  .jobs-wrapper .card-body .job-card-details .job-card-button {
    align-self: flex-end;
    text-align: center;
  }
}
@media (max-width: 450px) {
  .job-details-section {
    margin: 15px 0;
  }
  .job-apply-btn {
    width: 100%;
    margin: 0 auto;
    font-size: 1.2rem;
  }
  .jobs-wrapper .job-card-image {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center center;
       object-position: center center;
  }
  .jobs-wrapper .card-body .job-card-details {
    flex-direction: column;
    justify-content: space-between;
    align-items: baseline;
  }
  .jobs-wrapper .card-body .job-card-details .job-card-button {
    width: 100%;
    align-self: flex-end;
    text-align: center;
  }
}
