/* Main Styles */
html,
body {
	min-height: 100%;
	position: relative;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

iframe {
	margin-bottom: 20px;
}

body {
	color: #636468;
	/* font-family: 'Adobe Garamond W01', serif; */
	font-family: 'EB Garamond', serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.6;
}

a,
a:hover {
	color: #636468;
	text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 1em;
	color: #00456c;
}

h1,
h2,
h3 {
	font-weight: 400;
}

h1 {
	font-size: 34px;
}

h2 {
	font-size: 24px;
	margin-bottom: 20px;
}

h3 {
	font-size: 20px;
}

img {
	height: auto;
	width: 100%;
}

.button {
	background-color: #556B2F;
	border-radius: 5px;
	color: #ffffff;
	margin: 0 auto;
	padding: 5px 15px;
	text-decoration: none;
}

.button:hover {
	background-color: rgba(85, 107, 47, 0.8);
	text-decoration: none;
	color: #ffffff;
}

.main {
	margin-left: auto;
	margin-right: auto;
	padding-top: 40px;
	padding-bottom: 70px;
	width: 100%;
}

@media (min-width: 768px) {
	h2 {
		font-size: 36px;
		margin-bottom: 20px;
	}

	h3 {
		font-size: 24px;
	}
}

/* Referenzen */
.referenzen .image {
	margin-bottom: 30px;
	overflow: hidden;
	padding: 0px;
}

.referenzen .image img {
	transform: scale(1);
	transition: all 20s;
}

.referenzen .image img:hover {
	transform: scale(1.2);
}

.referenzen figcaption {
	background-color: rgba(85, 107, 47, 0.8);
	bottom: 30px;
	color: #ffffff;
	font-size: 24px;
	opacity: 0;
	padding: 0px 15px;
	position: absolute;
	transition: all 0.2s;
	width: calc(100% - 30px);
}

.referenzen .image:hover figcaption {
	opacity: 1;
}

ul,
.ce-intext.ce-left ol,
.ce-intext.ce-left ul {
	padding-left: 1.2em;
}

/* Fix for references inside gridelements */
.container .frame-type-shortcut>.container {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
	margin-right: 0;
	margin-left: 0;
}

.responsive-youtube .video-embed {
	position: relative;
	padding-bottom: 56.25%;
	/* 16:9 */
	height: 0;
}

.responsive-youtube .video-embed-item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}