/*
Theme Name: Total Child Theme
Theme URI: https://your-site.com
Description: Your site description. Go to Appearance > Editor to modify this file.
Author: Your Name
Author URI: https://your-site.com
Template: Total
Version: 1.0
*/

/* Fonts */

/* karla-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Karla';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/karla-v31-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       /*url('fonts/karla-v31-latin-300.ttf') format('truetype'); *//* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* karla-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/karla-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       /*url('fonts/karla-v31-latin-regular.ttf') format('truetype');*/ /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* karla-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Karla';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/karla-v31-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       /*url('fonts/karla-v31-latin-italic.ttf') format('truetype'); *//* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* karla-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Karla';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/karla-v31-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       /*url('fonts/karla-v31-latin-600.ttf') format('truetype'); *//* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* karla-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Karla';
  font-style: italic;
  font-weight: 600;
  src: url('fonts/karla-v31-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      /* url('fonts/karla-v31-latin-600italic.ttf') format('truetype'); *//* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* karla-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Karla';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/karla-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       /*url('fonts/karla-v31-latin-700.ttf') format('truetype'); *//* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* kingthings_trypewriter 2 */
/*
@font-face {
    font-family: 'kingthings_trypewriter_2Rg';
    src: url('fonts/Kingthings_Trypewriter_2-webfont.woff2') format('woff2'),
         url('fonts/Kingthings_Trypewriter_2-webfont.woff') format('woff'),
         url('fonts/Kingthings_Trypewriter_2-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}*/

@font-face {
    font-family: "KingthingsTrypewriter2";
    src: url('fonts/KingthingsTrypewriter2.woff2') format('woff2');
    /*url("https://db.onlinewebfonts.com/t/e8992238cee43b7580a967c474c2117f.woff2")format("woff2"),
         url("https://db.onlinewebfonts.com/t/e8992238cee43b7580a967c474c2117f.woff")format("woff"),*/
}

body {
  font-family: 'Karla', sans-serif;
}

h1, h2, .page-header-title {
  font-family: 'KingthingsTrypewriter2', monospace !important;
  color: #146446;
  font-weight: normal;
}

h2 {
  /*border-bottom: 8px solid #FFBB00;
  display: inline-block;*/
  font-size: 40px;
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-color: #FFBB00;
  text-decoration-thickness: 8px;
}

.single-post-title, 
.blog-entry-title,
.vcex-blog-entry-title {
  font-family: 'Karla', sans-serif !important;
  font-weight: 600;
  letter-spacing: -0.5px;
  text-decoration: none;
}

h5 {
  font-size: 18px !important;
}

.text-highlight {
    background: none;
    font-size: 36px;
    line-height: 1.5;
}


.page-header-title {
  font-size: 1.5em;
  color: #D7E7D3;
}

.wpb_column.vc_col-sm-6 h2 {
  margin-top: 0;
}

/* navigation  */

.navbar-style-one {
    bottom: 0;
    top: auto;
}

.shrink-sticky-header.on-shrink-adjust-height:not(.fixed-scroll--mobile-only) #site-logo .logo-img {
    max-height: var(--wpex-site-header-shrink-start-height, 80px);
}

.sticky-header-shrunk.on-shrink-adjust-height #site-header-inner {
    padding-bottom: var(--wpex-site-header-shrink-end-padding-bottom, 3px);
}

/*  button  */
.button-white {
    color: #fff;
    background-color: transparent;
    border: 1px solid #fff;
}

/*  home-title  */

.home-title h2 {
    text-decoration: none;
}

.staff-entry-title.entry-title {
  font-family: 'Karla', sans-serif !important;
  text-decoration: none;
}

.home-slogan-large h2 {
  font-size: 76px;
  line-height: 87px;
}

.home-title figure {
  max-width: 94%;
}

/* blog  */

body.blog #content-wrap {
  padding-top: 50px;
}

/* latest-posts grid */
.vcex-blog-entry-details {
  padding-bottom: 70px;
  position: relative;
}

.vcex-blog-entry-readmore-wrap {
    position: absolute;
    bottom: 0;
}

.blog-entry-media,
.vcex-blog-entry-media {
  height: 300px;
}

.blog-entry-media img,
.vcex-blog-entry-media img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* sidebar  */

.sidebar-box.widget.widget_media_image,
.sidebar-box.widget figure {
  display: inline-block;
}

.sidebar-box.widget figure {
  margin-right: 20px;
  max-width: 40px;
}

/* FAQ  */

.vcex-toggle__heading {
  background-color: #F7F7F7;
  margin-bottom: 20px;
  padding-left: 15px;
  padding-right: 15px; 
}

.vcex-toggle__content {
  padding-left: 15px;
  padding-right: 15px; 
}

/* Staff  */

.staff-entry {
  margin-bottom: 40px !important;
}

/* Testimonials - Medienecho  */

.testimonial-caret {
  dispay: none;
}

/*  teaser-box Medienecho  */

.vcex-teaser-media img {
  max-width: 55px;
  height: auto;
}

.loadMoreBtn /* load-more-plugin*/ {
    position: absolute;
    bottom: -22px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    width: 20%;
    font-size: 1.4em;
    color: #000 !important;
    margin-top: 20px;
    border: 1px solid #000;
}

.loadMoreBtn:hover {
    color: #fff !important;
    border: 1px solid #146446;
    background-color: #146446;
    text-decoration: none;
}

