/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       WebWork Beate Bodendorf
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

html {box-sizing: border-box;}
*, ::before, ::after {box-sizing: inherit;}

/*Video*/

.elastic-video {
    position: relative;
    padding-bottom: 55%;
    padding-top: 15px;
    height: 0;
    overflow: hidden;}

.elastic-video iframe, .elastic-video .video-extern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;}

div.elastic-video {margin-bottom: 1em;}

/*Zusätzliche Klassen */

.uppercase, .footer-widget-1 a {text-transform: uppercase !important;} 

.no-paddingbottom-mobile .gb-inside-container {padding-bottom: 0 !important;}
.no-paddingtop-mobile .gb-inside-container {padding-top: 0 !important;}

.margin-top {margin-top: 1em;}
.small {font-size: 80%;}

.blocks-gallery-grid .blocks-gallery-item figure {margin-bottom: 0.5em;}

@media screen and (max-width:768px) {
    
    .inside-header, .footer-widgets-container {
        padding-right: 20px;
        padding-left: 20px;}
    
	.gb-grid-wrapper .gb-grid-column {margin-bottom: 1em;} /*bei Generate Blocks*/
	.gb-grid-wrapper .gb-grid-column:last-child {margin-bottom: 0;}    
    
    figure.wp-block-image {
        margin-left: auto;
        margin-right: auto;
        /*max-width: 450px;*/}
}

/*Allgemeines Layout*/

