@import "custom_fonts.css";

/*
HEADER  MAINmenu  CONTENT  MEDIABOX  QUICKindex  JCE_Templates  iFRAMES  
TEASERbutton  SOCIALicons  LOGINFORM  
FOOTER  OFFCANVAS  YTvideo  IMGcompare  MEDIAqueries
*/

body {
    font-family: "Merriweather Sans", Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: #333;
  	background: #7D6A65;
  	background-image: url('/images/bg/IMG_5434.jpg');
    background-size: cover!important;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.featured-article-badge {display: none; visibility: hidden;}

h1, h2, h3, h4, h5, h6, .h1, 
.h2, .h3, .h4, .h5, .h6 {
  font-family: "Merriweather", Times New Roman, serif;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #7D6A65;
}

p {line-height: 1.7em;}
b, strong {font-weight: 600;}

a, a:visited {
  color: #333;
  transition: none!important;
}
.article-details a,
.textlink a {
  text-decoration: underline;
}
a:hover, a:focus, a:active {
  color: #BBB2AF !important;
}

a img:hover {
  opacity: 0.7;
}

#sp-main-body {
  padding: 80px 0 0 0;
}

.anchor {
  display: block;
  transform: translateY(-120px);
}

img {
  display: initial;
}

video {
  width: 100%;
  height: auto;
}
video.box {
  width: 300px!important;
  height: auto;
}

blockquote p {
    font-family: serif;
    font-size: 1.5em;
    line-height: 1.3;
    font-style: italic;
}

.home blockquote {
  max-width: 700px;
  margin: 0 auto;
}
.home blockquote p {
  padding: 0.75em 0;
}

/* HEADER */
#sp-header {
  height: 100px;
}
#sp-header.header-sticky {
  animation: inherit;
}
#sp-header .logo {
  height: 100px;
  display: inline-flex;
  margin: 0;
  align-items: center;
}
.logo-image {
  max-height: 85px;
  padding-left: 30px;
}

.logohead p {
  line-height: 80px;
  margin: 0;
}


/* MAINmenu */
#sp-menu {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}
.sp-megamenu-parent {
  padding: 15px 0 0;
  margin: 0 0px;
}
.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li span {
  font-size: 1em;
  font-weight: 400;
  padding: 0 7px;
  line-height: 4.2em
}

.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.active > span,
.sp-megamenu-parent > li.active:hover > a,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > a {
  color: #7D6A65;
  font-weight: 400;
}

.sp-megamenu-parent .sp-dropdown.sp-dropdown-main.sp-menu-right {
  left: auto;
  right: 0;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
  font-size: 1em;
  font-weight: 400;
  line-height: 1.5;
  color: #252525;
  width: 100%;
}


/* CONTENT */
#sp-main-body .container {
  padding-top: 80px;  
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 80px;
  background: rgba(256,256,256,0.85);
  min-height: 76vh;
}
#sp-main-body .container-fluid {
  padding-right: 0;
  padding-left: 0;
}

.article-list .article {
  margin-bottom: 100px;
  padding: 20px;
  border: 0px solid #f5f5f5;
  border-radius: 3px;
}
.article-list .article .article-header h1, 
.article-list .article .article-header h2 {
  font-size: 2.2rem;
  margin: 0 0 1.25rem 0;
}

.article-details li {margin-bottom: 0.6em;}
.tipps .article-details li {margin-bottom: 1em;}

.sp-module-content-bottom {padding-top: 60px;}


.space {display: inline-block;}
.achtel {min-width: 125px;}

.petrol {
  color: #006880;
  font-weight: 600;
}

/*  MEDIABOX  */



/* QUICKindex */
.rl_quickindex.card {
  background-color: rgba(0,0,0,0)!important;
  border: 0px solid rgba(0,0,0,0)!important;
}
.rl_quickindex  .card-body {
  flex: 1 1 auto;
  padding: 0;
}
ul.index {
  list-style: none;
  margin-left: -30px;
}


/* ## JCE_Templates ## */
.wf-columns {
  gap: 1rem;
  margin-bottom: 1rem;
}

.wf-columns.breit {
    gap: 3rem;
  	margin-bottom: 2em;
}
.wf-column.zwei {
    flex: 2;
}

.nowrap {
    flex-wrap: nowrap;
}



/* iFRAMES */
iframe {margin-top: 1.5em;}
.ghkalender {height: 445px;}
.ghformular {height:1100px;}



/* TEASERbutton */
.teaserbtn a {
  text-decoration: none;
  background: #7D6A65;
  color: #fff;
  padding: 10px 30px;
  border-radius: 10px 0 10px 0;
  box-shadow: 0 0 6px rgba(1,1,1,0.2);
  width: max-content;
  display: block;
  margin: 30px auto 40px;
}



/* SOCIALicons*/
#sp-bottom .social .navbar {
  float: right;
  margin-top: -45px;
}
#sp-bottom .social.icon {
  max-width: 30px;
  height: auto;
  margin-left: 20px;
}

