:target { scroll-margin-top: 120px; }

.mb-1em {
    margin-bottom: 1rem !important;
}
.mobile-nav .sub-menu {
    display: none;
}
.mobile-nav .sub-menu.mm-show {
    display: block;
}
.metismenu .has-arrow::after {
    position: absolute;
    content: "";
    width: 0.5em;
    height: 0.5em;
    border-width: 0 0 1px 1px;
    border-style: solid;
    border-color: initial;
    inset-inline-end: 1em;
    transform: rotate(45deg) translate(0, -50%);
    transform-origin: top;
    top: 50%;
    transition: transform var(--mm-trantisition-duration) var(--mm-transition-timing-function);
}
.metismenu .mm-active > .has-arrow::after, .metismenu .has-arrow[aria-expanded="true"]::after {
    transform: rotate(-45deg) translateY(-50%);
}
.fade-out {
    opacity: 0;
    visibility: hidden;
}

.video-section {
    background-image: url('/fileadmin/schoendorfbau/video-bg.jpg');
}

.project-bg img {
    height: 100%;
}

.phone-number a {
    font-size: 18px;
    color: #fff;
    margin-top: 10px;
}
.footer-bottom p a {
    color: #fff;
    margin: 0;
    font-size: 14px;
}

/* search box */
.tx-kesearch-pi1 input[type="search"]:hover, .tx-kesearch-pi1 input[type="search"]:focus {
    box-shadow: none !important;
    border: none !important;
    color: white !important;
}
div.kesearchbox {
    height: 25px !important;
}

/* Form extension */
.contact-section .row .row , .contact-section .row .row .col-6.col-sm-6.col-md-6.col-lg-6.col-xl-6.col-xxl-6 {
    padding-right: 0;
}
.contact-section .col-6.col-lg-6.col-xl-6.wow.fadeInUp a {
    display: block;
}
.contact-section .contact-form-wrap input {
    font-size: 14px;
    padding: 13px 20px;
    letter-spacing: 1px;
    height: 51px;
}
.contact-section .form-control:focus {
    color: #212529;
    background-color: #F4F4F6;
    border-color: transparent;
    outline: 0;
    box-shadow: 0 0 0 .25rem transparent;
}

.actions.col-lg-12 button {
    margin-top: 15px;
    margin-bottom: 20px;
    height: 51px;
}

.info-content p a {
    font-size: 15px;
    font-weight: 400;
    color: #7A7A7A;
}
.info-content p a:hover {
    color: black;
}

/* Blog Pagination */
.page-link.active {
    background: #C5853A;
    border-color: #C5853A;
    color: white;
}
.page-item:first-child .page-link {
    background: #ddd;
    border-color: #ddd;
}

/* Override News Styles */
.project-details-content h3 {
    margin: 30px 0 !important;
}

.frame-type-textpic:first-child > div.project-feature-img.mt-30 {
    margin-top: 0px !important;
}

.small-font-p {
    font-size: 15px !important;
}

/* About section variation */
.about-img-wrap.single::before {
    position: absolute;
    content: "";
    top: -60px;
    right: -60px;
    width: 210px;
    height: 210px;
    background: #C5853A;
    z-index: -1;
}
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.check-list li {
    position: relative;
    margin-bottom: 8px;
}
.check-list li:before {
    content: "\f058";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    display: var(--fa-display,inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    color: #C5853A;
    font-size: 15px;
    margin-right: 15px;
}


@media (max-width: 991px) {
    /* Form */
    .contact-section .col-6.col-lg-6.col-xl-6.wow.fadeInUp, .contact-section .contact-form-wrap form .row .row .col-6.col-sm-6.col-md-6.col-lg-6.col-xl-6.col-xxl-6 {
        width: 100%;
    }
}

@media (max-width: 767px) {
    /* About section variation */
    .heading-animation h2 + p, .minus-margin {
        margin-top: -25px !important;
    }
    .responsive-img {
        width: 100%;
        height: 100%;
    }
}
@media (min-width: 767px) {
    .recent-post-thumbs .responsive-img {
        width: 100px;
        height: 100px;
    }
}
/*@media (min-width: 576px) {
  .container, .container-sm {
    max-width: 540px !important;
  }
}
@media (min-width: 768px) {
  .container, .container-md, .container-sm {
    max-width: 720px !important;
  }
}
@media (min-width: 992px) {
  .container, .container-lg, .container-md, .container-sm {
    max-width: 960px !important;
  }
}
@media (min-width: 1200px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1140px !important;
  }
}
@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1320px !important;
  }
}*/

/* Leistungsseite sticky sidebar */

.servicesidebar h5 {
    margin-bottom:1rem;
}

.servicesidebar a {
    font-size:inherit;
}