/********************* Standard START *********************/
html * {
  scroll-behavior: auto;
}
body {
  font-family: "Source Sans Pro", sans-serif !important;
  letter-spacing: 0.96px;
  text-rendering: auto;
  font-size: 20px;
  font-weight: 300;
  height: 100%;
  /*background-color: rgb(243, 243, 243);*/
  color: #231F20;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
}

p {
  text-align: left;
}

.blau {
  color: #549DC6;
}

.wrapper {
  margin: auto;
  max-width: 1200px;
  padding-bottom: 60px;
  transition: 0.2ss;
  background-color: #ffffff;
  flex-grow: 1;
}

a[aria-expanded="true"] {
  font-weight: bold;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-align: left !important;
}

h1 {
  font-size: 37px;
}

h2 {
  font-size: 34px;
}

/********************* Standard END *********************/

/********************* TOP Nav START *********************/

#mail-li {
padding: 0px;
}

#phone-li {
  padding: 0px;
  margin-right: 0px;
}

#mail-img {
  width: 19px;
  height: 13px;
  margin-bottom: 0px;
}

#phone-img {
  width: 13px;
  height: 23px;
  align-self: center;
  vertical-align: sub;
}

.carousel-caption > h1,
.carousel-caption > h2 {
  font-size: 39px;
  color: #293133;
  text-shadow: 1px 1px 1px rgba(187, 187, 187, 0.705);
}

#main-headline > h1,
#main-headline > h2 {
  font-size: 3rem;
}

#child-nav {
  margin-left: 367px;
  padding-top: 5px;
  padding-bottom: 6px;
}

.blog-post > ul{
  padding-left: 50px;;
}

#streetmap {
padding: 0px;
}

.spacing,
.spacing-topbar,
.blog-description > p,
.blog-description > h1,
.blog-description > h2,
.blog-description > h3,
.blog-description > a > h1,
.blog-description > a > h2,
.blog-description > a > h3,
.post > p,
.post > h1,
.post > h2,
.post > h3,
.post > h4,
.post > h5,
.post > h6,
.post > a > img,
.blog-post > p,
.blog-post > h1,
.blog-post > h2,
.blog-post > h3,
.blog-post > h4,
.blog-post > h5,
.blog-post > h6,
.blog-post > figure,
.blog-post > .wp-block-group,
.blog-post > .wp-block-columns,
.blog-post > .wp-block-quote > p,
.blog-post > .list-unstyled,
.blog-thumbnail,
.more-link,
#erv-content,
ul.im-uberblick {
  padding-left: 25px;
  padding-right: 25px;
}

.page-pictures-no-margin
{
  padding: 0px !important;
  margin: 0px !important;
}

figure{
  margin-bottom: 20px !important;
}

.partner-card > div > div > div > p{
  color:  #549DC6;
  font-weight: 400;
}

.partner-card-right{
  padding-right: 15px;
}

.partner-card-left{
  padding-left: 15px;
}

.partner-card > div > div > div > p > strong{
  color:  #293133 ;
}

.more-link{
  color: #000000;
  text-decoration: underline;
}

.aktuell > p > strong {
  font-size: 23px;
  font-weight: 500;
}

.aktuell > .blog-description {
 margin-top: 20px;
}

.aktuell > h1 {
  font-size: 50px;
  padding-top: 30px;
  padding-bottom: 40px;
}

.aktuell > h2,
.aktuell > h3 {
  padding-top: 30px;
  padding-bottom: 40px;
}

#child-nav > div > ul > li > a {
  color: rgb(233, 233, 233);
  transition: 0.3s;
}

#child-nav > div > ul > li {
  margin-right: 25px;
}

#child-nav > div > ul > li:last-of-type {
  margin-right: 0px;
}

#child-nav > div > ul > li > a:hover {
  text-decoration: none;
  color: rgb(255, 255, 255);
}

#child-nav > div {
  padding: 0px;
}

.navbar {
  padding: 10px;
}

#top-nav-contact {
  font-size: 1.4rem;
  align-self: center;
}

.fa-mobile {
  font-size: 2.6rem;
}

.navbar-light .navbar-nav .active > .nav-link {
  font-weight: 600;
  color: #549dc6 !important;
}
}

.collapse.navbar-collapse {
  transition: 0.2s;
  padding: 35px;
}

.navbar-toggler {
  font-size: 2.2rem;
  border-color: rgba(0, 0, 0, 0) !important;
}

#mail-li > .nav-item {
  padding: 10px;
}

ul.nav li.dropdown:hover ul.dropdown-menu {
  display: block;
}