.site-header {border-bottom: 1px solid #D1D1D1;}

.site-main .wp-block-group__inner-container {padding: 0 !important;}

h1, h2, h3, .main-navigation a, .team-navi a {font-family: "Arsenal", Sans-serif;font-weight:700;}

h4 {font-weight:700;}

.container.grid-container {width: 100%;} /*Full Width*/

#primary ul, #primary ol {margin-left: 20px;}

p, #content ul, #content ol {margin-bottom: 1.2em;}
#content ul li, #content ol li {margin-bottom: 0.2em;}
#primary ul.wp-block-post-template {margin-left: 0;}
#primary ul.blocks-gallery-grid {margin-left: 0;}

.sub-menu li:first-child a {padding-top: 20px !important;}
.sub-menu li:last-child a {padding-bottom: 20px !important;}

.gp-icon {font-size: 1.3rem;}

#content a:link, #content a:visited, #footer-widgets a {text-decoration: none;}

.wp-block-table table, .wp-block-table table td, .wp-block-table table tr {border: 0;}
.wp-block-table table td {padding: 0 0 0.3em 0;}

/*Slider*/
div.metaslider .flexslider {margin-bottom: 0;}
#primary .metaslider ul {margin: 0;}

/*Blog*/

.entry-summary {
    margin-top: 0.4em !important;
    font-weight: bold;}

/*Teamseite*/

.kontakt-box {
    background-color: #eaedbe;
    color: #222222;}

.kontakt-box hr {margin-left: auto;margin-right: auto;width: 40%;}

.kontakt-box a:link, .kontakt-box a:visited {color: #222222;}
.kontakt-box a:hover, .kontakt-box a:active {color: #94a928;}

/*Team Navi*/

.team-navi .wp-block-navigation__container {;
    border-top: 1px solid #94a928;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: 0 !important;
}

.team-navi li {padding-right: 5px;}

.team-navi a:after {
    content: '  ·';
}

/*Elemente verstecken*/

.elementtohide {
	position: absolute;
	top: -9999px;
	left: -9999px;
	width: 0;
	height: 0;
	font-size: 0;
	line-height: 0;}

/*GP Buttons und Download Buttons*/

a.gb-button:link, a.gb-button:visited, .wp-block-file .wp-block-file__button {
    background: #94a928;
    border: 1px solid #94a928;
    color: #fff;
    padding: 10px 15px;}

a.gb-button:hover, a.gb-button:active, .wp-block-file .wp-block-file__button:hover, .wp-block-file .wp-block-file__button:active {
    background: #fff !important;
    color: #94a928 !important;
    text-decoration: none !important;}

.wp-block-file__button {float: right;}

div.wp-block-file {margin-bottom: 3em;}

@media screen and (max-width:550px) {
    div.wp-block-file {margin-bottom: 5em;}
}


/*Sticky Footer*/

#page {flex: 1 1 auto;}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Roboto',sans-serif;}

.footer-widgets .widget {
    margin-bottom: 15px;
}

/*Form*/

input[type=checkbox], input[type=radio] {
	/* Double-sized Checkboxes */
	-ms-transform: scale(1.5); /* IE */
	-moz-transform: scale(1.5); /* FF */
	-webkit-transform: scale(1.5); /* Safari and Chrome */
	-o-transform: scale(1.5); /* Opera */
	transform: scale(1.5);
	padding: 10px;
	margin-left: 5px;
	margin-right: 10px;}

input[type=checkbox] {margin-bottom: 0 !important;}

input[type=text], input[type=tel], input[type=email] {width: 100%;}

span.wpcf7-list-item {margin:0 !important;}

/*Blog*/

.one-container .site-content {
    padding: 40px 20px 40px 20px;
}

/*ab 1025px*/

@media screen and (min-width: 1025px) {
	
    .nav-links a.prev, .nav-links a.page-numbers, .nav-links span {margin-right: 10px;}
    
    .flex-form {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;}
    
    .flex-form div {
        flex: 0 1 48%;}
    
    .inside-header {align-items: flex-end;}
    
}

/*Small*/

@media screen and (max-width: 1024px) {
	
    #primary-menu a, .menu-toggle {text-align: center;} /*prüfen*/
	#primary-menu a {font-size: 1.4rem;} 
	body, blockquote, h5 {font-size: 1.2rem;}
    #right-sidebar a {font-size: 1.1rem !important;}
	h1 {font-size: 2rem;}
	h2 {font-size: 1.6rem;}
    h3, ul.schwerpunkt {font-size: 1.4rem;}
    h4 {font-size: 1.3rem;}
        
    .main-navigation, .menu-toggle {background-color: #fff !important;}
	
    .paging-navigation .nav-links>* {
        padding: 8px 20px;
        border: 1px solid #000;
        margin-right: 10px;}
	
	table, table td, table th, table tr {display: block;}
	.wp-block-table tr {margin-bottom: 1.2em;}
    
    .kontakt-box {padding: 35px;}
    
    .site-header .header-image {width: 230px;}    
	
    .inside-footer-widgets {text-align: center;}
	
}

/* Medium */
@media screen and (min-width:1025px) and (max-width:1499px) {
	
	#primary-menu a {font-size: 1.5rem;} 
	body, blockquote, h5 {font-size: 1.3rem;}
    #right-sidebar a {font-size: 1.1rem !important;}
	h1 {font-size: 2.2rem;}
	h2 {font-size: 1.8rem;}
    h3, ul.schwerpunkt {font-size: 1.5rem;}
    h4 {font-size: 1.4rem;}
    
    .kontakt-box {padding: 40px;}
    
    .site-header .header-image {width: 300px;}
	
}

/* Large */
@media screen and (min-width:1500px) {

	#primary-menu a {font-size: 1.6rem;} 
	body, blockquote, h5 {font-size: 1.4rem;}
    #right-sidebar a {font-size: 1.1rem !important;}
	h1 {font-size: 2.4rem;}
	h2 {font-size: 1.9rem;}
    h3, ul.schwerpunkt {font-size: 1.6rem;}
    h4 {font-size: 1.5rem;}
    
    .kontakt-box {padding: 45px;}
    
    .team-navi {
        margin-top: 60px;
        font-size: 1rem;
    }

}


@media screen and (min-width:1350px) {
    .footer-widgets-container {
        padding-left: 0;
        padding-right: 0;}
}

@media print {
	.search-item, .menu-toggle, .site-info, .no-print, .mobile-menu, #site-navigation, p.cta, #sticky-navigation, #right-sidebar, .paging-navigation, .wp-block-buttons .wp-block-button, form, #footer-widgets, .menu-toggle .gp-icon {display: none;}
	
	.sticky-enabled .main-navigation.is_stuck {height: 0;box-shadow: none;}
    
    .gb-button {display: none !important;}
	
	.menu-toggle:before {content: "";}
	
	#main img {width: 400px;}
    
    .site-header .header-image {width: 150px;}
    
    div.copyright-bar, h1 {color: #222 !important;}
    
    div.site-logo {margin-left: 40%;}
    
    body {font-size: 16px; !important;} 
    h1 {font-size: 22px; !important;}
    h2, h3, h4 {font-size: 20px; !important;}
}

/* arsenal-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Arsenal';
  font-style: normal;
  font-weight: 400;
  src: url('../../../fonts/arsenal-v12-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../../../fonts/arsenal-v12-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* arsenal-italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Arsenal';
  font-style: italic;
  font-weight: 400;
  src: url('../../../fonts/arsenal-v12-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../../../fonts/arsenal-v12-latin-italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* arsenal-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Arsenal';
  font-style: normal;
  font-weight: 700;
  src: url('../../../fonts/arsenal-v12-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../../../fonts/arsenal-v12-latin-700.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* arsenal-700italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Arsenal';
  font-style: italic;
  font-weight: 700;
  src: url('../../../fonts/arsenal-v12-latin-700italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../../../fonts/arsenal-v12-latin-700italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../../../fonts/roboto-v30-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../../../fonts/roboto-v30-latin-300.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-300italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  src: url('../../../fonts/roboto-v30-latin-300italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../../../fonts/roboto-v30-latin-300italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../../../fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../../../fonts/roboto-v30-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: url('../../../fonts/roboto-v30-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../../../fonts/roboto-v30-latin-italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('../../../fonts/roboto-v30-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../../../fonts/roboto-v30-latin-500.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-500italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 500;
  src: url('../../../fonts/roboto-v30-latin-500italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../../../fonts/roboto-v30-latin-500italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../../../fonts/roboto-v30-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../../../fonts/roboto-v30-latin-700.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-700italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 700;
  src: url('../../../fonts/roboto-v30-latin-700italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../../../fonts/roboto-v30-latin-700italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-900 - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  src: url('../../../fonts/roboto-v30-latin-900.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../../../fonts/roboto-v30-latin-900.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-900italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 900;
  src: url('../../../fonts/roboto-v30-latin-900italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../../../fonts/roboto-v30-latin-900italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}