/*========================================================================================

CSS

=========================================================================================*/

.elementor section {
  padding: 0;
}

.elementor .elementor-widget-heading {
  margin-bottom: 0 !important;
}

.elementor h2 {
  font-size: 22px;
  border-top: solid 2px #000;
  border-bottom: solid 2px #000;
  padding: 15px 10px;
  text-align: center;
  color: #000 !important;
  border-left: none;
  background-color: rgba(0, 0, 0, 0);
  line-height: 1.5em;
  margin-bottom: 10px !important;
  font-weight: 600 !important;
  font-weight: 700;
}

.elementor h3 {
  font-size: 20px;
  padding: 10px 15px;
  color: #000 !important;
  background: #f3f3f3;
  border-left: solid 5px #000;
  border-bottom: none;
  line-height: 1.5em;
  letter-spacing: 0.05em;
  margin-bottom: 10px !important;
  font-weight: 700;
}

.elementor h4 {
  color: #000 !important;
  font-weight: 700;
  border-bottom: solid 2px #000;
  font-size: 20px;
  padding-bottom: 10px;
  line-height: 1.5em;
  margin-bottom: 10px !important;
}

.elementor p,
.elementor p span {
  font-size: 16px !important;
  color: #000 !important;
}

.elementor-button-icon {
  color: #fff !important;
}

.elementor .wp-caption-text {
  color: #000;
  margin-top: 10px;
  font-size: 16px;
}

.elementor .elementor-image-carousel-caption {
  color: #000;
  margin-top: 10px;
  font-size: 16px;
}

.elementor .elementor-image-gallery .gallery-item img {
  border: none;
}

.elementor .elementor-button-wrapper {
  text-align: center;
}

.elementor .elementor-button {
  margin: 0 auto;
  background-color: #000 !important;
  border-radius: 0 !important;
}

.elementor-button-text {
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700;
}

.elementor-column-gap-default
  > .elementor-row
  > .elementor-column
  > .elementor-element-populated
  > .elementor-widget-wrap {
  padding: 0 !important;
}

.elementor-image-gallery .gallery {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-wrap: wrap !important;
  flex-wrap: wrap !important;
  -webkit-box-pack: justify !important;
  -ms-flex-pack: justify !important;
  justify-content: space-between !important;
}

.elementor-image-gallery .gallery::before {
  content: "";
  display: block;
  width: 31%;
  order: 1;
}

.elementor-image-gallery .gallery-item {
  max-width: 31% !important;
  width: 100% !important;
  margin: 0 0 20px !important;
}

.elementor-image-gallery br {
  display: none;
}

.elementor-image-gallery img {
  border: none !important;
  transition-duration: 0.3s;
}

.elementor-image-gallery img:hover {
  opacity: 0.8;
}

.elementor-image-box-img {
  margin-bottom: 5px !important;
}

.elementor-image-gallery .gallery-item a {
  width: 100% !important;
  margin: 0 0 5px;
}

.elementor-image-gallery .gallery-item > .gallery-icon > a > img {
  display: block;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  height: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  -o-object-fit: cover;
  object-fit: cover;
}

.elementor-image-gallery .gallery-caption {
  text-align: center;
  font-size: 14px;
  width: 100%;
}

@media screen and (max-width: 820px) {
  .elementor h2 {
    font-size: 18px;
    padding: 10px 5px;
  }

  .elementor h3 {
    font-size: 16px;
    padding: 8px 15px;
  }

  .elementor h4 {
    font-size: 16px;
    border-bottom: solid 2px #000;
  }

  .elementor p,
  .elementor p span {
    font-size: 14px !important;
  }

  .elementor .wp-caption-text,
  .elementor .elementor-image-carousel-caption {
    font-size: 12px;
  }

  .elementor-button-text {
    font-size: 14px !important;
  }
}

@media screen and (max-width: 450px) {
  .elementor h2 {
    font-size: 16px;
    padding: 10px 5px;
    border-top: solid 2px #000;
    border-bottom: solid 2px #000;
  }

  .elementor h2 {
    font-size: 18px;
    padding: 10px 5px;
  }

  .elementor h3 {
    font-size: 14px;
    padding: 8px 15px;
  }

  .elementor h4 {
    font-size: 14px;
  }

  .elementor-image-gallery .gallery-item {
    max-width: 47% !important;
  }
}