.navbar-light .navbar-nav .nav-link {
  color: #231F20;
}
.navbar-nav {
  font-size: 1.5rem;
  line-height: normal;
}

.nav-icons {
  color: #231F20;
}

.collapse.navbar-collapse.show {
  background-color: #231f20ce;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 10;
}

.dropdown-menu {
  background: none;
  font-size: 1.4rem;
  border: 0px;
  display: none;
  margin: 0px;
  transition: 0.1s;
}

.dropdown-menu[aria-expanded="true"] {
  font-style: bold !important;
  color: white !important;
}

li.menu-item.active {
  color: #549dc6 !important;
}

.nav-link {
  color: white;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 60;
}

.nav-link:active {
  color: #549dc6 !important;
}

.navbar-expand .navbar-nav .nav-link{
  padding-left: 0px;
}

.dropdown-item {
  font-size: 18px;
  font-weight: 400;
  color: white;
  transition: 0.2s;
}

.dropdown-item:hover {
  background: none;
  color: white;
  font-weight: 600 !important;

}

.navbar-collapse.collapsing {
  background-color: #231f20ce;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
}

.collapse.navbar-collapse.collapsing > ul > li > a {
  color: white;
  transition: ease-in-out 0.4s;
}

.collapse.navbar-collapse.show > ul > li > a {
  color: white;
  transition: ease-in-out 0.4s;
}

#logo-small{
  display: none;
  margin-right: 49px;
}

#navStickyLine{
  display: flex;
  align-items: center;
  background-color: white;
  height: 7px;
  transition: background-color 0.15s ease-in;
}

#main-nav{
  height: 80px;
  padding-bottom: 20px;
}


.black{
  background-color: #231F20 !important;
  transition: background-color 0.15s ease-out;
}

#menu-hover-container {
  display: flex;
  align-items: center;
  background-color: #231F20;
  max-height: 30px;
}

#menu-hover-container > nav > div > ul > li > a {
  font-size: 18px !important;
  display: flex;
  align-items: center;
}

.current_page_item,
.current-page-ancestor {
  font-weight: bold;
}

.custom-logo-link {
  margin-right: auto;
}

.nav-link:hover {
  color: #549dc6 !important;
}

/********************* TOP Nav END *********************/

/********************* Footer START *********************/

footer {
  padding-bottom: 25px;
  margin-bottom: 100px;
}

#logo-footer-col {
  max-width: 100%;
}


#footer-hr {
  background-color: #231F20;
  height: 4px;
  margin-bottom: 34px;
}

#navbar-footer {
  margin-top: 0px;
}

.textwidget > p {
  font-size: 18px;
  font-weight: 300;
  text-align: left;
  margin-bottom: 0px;
}

.custom-html-widget > a > i {
  padding-bottom: 10px;
  padding-right: 65px;
}

#footer-widget-1,
#footer-widget-4 {
  padding-top: 40px;
  padding-right: 25px;
}


#footer-widget-5{
  padding-top: 40px;
  margin-left:5px;
}

#footer-widget-2,
#footer-widget-3 {
  display: none;
}

#footer-nav > nav {
  position: relative;
  padding-top: 0px;
  padding-bottom: 5px;
  padding-left: 0px;
}

#footer-widgets {
  display: -webkit-box;
  display: -ms-flexbox;
  display: contents;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  margin-bottom: 25px;
}

.footer-widget-column {
  width: 25%;
  padding-right: 25px;
  box-sizing: border-box;
  -webkit-flex-grow: 1;
  flex-grow: 1;
}

.footer-widget-column:last-of-type {
  width: 25%;
  box-sizing: border-box;
  -webkit-flex-grow: 1;
  flex-grow: 1;
}
/********************* Footer END *********************/

/********************* BLOG START *********************/
.main {
  margin-top: 43px;
}

.wpcf7-form {
  padding: 0px 25px;
}