.offcanvas-menu .social .nav,
.offcanvas-menu .social .navbar {
  display: flex!important;
  margin: 0 auto;
  width: max-content;
}
.offcanvas-inner .social .navbar li {
  border-bottom: 0px;
}
.offcanvas-inner .social.icon {
  max-width: 30px;
  height: auto;
  margin-left: 0px;
}

/* ### LOGINFORM ###*/
.gastlogin {
  width: 340px;
  margin: 0 auto;
  background: #fff;
  padding: 20px 30px;
  border-radius: 7px;
}
.gastlogin .unstyled {
  display: none;
}

/* ### FOOTER ###*/
#sp-footer, #sp-bottom {
  background: rgba(255, 255, 255, 0);
}
#sp-footer, #sp-footer a, #sp-footer a:visited, #sp-footer a:hover,
#sp-bottom, #sp-bottom a, #sp-bottom a:visited, #sp-bottom a:hover {
  color: #333;
}
#sp-footer a:hover, #sp-bottom a:hover {
  text-decoration: underline;
}

#sp-footer .container, #sp-bottom .container {
  padding-left: 50px;
  padding-right: 50px;
  background: rgba(256,256,256,0.85);
}
#sp-footer .container {
  border-top: 1px solid rgba(1,1,1,0.2);
}
#sp-footer .container-inner {
  padding: 80px 0;
}

#sp-footer .nav, #sp-footer .navbar,
#sp-footer .navbar-expand-md .navbar-collapse,
.offcanvas-menu .nav, .offcanvas-menu .navbar,
.offcanvas-menu .navbar-expand-md .navbar-collapse {
  display: block!important;
  padding-top: 0;
}

#sp-bottom {padding: 0;}


/* OFFCANVAS 
.offcanvas-inner .menu-deeper.menu-parent {
  display: none !important;
}*/
.offcanvas-menu .offcanvas-inner .sp-module:not(:last-child) {
  margin-right: 0px;
}
.offcanvas-menu .offcanvas-inner ul.menu {
  margin: 0;
}
.offcanvas-inner .navbar li {
  border-bottom: 1px solid rgba(32, 31, 31, 0.1);
}
.offcanvas-inner .navbar a {
  padding: 9px;
  display: block;
  font-size: 0.9em;
  color: #333;
}
.offcanvas-menu .offcanvas-inner ul.menu>li {
 font-weight:400;
}
.offcanvas-menu .offcanvas-inner ul.menu>li a,
.offcanvas-menu .offcanvas-inner ul.menu>li span {
  color:#333 !important;
  opacity: 1;
}
.offcanvas-menu .offcanvas-inner ul.menu > li > ul li a {
  font-size: 15px;
  padding: 4px 0px;
  line-height: 18px;
  font-weight: 400;
  margin: 10px 0;
  display: block;
}

.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > a > .menu-toggler::after, 
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > .menu-separator > .menu-toggler::after {
content: "+";
font-weight: 600;
font-size: 2em;
}
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent.menu-parent-open > a > .menu-toggler::after, 
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent.menu-parent-open > .menu-separator > .menu-toggler::after {
content: "–";
font-weight: 600;
font-size: 2em;
}



.sp-scroll-up {
  bottom: 20px;
  right: 10px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  font-size: 16px;
  color: #fff;
  background: rgba(205, 158, 0, 0.85);
  border-radius: 100%;
  z-index: 1000;
}


/* YTvideo */
.ytvideo {
	background: rgba(0,0,0,0);
  	margin-bottom: 40px;
  	display: flex;
  	justify-content: center;
}
.ytvideo img {
    border: 1px solid rgba(0,0,0,0.2);
}
.ytvideo a:hover img {
    opacity: 0.8;
    filter: hue-rotate(-15deg) blur(1px);
}
.ytbtncont {height: 0px;}

.ytbutton {
  	display: flex;
	flex-direction: column;
	transform: translatey(-28vw);
	text-align: center;
  	width: max-content;
	margin: 0 auto;
}
.ytbtn {
    margin: 0 auto;
    width: max-content;
}
.ytbtn i {
    font-size: 80px;
    /*color: rgb(0, 97, 140);*/
    text-shadow: 0 0px 25px #fff;
}
.ytvideo .ytbutton .yttxt,
.ytvideo:hover .ytbutton .ytbtn{
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
}

.ytvideo .ytbutton .yttxt {
  	display: none;
	background: rgba(0,0,0,0.8);
	color: #fff;
  	padding: 10px 10px 1px;
  	max-width: 375px;
}
.yttxt h3 {margin-bottom: 0em;font-size: 1em;}
.yttxt strong {font-weight: 600;}
.yttxt p {
    font-size: 0.8em !important;
    padding: 5px 0 0;
    color: #ccc;
  	hyphens: none;
}

.ytvideo:hover .ytbutton .yttxt {
  	display: flex;
}
.fa-youtube::before {
  	display: block;
    content: " ";
    background: center no-repeat url('/images/icons//youtube-play.svg');
  	width: 12vw;
  	height: 12vw;
  	max-width: 90px;
  	max-height: 90px;
  	filter: drop-shadow(0px 0px 5px rgba(256,256,256,0.3));
}
.ytvideo:hover .fa-youtube::before {
  background: center no-repeat url('/images/icons//youtube-play_red.svg');
}


