/*
Theme Name: Granit Partner Template - Version 2
Theme URI: http://www.granitpartner.de
Author: Matthias Klindworth
Author URI: http://www.k-evolution.de
Description: Version 2 der Granit Partner Webseiten. Bitte nutzen Sie den Customizer um Ihre Daten und Einstellungen der Seite zu pflegen.
Version: 0.8.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: granitpartner
*/
@charset "UTF-8";

*,
*::before,
*::after {
	box-sizing: border-box;
	z-index: 1;
}

html {
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-ms-overflow-style: scrollbar;
	-webkit-tap-highlight-color: transparent;
}

@-ms-viewport {
	width: device-width;
}

body {
	margin: 0;
	padding: 0;
}

.container {
	margin: 0 auto;
	width: 100%;
	max-width: 1200px;
}

h1, .h1 {
	display: block;
	font-size: 1.6em;
	font-weight: 700;
	margin-top: 5px;
	margin-bottom: 10px;
}
h2, .h2 {
	display: block;
	font-size: 1.4em;
	font-weight: 700;
	margin-top: 5px;
	margin-bottom: 10px;
}
h3, .h3 {
	display: block;
	font-size: 1.3em;
	font-weight: 700;
	margin-top: 5px;
	margin-bottom: 10px;
}
h4, .h4 {
	display: block;
	font-size: 1.2em;
	font-weight: 700;
	margin-top: 5px;
	margin-bottom: 10px;
}
h5, .h5 {
	display: block;
	font-size: 1.1em;
	font-weight: 700;
	margin-top: 5px;
	margin-bottom: 10px;
}
h6, .h6 {
	display: block;
	font-size: 1.0em;
	font-weight: 700;
	margin-top: 5px;
	margin-bottom: 10px;
}
h1 > *, .h1 > *,
h2 > *, .h2 > *,
h3 > *, .h3 > *,
h4 > *, .h4 > *,
h5 > *, .h5 > *,
h6 > *, .h6 > * {
	font-size: inherit;
	color: inherit;
}
address {
	display: block;
	font-style: normal;
	margin-bottom: 10px;
}
a.mehr {
	text-decoration: none;
}
.aligncenter {
	display: block;
	margin: auto;
}
.alignright {
	float: right;
	margin-left: 10px;
	margin-bottom: 10px;
}
.alignleft {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}

#test {
	border: 1px solid darkgrey;
	padding: 15px;
	border-radius: 5px;
}


iframes {
	width: 100%;
	min-height: 400px;
}

.section,
section {
	clear: both;
	overflow: hidden;
	position: relative;
	margin-bottom: 15px;
	padding-bottom: 45px;
}
.section .mehr,
section .mehr {
	position: absolute;
	right: 15px;
	bottom: 15px;
}
article {
	overflow: hidden;
	padding-bottom: 15px;
}

/* Formulare */
label {
	margin-top: 15px;
	display: block;
	font-weight: bold;
}
input[type=text],
input[type=email],
textarea {
	display: block;
	padding: 5px 10px;
	border-radius: 2px;
	width: 100%;
	height: auto;
	border: 1px solid #ccc;
	font-size: 1em;
}
.submit {
	font-size: 1.1em;
	font-weight: bold;
	margin-top: 15px;
	padding: 5px 10px !important;

}

/* Header */
header {
	position: relative;
	padding: 15px;
	padding-bottom: 55px;
	z-index: 2;
}
header * {
	z-index: 2;
	min-height: 50px;
}

/* Logo */
.custom-logo {
	display: block;
}

/* Navigation */
header nav {
	position: absolute;
	right: 0px;
	bottom: 0px;
}
	header nav ul,
	header nav li {
		list-style: none;
		margin: 0;
		padding: 0;
		z-index: 3;
		background: #fff;
	}
	header nav > ul > li {
		display: inline-block;
		position: relative;
		z-index: 3;
	}
	header nav > ul > li > a {
		display: block;
		padding: 10px;
		text-decoration: none;
		z-index: 4;
	}
		header nav > ul > li .sub-menu {
			display: none;
			position: absolute;
			left: 0;
			background: #fff;
			z-index: 5 !important;
			white-space: nowrap;
		}
		header nav > ul > li:Hover .sub-menu {
			display: block;
		}
		header nav > ul > li:last-child .sub-menu {
			right: 0;
			left: auto;
		}
.sub-menu a,
.sub-menu a:Hover {
	padding: 5px 10px;
	display: block;
	text-decoration: none;
	background: #fff;
}
#opener,
#close {
	display: none;
}

/* Teaser */
#teaser {
	z-index: 1 !important;
}
#teaser img {
	max-width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
}

/* Body */
#body {
	padding: 15px;
	z-index: 1;
}

/* Footer */
footer {
	padding: 15px;
	clear: both;
	z-index: 1;
}
footer > div > div:last-child {
	text-align: right;
}
footer > div {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;

	-ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;

	align-items: center;
}
footer ul,
footer li {
	list-style: none;
	margin: 0;
	padding: 0;
}
footer ul li a {
	text-decoration: none;
	margin-left: 10px;
}
footer ul li a:first-child {
	margin: 0;	
}

