.background-page img {
  max-height: 300px;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.single-offer-box,
.single-news-box {
  border-radius: 10px;
}
.single-offer-box a,
.single-news-box a {
  position: relative;
  border-radius: 10px;
  height: 240px;
  overflow: hidden;
}
.single-offer-box a:hover .overlay,
.single-news-box a:hover .overlay {
  opacity: 1;
}
.single-offer-box .overlay,
.single-news-box .overlay {
  opacity: 0;
  position: absolute;
  background: rgba(14, 38, 50, 0.82);
  height: 100%;
  width: 100%;
  top: 0;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: 0.3s ease;
}
.single-offer-box .overlay p,
.single-news-box .overlay p {
  color: white;
  font-size: 13px;
}
.single-offer-box img,
.single-news-box img {
  width: 100%;
  border-radius: 10px;
  height: 240px;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0;
  transition: 1s;
}
.single-offer-box img.lazyloaded,
.single-news-box img.lazyloaded {
  opacity: 1;
}
.single-offer-box a:hover .overlay,
.single-news-box a:hover .overlay {
  opacity: 1;
}
.single-offer-box p,
.single-news-box p {
  margin: 0;
  color: #002434;
}
.single-offer-box .title,
.single-news-box .title {
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.single-news-box .description,
.single-news-box .date {
  font-size: 12px;
}
.single-news-box .description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-box {
  background-color: #002434;
  border: 1px solid transparent;
  color: white;
  border-radius: 10px;
  margin-right: 0.5rem;
  margin-bottom: 0.25rem;
  margin-top: 0.25rem;
  transition: 0.3s ease;
  padding: 0.2rem 0.5rem;
  font-size: 13px;
  font-weight: 500;
}
.category-box:hover {
  opacity: 0.7;
  color: white;
}
.category-box.active {
  background-color: #FEB005;
}

.show-more a {
  border: 2px solid #E5E5E5;
  border-radius: 10px;
  font-size: 14px;
  padding: 0.5rem 3rem;
  color: #8C8C8C;
  font-weight: 500;
  min-width: 260px;
}
.show-more a:hover {
  background-color: #002434;
  color: white;
  border-color: transparent;
}

.offer .nav-pills .nav-link {
  background-color: #002434;
  border: 1px solid transparent;
  color: white;
  border-radius: 10px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  transition: 0.3s ease;
  padding: 0.5rem 1.5rem;
  font-size: 13px;
  font-weight: 500;
}
.offer .nav-pills .nav-link.active {
  background-color: #FEB005;
}

.offer h3,
.news h3 {
  font-weight: 600;
  color: #002434;
}

.fotorama__stage__frame.fotorama__active {
  border-radius: 5px;
}

.training-info h1 {
  font-size: 2rem;
  color: #163D50;
}
.training-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FEB005;
}
.training-info p {
  font-size: 1rem;
}
.training-info img {
  max-height: 300px;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
}
.training-info .training-date p,
.training-info .location p {
  color: #C0C0C0;
  display: inline-block;
  border: 2px solid #C0C0C0;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  font-size: 0.9rem;
}
.training-info .training-date strong,
.training-info .location strong {
  color: #163D50;
  padding: 0 0.25rem;
}
.training-info #select-category {
  display: inline-block;
}
.training-info #select-category .nav-item {
  display: inline-block;
}
.training-info #select-category .nav-item .nav-link {
  padding: 0.6rem 2rem;
  background: white;
  color: #555555;
  border: 2px solid #f2f2f2;
}
.training-info #select-category .nav-item .nav-link.active {
  border-color: #FEB005;
}
.training-info #select-category .nav-item .nav-link.active h5 {
  color: #FEB005;
}
.training-info #select-category .nav-item .nav-link h5 {
  font-size: 14px;
  font-weight: 400;
}
.training-info #additional_information *,
.training-info #description * {
  max-width: 100%;
}

@media (max-width: 767px) {
  .training-info h1 {
    font-size: 1.5rem;
  }
  .training-info h2 {
    font-size: 1rem;
  }
  .training-info p {
    font-size: 14px;
  }
  .training-info button {
    font-size: 12px;
  }
  .training-info #select-category .nav-item .nav-link {
    padding: 0.5rem 1rem;
    font-size: 12px;
  }
}
.informations h1 {
  color: #002434;
}
.informations h2, .informations h3 {
  color: #FEB005;
}
.informations h2 {
  font-size: 1.3rem;
}
.informations p {
  font-size: 14px;
  text-align: justify;
}
.informations ul {
  list-style-type: disc;
  padding: 0 1rem;
}
.informations img {
  max-height: 400px;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
  opacity: 0;
  transition: 1s;
}
.informations img.lazyloaded {
  opacity: 1;
}

.modal.auth .modal-body img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.modal.auth .modal-body .close span {
  font-size: 2rem;
}
.modal.auth .modal-body .content .text-before-form {
  color: #002434;
  font-weight: 600;
  font-size: 20px;
}
.modal.auth .modal-body .content label {
  width: 100%;
  color: #002434;
  display: block;
  font-weight: 500;
  font-size: 14px;
}
.modal.auth .modal-body .content .form-control {
  border: 1px solid #002434;
  border-radius: 10px;
}
.modal.auth .modal-body .content .form-control:focus {
  box-shadow: none;
}
.modal.auth .modal-body .content .text-after-form a {
  color: #002434;
  font-weight: 500;
}
.modal.auth .modal-body .content .text-after-form a span {
  color: #FEB005;
}
.modal.auth .go-to-login,
.modal.auth .go-to-register {
  cursor: pointer;
}

.select2-container {
  display: block;
}

.select2-container--default .select2-selection--multiple {
  border: 1px solid #002434;
  border-radius: 10px;
  min-height: 38px;
  padding: 0.35rem;
  padding-bottom: 0ch;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #AF8754;
  color: white;
  font-weight: 500;
  border-color: transparent;
  margin-top: 0;
  padding-top: 3px;
  padding-bottom: 3px;
  margin-bottom: 0.35rem;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  border-color: white;
  color: white;
  height: 100%;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  background-color: initial;
  color: white;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
  padding-left: 5px;
  padding-right: 10px;
}

@media (max-width: 767px) {
  .single-offer-box img,
.single-news-box img {
    height: 200px;
    -o-object-fit: cover;
       object-fit: cover;
    min-height: 100%;
  }
  .show-more a {
    font-size: 12px;
  }
  .offer h3,
.news h3 {
    font-size: 1.5rem;
  }
  .offer .nav-pills .nav-link {
    padding: 0.5rem 1rem;
  }
  .homepage .training-info h1 {
    font-size: 1.6rem;
  }
  .homepage .training-info h2 {
    font-size: 1rem;
  }
  .homepage .training-info img {
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
}
@media (max-width: 576px) {
  .homepage .offer h3,
.homepage .news h3 {
    font-size: 1.25rem;
  }
  .show-more a {
    background-color: #002434;
    color: white;
    border-color: transparent;
  }
}
