/*!
 * Theme CSS Styles
 */


 /* Goofle Fonts */

 @import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Roboto+Mono:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');



/* ----- Allgemein ----- */

body {
    font-family: 'Roboto';
    font-size: 15px;
    line-height: 1.4;
    font-weight: 400;
    color: #3d3a2f;
    position: relative;
}

.text-white {
    color: #ffffff;
}

a,
a:link,
a:hover,
a:visited,
a:focus,
a:active,
a:focus-visible {
    color: #e53012;
    text-decoration: none;
    transition: all 300ms ease-in-out;
    outline: none;
}

.appleLinks,
.appleLinks a {
	text-decoration: none;
}

.page-content p a,
.page-content p a:hover,
.post-content p a,
.post-content p a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald';
    font-weight: 700;
    color: #3d3a2f;
    text-transform: uppercase;
}

.button {
    display: inline-block;
    vertical-align: top;
    max-width: 320px;
    color: #ffffff !important;
    background-color: #00CC99;
    border: 2px solid #00CC99;
    padding: 12px 25px 10px;
    font-family: 'Brandon Grotesque';
    font-size: 80%;
    line-height: 1.3;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
}

.button.button-light {
    color: #00CC99 !important;
    background-color: rgba(255,255,255,0);
}

.button.button-light:hover {
    color: #ffffff !important;
    background-color: #00CC99;
}

.button.button-dark {
    color: #00263E !important;
    border: 2px solid #00263E;
    background-color: rgba(255,255,255,0);
}

.button.button-dark:hover {
    color: #ffffff !important;
    background-color: #00263E;
}

.row {
    width: 80%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

img.sidebar-trigger {
    display: none;
}

/* Seitenlayout */

#page {
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    background: #5aa2be;
}

#top-bar {
    width: 100%;
    height: 150px;
    background: #edf5f8;
}

#header {
    position: relative;
    width: 25%;
    border-top: 150px solid #edf5f8;
    background: #edf5f8;
}

.home #header {
    display: none;
}

.mobile-header {
    display: none;
}

#header:before {
    content: '';
    width: 100%;
    height: 600px;
    background: linear-gradient(180deg, rgba(90,162,190,1) 25%, rgba(237,245,248,1) 100%);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

#primary {
    width: 45%;
    background: #edf5f8;
}

.home #primary {
    width: 100%;
}

#secondary {
    width: 25%;
    background: #fefefe;
    padding-bottom: 75px;
}

#footer {
    width: 100%;
    background: #e53012;
    color: #fff;
}


/* Top Bar Startseite */

#top-bar .row {
    width: 100%;
    max-width: 100%;
    height: 100%;
    padding: 0 5% 25px 27.5%;
}


#top-bar .row  .col {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

#top-bar span {
    font-family: 'Oswald';
    font-size: 1.6em;
    line-height: 1;
    font-weight: 300;
    color: #e53012;
    margin-top: auto;
    margin-bottom: 0;
}

#top-bar .social-wrapper {
    align-self: flex-end;
}

#top-bar .social-wrapper .search-trigger {
    margin-right: 0;
}

/* Menu Section */

.logo {
    width: 175px;
    display: inline-block;
    position: absolute;
    top: -87.5px;
    right: 20px;
}

ul#primary-menu {
    padding: 0;
    padding-top: 125px;
    padding-right: 15%;
    text-align: right;
    list-style-type: none;
}

ul#primary-menu li {
    padding-bottom: 20px;
}

ul#primary-menu li:last-child {
    padding-bottom: 0;
}

ul#primary-menu li a {
    position: relative;
    font-family: 'Oswald';
    font-size: 1.2em;
    line-height: 1;
    font-weight: 300;
    color: #EDF5F8;
    text-transform: uppercase;
    transition: all 300ms ease-in-out;
}

ul#primary-menu li a:hover {
    color: #fff;
}

ul#primary-menu li.current-menu-item a,
ul#primary-menu li.current-page-ancestor a,
.clemo-news #menu-item-370 a,
.clemo-events #menu-item-370 a {
    font-weight: 400;
    color: #fff;
}

ul#primary-menu li.current-menu-item a:before,
ul#primary-menu li.current-page-ancestor a:before,
.clemo-news #menu-item-370 a:before,
.clemo-events #menu-item-370 a:before {
    content: '';
    display: inline-block;
    height: 2px;
    width: 9999px;
    background: #fff;
    position: absolute;
    right: calc(100% + 25px);
    top: 48%;
}

.social-block {
    width: 200px;
    text-align: right;
    margin-left: auto;
    margin-right: 15%;
    margin-top: 45px;
    margin-bottom: 15px;
    position: relative;
}

.social-block img {
    width: auto;
    height: 22px;
}

.social-block a {
    display: inline-block;
    vertical-align: bottom;
    margin-left: 15px;
}

.search-trigger {
    display: block;
    position: relative;
    background: #fff;
    width: 130px;
    height: 28px;
    margin-left: auto;
    margin-right: 15%;
    text-align: right;
    border-radius: 6px;
    cursor: pointer;
}

img.search-trigger-icon {
    background: #e53012;
    padding: 0 5px;
    height: 28px;
    border-radius: 0 6px 6px 0;
}

.slogan-block {
    position: relative;
    font-family: 'Oswald';
    font-size: 1.3em;
    line-height: 1.3;
    font-weight: 300;
    color: #e53012;
    width: 200px;
    text-align: right;
    margin-left: auto;
    margin-right: 15%;
    margin-top: 25px;
}

.social-search-mobile {
    display: none;
}

/* Sidebar */

#secondary .widget_block {
    padding: 0 12.5%;
    position: relative;
}

#secondary .widget_media_image {
    padding: 0;
}

#secondary .wp-block-image img {
    width: 100%;
}

#secondary h3 {
    position: relative;
    display: inline-block;
    color: #000;
    background-color: #FFED00;
    font-size: 2.4em;
    font-weight: 300;
    line-height: 1;
    padding: 12px 45px 14px 15px;
}

#secondary h3:before,
#secondary h3:after {
  content: '';
  position: absolute;
  bottom: 10px;
  width: 35%;
  height: 10px;
  box-shadow: 0 8px 9px rgba(0,0,0,.9);
  z-index: -1;
  transition: all .3s ease-in-out;
}

#secondary h3:before {
  left: 8px;
  transform: rotate(-5deg);
}

#secondary h3:after {
  right: 8px;
  transform: rotate(5deg);
}

#secondary .rotate-container {
    transform: rotate(-5deg);
    display: inline-block;
}

#secondary .news-exerpt p {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

#block-8 .rotate-container:after {
    content: '';
    display: inline-block;
    height: 23px;
    width: 23px;
    background-image: url(/wp-content/uploads/2022/03/events.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 14px;
    top: 16px;
    transform: rotate(4deg);
}

#block-10 .rotate-container:after,
#block-23 .rotate-container:after {
    content: '';
    display: inline-block;
    height: 27px;
    width: 27px;
    background-image: url(/wp-content/uploads/2022/03/news.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 15px;
    top: 13px;
}

