/*
	Theme Name: bkh
	Author: E. Seltz
	Version: 1.0
	Description: WP-Theme for Bundeskongress Herkunftsangaben
*/

* {
	margin:0; 
	padding:0; 
	outline:0;
	box-sizing: border-box;
}
html {
	font-size: 62.5%; /* 1rem = 10px */
	scroll-behavior: smooth;
}

body {
	position: relative;
	box-sizing: border-box;
	color: #222;
	font-family: 'WorkSans-light', "Helvetica Neue", Helvetica, sans-serif;
	font-size: 1.6rem;
	letter-spacing: -0.015em;
	text-align: left;
	background: #FFF;
}

a {
	color: inherit;
	text-decoration: underline;
}
a:hover {
	color: rgba(177,217,91, 1.0);
}

hr {
	margin: 2em;
	color: rgba(177,217,91, 1.0);
}
h1, h2, h3, h4, h5 {
	font-family: 'CrimsonText-regular', serif;
	font-weight: normal;
}
.reset-list-style,
.reset-list-style ul,
.reset-list-style ol {
	list-style: none;
	margin: 0;
}
.reset-list-style li {
	margin: 0;
}

.wrapper {
	width: 100%;
	padding: 0 0.5rem;
}
/*
.wrapper::after {
	content: '';
	clear: both;
	display: block;
}*/
.clearfix::after, .wrapper::after {
	content: '';
	clear: both;
	display: block;
}

/* HEADER */
#site-top {
	display: block;
	height: 0;
}
#site-header {
	position: relative;
	padding: 0 0em;
}
#site-header-inner {
	position: relative;
	padding: 0 0em;
	background-image:
		linear-gradient(180deg, rgba(255,255,255, 1.0) 0%, rgba(255,255,255, 0.8) 20%, rgba(255,255,255, 0.2) 100%),
		url('images/BKH_Header.jpg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
#header-top {
	position: relative;
	height: 50px;
	border-bottom: 0px solid rgba(153,153,153,0.5);
	background: rgba(255,255,255, 0.5);
}
.header-titles {
	font-size: 1.2rem;
}
#header-logo {
	display: inline;
	margin: 0;
	padding: 0;
	width: auto;
	height: 30px;
	background: rgba(255,255,255,0.0);
}
.header-titles a {
	display: block;
}
.header-titles span {
	padding: 0 0.2rem;
}
#header-banner {
	border-bottom: 1px solid rgba(177,217,91, 1);
	font-family: 'CrimsonText-regular', serif;
	font-weight: normal;
}
#header-banner-inner {}
#header-banner h1 {
	margin: 0;
	padding: 0.5em;
	font-family: 'CrimsonText-regular', serif;
	background-color: rgba(255,255,255, 0.7);
}



/* NAVIGATION */

/* ===== Icon-Ansicht: ===== */
#site-header .menu-icon {
	position: absolute;
	top: 0.1em; right: 0.3em;
	z-index: 500;
	padding: 1em 1em; /*28px 20px;*/
	cursor: pointer;
	user-select: none;
}
#site-header .menu-icon .navicon {
	background: #333;
	display: block;
	height: 2px;
	position: relative;
	transition: background .2s ease-out;
	width: 1.2em;
}
#site-header .menu-icon .navicon:before,
#site-header .menu-icon .navicon:after {
	background: #333;
	content: '';
	display: block;
	height: 100%;
	position: absolute;
	transition: all .2s ease-out;
	width: 100%;
}
#site-header .menu-icon .navicon:before {
	top: 0.3em;
}
#site-header .menu-icon .navicon:after {
	top: -0.3em;
}

/* ===== menu btn: ===== */
#menu-btn {
	display: none;
}
#menu-btn:checked ~ #nav-top {
	height: auto; 
}
#menu-btn:checked ~ .menu-icon .navicon {
	background: transparent;
}
#menu-btn:checked ~ .menu-icon .navicon:before {
	transform: rotate(-45deg);
	color: rgba(226,0,26,1.0);
}
#menu-btn:checked ~ .menu-icon .navicon:after {
	transform: rotate(45deg);
	color: rgba(226,0,26,1.0);
	}
#menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
#menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
	top: 0;
	color: rgba(226,0,26,1.0);
}

