/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

:root {
	--color-primary: #91B508;
	--color-secondary: #F9DB22;
	--color-text: #161615;
	--color-dark-grey: #707070;
	--color-dark-green: #739619;
	--color-light-grey: #eff2f1
}

/* Fonts */

@font-face {
    font-family:'PT Sans';
    font-style: normal;
    font-weight: 400;
	font-display: swap;
    src: 
      url(fonts/PTSans-latin-v17-regular.woff2) format('woff2'),
      url(fonts/PTSans-latin-v17-regular.ttf) format('ttf');
}

@font-face {
    font-family:'PT Sans';
    font-style: normal;
    font-weight: 700;
	font-display: swap;
    src: 
      url(fonts/PTSans-latin-v17-bold.woff2) format('woff2'),
      url(fonts/PTSans-latin-v17-bold.ttf) format('ttf');
}

/* General */

.oeko-divider {
  width: 200px;
  max-width: 100%;
  height: 7px;
  background-color: rgba(255, 255, 255, 0.5);
}

.generate-back-to-top {
 border-radius:50%;
}

a.generate-back-to-top {
 background-color:#cbcbcb;
}

.gb-container .wp-block-image img {
 border-radius: 8px;
}

p {
	max-width: 820px;
}

.site-header .header-image {
 max-width: calc(100vw - 120px);
 min-width: 200px;
}


/* Headlines */

/*
h2 {
  position: relative;
  padding-left: 0.6em;
}


h2::before {
  position: absolute;
  content: '';
  left: 0;
  top: 20%;
  bottom: 18%;
  width: 7px;
  background-color: #D9D418;
}
*/

/* menu */
.main-navigation .main-nav ul li a {
 padding-left:0px;
 padding-right:60px;
}

.menu-item::after  {
  position: absolute;
  content: '';
  height: 7px;
  bottom: 0;
  width: 0;
  left: 0;

  background-color: var(--color-primary);
	transition: 0.3s ease-in-out
}

.current-menu-item::after, .menu-item:hover::after  {
	width: 50px;
}


#site-navigation {
  background-color: #fff !important;
}

/* Helper */

.d-none {
	display: none;
}

/* home */

#logo-anim img {
    animation-name: rotate;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
	opacity: 0.6;
}

@keyframes rotate {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/*
.gb-container.gb-container-dbd78399::after {
  content: 'Anleihe vollständig gezeichnet!';
  position: absolute;
  right: 25px;
  bottom: -9px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 12px solid white;
  text-align: center;
  padding-top: 2em;
  padding: 2.15em 1em;
  background-color: #f9db22;
  font-weight: bold;
  font-size: 1.2em;
  color: #1b3b6a; 
}
*/

.home #main {
  margin-top: 0;
}

.home #main .inside-article {
  padding-top: 0;
}

.gb-grid-wrapper.info-circles {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.info-circles .gb-inside-container {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background-color: #95c11f;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  padding: 25px !important;
  margin-bottom: 30px;
  border: 12px solid #A0CF21;
}

.info-circles .gb-grid-column {
  width: auto;
}

.info-circles svg {
  height: 55px;
}

.gb-grid-wrapper.info-circles {
  padding: 0 10px;
}


.info-circles h3 {
  margin-top: 5px;
	color: #fff !important;
	font-weight: 
}

.info-circles .gb-grid-column > .gb-container {
 align-items: center;
}


@media (max-width: 767px) {
 .info-circles .gb-grid-column {
  width: 100%;
 }
}

.gb-container.gb-container-052a0fff > div {
  padding-bottom: 0 !important;
}



.bg-leaf.gb-block-container .gb-container-image {
  width: auto;
  object-fit: scale-down;
  padding-top: 17%;
}

.bg-leaf.gb-block-container .gb-container-image-wrap {
  text-align: right;
}


.gb-container-85e1ad33 > div:nth-child(1) > iframe:nth-child(2) {
  border-radius: 8px;
}

@media (max-width: 767px) {
 .oeko-boxes .gb-grid-wrapper > .gb-grid-column {
  margin-bottom: 30px;
 }
}

.home .gb-container.gb-container-cd2bab6c, .page-id-633 .gb-container.gb-container-cd2bab6c, .page-id-184 .gb-container.gb-container-cd2bab6c {
  background-color: #eff2f1;
}


/* Gallery */

.blocks-gallery-item img {
  border-radius: 8px;
}

/* Table */

table, td, th {
  /* border: 1px solid rgba(0,0,0,.1); */
  border: none;
}

tr td:first-child {
  font-weight: 600;
}

td {
  /* border-bottom: 2px solid #c6c6c6; */
  border-bottom: 2px solid var(--color-light-grey);
  padding: 10px 7px;
  vertical-align: top;
}

.block-technik td {
  border-color: #D7D9D8;
}

tbody tr:last-child td {
  border: none;
}

/* Cookie */

._brlbs-embed._brlbs-google-maps {
  border-radius: 8px;
  width: 100%;
  height: 500px;
  background: linear-gradient(180deg, #91B508 50%, #739619);
}

._brlbs-caption p {
  max-width: 100%;
}

#BorlabsCookieBox ._brlbs-block-content {
 z-index:99999999999;
}

/* Terms PopUp */

.termsagree {
background: #95c11f !important;
border-radius: 60px;
margin-right: 10px;
}

.termsdecline {
background: #f7f7f7 !important;
border-radius: 60px;
color: #1d1d1b !important;
}

#wptp-container h3.termstitle {
background: none;
color: inherit;
font-size: 29px;
margin: 0 0 20px 0 !important;
}

.tbrightcontent {
 border-radius: 8px;
 height: auto !important;
}

.termsagree {
 margin-bottom: 10px;
}

/* Footer */

.footer-links {
  margin-top: 1.2em;
  font-size: 0.9em;
}

/* technische daten */
.page-id-633 td {
  border-color: #fff;
}

/* Cookie */
.ccm-settings-summoner {
	bottom: 100px !important;
}