#block-13 .rotate-container:after,
#block-21 .rotate-container:after,
#block-25 .rotate-container:after {
    content: '';
    display: inline-block;
    height: 20px;
    width: 20px;
    background-image: url(/wp-content/uploads/2022/03/fenster.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 16px;
    top: 16px;
    transform: rotate(4deg);
}


#block-29 .rotate-container:after,
#block-30 .rotate-container:after,
#block-14 .rotate-container:after {
    content: '';
    display: inline-block;
    height: 22px;
    width: 22px;
    background-image: url(/wp-content/uploads/2022/03/mail.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 16px;
    top: 15px;
    transform: rotate(4deg);
}

#block-18 .rotate-container:after,
#block-27 .rotate-container:after {
    content: '';
    display: inline-block;
    height: 22px;
    width: 22px;
    background-image: url(/wp-content/uploads/2022/03/archiv.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 16px;
    top: 15px;
    transform: rotate(4deg);
}

#block-20,
#block-22,
#block-12,
#block-19,
#block-31,
#block-32,
#block-40 {
    margin-bottom: 50px;
}

#block-37,
#block-36,
#block-39 {
    margin-bottom: 100px;
}


#block-12,
#block-19,
#block-31,
#block-32,
#block-40 {
    display: none;
}


.page-id-434 #secondary #block-19 {
    display: block;
}

.page-id-451 #secondary #block-12 {
    display: block;
}

.page-id-454 #secondary #block-31 {
    display: block;
}

.page-id-1457 #secondary #block-32,
.page-id-1874 #secondary #block-32,
.page-id-1876 #secondary #block-32 {
    display: block;
}

.page-id-2614 #secondary #block-40 {
    display: block;
}


.page-template-page-gemeinde #secondary,
.search-results #secondary {
    padding-top: 50px;
}

.page-template-page-unternehmen #secondary,
.page-template-page-praxisbeispiele #secondary {
    padding-top: 50px;
}

.page-template-page-clevermobil #secondary {
    padding-top: 50px;
}

.page-template-page-areal #secondary,
.page-template-page-praxisbeispiele-areale #secondary{
    padding-top: 50px;
}

.page-template-page-pilotprojekte #secondary {
    padding-top: 50px;
}


ul.wp-block-archives-list.wp-block-archives {
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    width: 190px;
    margin-top: 10px;
}

ul.wp-block-archives-list.wp-block-archives li {
    font-weight: 700;
    margin-bottom: 8px;
    width: 40px;
    margin-right: 10px;
}

ul.wp-block-archives-list.wp-block-archives li:nth-child(4n) {
    margin-right: 0;
}


#secondary h4 {
    font-family: 'Roboto';
    margin-bottom: 5px;
}

#secondary .news-item {
    padding-bottom: 10px;
    border-bottom: 2px solid #ffed00;
    padding-top: 35px;
}

#secondary .news-item:last-of-type {
    margin-bottom: 65px;
}

#secondary .news-date,
#secondary .event-date {
    position: absolute;
    top: -22px;
    left: 0;
    display: inline-block;
    color: #000;
    background-color: #FFED00;
    font-size: 85%;
    font-family: 'Roboto mono';
    font-weight: 500;
    line-height: 1;
    padding: 5px 7px 5px;
}

#secondary .event-flag {
    background-color: #5aa2be;
    color: #fff;
    font-size: 80%;
    font-family: 'Roboto mono' !important;
    font-weight: 500;
    line-height: 1;
    padding: 5px 7px 5px;
    display: inline-block;
    vertical-align: top;
    margin-left: 12px;
}
	
#secondary .news-date:before,
#secondary .news-date:after,
#secondary .event-date:before,
#secondary .event-date:after {
    content: '';
    position: absolute;
    bottom: 10px;
    width: 35%;
    height: 10px;
    box-shadow: 0 8px 9px rgb(0 0 0 / 90%);
    z-index: -1;
    transition: all .3s ease-in-out;
}

#secondary .news-date:before,
#secondary .event-date:before {
  left: 8px;
  transform: rotate(-8deg);
}

#secondary .news-date:after,
#secondary .event-date:after {
  right: 8px;
  transform: rotate(8deg);
}

#secondary .news-item .rotate-container {
    transform: rotate(-7deg);
}

.page-template-page-praxisbeispiele h3.h3-oben {
    font-size: 90% !important;
    font-family: 'Roboto mono' !important;
    text-transform: none !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    margin-bottom: 15px !important;
}

.page-template-page-praxisbeispiele h2.h2-oben {
    font-size: 1.6em !important;
    font-weight: 400 !important;
    text-transform: none !important;
    line-height: 1.2 !important;
    padding-bottom: 10px !important;
}

.newsletter-archive a {
	display: block;
}

/* Schaufenster */

#search-filter-results-1995 h4 {
    padding-bottom: 5px;
}

div#search-filter-results-1995 img {
    border-radius: 12px;
    margin-bottom: 5px;
}

div#search-filter-results-1995 .news-item {
    border: none !important;
    padding-top: 10px;
}

div#search-filter-results-1995 .news-exerpt p {
    overflow: visible;
    text-overflow: unset;
    -webkit-line-clamp: unset;
    display: block;
    -webkit-box-orient: unset;
}


/* News Slider Startseite oben */

#home-intro {
    background: #fff;
}

#home-intro .row {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.home-menu-col {
    width: 25%;
    background: #5aa2be;
}

.home-slider-col {
    width: 75%;
}

#search-filter-results-483 {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.top-news-left {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 55%;
    background: #5AA2BE;
    padding: 30px 0 20px;
    padding-left: 10%;
    padding-right: 10%;
    cursor: pointer;
}

.top-news-left:after {
    content: '';
    display: block;
    height: 1px;
    background: #fff;
    position: absolute;
    bottom: 0;
    left: 2.5%;
    right: 17.5%;
}

#left-3:after {
    display: none;
}

#left-1 {
    padding-top: 100px;
}

#left-3 {
    padding-bottom: 50px;
}

.top-news-left.active {
    padding-left: 7.5%;
}

.top-news-right {
    width: 50%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9;
}

.top-slider-item, .top-news-img-right {
    display: block;
    height: auto;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.top-slider-item:before,
.top-news-img-right:before {
    content: '';
    display: block;
    padding-top: 100%;
}

.top-news-item .post-short-title {
    position: absolute;
}

.top-news-left .news-exerpt {
    display: none;
    color: #fff;
}

.top-news-left.active .news-exerpt {
    display: block;
}

.top-news-left a.read-more {
    display: none;
    color: #fff !important;
}

.top-news-left.active a.read-more {
    display: inline-block;
}

span.post-number {
    color: #fff;
    font-family: 'Oswald';
    font-size: 1.4em;
    font-weight: 300;
    position: absolute;
    left: 9.5%;
    top: 22px;
}

#left-1 span.post-number {
    top: 92px;
}