.partner-card > .wp-block-group > div > .wp-block-group__inner-container > p,
.wp-block-group__inner-container > div > p {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

ul.im-uberblick > li > div > p {
  padding-left: 0px;
  padding-right: 0px;
  text-align: left;
}

.img-caroussel {
  object-fit: cover;
  /* Do not scale the image */
  object-position: 50% 0%;
  /* Center the image within the element */
  width: 100%;
  height: 620px !important;
}

.blog-thumbnail {
  margin-bottom: 55px;
}

.image-home {
  width: 100%;
}

.blog-post {
  position: relative;

  -webkit-animation: fadein 1s;
  /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: fadein 1s;
  /* Firefox < 16 */
  -ms-animation: fadein 1s;
  /* Internet Explorer */
  -o-animation: fadein 1s;
  /* Opera < 12.1 */
  animation: fadein 1s;

  margin-bottom: 80px;
}

.wp-block-file:first-of-type{
  margin-top: 40px;
}

.wp-block-file{
  margin-top: 10px;
  margin-bottom: 10px !important;
}

.wp-block-file:last-of-type{
  margin-top: 10px;
  margin-bottom: 40px !important;
}

.list-unstyled.im-uberblick > li > a:after {
  content: "\f0d7";
  font-family: FontAwesome;
  margin: 0px 0px 0px 10px;
  text-decoration: none;
}

.carousel-caption {
  right: 0%;
  left: 0%;
  bottom: 36px;
  margin: 0px;
}

.carousel-caption > h1 > strong,
.carousel-caption > h2 > strong {
  font-weight: 600;
}

#main-headline {
  font-size: 50px !important;
  line-height: 61px !important;
  margin-bottom: 80px;
}

#images-home {
  margin-bottom: 66px;
}

#Kontaktanfrage {
  font-size: 27px;
}

.quote-single-line { 
  color: #005488;
  padding-left: 40px;
}

.quote-single-line:before{
  color: #231F20;
  font-family: FontAwesome;
  content: "\f101";
  margin-right: 10px;
}

.quote-block { 
  text-align: justify;
  color: #005488;
  padding-left: 5%;
}

.quote-block:before{
  font-size:55px;
  color: #231F20;
  font-family: FontAwesome;
  content: "\f101";
  margin-right: 10px;
  position: absolute;
  left: 0px;
  top: -10px;
}

.quote-block + p{
  padding-left: 5%;
}

#images-home > .row > .col-lg-6,
#images-home > .row > .col-lg-3 {
  padding: 0px;
}

.row {
  margin-left: 0px;
  margin-right: 0px;
}

#ort-links {
  padding-left: 0px;
  position: absolute;
  bottom: -70px;
}

#menu-footer > ul > li > a {
  padding: 0px;
}

#ort-links > ul {
  padding: 0px;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.8s ease;
  background-color: #005487;
}

#images-home > .row > .col-lg-3:hover .overlay,
#images-home > .row > .col-md-12:hover .overlay,
#images-home > .row > .col-lg-6:hover .overlay {
  opacity: 0.5;
}

#images-home > .row > .col-lg-3:hover .overlay-text,
#images-home > .row > .col-md-12:hover .overlay-text,
#images-home > .row > .col-lg-6:hover .overlay-text {
  display: block;
}

.overlay-text {
  display: none;
  color: white;
  font-size: 2.5rem;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  transition: 0.5s ease;
}

.wp-block-image .alignright,
.wp-block-image .alignleft {
  margin: 0px 0px 20px 0px !important;
}

.wp-block-column:not(:first-child) {
  margin-left: 0px;
}

.wp-block-column {
  margin: 0px !important;
}

.wp-block-column > h1,
.wp-block-column > p {
  text-align: left !important;
}

.kontakt > .wp-block-column > h1,
.kontakt > .wp-block-column > h2,
.kontakt > .wp-block-column > h3,
.kontakt > .wp-block-column > p {
  padding-left: 36px;
}



.blog-description:first-of-type {
  margin-top: 120px;
}

.blog-description:last-of-type {
  margin-top: 65px;
  margin-bottom: 95px;
}

.blog-description {
  margin-top: 65px;
}

.wp-block-columns {
  margin: 0px !important;
}

i.fa {
  color: #231f20;
}

.fade-in {
  animation: fadeIn ease 10s;
  -webkit-animation: fadeIn ease 10s;
  -moz-animation: fadeIn ease 10s;
  -o-animation: fadeIn ease 10s;
  -ms-animation: fadeIn ease 10s;
}

.wp-post-image {
  transition: ease-in-out 0.4s;
}

.partner-img {
  overflow-x: visible;
  padding-top: 0px;
  padding-bottom: 15px !important;
  margin-bottom: 15px !important;
  max-height: 405px;
  max-width: 600px;
}

.partner-div .wp-block-group {
  -webkit-box-shadow: 7px 7px 5px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 7px 7px 5px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 7px 7px 5px 0px rgba(0, 0, 0, 0.2);
  margin: 17px auto;
  padding: 24px 12px;
  min-height: 310px;
  max-width: 600px;
}

.wp-block-group > div > p {
  text-align: left !important;
}