/* ===== Hauptnav - Standard-Ansicht: ===== */
nav.nav-top {}
#nav-top {
	display: block;
	position:absolute;
	top: 50px;	left: 0; right: 0;
	z-index: 400;
	margin: 0;
	padding: 0;
	list-style: none;
	clear: both;
	overflow: hidden;
	height: 0px;
	font-family: 'WorkSans-regular', sans-serif;
	font-size: 1.8rem;
	/*text-transform: uppercase;*/
	transition: height .2s ease-out;
	box-shadow: 1px 2px 4px 0 rgba(0,0,0,.1);
	background-color: rgba(255,255,255, 1.0);
}
#nav-top li {
	display: block;
	margin-bottom: 0px;
}
#nav-top > li:first-child {
	border-top: 1px solid rgba(153,153,153,0.5);
}
#nav-top > li {
	border-bottom: 1px solid rgba(153,153,153,0.5);
}
#nav-top li:hover {
	cursor: pointer;
}
#nav-top a {
	display: block;
	margin: 0.0em 0;
	padding: 1.1em 1em 1em;
	text-decoration: none;
	color: #666;
}
#nav-top li {
	border-left: 3px solid rgba(177,217,91, 0.0);
}
#nav-top li:hover,
#nav-top li:focus-within {
	color: rgba(255,255,255,1.0);
	background-color: rgba(177,217,91, 1.0);
	border-left: 0px solid rgba(177,217,91, 0.2);
}
#nav-top a:hover, #nav-top a:active {
	color: rgba(255,255,255,1.0);
	background-color: rgba(177,217,91, 0.0);

}

/* MAIN */
#site-content {
	width: 100%;
	clear: both;
	float: none;
	padding-bottom: 2em;
}
#page-header {
	font-family: 'CrimsonText-regular', serif;
}
#page-header h1 {
	margin: 0;
	margin-left: 0.3em;
	padding: 1em 0 0.7em;
}
#page-header h1.entry-title {
	position: relative;
	padding-left: 70px;
	border-bottom: 0px solid #D9D1BA;
}
#page-header h1.entry-title::after {
	display: block;
	content: '';
	background-color: #D9D1BA;
	height: 2px;
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 45%;
}
body.home .entry-header-inner {
	display: none;
}
#page-content {
	width: 100%;
	font-size: 1.2em;
	line-height: 1.6;
}
#page-content h1, #page-content h2, #page-content h3, #page-content h4, #page-content h5 {
	margin-top: 1em;
	font-family: 'CrimsonText-regular', serif;
}
#page-content p {
	margin-top: 0.7em;
	text-align: left;
}
.page-content-wrapper {
	margin: 1em 1em;
}
#page-content table.programm {}
#page-content table.programm td {
	padding: 6px 0;
	vertical-align: top;
	border-bottom: 1px solid #CCC;
}
#page-content table.programm  td.item-time {
	padding-right: 10px;
	color: #888;
}
#page-content table.programm td.item-content {
	
}
#page-content table.programm .item-title {
	font-weight: bold;
}
#page-content table.programm .item-speaker {
	color: #666;
}
#page-content table.programm .item-speaker em {
	font-weight: bold;
	color: rgb(177, 217, 91);
}

#page-content .hilight-block {
	margin: 0 auto;
	display: block;
	padding: 1.5rem 1rem;
	color: #FFF;
	background-color: #b1d95b;
	text-align: center;
	font-size: inherit;
	border-radius: 5px;
}


