.innerpage main {
  padding-top: 0;
}

/* gallery page */
.gallery_page__item a {
  overflow: hidden;
  display: block;
}

.gallery_page__item img {
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.gallery_page__item:hover img {
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}

.main__image {
  margin-bottom: 10rem;

  position: relative;
}

.main__image::after {
  content: "";

  position: absolute;

  left: 0;

  top: 0;

  width: 100%;

  height: 100%;

  background-color: rgba(0, 0, 0, 0.45);
}

.main__image > img {
  width: 100%;

  height: 100%;

  -o-object-fit: cover;

  object-fit: cover;
}

.main__image > h1 {
  position: absolute;
  left: 50%;
  top: 75%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 6rem;
  font-weight: 700;
  color: white;
  z-index: 2;
  letter-spacing: 1.2rem;
  text-align: center;
  width: 100%;
  background-color: rgba(100, 100, 111, 0.4);
  border-top: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
}

.main__image > h1:before {
}
#contact input,
#contact textarea,
#contact select {
  background-color: #f4f4f4;

  height: auto;

  padding: 1rem;

  font-size: 2.1rem;

  border: none;

  color: #000 !important;

  font-family: "aka-acid", serif !important;
  border-radius: 10px;
  margin-bottom: 2rem;
}

#contact textarea {
  resize: vertical;
}

#contact label {
  margin-bottom: 1rem;
  color: #000;
  font-size: 1.8rem;
  font-weight: 700;
  padding-left: 0.5rem;
}

#contact #submitform {
  background-color: var(--primary);

  padding: 1rem 4rem;
  color: #000;
  border-radius: 0;

  font-size: 2.1rem;
  border-radius: 10px;
  border: 2px solid transparent;
}

#contact #submitform:hover {
  background-color: white;
  border: 2px solid var(--primary);
  color: var(--primary);
}

#contact form {
  margin-top: 5rem;
}

.car_form {
  padding-inline: 1rem;
}

.static-page__content strong {
  color: #000;
}

.static-page__content p,
.static-page__content li {
  font-size: 2.1rem;
}

.static-page__content p {
  font-size: 2.1rem;
  line-height: 2;
  max-width: 890px;
  margin: 0 auto;
  text-align: center;
  color: #000;
}

.static-page__content p a {
  -webkit-transition: color 0.3s;
  -o-transition: color 0.3s;
  transition: color 0.3s;
  color: #000;
}

.static-page__content p a:hover {
  color: var(--primary);
}

/* article content */
.article__content p {
  width: 100%;
  text-align: left;
  max-width: unset;
}

/* cars category */
.cars_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  gap: 20px;
  padding-inline: 30px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

/* category page */
.category_description p {
  margin: 0 auto;
  font-size: 25px;
  color: black;
  margin-bottom: 6rem;
  max-width: 80rem;
  text-align: center;
  padding-inline: 1rem;
}
.categories-container {
  padding-inline: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.cars__articles {
  padding-inline: 20px;
}
.categories {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2rem;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.articlelistingrow,
.car-category {
  -webkit-box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
          box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
}

.articlelistingrow img,
.car-category img {
  border-radius: 10px;
  margin-bottom: 3rem;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
}

.articlelistingrow h4,
.car-category h4 {
  margin: 0;
  margin-top: 2rem;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  background-color: var(--primary);
  padding: 0.5rem 1rem;
  color: #000 !important;
  font-size: 20px;
  display: block;
  width: 100%;
  position: absolute;
  bottom: 0;
}

.articlelistingrow p,
.car-category p {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  font-size: 35px;
  display: none;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  color: white;
  border: 1px solid white;
  margin: 0;
  padding: 1rem 2rem;
  line-height: 1;
  text-align: center;
}

.articlelistingrow:hover p,
.car-category:hover p {
  display: block;
}

.car-category:hover img,
.articlelistingrow:hover img {
  -webkit-transform: scale(1.06);
      -ms-transform: scale(1.06);
          transform: scale(1.06);
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-filter: brightness(50%);
          filter: brightness(50%);
}

.articlelistingrow:hover h4,
.car-category:hover h4 {
  background-color: var(--secondary);
  color: #fff !important;
}

.breadcrumbs {
  padding: 0;
}

.breadcrumbs *,
.breadcrumbs > .current {
  font-size: 2.1rem;
}

.breadcrumbs a {
  color: #000;
  -webkit-transition: color 0.3s;
  -o-transition: color 0.3s;
  transition: color 0.3s;
}

.breadcrumbs a:hover {
  color: black !important;
}

[data-abide] .error small.error,
[data-abide] span.error,
[data-abide] small.error,
.alert-box.success {
  padding: 1rem;

  font-size: 1.4rem;
}

ul.pagination {
  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;

  -webkit-box-align: center;

  -ms-flex-align: center;

  align-items: center;

  -webkit-box-pack: center;

  -ms-flex-pack: center;

  justify-content: center;

  margin-top: 5rem;
}

ul.pagination li.current a,
ul.pagination li.current a:hover,
ul.pagination li.current a:focus {
  background: var(--primary);
}

ul.pagination li a {
  font-size: 1.6rem;
}

#articlebody .static-page__content p a {
  padding: 1.2rem 3rem;

  background-color: var(--primary);

  color: #fff;

  display: inline-block;

  margin-top: 2rem;
}

@media screen and (max-width: 1240px) {
  .innerpage main {
    padding-top: 13.9rem;
    max-width: 100%;
  }

  .main__image > h1 {
    font-size: 3.8rem;
  }

  [class*="block-grid-"] {
    margin: auto;
  }

  .main__image {
    margin-bottom: 5rem;
  }

  .category_description p,
  .static-page__content p {
    line-height: 1.2;
    font-size: 1.8rem;
  }

  .articlelistingrow p,
  .car-category p {
    font-size: 26px;
  }
	
		table {
		margin: 0 auto 2rem;
	}
}

@media screen and (max-width: 1024px) {
  .hotels__articles.medium-block-grid-2 > li {
    width: unset;
  }
}

@media screen and (max-width: 640px) {
  .static-page__content p,
  .static-page__content li {
    font-size: 1.6rem;
  }

  .main__image > h1 {
    letter-spacing: 0 !important;
  }

  .slideshow .slick-slide .sliderCaption {
    letter-spacing: 0.2rem;
  }

  .main__image > h1 {
    letter-spacing: 0.5rem;
  }

  .breadcrumbs *,
  .breadcrumbs > .current {
    font-size: 1.6rem;
  }

  .innerpage main {
    padding-top: 6rem;
  }

  .main__image {
    /* height: calc(100vh - 8rem); */
    margin-bottom: 3rem;
  }

  .main__image > h1 {
    font-size: 2.4rem;
  }

  .category_description p {
    margin-bottom: 2rem;
    font-size: 20px;
  }

  .cars_container {
    padding-inline: 10px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .categories-container {
    padding-inline: 10px;
  }

  .car-category {
    max-width: unset;
  }

  .car-category:hover img,
  .articlelistingrow:hover img {
    -webkit-transform: unset;
        -ms-transform: unset;
            transform: unset;
  }

  .car-category img {
    border-radius: 10px;
    width: 100%;
  }
	

}