.top-news-left.active span.post-number {
    left: 6%;
}

.top-news-left .post-short-title {
    position: absolute;
}

.top-news-left .news-details {
    position: relative;
    width: calc(100% - 150px);
    padding-left: 20px;
}

.top-news-left.active .news-details {
    width: 100%;
    padding-left: 0;
}

.top-news-img-large {
    display: none;
}

.top-news-left .top-news-img {
    width: 100px;
    height: auto;
    pointer-events: none;
}

.top-news-left.active .top-news-img {
    display: none;
}

.top-news-left .news-details h2 {
    color: #fff;
    font-size: 1.6em;
    font-weight: 400;
    text-transform: none;
    line-height: 1.2;
    padding-bottom: 10px;
}

.top-news-left.active .news-details h2 {
    font-size: 2.4em;
}

.top-news-left .news-details h2 .event-flag {
    background-color: #fff;
    color: #5aa2be;
    font-size: 47%;
    font-family: 'Roboto mono' !important;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1;
    padding: 6px 7px 4px;
    display: inline-block;
    vertical-align: bottom;
    margin-left: 12px;
    transform: translate(0, -3px);
}

.top-news-left.active .news-details h2 .event-flag {
    font-size: 40%;
    padding: 5px 7px 5px;
    margin-left: 15px;
    transform: translate(0, -6px);
}

.top-news-left .news-title {
    display: inline-block;
    padding-top: 30px;
    pointer-events: none;
}

.top-news-left.active .news-title {
    pointer-events: auto !important;
}

.top-news-left .post-short-title {
    position: absolute;
    top: -15px;
    left: 0;
    display: inline-block;
    color: #000;
    background-color: #FFED00;
    font-size: 85%;
    font-family: 'Roboto mono';
    font-weight: 500;
    line-height: 1;
    padding: 5px 7px 5px;
}

.top-news-left .post-short-title:before,
.top-news-left .post-short-title:after {
    content: '';
    position: absolute;
    bottom: 10px;
    width: 35%;
    height: 10px;
    box-shadow: 0 8px 9px rgba(0, 0, 0, .9);
    z-index: -1;
    transition: all .3s ease-in-out;
}

.top-news-left .post-short-title:before {
    left: 8px;
    transform: rotate(-8deg);
}

.top-news-left .post-short-title:after {
    right: 8px;
    transform: rotate(8deg);
}

.top-news-left .rotate-container {
    transform: rotate(-5deg);
}


/* News & Events Startseite */

.news-img-large {
    display: none;
}

#news-home {
    background: #EDF5F8;
    margin-top: 150px;
    padding: 75px 0 25px;
}

#news-home .section-title-row {
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
}

#news-home .section-title-wrapper {
    text-align: center;
}

#news-home .section-title-wrapper h2 {
    font-size: 3.8em !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
}

div#search-filter-results-406 {
    display: flex;
    flex-wrap: wrap;
}

div#search-filter-results-406 .news-item {
    width: 23.125%;
    margin-right: 2.5%;
    margin-bottom: 50px;
    background-color: #fff;
    padding: 12px;
    transition: all 300ms ease-in-out;
}

div#search-filter-results-406 .news-item:nth-child(4n){
    margin-right: 0;
}

div#search-filter-results-406 .news-item:hover {
    box-shadow: 0 0 18px 0px rgba(90, 162, 190, .6);
}

.news-title {
	text-decoration: none !important;
}

#news-home h2 {
    font-size: 1.4em;
    font-weight: 400;
    text-transform: none;
    line-height: 1.2;
    padding-bottom: 10px;
    padding-top: 10px;
}

.last-word {
	display: inline-block;
}

#news-home h2 .event-flag {
    background-color: #5aa2be;
    color: #fff;
    font-size: 52%;
    font-family: 'Roboto mono' !important;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1;
    padding: 5px 7px 5px;
    display: inline-block;
    vertical-align: bottom;
    margin-left: 12px;
    transform: translate(0, -2px);
}

#news-home .news-exerpt p {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

#news-home .news-img {
    display: block;
    height: auto;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#news-home .news-img:before {
    content: '';
    display: block;
    padding-top: 65%;
}

a.read-more {
    margin-top: 10px;
    display: inline-block;
    font-weight: 700;
    letter-spacing: .5px;
    position: relative;
	color: #e53012;
	text-decoration: none !important;
}

a.read-more:after {
    content: '';
    display: inline-block;
    height: 20px;
    width: 20px;
    background-image: url(/wp-content/uploads/mehr-rot.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: -26px;
    top: 0;
    transition: all 300ms ease-in-out;
}

a.read-more:hover:after {
    right: -32px;
}

#home-intro a.read-more:after {
    background-image: url(/wp-content/uploads/mehr.png);
}

#news-home .post-short-title {
    position: absolute;
    top: -15px;
    left: -15px;
    display: inline-block;
    color: #000;
    background-color: #FFED00;
    font-size: 85%;
    font-family: 'Roboto mono';
    font-weight: 500;
    line-height: 1;
    padding: 5px 7px 5px;
}

#news-home .post-short-title:before,
#news-home .post-short-title:after {
    content: '';
    position: absolute;
    bottom: 10px;
    width: 35%;
    height: 10px;
    box-shadow: 0 8px 9px rgba(0, 0, 0, .9);
    z-index: -1;
    transition: all .3s ease-in-out;
}

#news-home .post-short-title:before {
    left: 8px;
    transform: rotate(-8deg);
}

#news-home .post-short-title:after {
    right: 8px;
    transform: rotate(8deg);
}

#news-home .rotate-container {
    transform: rotate(-5deg);
}


/* Energie Blog */

#energie-blog {
    background: #EDF5F8;
    margin: 125px 5% 0;
    padding: 125px 50px 75px;
}

#energie-blog .section-title-row {
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
}

#energie-blog .section-title-wrapper {
    text-align: center;
}

#energie-blog .section-title-wrapper h2 {
    font-size: 3.8em !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
}

#energie-blog .news-item {
    display: flex;
    flex-wrap: wrap;
}

#energie-blog .news-img {
    display: block;
    height: auto;
    width: 47.5%;
    margin-right: 5%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#energie-blog .news-img:before {
    content: '';
    display: block;
    padding-top: 55%;
    background: transparent;
    background: linear-gradient(270deg, rgba(237,245,248,1) 0%, rgba(237,245,248,0) 30%);
}

#energie-blog .news-details {
    width: 47.5%;
}

#energie-blog h2 {
    font-size: 1.4em;
    font-weight: 400;
    text-transform: none;
    line-height: 1.2;
    padding-bottom: 10px;
    padding-top: 10px;
}

#energie-blog .post-short-title {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    color: #000;
    background-color: #FFED00;
    font-size: 85%;
    font-family: 'Roboto mono';
    font-weight: 500;
    line-height: 1;
    padding: 5px 7px 5px;
}

