.bottom-nav a,
.lastest-posts span {
  color: #999;
}

#copyright,
#copyright a {
  color: #999;
  text-transform: uppercase;
}

#bottom .bottom-bar-content {
  width: 70%;
}

.hero-section {
  padding: 80px 0 40px;
  background-image:
    linear-gradient(rgb(0 0 0 / 84%), rgb(0 0 0 / 27%)),
    url("../images/hero-bg.webp");
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 800px;
}

.hero-subtitle {
  display: inline-block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.hero-description {
  font-size: 18px;
  line-height: 1.6;
  color: #fff;
}

.flat-content-wrap.style-2 .title {
  font-size: 22px;
}

.flat-content-wrap .sub-title {
  font-size: 16px;
}

.flat-content-wrap .item {
  width: 100%;
}

.list-item.active a {
  color: #ff9595 !important;
}

.as-subtitle {
  font-size: 18px;
  margin: 0;
  color: #f30302;
}

.service-desc {
  font-size: 15px;
  font-weight: 400;
  padding: 0 21px;
}

.themesflat-image-box.has-icon.icon-right .icon-wrap {
  position: unset !important;
  width: 100%;
}

.top-bar-content .inner {
  display: flex;
  justify-content: space-between;
}

#top-bar .top-bar-content .content::after {
  display: none;
}

/* Make carousel row flex */
.themesflat-carousel-box .owl-stage {
  display: flex;
}

/* Each slide stretches */
.themesflat-carousel-box .owl-item {
  display: flex;
  height: auto;
}

/* Card wrapper full height */
.about-carousel.themesflat-image-box {
  display: flex;
  height: 100%;
  width: 50%;
}

/* Inner structure */
.themesflat-image-box .image-box-item {
  height: 100%;
}

.service-about img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
}

.themesflat-image-box .inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.themesflat-image-box .text-wrap {
  position: relative;
  flex-grow: 1;
}

/* Title spacing */
.themesflat-image-box .heading {
  margin-bottom: 10px;
}

/* Description styling */
.themesflat-image-box .service-desc {
  line-height: 1.6;
  font-size: 15px;
}

.about-carousel.themesflat-image-box .icon-wrap {
  position: absolute;
  bottom: 20px;
  right: 20px;
  height: auto !important;
}

.themesflat-project.style-1 {
  height: 240px !important;
}
.as-thumb img {
  height: 240px !important;
  width: 100% !important;
  object-fit: cover;
  object-position: center;
}
.themesflat-project.style-1 img {
  height: 100% !important;
  object-fit: cover;
}

.themesflat-image-box .service-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.themesflat-headings.style-1 .heading {
  line-height: 45px;
}

/* GLIGHTBOX CUSTOMIZATION */

.ginner-container.desc-false {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.glightbox-clean .gslide-description {
  background: #fffffff0;
  border-radius: 30px;
  border: 2px solid var(--floens-base);
}

.glightbox-clean .gdesc-inner {
  padding: 26px 32px;
  border-radius: 0;
  box-shadow: rgb(149 157 165 / 20%) 0 8px 24px;
}

.gslide-description {
  position: absolute;
  bottom: 30px;
}

.glightbox-clean .gslide-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
}

.glightbox-clean .gslide-desc {
  font-size: 16px;
}

.bg-row-2 {
  position: relative;
  background: url("../images/gallery-bg.webp") center center no-repeat;
  background-size: cover;
}

.bg-row-2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgb(0 0 0 / 40%), rgb(0 0 0 / 20%));
}

.themesflat-icon-box:hover .icon-wrap img {
  filter: brightness(0) invert(1);
}

.custom-icon-box:hover .icon-wrap img {
  filter: brightness(0);
}

.parallax-1 {
  background-image: url("../images/gallery-bg.webp");
}

.parallax-3 {
  position: relative;
  background-image: url("../images/planning.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  overflow: hidden;
}

.parallax-3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 35%);
  z-index: 0;
}

.header-style-2 #site-header .wrap-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}

#site-log-inner img {
  width: 180px;
  height: auto;
  object-fit: cover;
}

.form-group {
  width: 100%;
}

.custom-file {
  position: relative;
  display: inline-block;
  height: 5.5rem;
}

.custom-file input[type="file"] {
  display: none;
}

.custom-file-label {
  padding: 10px 15px;
  background: #f30302;
  cursor: pointer;
  border-radius: 4px;
  color: white;
}

.file-name {
  margin-left: 10px;
  font-size: 16px;
}

.checkbox-row input[type="checkbox"] {
  width: auto !important;
  height: auto;
  flex-shrink: 0;
  margin: 0 !important;
}

/* .tp-bgimg.defaultimg {
  position: relative;
}

.tp-bgimg.defaultimg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgb(0 0 0 / 60%), rgb(0 0 0 / 20%));
  z-index: 1;
  pointer-events: none;
} */
.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb-trail a,
.breadcrumb-trail .trail-end {
  color: #fff;
  font-size: 16px;
}

.breadcrumb-trail .sep {
  color: #fff;
  font-size: 20px;
}

.bg-row-1 {
  background: url("../images/bg-quote.jpg") center center no-repeat;
  background-size: cover;
}

.flat-content-wrap.style-2 p {
  margin-top: 0;
  margin-bottom: 15px;
}

.equal-height-boxes {
  display: flex;
  flex-wrap: wrap;
}

.equal-height-boxes .col {
  display: flex;
}