.wp-block-group__inner-container > div > p {
  text-align: left !important;
}

#ChangeToggleX {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1002;
  color: white;
}

#ChangeToggleX:hover {
  color: #549dc6;
}

.btn-primary-custom {
  background-color: #293133 ;
  border-color: #313536 ;
  border-radius: 3px;
  color: #fff;
}

.btn-primary-custom:hover {
  background-color: #3a4244 ;
  border-color: #313536 ;
}

@keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Internet Explorer */
@-ms-keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.close {
  display: none;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;

  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

.wp-block-columns.reverse {
  flex-direction: column-reverse;
}

.wp-block-columns > .wp-block-column {
  align-self: center;
  padding: 0px 25px 0px 25px;
}

.partner-card-left{
  padding-left: 0px;
}

.partner-card-right{
  padding-right: 0px;
}

/*********  MEDIA   ************/

@media only screen and (min-width: 520px) {

  .blog-post > ul{
    padding-left: 120px;
  }

.spacing,
.spacing-topbar,
.blog-description > p,
.blog-description > h1,
.blog-description > h2,
.blog-description > h3,
.blog-description > a > h1,
.blog-description > a > h2,
.blog-description > a > h3,
.post > p,
.post > h1,
.post > h2,
.post > h3,
.post > h4,
.post > h5,
.post > h6,
.post > a > img,
.blog-post > p,
.blog-post > h1,
.blog-post > h2,
.blog-post > h3,
.blog-post > h4,
.blog-post > h5,
.blog-post > h6,
.blog-post > figure,
.blog-post > .wp-block-group,
.blog-post > .wp-block-columns,
.blog-post > .wp-block-quote > p,
.blog-post > .list-unstyled,
.blog-thumbnail,
.more-link,
#erv-content,
ul.im-uberblick {
    padding-left: 84px;
    padding-right: 84px;
  }

  .partner-card-right{
    padding-right: 74px;
  }
  
  .partner-card-left{
    padding-left: 74px;
  }

  .page-pictures-no-margin
  {
    padding: 0px !important;
    margin: 0px !important;
  }

  .carousel-caption {
    text-align: left;
    right: 0%;
    left: 0%;
    bottom: 70px;
    margin: 0px;
  }
}

@media only screen and (min-width: 900px) {

.custom-logo-link {
    margin-right: 120px;
}

#footer-widgets{
  display: flex;
}

#ort-links {
  margin-top: 0px;
  padding-left: 65px;
}

#main-nav{
  height: 80px;
  padding-bottom: 15px;
  margin-top: 14px;
}

.wp-block-image,
figure {
  margin: 0px !important;
}

.wp-block-image .alignright,
.wp-block-image .alignleft {
  margin: 0px !important;
}


.wp-block-columns.reverse {
  flex-direction: unset;
}

.wp-block-columns > .wp-block-column {
  align-self: unset;
  padding: 0px;
}


.partner-div .wp-block-group {
  -webkit-box-shadow: 7px 7px 5px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 7px 7px 5px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 7px 7px 5px 0px rgba(0, 0, 0, 0.2);
  margin: 17px 24px;
  padding: 24px 12px;
  min-height: 310px;
  max-width: 600px;
}

#ort-links {
  position: relative;
  bottom: unset;
}

.carousel-caption > h1,
.carousel-caption > h2 {
  font-size: 48px !important;
}

@media only screen and (min-width: 1200px) {

  #footer-widget-1,
  #footer-widget-2,
  #footer-widget-3,
  #footer-widget-4 {
    display: block;
    padding-right: 25px;
  }

  #top-nav-contact {
    position: relative;
    margin-bottom: 15px;
    margin-left: auto;
    font-size: 1.4rem;
  }

  .collapse.navbar-collapse {
    padding: 0px;
  }

  .textwidget > p{
    font-size: 16px;
    font-weight: 100;
    padding-bottom: 0px;
  }

  .custom-html-widget > a > i {
    padding-bottom: 10px;
    padding-right: 2px;
  }

  #footer-widget-5{
    padding-top: 0px;
  }

  .dropdown-menu {
    visibility: hidden;
  }

  #mail-li {
  padding: 5px;
  }
    
  #phone-li {
  padding: 5px;
  margin-right: 84px;
  }
    
  #mail-img {
  width: 19px;
  height: 13px;
  position: relative;
  top: 5px;
  margin-bottom:0px;
  }
    
  #phone-img {
  width: 13px;
  height: 23px;
  }

  .kontakt-bottom-group{
  padding-left: 0px !important;
  padding-right: 0px !important;
  }
}