#energie-blog .post-short-title:before,
#energie-blog .post-short-title:after {
    content: '';
    position: absolute;
    bottom: 10px;
    width: 35%;
    height: 10px;
    box-shadow: 0 8px 9px rgba(0, 0, 0, .9);
    z-index: -1;
    transition: all .3s ease-in-out;
}

#energie-blog .post-short-title:before {
    left: 8px;
    transform: rotate(-8deg);
}

#energie-blog .post-short-title:after {
    right: 8px;
    transform: rotate(8deg);
}

#energie-blog .rotate-container {
    transform: rotate(-5deg);
}


/* ----- Unterseiten ----- */

.page-top {
    position: relative;
    background: #EDF5F8;
    padding: 0 7.5%;
    padding-top: 35px;
    padding-bottom: 75px;
    text-align: center;
}

.breadcrumbs-wrapper {
    color: #B5B5B5;
    font-family: 'Roboto mono';
    font-size: 85%;
    padding-bottom: 65px;
}

.breadcrumbs-wrapper a {
    color: #B5B5B5;
    text-decoration: none;
}

.single-post .breadcrumbs-wrapper > span:last-child,
.single-post .breadcrumbs-wrapper > span:nth-last-child(2) {
    display: none;
}

.page-top .rotate-container {
    transform: rotate(-5deg);
}

.page-content {
    padding: 0 7.5% 0;
    background: #EDF5F8;
}

.home .page-content {
    padding: 0;
    padding-bottom: 100px;
    background: #ffffff;
}

.page-top .back-button {
    display: inline-block;
    position: absolute;
    left: 7.5%;
    top: 115px;
}

.page-footer {
    background: #EDF5F8;
    padding: 0 7.5% 250px;
    position: relative;
}

.page-footer .back-button {
    display: inline-block;
    position: absolute;
    left: 7.5%;
    bottom: 125px;
}


/* News & Events (alle News) */

#news-section {
    padding-bottom: 50px;
}

#news-section .row {
    width: 100%;
}

#news-section .news-item {
    display: flex;
    flex-wrap: wrap;
    padding-top: 50px;
}

#news-section .news-item:first-child {
    padding-top: 0;
}

#news-section .news-date {
    position: absolute;
    top: 0;
    left: 5px;
    display: inline-block;
    color: #000;
    background-color: #FFED00;
    font-size: 85%;
    font-family: 'Roboto mono';
    font-weight: 500;
    line-height: 1;
    padding: 5px 7px 5px;
}

#news-section .news-date:before, #news-section .news-date:after {
    content: '';
    position: absolute;
    bottom: 10px;
    width: 35%;
    height: 10px;
    box-shadow: 0 8px 9px rgb(0 0 0 / 90%);
    z-index: -1;
    transition: all .3s ease-in-out;
}

#news-section .news-date:before {
  left: 8px;
  transform: rotate(-8deg);
}

#news-section .news-date:after {
  right: 8px;
  transform: rotate(8deg);
}

#news-section .rotate-container {
    transform: rotate(-7deg);
}

#news-section .news-img {
    width: 150px;
    height: auto;
}

#news-section .news-details {
    width: calc(100% - 150px);
    padding-left: 20px;
}

#news-section .news-details h2 {
    font-size: 1.6em;
    font-weight: 400;
    text-transform: none;
    line-height: 1.2;
    padding-bottom: 10px;
}

div#loadPosts {
    display: block;
    text-align: center;
    cursor: pointer;
}

div#loadPosts img {
    width: 50px;
}

div#loadPosts span {
    display: block;
    color: #b5b5b5;
}



/* Headlines mit Schatten Effekt */

.page-top h1,
h2.page-title {
    position: relative;
    display: inline-block;
    color: #000;
    background-color: #FFED00;
    font-size: 2.6em;
    font-weight: 300;
    line-height: 1;
    padding: 12px 25px 14px;
}

.page-top h1:before,
.page-top h1:after,
h2.page-title:before,
h2.page-title:after {
  content: '';
  position: absolute;
  bottom: 10px;
  width: 35%;
  height: 10px;
  box-shadow: 0 8px 9px rgba(0,0,0,.9);
  z-index: -1;
  transition: all .3s ease-in-out;
}

.page-top h1:before,
h2.page-title:before {
  left: 8px;
  transform: rotate(-5deg);
}

.page-top h1:after,
h2.page-title:after {
  right: 8px;
  transform: rotate(5deg);
}


/* Posts / Beitragsseiten */

.post-top {
    position: relative;
    background: #EDF5F8;
    padding: 0 7.5%;
    padding-top: 35px;
    padding-bottom: 75px;
    text-align: center;
}

.post-top .back-button {
    display: inline-block;
    position: absolute;
    left: 7.5%;
    top: 115px;
}

.back-button img {
    width: 50px;
}

.back-button a {
    display: flex;
    flex-direction: column;
    text-align: center;
    color: #b5b5b5;
}

.post-top .rotate-container {
    transform: rotate(-5deg);
}

.post-head {
    background: #EDF5F8;
    padding: 0 7.5%;
    position: relative;
}

.post-content {
    background: #EDF5F8;
    padding: 0 7.5% 75px;
    position: relative;
}

.post-footer {
    background: #EDF5F8;
    padding: 0 7.5% 250px;
    position: relative;
}

h1.post-title {
    font-size: 1.6em;
    font-weight: 400;
    text-transform: none;
    line-height: 1.2;
    padding-bottom: 10px;
}

ul.slick-dots {
    padding: 0 !important;
    list-style-type: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 15px;
}

.slick-dots > li {
    padding-bottom: 0 !important;
}

.slick-dots > li:only-child {
        display: none;
}

ul.slick-dots button {
    border: 2px solid #fff;
    font-size: 0;
    height: 14px;
    width: 14px;
    border-radius: 100%;
    margin: 4px;
    background: #fff;
    cursor: pointer;
}

ul.slick-dots .slick-active button {
    background: #e53012;
}

.post-head .post-meta span {
    position: absolute;
    top: -25px;
    left: 0;
    display: inline-block;
    color: #000;
    background-color: #FFED00;
    font-size: 85%;
    font-family: 'Roboto mono';
    font-weight: 500;
    line-height: 1;
    padding: 5px 7px 5px;
}

.post-head .post-meta span:before, .post-head .post-meta span:after {
    content: '';
    position: absolute;
    bottom: 10px;
    width: 35%;
    height: 10px;
    box-shadow: 0 8px 9px rgb(0 0 0 / 90%);
    z-index: -1;
    transition: all .3s ease-in-out;
}

.post-head .post-meta span:before {
  left: 8px;
  transform: rotate(-8deg);
}

.post-head .post-meta span:after {
  right: 8px;
  transform: rotate(8deg);
}

.post-head .rotate-container {
    transform: rotate(-7deg);
    height: 55px;
}

.post-content .gallery-wrapper {
    margin-bottom: 35px;
}

.post-content .wp-block-embed {
    margin: 0;
}