/* ===== wpcf7 Formulare: ===== */
#page-content .wpcf7-form {
	width: 95%;
	color: #888;
	font-size: 0.95em;
}
#page-content .wpcf7-form.form-anmeldung {
	background-color: rgba(177, 217, 9, 0.1);
	border-radius: 5px;
	padding: 4px;
}
#page-content .wpcf7-form p {
	clear: both;
	float: none;
	padding-bottom: 1em;
}
#page-content .cf7_block_label {
	display: block;
	color: #888;
	text-align: left;
	font-size: 0.9em;
}
#page-content .cf7_block_content {
	display: block;
	color: #111;
	text-align: left;
}
#page-content .cf7_fieldset {
	padding: 0.3em;
	border: 1px solid #DDD;
	border-radius: 3px;
}
#page-content .wpcf7-form input.wpcf7-text, #page-content .wpcf7-form textarea {
	width: 100%;
	padding: 0.1em 0.2em;
	/*color: rgba(58,119,252,1.0);
	background-color: rgba(204,204,204,0.0);*/
	border: 1px solid #CCC;
	border-radius: 3px;
}
#page-content .wpcf7-form .wpcf7-textarea {
	resize: vertical;
	height: 7em;
}
#page-content .wpcf7-form .wpcf7-list-item {
	margin-left: 0;
	display: block;
}
#page-content .wpcf7-form .wpcf7-list-item label {
	display: inline-block;
	margin: 0.2em 0;
	/*line-height: 1;*/
}
#page-content .wpcf7-form .wpcf7-list-item-label {
	padding-left: 0.3em;
}
#page-content .wpcf7-form .wpcf7-submit {
	width: auto;
	text-align: center;
	padding: 0.3em 1em;
}
#page-content .wpdf7-response-output, #page-content .wpcf7-mail-sent-ok, #page-content .wpcf7-validation-errors, #page-content .wpcf7-acceptance-missing, #page-content .wpcf7-mail-sent-ng {
	margin-top: 2em;
	padding: 0.8em;
	color: #777;
	border: 2px solid #777;
	border-radius: 3px;
	text-align: center;
}
#page-content .wpcf7-mail-sent-ok {
	color: rgba(0,137,193,1.0);
	border-color: rgba(0,137,193,1.0);
}
#page-content .wpcf7-validation-errors, #page-content .wpcf7-acceptance-missing, #page-content .wpcf7-mail-sent-ng {
	border-color: #E00;
}
#page-content .wpcf7-not-valid-tip, #page-content .wpcf7-validation-errors, #page-content .wpcf7-acceptance-missing, #page-content .wpcf7-mail-sent-ng {
	color: #E00!important;
	font-style: italic;
}
#page-content .wpcf7-response-output {
	color: #E00;
	border: 2px solid #E00;
	border-radius: 5px;
}


#page-content a.button-link, #page-content .wpcf7-submit {
	display: inline-block;
	margin: 0 auto;
	padding: 1rem 1.5rem;
	color: #FFF;
	background-color: rgba(177, 217, 91, 1.0);
	text-align: center;
	font-weight: bold;
	text-decoration: none;
	border: 0;
	border-radius: 5px;
	border: 1px solid rgba(177, 217, 91, 1.0);
}
#page-content a.button-link:hover, #page-content .wpcf7-submit:hover {
	color: rgba(177, 217, 91, 1.0);
	background-color: rgba(177, 217, 91, 0.2);
}




/* FOOTER */
#site-footer {}
#site-footer a {
	color: rgba(104,104,104, 1.0);
	text-decoration: none;
}
#site-footer a:hover {
	color: rgba(104,104,104, 1.0);
	text-decoration: underline;
}
.nav-footer, .link-to-top, .footer-credits  {
	margin: 0 1em;
	padding: 1em 0;
}
.nav-footer li {
	font-family: 'WorkSans-regular', sans-serif;
	display: block;
}
.nav-footer a {
	color: rgba(104,104,104, 1.0);
	text-decoration: none;
}
.nav-footer a:hover {
	color: rgba(104,104,104, 1.0);
	text-decoration: underline;
}
.link-to-top {
	text-align: right;
	font-size: 0.9em;
}
.link-to-top:before {
    font-family: FontAwesome;
    content: "\f0d8";
    margin-right: 0.2em;
	text-decoration: none;
}

.footer-top {
	color: rgba(104,104,104, 1.0);
	background-color: rgba(240,240,240, 1.0);
}
.footer-bottom {
	text-align: center;
	font-size: 0.9em;
	color: rgba(255,255,255, 0.8);
	background-color: rgba(104,104,104, 1.0);
}




/* COOKIE-POPUP */
#cookie-popup { 
	position: fixed;
	bottom: 0; 
	left: 0;
	right: 0;
	z-index: 9999;
	line-height: 20px;
	border-top: 1px solid #000;
	background-color: rgba(51,51,51,0.8);
	color: #FFF;
	font-size: 1em;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
}
#cookie-popup .wrapper {
	padding:1.5em 0.5em;	
}
#cookie-popup button {
	color: #000;
	padding: 0.2em 1em;
}



@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