.equal-height-boxes .themesflat-icon-box {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

.equal-height-boxes .themesflat-icon-box .text-wrap {
  flex: 1;
}

.tp-caption,
.tp-parallax-wrap {
  position: relative;
  z-index: 2;
}

.half-background.style-1 {
  background-image: url("../images/planning.webp");
}

select,
textarea,
input {
  color: #777 !important;
  border: 1px solid #e7e7e7 !important;
  padding: 13px 20px !important;
  letter-spacing: 0 !important ;
  background-color: transparent !important;
  line-height: inherit !important;
  width: 100% !important;
  margin-bottom: 14px !important;
  height: auto !important;
  text-shadow: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: border ease 0.238s !important;
}

select:focus-visible,
textarea:focus-visible,
input:focus-visible {
  outline: none;
}

.themesflat-contact-form.style-2 input,
.themesflat-contact-form.style-2 input,
.themesflat-contact-form.style-2 textarea {
  background-color: #fafafb !important;
  font-weight: 300 !important;
}

.input-group {
  display: flex;
  min-width: 100%;
  flex-direction: column;
}

.two-col {
  display: flex;
  gap: 15px;
}

.two-col input,
.two-col select {
  width: 50%;
}

input[type="file"] {
  cursor: pointer;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  text-align: left;
}

.checkbox-row input[type="checkbox"] {
  width: auto !important;
  height: auto;
  margin: 3px 0 0;
  flex-shrink: 0;
}

.checkbox-row label {
  margin: 0;
  line-height: 1.4;
}

.contact-page .col-md-12 {
  padding: 0 !important;
}

.regional-iconbox .themesflat-icon-box.icon-left .text-wrap {
  padding-left: 55px;
}

.hero-title {
  line-height: 1.1;
}

.service-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.service-title .icon {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.service-title .title {
  font-size: 18px;
  font-weight: 600;
}

.service-bg {
  background-repeat: no-repeat;
  background-size: cover;
  height: 400px;
  background-position: center;
}

.themesflat-icon-box.style-3 {
  padding: 23px 10px 38px;
}

.altbausanierung-bg {
  background-image: url("../images/Altbausanierung.webp") !important;
}

.fassadengestaltung-bg {
  background-image: url("../images/fassadengestaltung1.webp") !important;
}

.fassadensanierung-bg {
  background-image: url("../images/fassadensanierung.webp") !important;
}

.putzarbeiten-bg {
  background-image: url("../images/Putzarbeiten1.webp") !important;
}

.renovierung-bg {
  background-image: url("../images/renovierung.webp") !important;
}

.schimmelsanierung-bg {
  background-image: url("../images/Schimmelsanierung.webp") !important;
}

.trockenbau-bg {
  background-image: url("../images/trockenbau1.webp") !important;
}

.waermedaemmung-bg {
  background-image: url("../images/waermedaemmung1.webp") !important;
}

@media (width <= 768px) {
  .two-col {
    flex-direction: column;
    width: 100%;
  }

  .themesflat-headings.style-1 .heading {
    font-size: 24px;
  }

  .as-subtitle,
  .hero-description {
    font-size: 16px;
  }

  .hero-title {
    font-size: 35px;
  }

  .equal-height-boxes {
    display: block;
  }

  .equal-height-boxes .col {
    display: block;
    width: 100%;
  }

  .equal-height-boxes .themesflat-icon-box {
    display: block;
    height: auto;
  }

  .equal-height-boxes .themesflat-icon-box .text-wrap {
    flex: unset;
  }

  .themesflat-row .col {
    margin-bottom: 20px;
  }

  #featured-title .featured-title-heading-wrap {
    padding-top: 10px;
  }

  #bottom .bottom-bar-inner-wrap {
    display: block;
  }

  #bottom .bottom-bar-content,
  #bottom .bottom-bar-menu {
    display: block;
    width: 100%;
    text-align: left;
  }

  #bottom ul.bottom-nav {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
  }

  #bottom ul.bottom-nav > li {
    display: inline-block;
    padding: 0;
  }

  .as-subtitle {
    font-size: 16px;
    margin: 0;
  }

  .themesflat-headings.style-1 .heading {
    font-size: 22px;
    line-height: 35px;
  }

  .themesflat-content-box .as-subtitle,
  .themesflat-content-box .heading {
    text-align: center;
  }

  .themesflat-content-box .sep {
    width: 100% !important;
  }
  .rev_slider ul li img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  .tp-caption.text-center,
  .tp-caption.text-right {
    text-align: left !important;
  }

  .themesflat-button.big {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 14px 24px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .tp-caption {
    width: calc(100% - 10px) !important;
    max-width: calc(100% - 10px) !important;
    left: 15px !important;
    right: 15px !important;
  }

  .tp-caption h1 {
    font-size: 14px !important;
    line-height: 22px !important;
  }

  .tp-caption h2 {
    margin: 40px 0 0 0 !important;
    font-size: 22px !important;
    line-height: 30px !important;
  }

  .second-caption h1,
  .second-caption h2 {
    font-size: 14px !important;
    line-height: 22px !important;
  }

  .main-text,
  .second-caption h1,
  .second-caption h2 {
    width: calc(100% - 50px);
  }

  .themesflat-button.big {
    padding: 12px 18px !important;
    font-size: 14px !important;
  }

  .data-effect .owl-carousel {
    flex-direction: column;
  }

  .about-carousel.themesflat-image-box {
    width: 100%;
  }
}