.wp-block-embed.wp-block-embed-youtube .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.wp-block-embed.wp-block-embed-youtube iframe {
    max-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.post-content h3,
.post-content h4 {
    font-size: 1.2em;
    font-weight: 400;
    text-transform: none;
    line-height: 1.2;
    padding-bottom: 10px;
}

.post-content ul {
    list-style: square;
    padding-left: 1.5em;
}

.post-content ul > li {
    padding-bottom: 0.75em;
}

.post-content ul > li:last-child {
    padding-bottom: 0;
}

.post-footer .news-item {
    display: flex;
    flex-wrap: wrap;
    padding-top: 30px;
    margin-top: 25px;
    position: relative;
}

.post-footer .news-item::before {
    content: '';
    width: 250px;
    height: 1px;
    background-color: #3d3a2f;
    position: absolute;
    top: 0;
    left: 0;
}

.post-footer .news-img {
    width: 150px;
    height: auto;
}

.post-footer .news-details {
    width: calc(100% - 150px);
    padding-left: 20px;
}

.post-footer h2 {
    font-size: 1.6em;
    font-weight: 400;
    text-transform: none;
    line-height: 1.2;
}

.post-footer h4 {
    font-size: 1.6em;
    font-weight: 400;
    text-transform: none;
    line-height: 1;
    padding-bottom: 0;
}

.post-footer .news-date,
.post-footer .event-date {
    position: absolute;
    top: -22px;
    left: 0;
    display: inline-block;
    color: #000;
    background-color: #FFED00;
    font-size: 85%;
    font-family: 'Roboto mono';
    font-weight: 500;
    line-height: 1;
    padding: 5px 7px 5px;
}

.post-footer .news-date:before,
.post-footer .news-date:after,
.post-footer .event-date:before,
.post-footer .event-date:after {
    content: '';
    position: absolute;
    bottom: 10px;
    width: 35%;
    height: 10px;
    box-shadow: 0 8px 9px rgb(0 0 0 / 90%);
    z-index: -1;
    transition: all .3s ease-in-out;
}

.post-footer .news-date:before,
.post-footer .event-date:before {
  left: 8px;
  transform: rotate(-8deg);
}

.post-footer .news-date:after,
.post-footer .event-date:after {
  right: 8px;
  transform: rotate(8deg);
}

.post-footer .news-item .rotate-container {
    transform: rotate(-7deg);
    height: 35px;
}

.post-footer .back-button {
    display: inline-block;
    position: absolute;
    left: 7.5%;
    bottom: 125px;
}






/* Auswahl Section Unterseiten */

#subpages-overview .row {
    width: 100%;
    max-width: 100%;
}

#subpages-overview .row .col {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
}

#subpages-overview .info-block-img:before {
    content: '';
    display: block;
    padding-top: 65%;
}

#subpages-overview .info-block {
    width: 31.33%;
    margin-right: 3%;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #707070;
    background-color: transparent;
    transition: all 300ms ease-in-out;
}

#subpages-overview .info-block:nth-child(3n) {
    margin-right: 0;
}

#subpages-overview .info-block:hover {
    background-color: #fff;
    box-shadow: 0 0 18px 0px rgba(90, 162, 190, .6);
    border: 1px solid #fff;
}

#subpages-overview h3 {
    font-size: 1em;
    font-weight: 400;
    color: #707070;
    transition: all 300ms ease-in-out;
}

#subpages-overview .info-block:hover h3 {
    color: #5aa2be;
}

#subpages-overview .info-block-details {
    padding: 7px 10px;
    min-height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#subpages-overview .info-block-details {
    padding: 7px 10px;
    min-height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#subpages-overview .info-block-img {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


/* Zitate Slider */

.quote-blocks-row {
    width: 90%;
    max-width: 700px;
}

.quote-item {
    background: #fff;
    text-align: center;
    position: relative;
    margin-top: 70px;
    padding: 100px 50px 30px 50px;
}

img.quote-icon {
    position: absolute;
    width: 80px;
    top: -40px;
    left: 15px;
}

.quote-img-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: -70px;
}

.quote-img {
    width: 140px;
    height: auto;
    border-radius: 100%;
    margin-left: auto;
    margin-right: auto;
    border: 8px solid #edf5f8;
}

span.quote-name {
    display: block;
    font-weight: 700;
    margin-top: 40px;
}

span.quote-company {
    display: block;
}

.quote-content {
    font-style: italic;
}

.quote-blocks-row ul.slick-dots {
    bottom: -35px;
    z-index: 99;
}


/* Informationen Block */

.clemo-block-info .row {
    width: 100% !important;
    max-width: 100% !important;
}

img.exclamation-icon {
    width: 65px;
    height: auto;
    position: absolute;
    left: 25px;
    right: auto;
    top: -30px;
    background: #edf5f8;
    border-radius: 100%;
    border: 7px solid #edf5f8;
}

.exclamation-wrapper {
    padding: 50px 30px 25px;
    background: #fff;
}



/* Praxisbeispiele */

#praxisbeispiele .row {
    width: 100%;
    max-width: 100%;
}

#praxisbeispiele .row .col {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
}

#praxisbeispiele .info-block-img:before {
    content: '';
    display: block;
    padding-top: 100%;
}

#praxisbeispiele .info-block {
    position: relative;
    width: 22.75%;
    margin-right: 3%;
    margin-bottom: 20px;
    text-align: center;
    background-color: #fff;
    transition: all 300ms ease-in-out;
    border-radius: 100%;
}

#praxisbeispiele .info-block:nth-child(4n) {
    margin-right: 0;
}

#praxisbeispiele .info-block:hover {
    box-shadow: 0 0 18px 0px rgba(90, 162, 190, .6);
}

#praxisbeispiele .info-block-details {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    background: #5aa2be;
    opacity: 0;
    transition: all 300ms ease-in-out;
    padding: 10px;
}

#praxisbeispiele .info-block:hover .info-block-details {
    opacity: 1;
}

#praxisbeispiele .info-block-img {
    background-size: 85%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 100%;
}

#praxisbeispiele h3 {
    margin-bottom: 0 !important;
    padding-bottom: 0;
    font-size: 1.2em;
    text-transform: uppercase;
    color: #fff;
}


/* Unterseiten Gemeinde / Unternehmen */