@media screen and (max-width: 576px) {
	#site-header-inner .wrapper {
		padding: 0 0em;
	}
}

@media screen and (min-width: 576px) {
	#site-top {
		/*padding-bottom: 80px;*/
	}
	#header-top {
		height: 80px;
	}
	#header-top-inner {
		position: relative;
		margin: 5px 0;
		height: 70px;
	}
	.header-titles {
		position: relative;
		left: 0; top: 0;
		font-size: 1.6rem;
		background-color: rgba(255, 255, 255, 0.7);
	}
	.header-titles a {
		position: absolute;
		left: 0px; top: 7px;
		width: 250px;
		height: 50px;
	}
	#header-logo {
		width: 100%;
		height: auto; /* height: 50px; */
	}
	.header-titles span {
		position: absolute;
		left: 263px; top: 33px;
	}
	#header-banner {
		position: relative;
		height: 200px;
	}
	#header-banner-inner {
		position: absolute;
		left: 0; top: 28%;
		text-align: center;
		height: 200px;
	}
	#header-banner h1 {
		display: inline-block;
		padding: 0.4em 0.6em;
		line-height: 1;
		font-size: 4.5rem;
		background-color: rgba(255,255,255, 0.7);
	}

	#nav-top {
		top: 70px;
	}
	#nav-top a {
		margin: 0 1.5em;
	}


	#site-content {
		margin-top: 0px;
		padding-bottom: 10em;
	}
	#page-header {
		margin: 4em 0 3em;
	}
	#page-header h1 {
		margin: 0;
		padding: 0;
	}
	#page-content {
		width: 100%;
		max-width: 800px;
		margin: 0 auto;
	}
	#page-content p {
		text-align: justify;
	}


	#site-footer {
		/*position: fixed;
		bottom: 0; left: 0; right: 0;*/
	}
	.nav-footer {
		float: left;
	}
	.nav-footer li {
		display: inline-block;
		margin-right: 1em;
	}
	.link-to-top {
		float: right;
	}
}


@media screen and (min-width: 768px) {
	#site-header .menu-icon {
		display: none;
	}
	nav.nav-top {}
	#nav-top {
		position: absolute;
		top: 30px;
		left: auto;
		right: 0;
		height: auto;
		border: 0;
		box-shadow: none;
		background-color: rgba(255,255,255, 0.0);
	}
	/*#nav-top, #nav-top li, #nav-top a {
	}*/
	#nav-top li {
		float: left;
		margin: 0;
		margin-right: 2px;
		border: 0!important;
		background-color: rgba(255,255,255, 0.0)!important;
	}
	#nav-top a {
		padding: 0.5em 0.2em;
		margin: 0 1em;
		color: rgba(53,53,53,0.9);
		background-color: rgba(255,255,255, 0.0);
		border-bottom: 2px solid rgba(255,255,255, 0.0);
	}
	#nav-top a:hover, #nav-top .current-menu-item a {
		color: rgba(177,217,91, 1.0);
		border-bottom: 2px solid rgba(177,217,91, 1.0);
	}
	#nav-top {
		display: block;
	}
	
	/* ===== wpcf7 Formulare: ===== */
	#page-content .wpcf7-form:after, 
	#page-content .wpcf7-form p:after {
		content: "";
		display: block;
		clear: both;
	}
	#page-content .cf7_block_label {
		width: 30%;
		float: left;
		margin-right: 1%;
		text-align: right;
	}
	#page-content .cf7_block_content, #page-content .wpdf7-response-output, #page-content .wpcf7-mail-sent-ok, 
	#page-content .wpcf7-validation-errors, #page-content .wpcf7-acceptance-missing, #page-content .wpcf7-mail-sent-ng {
		width: 68%;
		float: right;
		text-align: left;
	}
	#page-content .wpcf7-form input.wpcf7-text, #page-content .wpcf7-form textarea {
		width: 25em;
	}
	#page-content .wpcf7-form.form-anmeldung-seminar {
		width: 80%;
	}
		
}

@media screen and (min-width: 1200px) {
	.wrapper {
		margin: 0 auto;
		padding: 0 0em;
		width: 100%;
		max-width: 1200px;
	}
}


#page-content .align-center {
	text-align: center;
}
#page-content .align-right {
	text-align: right;
}
#page-content .align-left {
	text-align: left;
}