/*  Termine  */

#termine figure {
  width: 100%;
}



/* ----------------------------------  main - mobile settings  ------------------------------------------*/

@media only screen and (max-width: 1199px) {

  .home-title figure {
      margin-left: auto;
      margin-right: auto;
      max-width: 55%;
      margin-top: 50px;
  }

  .home-title h2 {
      text-align:center !important;
      font-size: 24px;
  }

  .home-slogan-large h2 {
      font-size: 50px;
      line-height: 58px;
  }

  .vc_row-o-columns-middle.vc_row-o-content-middle.home-title {
      padding-bottom: 50px !important;
  }
}

@media only screen and (max-width: 1024px) {
  h3 {
    font-size: 20px;
  }

  .text-highlight {
      font-size: 32px;
      line-height: 1.3;
  }
}

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

  #site-logo .logo-img {
      max-width: 88%;
  }

  .page-header.wpex-supports-mods {
      padding-top: 60px !important;
      padding-bottom: 60px !important;
  }

  .vc_row.wpb_row {
      padding-top: 50px !important;
      padding-bottom: 0px !important;
  }

  .vc_row.wpb_row:last-child {
      padding-bottom: 50px !important;
  }

  .vc_row.wpb_row.mobile-padding-bottom-row {
      padding-bottom: 100px !important;
  }

  .vc_row.wpb_row.vc_inner {
      padding-top: inherit !important;
      padding-bottom: inherit !important;
  }

  .vc_row.wpb_row.vc_inner.vc_row-o-equal-height.vc_row-o-content-middle {
    padding-top: 30px !important;
  }

  h2 {
      font-size: 32px;
  }

  .text-highlight {
      font-size: 28px;
      line-height: 1.2;
  }

  .theme-button {
      padding: 2px 40px;
  }

  .home-title figure {
      margin-left: auto;
      margin-right: auto;
      max-width: 85%;
  }

  .home-slogan-large h2 {
      font-size: 40px;
      line-height: 50px;
  }


  .ks-icon .vcex-image-inner {
      padding-top: 30px !important;
      padding-bottom: 30px !important;
  }

  .ks-icon img {
      height: 100px !important;
  }

  .loadMoreBtn /* load-more-plugin*/ {
      width: 70%;
      bottom: -70px;
  }

  .ks-teaser-box.vc_inner {
      padding-left: 15px !important;
      padding-right: 15px !important;
  }

  .ks-teaser-box .vc_column-inner {
      padding-left: 25px !important;
      padding-right: 25px !important;
  }
}



  /*  footer  */

  .footer-box {
    position: relative;
  }

  .site-footer-inner {
    padding-top: 25px;
  }

  .footerlogo {
      margin-top: -70px;
      width: 200px;
      position: absolute;
      top: -50%;
      margin-left: auto;
      margin-right: auto;
      left: 0;
      right: 0;
  }



  /* footer-col 1 */

  .footer-box.span_1_of_3 {
      display: inline-block;
  }

  .footer-box .footer-widget {
      display: inline-block;
      width: 50%;
      padding-bottom: 0px;
  }

  /* footer-col 3 */

  .footer-box .footer-widget#block-3 {
      vertical-align: middle;
      height: 100%;
      padding-left: 20px;
  }

  #nav_menu-3 {
    width: auto;
  }

  ul#menu-footer {
    display: inline;
  }

  ul#menu-footer li {
    display: inline;
    border: none;
    margin-left: 30px;
  }

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

  .footer-box.span_1_of_3.col-3 {
    text-align: right;
    padding-top: 22px;
  } 


  .footer-box.span_1_of_3.col-3 .widget_block {
    width: auto;
  } 

  .footer-box.span_1_of_3.col-3 .widget_block figure {
    display: inline;
    margin-left: 30px;
  } 

  .footer-box.span_1_of_3.col-3 img {
    max-width: 40px;
    display: inline;
  }

@media only screen and (max-width: 1429px) {

  #nav_menu-3 {
    display: block;
  }

  .footer-box .footer-widget {
      width: auto;
  }

  .footer-box.span_1_of_3.col-3 .widget_block {
      margin-top: 20px;
  }

  .footer-box .footer-widget#block-3 {
      padding-left: 0;
      padding-top: 5px;
  }

  .footer-box .footer-widget#block-2 img {
      max-width: 200px;
  }

  .footerlogo {
      margin-top: -57px;
  }

}

@media only screen and (max-width: 959px) {

  .site-footer-inner {
      padding-top: 90px;
  }

  .footer-box .footer-widget#block-3 {
      vertical-align: top;
  }

  .footer-box.span_1_of_3.col.col-2 {
    height: 1px;
  }

  .footerlogo {
      margin-top: -285px;
      width: 130px;
  }

  .footer-box.span_1_of_3.col-3 {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 30px;
    border-top: 1px solid #fff;
  }

  #nav_menu-3 {
      width: 100%;
      text-align: center;
      margin-bottom: 20px;
  }

  .footer-box .footer-widget#block-2 img {
      max-width: 170px;
  }

  .footer-box.span_1_of_3.col-1 {
      text-align: center;
  }

  .footer-box.span_1_of_3.col-1 .widget_media_image {
    display: block;
    padding-bottom: 5px;
  }

  ul#menu-footer li:first-child,
  #block-9 figure {
      margin-left: 0;
  }

  #nav_menu-3 {
      margin-bottom: 0;
  }

}