.page-top-subpage .rotate-container {
    transform: rotate(-5deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

span.pre-title {
    position: relative;
    display: inline-block;
    color: #000;
    background-color: #FFED00;
    font-family: 'Oswald';
    font-size: 2.6em;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1;
    padding: 12px 25px 14px;
}

span.pre-title:before,
span.pre-title:after {
    content: '';
    position: absolute;
    bottom: 10px;
    width: 35%;
    height: 10px;
    box-shadow: 0 8px 9px rgba(0, 0, 0, .9);
    z-index: -1;
    transition: all .3s ease-in-out;
}

span.pre-title:before {
    left: 8px;
    transform: rotate(-5deg);
}

span.pre-title:after {
    right: 8px;
    transform: rotate(5deg);
}

.page-top.page-top-subpage h1 {
    display: inline-block;
    color: #000;
    background-color: #fff;
    font-size: 1em;
    font-family: 'Roboto mono';
    text-transform: none;
    font-weight: 500;
    line-height: 1;
    padding: 5px 7px 5px;
    margin-top: -7px;
    max-width: 400px;
}

.page-top.page-top-subpage h1:before,
.page-top.page-top-subpage h1:after {
    content: '';
    position: absolute;
    bottom: 10px;
    width: 35%;
    height: 10px;
    box-shadow: 0 8px 9px rgba(0, 0, 0, .9);
    z-index: -1;
    transition: all .3s ease-in-out;
}

.page-top.page-top-subpage h1:before {
    left: 8px;
    transform: rotate(-5deg);
}

.page-top.page-top-subpage h1:after {
    right: 8px;
    transform: rotate(5deg);
}

.page-content h2 {
    font-size: 1.6em;
    font-weight: 400;
    text-transform: none;
    line-height: 1.2;
    padding-bottom: 10px;
}

.page-content ul {
    list-style: square;
    padding-left: 1.5em;
}

.page-content ul > li {
    padding-bottom: 0.75em;
}

.page-content ul li:last-child {
    padding-bottom: 0;
}

.page-child .page-content h2 {
    font-size: 1.4em;
    font-weight: 400;
    text-transform: none;
    line-height: 1.2;
    padding-bottom: 10px;
}

.page-content h3,
.page-content h4 {
    font-size: 1.2em;
    font-weight: 400;
    text-transform: none;
    line-height: 1.2;
    padding-bottom: 10px;
}




/* Download Links */

a.download-link {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

a.download-link:before {
    content: '';
    display: inline-block;
    vertical-align: text-bottom;
    margin-right: 10px;
    height: 20px;
    width: 20px;
    background-image: url(/wp-content/uploads/2022/03/file_download_black_24dp.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}


/* Serach Overlay */

.search-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(90, 162, 190, 0.7);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
}

.search-overlay.search-active {
    display: flex;
}

input.search-field {
    border-radius: 10px 0 0 10px;
    border: none;
    padding: 10px 20px;
    width: 300px;
    height: 44px;
    display: inline-block;
    vertical-align: middle;
}

input.search-submit {
    background: #e53012;
    border: none;
    border-radius: 0 10px 10px 0;
    color: #fff;
    padding: 10px 20px;
    height: 44px;
    display: inline-block;
    vertical-align: middle;
    margin-left: -4px;
    cursor: pointer;
}

img.close-search {
    width: 38px;
    position: absolute;
    top: 75px;
    right: 5%;
    cursor: pointer;
}

section.no-results.not-found {
    text-align: center;
}


/* FormCraft */

html .formcraft-css .powered-by {
    display: none !important;
}

.formcraft-css .fc-form.fc-form-1 {
    margin-top: 30px !important;
    margin-bottom: 0 !important;
}

html #page .formcraft-css .fc-form-1 input[type=email] {
    border: 1px solid #d6d8d9 !important;
    padding: 12px 12px;
    border-radius: 10px 0 0 10px;
    height: 44px;
    line-height: 1em;
}

html .formcraft-css .fc-form-1 .form-element .form-element-html {
    padding: 0;
    padding-left: 0;
    padding-top: 0;
}

html .formcraft-css .fc-form .form-element .submit-cover .submit-button {
    box-shadow: none !important;
    font-size: .9em;
    line-height: 1em;
    text-transform: uppercase;
    padding: 16px 12px 14px 12px !important;
    border: 0;
    border-radius: 0 10px 10px 0;
    font-weight: 400;
}

html .formcraft-css .fc-form .final-success .final-success-check {
    display: none !important;
}



/* ----- Footer ----- */

#footer {
    padding: 75px 0;
}

#footer a {
    color: #fff;
    text-decoration: none !important;
}

.footer-top-row {
    margin-bottom: 50px;
}

.footer-top-row {
    font-family: 'Roboto mono';
    font-size: 90%;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
}

.footer-row .col {
    width: 25%;
    margin-right: 12.5%;
    margin-bottom: 125px;
}

.footer-row .col:nth-child(3n) {
    margin-right: 0;
}

.partner-logo-wrapper {
    min-height: 135px;
    border-bottom: 1px solid #fff;
    margin-bottom: 15px;
	display: block;
}

img.partner-logo {
    max-width: 275px;
    max-height: 100px;
}

.partner-address {
    font-size: 90%;
    letter-spacing: 1px;
    line-height: 1.7;
    font-weight: 300;
}

.footer-credits-row {
    display: flex;
    flex-wrap: wrap;
}

.footer-credits-row .col {
    width: 33.33%;
    font-size: 90%;
}

.footer-credits-row .col:nth-child(2) {
    text-align: center;
}

.footer-credits-row .col:last-child {
    text-align: right;
}

.footer-credits-row {
    font-family: 'Roboto mono';
}

.footer-credits-row p {
    margin-bottom: 0.25em;
}

.col-legal a:first-child {
    margin-right: 20px;
}

#toTop {
    display: none;
    position: fixed;
    right: calc(5% - 25px);
    bottom: 0;
    z-index: 9999;
    width: 50px;
    cursor: pointer;
}

#toTop.show-back-top {
    display: block;
}



/* --------- Responsive ---------- */




@media all and (max-width: 1700px) {
	
	.top-news-left .news-details h2 .event-flag {
		font-size: 45%;
		padding: 5px 7px 4px;
		margin-left: 10px;
		transform: translate(0, -2px);
	}
	
	.top-news-left.active .news-details h2 .event-flag {
		font-size: 38%;
		padding: 5px 7px 4px;
		margin-left: 13px;
		transform: translate(0, -4px);
	}
	
	#news-home h2 .event-flag {
		margin-left: 10px;
		transform: translate(0, -1px);
	}
	
	#secondary .event-flag {
		font-size: 75%;
		padding: 4px 6px 4px;
		vertical-align: top;
		margin-left: 10px;
	}
	
	img.exclamation-icon {
		width: 60px;
		left: 25px;
		top: -28px;
	}
	
	.exclamation-wrapper {
		padding: 45px 30px 25px;
	}

}




@media all and (max-width: 1500px) {
    body {
        font-size: 14px;
    }

    .row {
        width: 90%;
    }

    #primary {
        width: 47.5%;
    }

    #secondary {
        width: 27.5%;
    }

    .top-news-left {
        width: 60%;
    }

    .top-news-right {
        width: 45%;
    }

    img.partner-logo {
        max-width: 260px;
        max-height: 90px;
    }
	
	#news-home h2 .event-flag {
		margin-left: 10px;
		transform: translate(0, -1px);
		font-size: 55%;
		padding: 4px 6px 4px;
	}

}