/* Row */
	.row {
	  display: -webkit-box;
	  display: -ms-flexbox;
	  display: flex;
	  -ms-flex-wrap: wrap;
	  flex-wrap: wrap;
	  margin-right: -15px;
	  margin-left: -15px;
	}
		.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
		.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
		.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
		.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
		.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
		.col-xl-auto {
		  position: relative;
		  width: 100%;
		  min-height: 1px;
		  padding-right: 15px;
		  padding-left: 15px;
		}

		.col {
		  -ms-flex-preferred-size: 0;
		  flex-basis: 0;
		  -webkit-box-flex: 1;
		  -ms-flex-positive: 1;
		  flex-grow: 1;
		  max-width: 100%;
		}
		.col-auto {
		  -webkit-box-flex: 0;
		  -ms-flex: 0 0 auto;
		  flex: 0 0 auto;
		  width: auto;
		  max-width: none;
		}

		.col-1 {
		  -webkit-box-flex: 0;
		  -ms-flex: 0 0 8.333333%;
		  flex: 0 0 8.333333%;
		  max-width: 8.333333%;
		}

		.col-2 {
		  -webkit-box-flex: 0;
		  -ms-flex: 0 0 16.666667%;
		  flex: 0 0 16.666667%;
		  max-width: 16.666667%;
		}

		.col-3 {
		  -webkit-box-flex: 0;
		  -ms-flex: 0 0 25%;
		  flex: 0 0 25%;
		  max-width: 25%;
		}

		.col-4 {
		  -webkit-box-flex: 0;
		  -ms-flex: 0 0 33.333333%;
		  flex: 0 0 33.333333%;
		  max-width: 33.333333%;
		}

		.col-5 {
		  -webkit-box-flex: 0;
		  -ms-flex: 0 0 41.666667%;
		  flex: 0 0 41.666667%;
		  max-width: 41.666667%;
		}

		.col-6 {
		  -webkit-box-flex: 0;
		  -ms-flex: 0 0 50%;
		  flex: 0 0 50%;
		  max-width: 50%;
		}

		.col-7 {
		  -webkit-box-flex: 0;
		  -ms-flex: 0 0 58.333333%;
		  flex: 0 0 58.333333%;
		  max-width: 58.333333%;
		}

		.col-8 {
		  -webkit-box-flex: 0;
		  -ms-flex: 0 0 66.666667%;
		  flex: 0 0 66.666667%;
		  max-width: 66.666667%;
		}

		.col-9 {
		  -webkit-box-flex: 0;
		  -ms-flex: 0 0 75%;
		  flex: 0 0 75%;
		  max-width: 75%;
		}

		.col-10 {
		  -webkit-box-flex: 0;
		  -ms-flex: 0 0 83.333333%;
		  flex: 0 0 83.333333%;
		  max-width: 83.333333%;
		}

		.col-11 {
		  -webkit-box-flex: 0;
		  -ms-flex: 0 0 91.666667%;
		  flex: 0 0 91.666667%;
		  max-width: 91.666667%;
		}

		.col-12 {
		  -webkit-box-flex: 0;
		  -ms-flex: 0 0 100%;
		  flex: 0 0 100%;
		  max-width: 100%;
		}
.col img {
	max-width: 100%;
	height: auto;
}

/* GALERIE */
.gallery {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	z-index: 1;
	padding: 0 !important;
	margin: 20px 0;
}
	.gallery * {
		position: relative;
		z-index: 1 !important;
	}
	.gallery .before,
	.gallery .next {
		cursor: pointer;
		position: absolute;
		left: 0px;
		top: 0%;
		bottom: 0;
		font-size: 4em;
		color: #fff !important;
		z-index: 9999 !important;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;

		-ms-flex-align: center;
		-webkit-align-items: center;
		-webkit-box-align: center;

		align-items: center;
	} 
	.gallery .next {
		right: 0px;
		left: auto;
	}
	.gallery .before:Hover,
	.gallery .next:Hover {
		background: rgba(0,0,0,0.1);
	}
	.gallery .before i,
	.gallery .next i {
		color: #fff !important;
		text-shadow: 0 0 5px #888;
	}
	.gallery img {
		display: block;
		margin: auto;
		max-width: 100%;
		height: auto;
	}
	.gallery figure {
		width: 100%;
		display: none;
		margin: 0 !important;
		text-align: center !important;
	}
	.gallery figure:first-child {
		display: block;
	}
	.gallery .wp-caption-text {
		position: absolute;
		bottom: 20px;
		left: 30%;
		right: 30%;
		background-color: rgba(0,0,0,0.8);
		color: #fff !important;
		text-align: center;
		padding:  10px;
		overflow: auto;
	}
	gallery .wp-caption-text * {
		color: #fff;
	}

#wpadminbar * {
	color: #fff !important;
}

table.odd {
	width: 100%;
}
table.odd td {
	padding: 5px !important;
}
table.odd tr:nth-child(odd) td {
	background: #ddd;
}
img {
	max-width: 100%;
	height: auto;
}

a.page-numbers {
	border: none !important;
	text-decoration: none !important;
}
a.page-numbers * {
	border: none !important;
}

input[name='kontakt_honig'],
input[name='kontakt_hash'] {
	display: none;
}

/* POPUP */
#popup {
	position: fixed !important;
	margin: auto;
	padding-top: 5vh;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	width: 100%;
	text-align: center;
	background: rgba(0,0,0,0.2);
}
#popup img {
	max-width: 1200px;
	width: 100%;
	height: auto;
	box-shadow: 0 0 20px #000;
	/*border: 4px solid rgba(0,0,0,0.5);*/
	border-radius: 2px;
}
#popup a {
	position: absolute;
	top: 5vh;
	margin-left: -50px;
	font-size: 4vh;
	color: #fff;
	text-decoration: none;
	z-index: 99999;
}