/*  IMGcompare  
https://www.codehim.com/html5-css3/html-css-image-comparison-slider/
- - */
.wf-column.doppel {min-width: 49.5% !important;}
.wf-column.hoch   {min-width: 27.9% !important;}

.hoch > .c-compare, .c-compare.hoch {
  --h: 16;
  --w: 12;
}

.c-compare {
  --h: 12;
  --m: 1rem 0;
  --w: 16;
  --thumb-bgc: #f6faff;
  --thumb-bgc-focus: #f6faff;
  --thumb-w: 0.5rem;
  margin: var(--m);
  position: relative;
}
.c-compare::after {
  content: "";
  display: block;
  padding-bottom: calc((var(--h) / var(--w)) * 100%);
}
.c-compare__left,
.c-compare__right {
  height: auto;
  object-fit: cover;
  position: absolute;
  width: 100%;
}
.c-compare__left {
  clip-path: polygon(0% 0%, var(--value) 0%, var(--value) 100%, 0% 100%);
}
.c-compare__right {
  clip-path: polygon(100% 0%, var(--value) 0%, var(--value) 100%, 100% 100%);
}
.c-compare__range {
  background-color: transparent;
  box-sizing: border-box;
  font-family: inherit;
  height: 100%;
  margin: 0;
  outline: none;
  position: absolute;
  top: 0;
  width: 100%;
}
.c-compare__range::-moz-range-thumb {
  background-color: var(--thumb-bgc);
  cursor: ew-resize;
  height: 90%;  
  width: var(--thumb-w);
}
.c-compare__range::-webkit-slider-thumb {
  background-color: var(--thumb-bgc);
  cursor: ew-resize;
  height: 100%;  
  width: var(--thumb-w);
}
.c-compare__range:focus::-webkit-slider-thumb {
  background-color: var(--thumb-bgc-focus);
  /*box-shadow: 0 0 0 3px var(--thumb-bgc);*/
}
.c-compare__range:focus::-moz-range-thumb {
  background-color: var(--thumb-bgc-focus);
  /*box-shadow: 0 0 0 3px var(--thumb-bgc);*/
}
.c-compare__range::-moz-range-track {
  background: transparent;
  background-size: 100%;
  box-sizing: border-box;
}
.c-compare__range::-webkit-slider-runnable-track {
  background: transparent;
  background-size: 100%;
  box-sizing: border-box;
  height: 100%;
}
.c-compare__range,
.c-compare__range::-webkit-slider-runnable-track,
.c-compare__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
}



.desktop {display: block;}
.mobile  {display: none;}
/*##########################################*/
/*############ MEDIAqueries ################*/

@media screen and (max-width: 1200px) {
  
  .sp-megamenu-parent {padding: 1.2em 0 0;!important}
  
}

@media screen and (max-width: 992px) {
  
  #sp-header, #sp-header .logo {height: 80px;}
  #sp-menu, #sp-top1 {
    width: max-content;
    padding: 0;
    margin: 0 5px auto;
  }
  #sp-menu {
    position: absolute!important;
    right: 10px;
  }
  
  .logohead p {line-height: 2.2em;}
  .logo-image-phone {height: 65px !important; width: auto;}

  
  .ghkalender.desktop {display: none;}
  .ghkalender.mobile  {display: block;}
  .ghformular {height:1550px;}
  
  .col-lg-4 {
  flex: 0 0 auto;
  width: 33.33333333%;
  }

}


@media screen and (max-width: 640px) {
  .desktop {display: none;}
  .mobile  {display: block;}
  
  body {font-size: 90%;}
  
  #sp-header {height: 80px;}
  
  #sp-main-body .container {
    padding-top: 50px;
    padding-left: 20px;
    padding-right: 30px;
  }
  .home #sp-main-body .container {
    padding-top: 30px;
    padding-left: 0;
    padding-right: 0;
  }
  
  #sp-menu, #sp-top1 {
    width: max-content;
    padding: 0;
    margin: 0 5px auto;
  }
  .logohead p {line-height: 2.2em;}
  
  .navbar-toggler {
    display: none!important;
  }
  
  .article-list .article .article-header h1, .article-list .article .article-header h2 {
    font-size: 1.9em;
  }
  .article-list .article {
    margin-bottom: 0px;
  }
  
  #sp-footer, #sp-bottom, #sp-footer #sp-footer2 {
    text-align: center;
  }
  #sp-footer .sp-module, #sp-bottom .sp-module {
    margin: 20px 0;
    line-height: 2.5em;
  }
  
  .ghformular {height:1550px;}
  
  .col-lg-4 {
    width: 100%;
  }
  .wf-columns .wf-column {
    max-width: 47%;
  }
  .vergleich .wf-columns .wf-column {
    max-width: 100%;
  }
  .wf-mediabox-body.wf-mediabox-transition {
  max-width: 100vw !important;
}


}


@media (max-width: 768px) {
  .container, .container-sm {
  max-width: 100vw!important;
  }
  .home blockquote p {
    padding: 0.25em 0;
    font-size: 1.3em;
    line-height: 1.2;
  }

}