@media all and (max-width: 1400px) {
	
	#secondary .event-flag {
		padding: 4px 6px 3px;
	}
	
	.top-news-left .news-details h2 .event-flag {
		font-size: 45%;
		padding: 4px 7px 4px;
		transform: translate(0, -2px);
	}
	
	.top-news-left.active .news-details h2 .event-flag {
		font-size: 40%;
		padding: 4px 7px 4px;
		transform: translate(0, -4px);
	}
	
	img.exclamation-icon {
		width: 55px;
		left: 20px;
		top: -28px;
	}
	
	.exclamation-wrapper {
		padding: 40px 25px 25px;
	}


}


@media all and (max-width: 1024px) {

    body {
        font-size: 13px;
    }

    #header {
        width: 30%;
    }

    #primary {
        width: 70%;
    }

    #secondary {
        width: 38%;
        position: fixed;
        right: -38%;
        top: 0;
        bottom: 0;
        overflow: scroll;
        transition: all 500ms ease-in-out;
    }

    #secondary.sidebar-active {
        right: 0;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
    }

    img.sidebar-trigger {
        display: block;
        position: fixed;
        top: 100px;
        right: -23px;
        width: 65px;
        transition: all 500ms ease-in-out;
    }

    img.sidebar-trigger.sidebar-active {
        right: calc( 38% - 23px ) ;
    }

    .social-search-mobile {
        display: block;
    }

    .social-search-mobile .slogan-block {
        display: none;
    }

    #top-bar {
        height: 100px;
    }

    #top-bar span {
        font-size: 1.5em;
    }

    .home-menu-col {
        width: 30%;
        background: #5aa2be;
    }

    .home-slider-col {
        width: 70%;
    }

    .top-news-left {
        width: 100%;
    }

    .top-news-left.active .news-details {
        width: calc(100% - 100px);
        padding-left: 20px;
    }

    .top-news-left.active .top-news-img {
        display: block !important;
    }

    span.post-number {
        left: 5%;
        top: 25px;
    }

    .top-news-left.active span.post-number {
        left: 3%;
    }

    #left-1 span.post-number {
        top: 95px;
    }

    .top-news-right {
        display: none !important;
    }

    .top-news-left:after {
        right: 10%;
    }

    #news-home {
        margin-top: 100px;
    }

    div#search-filter-results-406 .news-item {
        width: 31.66%;
        margin-right: 2.5%;
    }

    div#search-filter-results-406 .news-item:nth-child(4n) {
        margin-right: 2.5%;
    }

    div#search-filter-results-406 .news-item:nth-child(3n) {
        margin-right: 0;
    }

    #energie-blog {
        margin: 75px 5% 0;
        padding: 75px 50px 75px;
    }

    .home .page-content {
        padding-bottom: 75px;
    }

    img.partner-logo {
        max-width: 240px;
        max-height: 75px;
    }

    .logo {
        top: -80px;
        right: 20px;
        width: 150px;
    }

    #top-bar .social-wrapper {
        display: none;
    }

    #top-bar .row {
        padding: 0 5% 25px 32.5%;
    }

    #top-bar .row .col {
        justify-content: flex-start;
        margin-top: auto;
        margin-bottom: 0;
        height: 100%;
    }

    .post-footer .news-img {
        width: 100px;
    }

    .post-footer .news-details {
        width: calc(100% - 100px);
    }

    #header {
        border-top: 100px solid #edf5f8;
    }

    img.close-search {
        width: 30px;
    }
	
	#news-home h2 .event-flag {
		margin-left: 10px;
		transform: translate(0, -1px);
		font-size: 52%;
		padding: 4px 6px 4px;
	}
	
}


@media all and (max-width: 982px) {

    body {
        font-size: 16px;
    }

    .mobile-header {
        background: #fff;
        width: 100%;
        display: flex;
        align-items: center;
    }    

    .mobile-trigger {
        margin-right: 5%;
        margin-left: auto;
        display: block;
        width: 40px;
        z-index: 99999;
    }

    a.mobile-logo {
        display: block;
        width: 175px;
        margin-left: 5%;
        margin-top: -35px;
        margin-bottom: -35px;
        z-index: 99999;
    }

    .home-menu-col {
        display: none;
    }

    .home-slider-col {
        width: 100%;
    }

    #top-bar {
        display: none;
    }

    div#search-filter-results-406 .news-item {
        width: 47.5%;
        margin-right: 5%;
    }

    div#search-filter-results-406 .news-item:nth-child(3n) {
        margin-right: 5%;
    }

    div#search-filter-results-406 .news-item:nth-child(2n) {
        margin-right: 0;
    }

    .row.energie-blog-row {
        width: 100%;
    }

    .logo {
        display: none;
    }

    #secondary {
        width: 50%;
        position: fixed;
        right: -50%;
        top: 0;
        bottom: 0;
        overflow: scroll;
        transition: all 500ms ease-in-out;
        z-index: 99999;
    }

    img.sidebar-trigger.sidebar-active {
        right: calc( 50% - 23px ) ;
    }

    #header {
        display: block !important;
        border-top: none;
        width: 50%;
        position: fixed;
        left: -50%;
        top: 0;
        bottom: 0;
        overflow: scroll;
        z-index: 9999;
        transition: all 500ms ease-in-out;
    }

    #header.header-active {
        left: 0;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
    }

    body.header-active,
    html.header-active {
        overflow: hidden;
    }

    ul#primary-menu {
        padding-top: 250px;
    }

    #primary {
        width: 100%;
    }

    ul#primary-menu li a {
        font-size: 1.4em;
    }

    .slogan-block {
        font-size: 1.5em;
        width: 220px;
    }

    .partner-logo-wrapper {
        min-height: 100px;
    }

    .footer-row .col {
        width: 43.75%;
        margin-right: 12.5%;
        margin-bottom: 75px;
    }

    .footer-row .col:nth-child(3n) {
        margin-right: 12.5%;
    }

    .footer-row .col:nth-child(2n) {
        margin-right: 0;
    }

    .top-news-left .top-news-img {
        width: 140px;
    }

    .top-news-left.active .news-details {
        width: calc(100% - 140px);
        padding-left: 20px;
    }

    .top-news-left {
        padding-left: 10%;
        padding-right: 5%;
    }

    .top-news-left.active {
        padding-left: 10%;
        padding-right: 5%;
    }

    span.post-number {
        left: 5% !important;
    }

    .top-news-left:after {
        right: 5%;
        left: 5%;
    }

    img.sidebar-trigger {
        top: 200px;
    }

    #footer {
        padding: 75px 0 35px;
    }

    .footer-credits-row .col:first-child {
        order: 2;
        width: 50%;
    }

    .footer-credits-row .col:last-child {
        order: 3;
        width: 50%;
    }

    .footer-credits-row .col:nth-child(2) {
        order: 1;
        width: 100%;
        margin-bottom: 25px;
    }

    .post-footer .news-img {
        width: 140px;
    }

    .post-footer .news-details {
        width: calc(100% - 140px);
    }

    #toTop {
        right: 5%;
        width: 45px;
    }

    .search-overlay {
        background: rgba(90, 162, 190, 1);
        z-index: 99999;
        padding: 10%;
    }

    img.close-search {
        top: 50px;
    }

    img.close-search {
        width: 42px;
    }
	
	#news-home h2 .event-flag {
		transform: translate(0, -2px);
	}
	
	#secondary .event-flag {
		padding: 4px 6px 4px;
		font-size: 70%;
	}

}



