/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Monika Reiter
 Author URI:   https://www.moreweb.design
 Template:     generatepress
 Version:      1.0
*/

@font-face {
	font-display: swap;
	font-family: 'CPCompany400';
	src: url('fonts/CPCompany400Web.eot');
	src: url('fonts/CPCompany400Web.eot?#iefix') format('embedded-opentype'),
	     url('fonts/CPCompany400Web.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-display: swap;
    font-family: 'CPCompany700';
    src: url('fonts/CPCompany700Web.eot');
    src: url('fonts/CPCompany700Web.eot?#iefix') format('embedded-opentype'),
         url('fonts/CPCompany700Web.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
	margin: 0;
	padding: 0;
	font-family: 'CPCompany400', sans-serif;
	font-weight: normal;
	font-style: normal;
	color: #00395d;
	background: #f7f8f9 url("images/bg-body.webp") 0 40px repeat-x;
	font-size: 1em;
	font-display: swap;
	line-height: 1;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'CPCompany700', sans-serif;
	font-weight: normal;
	font-style: normal;
	font-display: swap;
	line-height: 1.2;
	margin-top: 20px;
	margin-bottom: 10px;
}
h1 {
	font-size: 1.5em;
	line-height: 1;
	text-transform: uppercase;
	color: #cba500;
}
h2 {
	font-size: 1.5em;
	text-transform: uppercase;
	color: #005e72;
}
h3 {
	font-size: 1.25em;
	font-family: 'CPCompany400', sans-serif;
	color: #63852c;
}
h4 {
	font-size: 1.25em;
	font-family: 'CPCompany400', sans-serif;
	color: #005e72;
}
h5 {
	font-size: 1.125em;
	font-family: 'CPCompany700', sans-serif;
	color: #005e72;
}
h6 {
	font-size: 1.125em;
}
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
	margin-top: 0;	
}

p {
	font-size: 1.0em;
	color: #00395d;
	line-height: 1.4;
	margin: 0 0 16px;
	/*
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	-o-hyphens: none;
	hyphens: none;*/
}
ol, ul {
    margin: 0 0 1.5em 1.1em;
}
li {
	font-size: 1.0em;
	color: #00395d;
	line-height: 1.4;
}

a:link, a:visited {
	font-family: 'CPCompany700', sans-serif;
	font-weight: normal;
	color: #cba500;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}

strong {
	font-family: 'CPCompany700', sans-serif;
	font-weight: normal;
	color: #cba500;
}

.wp-block-columns {
	gap: 30px !important;
	padding: 0 !important;
}


/* ----- HEADER ----- */
.menu-toggle {
    font-size: 1.5em;
}

.slideout-navigation.main-navigation {
    background: #fff url("images/bg-body.webp") 0 0 repeat-x;
}
.slideout-navigation.do-overlay .inside-navigation {
    padding-top: 5% !important;
}
.main-nav a {
	font-family: 'CPCompany700', sans-serif;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
}
.site-header {
	background: #00102b;
}
@media (min-width: 768px) and (max-width: 1200px) {
	.inside-header {
		padding-left: 20px;
	}
}

/* ----- FOOTER ----- */
.footer-widgets-container {
	background: #fff url("images/bg-footer.webp") center 0 no-repeat;
	padding: 250px 0 0;
}
body.home .footer-widgets-container {
	background: #fff;
	padding: 0;
}

.footer-widget-1 img {
	max-width: 280px;
}
.footer-widget-2 {
	padding-right: 20px;
}
.footer-widget-2 img {
	max-width: 230px;
}
.site-info {
	line-height: 1.4;
}

/* ----- CONTENT ----- */
.content-area {
    background: #fff url("images/bg-headline.webp") center -80px no-repeat;
}
.entry-header,
h1.blog {
	padding: 8px 0 40px 10px;
}
.entry-content {
	background: #fff;
	padding: 0 0 0 10px;
	min-height: 149px;
}
.entry-content-blog {
	background: #fff;
	padding: 0 10px;
}
.entry-content-blog h2 {
	font-size: 1.25em;
	font-family: 'CPCompany400', sans-serif;
	color: #63852c;
	text-transform: none;
	margin-bottom: 20px !important;
}
.wp-block-columns.entry-content-text {
	padding-right: 10px !important;
}
.ankoe-logo img {
	max-width: 120px;
}

.referenzen .kb-query-grid-wrap .kb-query-item.kb-query-block-post {
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.1) !important;
}
.referenzen .wp-block-kadence-tab {
	padding: 0 20px 0 0 !important;	
}
.referenzen .kt-tab-title {
	/* max-width: 260px; */
	font-family: 'CPCompany700', sans-serif;
	text-transform: uppercase;
	font-size: 1em !important;
	padding: 8px 10px 12px !important;
	background: #11393b;
	color: #fff !important;
}
.referenzen .kt-tab-title:hover,
.referenzen .kt-tab-title-active .kt-tab-title {
	background: #63852c !important;
}

/* ----- HOME STARTSEITE ----- */
body.home .content-area {
	background: none;
}
body.home .site.grid-container {
    background: #fff url("images/bg-content.webp") 0 -80px no-repeat;
}
body.home .entry-content {
	background: none;
	min-height: 560px;
	padding: 0 10px;
}

.home-menu {
	padding-top: 32px;
}
.home-menu.drei {
	padding-top: 43px;
}
.home-menu.vier {
	padding-top: 20px;
}
.home-menu.fuenf {
	padding-top: 24px;
}
.home-menu a {
	margin-left: 100px;
	color: #fff;
	font-family: 'CPCompany700', sans-serif;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
}
.home-menu a:hover {
	color: #cba500;
}

/* ----- GALLERY ----- */
ul.filebird-block-filebird-gallery {
	/* padding-right: 10px !important; */
	margin-bottom: 10px !important;
}
ul.filebird-block-filebird-gallery.layout-grid li img {
    border: 1px solid #cba500;
	border-radius: 25px;
	box-shadow: none;
	max-height: 170px;
	min-height: 170px;
}
button.pswp__button.pswp__button--share {
	display: none;
}

/*
.referenzen-box {
    border: 1px solid #cba500;
	border-radius: 25px;
	min-height: 200px;
	max-width: 96%;
}
.referenzen-box a.referenzen-btn {
	background: rgba(0,16,43,0.75);
	width: 100%;
	text-align: center;
	margin-top: 120px;
	text-decoration: none;
} */

@media (min-width: 768px) {
	.slideout-navigation.do-overlay .inside-navigation {
		padding-top: 100px !important;
	}
	.wp-block-columns {
		gap: 40px !important;
		padding: 0 !important;
	}
	.entry-header,
	h1.blog {
		padding: 10px 0 40px 100px;
	}
	.entry-content {
		padding-left: 100px;
	}
	.entry-content-blog {
		padding: 0 20px 0 100px;
	}
	.wp-block-columns.entry-content-text {
		padding-right: 20px !important;
	}
	.referenzen .kt-tab-title {
		padding: 8px 20px 4px !important;
	}
	/*
	.referenzen-box {
		max-width: 96%;
		min-height: 300px;
	}
	.referenzen-box a.referenzen-btn {
		margin-top: 200px;
	}
	ul.filebird-block-filebird-gallery {
		padding-right: 20px !important;
	}*/
}
@media (min-width: 768px) and (max-width: 1023px) {
	.referenzen .kt-tab-title {
		font-size: 0.85em !important;
	}
}
@media (min-width: 1024px) {
	.referenzen .kt-tab-title {
		min-width: 200px;
	}
}
@media (min-width: 1200px) {
	.referenzen .kt-tab-title {
		width: 260px;
	}
}
@media (max-width: 767px) {
	.referenzen .kt-tab-title {
		margin-top: 4px !important;
	}
}

