/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

:target {
    scroll-margin-top: 130px; /* = to height of navbar */
}

#main {
    margin-top: 0;
}

#masthead {
    border-bottom: 1px solid #ccc;
}

#sticky-navigation #primary-menu {
    margin-left: auto;
}

.header-widget .textwidget {
    display: flex;
}

.imgbefore {
    margin-right: 3rem;
}

.topcta p > span {
    background: #B20000;
    font-size: 14px;
    text-align: right;
    color: #ffffff;
    margin-bottom: 5px;
    padding: 2px 8px;
    float: right;
    margin-top: 5px;
}

.topcta p > span a, .topcta p > span a:hover {
    color: white;
}

#post-13484 .inside-article {
    padding-top: 0;
}

#callnowbutton {
    position: fixed;
    text-decoration: none;
    width: 100vw;
    left: 0;
    bottom: 0;
    border-top: 1px solid #B20000;
    border-bottom: 1px solid #A21C26;
    text-shadow: 0 1px #800000;
    background-color: #B20000;
    text-align: center;
    color: #fff;
    padding: 4px 10px;
	display:flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

@media (min-width: 520px) {
    #callnowbutton {
        display: none;
    }
}

@media (max-width: 519px) {
    #ProvenExpert_widgetbar_container,
    .ProvenExpert_widget_container,
    .header-widget {
        display: none;
    }
}

.doubleline {
    overflow: hidden;
    text-align: center;
    font-size: 1.2rem;
    color: #932218;
    margin-bottom: 2rem;
    margin-top: 3rem;
}

.doubleline::before,
.doubleline::after {
    background-color: #932218;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 50%;
}

.doubleline::before {
    right: 2em;
    margin-left: -50%;
}

.doubleline::after {
    left: 2em;
    margin-right: -50%;
}

.schwerpunkte a {
    font-size: 18px;
    line-height: 0;
}

.schwerpunkte .wp-block-image {
    margin-bottom: 0;
}

@media (max-width: 781px) {
    .wp-block-columns.schwerpunkte {
        display: block;
    }

    .wp-block-columns.is-grid {
        justify-content: space-between;
    }

    .wp-block-latest-posts.is-grid li {
        min-width: calc(50% - 2rem);
    }
}

/** CTABOX **/
.ctabox {
    box-shadow: 1px 1px 4px 1px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem !important;
}

.ctabox .wp-block-group__inner-container {
    padding: 1.2rem 1.2rem 0.1rem;
}

.ctabox p {
    margin-bottom: 1.2rem;
    font-size: 24px;
}

.ctabox a {
    color: #A21C26;
}

/* Newsliste */
ul.wp-block-latest-posts {
    margin: 0;
}

.wp-block-latest-posts li {
    position: relative;
    display: grid;
}

.wp-block-latest-posts a:nth-child(2) {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    grid-area: 1/-1;
    padding: 0.8rem;
    color: #fff;
    text-align: center;
    background: linear-gradient(to top, #000, rgba(0, 0, 0, 0)) bottom/100% 60% no-repeat;
}

.wp-block-latest-posts a:nth-child(2):hover {
    background: linear-gradient(to top, #000, rgba(0, 0, 0, 0)) bottom/100% 60% no-repeat;
}

.wp-block-latest-posts .wp-block-latest-posts__featured-image,
.wp-block-latest-posts .wp-block-latest-posts__featured-image a {
    display: contents;
}

.wp-block-latest-posts .wp-block-latest-posts__featured-image img {
    grid-area: 1/-1;
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 0;
}

/** Generals **/
.pt-1 {
    padding-top: 1em;
}

.pt-2 {
    padding-top: 2em;
}

.pb-1 {
    padding-top: 1em;
}

.footer-widgets .textwidget {
    font-size: 13px;
}

.footer-widgets .s-heading {
    font-weight: bold;
    font-size: 16px;
}

.footer-widgets a {
    text-decoration: underline;
}

.footer-widgets a:hover {
    text-decoration: none;
}

.bx-border {
    border: #333 3px solid;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
}

.bx-border ul {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}

.bx-border li {
    padding-left: 25px;
    margin: 0 0 5px 0;
    background-image: url(/wp-content/uploads/2016/06/tick.png);
    background-size: 20px auto;
    background-repeat: no-repeat;
    background-position: left 0.3em;
}

.widget-title {
    color: #000000;
}

ul {
    list-style: none;
    margin: 0 0 1.5em 2em;
}

ul.dots {
    list-style: disc;
}

.yes ul {
    margin-left: 0;
    padding-left: 0;
    list-style: none;

}

.yes li {
    font-size: 15px;
    padding-left: 21px;
    margin: 0 0 10px 0;
    background-image: url(https://staging.feldmann-klug.de/wp-content/uploads/2015/09/Yes_haeckchen.png);
    background-size: 15px auto;
    background-repeat: no-repeat;
    background-position: left 0.3em;
}

.center {
    text-align: center;
}

.downloads i {
    color: #A21C26;
}


.home .site-content {
    padding-top: 0;
}

.separate-containers .inside-right-sidebar {
    margin-top: 0;
}

#site-navigation, #sticky-navigation {
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1);
}

/** Teambox in Sidebar **/
.teambox {
    padding: 8px 20px 20px;
    margin-bottom: 20px;
}

.teambox svg{
	width: 30px;

}



.teambox p:first-child {
    margin-bottom: 0;
}

.wiki-template-default{
	
	overflow-x: unset;}
	


.short{
	    display: -webkit-box;
    -webkit-line-clamp: 3; /* Anzahl der Zeilen */
    -webkit-box-orient: vertical;
    overflow: hidden;
	
}
	

/*Footer*/

.inside-site-info.grid-container{
	
	border-top: 1px solid var(--grau-blau)
	
}