@media all and (max-width: 600px) {

    body {
        font-size: 14px;
    }

    .news-img-thumb {
        display: none;
    }

    .news-img-large {
        display: block;
    }

    .top-news-img-thumbnail {
        display: none;
    }

    .top-news-img-large {
        display: block;
    }

    div#search-filter-results-406 .news-item {
        width: 100%;
        margin-right: 0 !important;
    }

    .top-news-left {
        padding-left: 5%;
        padding-right: 5%;
    }

    .top-news-left.active {
        padding-left: 5%;
        padding-right: 5%;
    }

    .top-news-left .top-news-img {
        width: 100%;
    }

    .top-news-left .top-news-img img {
        width: 100%;
    }

    .top-news-left.active .news-details {
        width: 100%;
        padding-left: 0;
    }

    .top-news-left .news-details {
        position: relative;
        width: 100%;
        padding-left: 0;
    }

    span.post-number {
        display: none;
    }

    #left-1 {
        padding-top: 65px;
    }

    img.sidebar-trigger {
        width: 58px;
    }

    #secondary {
        width: 90%;
        right: -90%;
    }
    
    img.sidebar-trigger.sidebar-active {
        right: calc( 90% - 23px );
    }

    .mobile-trigger {
        width: 32px;
    }

    a.mobile-logo {
        width: 145px;
        margin-top: -30px;
        margin-bottom: -30px;
    }

    #header {
        width: 100%;
        left: -100%;
    }

    ul#primary-menu {
        padding-top: 175px;
    }

    .footer-row .col {
        width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
    }

    .partner-logo-wrapper {
        min-height: 0;
        padding-bottom: 10px;
    }

    .footer-credits-row .col:last-child {
        width: 100%;
        text-align: center;
    }

    .footer-credits-row .col:first-child {
        order: 1;
        width: 100%;
        margin-bottom: 25px;
        text-align: center;
    }

    #subpages-overview .info-block {
        width: 47.5%;
        margin-right: 5%;
    }

    #subpages-overview .info-block:nth-child(3n) {
        margin-right: 5%;
    }

    #subpages-overview .info-block:nth-child(2n) {
        margin-right: 0;
    }

    .page-top {
        padding: 0 5%;
        padding-top: 50px;
        padding-bottom: 75px;
    }
    
    .page-top .back-button {
        display: none;
    }

    .page-content {
        padding: 0 5% 0;
    }

    .page-footer {
        padding: 0 5% 150px;
    }

    .page-footer .back-button {
        left: 5%;
        bottom: 50px;
    }

    .post-top .back-button {
        display: none;
    }

    .post-top {
        padding: 0 5%;
        padding-top: 50px;
        padding-bottom: 75px;
    }

    .post-head {
        padding: 0 5%;
    }

    .post-content {
        padding: 0 5% 75px;
    }

    .post-head .post-meta span {
        top: -10px;
    }

    .post-footer {
        padding: 0 5% 150px;
    }

    .post-footer .back-button {
        left: 5%;
        bottom: 50px;
    }

    .breadcrumbs-wrapper {
        padding-bottom: 40px;
    }

    #news-section .news-date {
        left: 10px;
    }

    #news-section .news-img {
        width: 100%;
        height: auto;
    }

    #news-section .news-details {
        width: 100%;
        padding-left: 0;
        margin-top: 15px;
    }

    .post-footer .news-img {
        width: 100%;
    }

    .post-footer .news-details {
        width: 100%;
        padding-left: 0;
    }

    img.quote-icon {
        width: 60px;
        top: -35px;
        left: 10px;
    }

    .quote-blocks-row {
        width: 100% !important;
    }

    .quote-item {
        padding: 100px 35px 30px 35px;
    }

    #energie-blog .news-img {
        width: 100%;
        margin-right: 0 !important;
    }

    #energie-blog .news-details {
        width: 100%;
        margin-top: 15px;
    }

    #energie-blog {
        margin: 75px 5% 0;
        padding: 75px 15px 30px;
    }

    #news-home .section-title-row {
        top: -32px;
    }

    #news-home .section-title-wrapper h2 {
        font-size: 3em !important;
    }

    #energie-blog .section-title-wrapper h2 {
        font-size: 3em !important;
    }

    div#search-filter-results-406 .news-item {
        margin-bottom: 30px;
    }

    #energie-blog .section-title-row {
        top: -32px;
    }

    .top-news-left.active .news-details h2 {
        font-size: 2.1em;
    }

    #secondary .widget_block {
        padding: 0 5%;
        position: relative;
    }

    #secondary .widget_media_image {
        padding: 0 !important;
    }

    html #page .formcraft-css .fc-form-1 input[type=email] {
        border-radius: 10px;
    }

    html .formcraft-css .fc-form .form-element .submit-cover .submit-button {
        border-radius: 10px;
        width: 100%;
        margin-top: 15px;
    }

    #praxisbeispiele .info-block {
        width: 30%;
        margin-right: 5%;
    }

    #praxisbeispiele .info-block:nth-child(4n) {
        margin-right: 5%;
    }

    #praxisbeispiele .info-block:nth-child(3n) {
        margin-right: 0;
    }

    #praxisbeispiele h3 {
        font-size: 1em;
    }

    input.search-submit {
        border-radius: 10px;
        width: 100%;
        margin-top: 15px;
    }

    input.search-field {
        border-radius: 10px;
    }

    img.close-search {
        top: 25px;
    }

    img.close-search {
        width: 32px;
    }
	
	#news-home h2 .event-flag {
		transform: translate(0, -1px);
	}
	
	.top-news-left .news-details h2 .event-flag {
		font-size: 45%;
		padding: 4px 7px 5px;
		transform: translate(0, -3px);
	}

	.top-news-left.active .news-details h2 .event-flag {
		font-size: 40%;
		padding: 5px 7px 4px;
		transform: translate(0, -4px);
	}
	
	.exclamation-wrapper {
		padding: 40px 25px 20px;
	}
	
	img.exclamation-icon {
		width: 50px;
		left: 20px;
		top: -24px;
	}

    
    
}



@media all and (min-width: 1900px) {
    body {
        font-size: 18px;
    }

    ul.wp-block-archives-list.wp-block-archives {
        width: 210px;
    }

    ul.wp-block-archives-list.wp-block-archives li {
        width: 45px;
    }

    #subpages-overview .info-block-details {
        min-height: 65px;
    }

    .slogan-block {
        font-size: 1.2em;
    }

    html #page .formcraft-css .fc-form-1 input[type=email] {
        height: 47px;
    }

    html .formcraft-css .fc-form .form-element .submit-cover .submit-button {
        padding: 18px 12px 16px 12px !important;
    }

    a.read-more:after {
        top: 2px;
    }


}