/*
Theme Name: BFI Basic Design
Author: Teresa Blersch
*/


/**********************
 ******* Layout *******
 *********************/
 
/* Hintergründe setzen */
body {
	background-size: cover;
	background-attachment: fixed;
}



/* Burger Menü */

* {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	list-style: none;
	text-decoration: none;
	font-family: 'Montserrat', sans-serif;
}

nav {
	display: flex;
	justify-content: space-between;
	padding: 0 15%;
	height: 75px;
	line-height: 75px;
	background: #558C63;	
}

nav .navbar-brand {
	color: #ffffff;
	font-size: 28px;
	font-weight: 500;
	letter-spacing: .5px;
}

nav .nav-list {
	display: flex;	
}

nav .nav-list .nav-item {
	cursor: pointer;
	height: 100%;
	padding: 0 30px;
	transition: .4s;
}

nav .nav-list .nav-item:hover {
	background: #9FCA71;
}

nav .nav-list .nav-link {
	color: #f1f1f1;
	font-size: 18px;
	font-weight: 500;
}

@media (max-width: 935px) {
	
	nav {
		padding: 0 2rem;
	}
	
	nav .nav-list .nav-item {
		padding: 0 20px;
		
	}
}


@media (max-width: 675px) {
	
	footer {
		flex-wrap: wrap;
	}
	
	footer .impressum {
		width: 100%;
	}
	
}

@media (max-width: 675px) {
	
	nav .nav-list {
		display: grid;
		position: absolute;
		background: #404040;
		width: 100%;
		top: 74px;
		left: 0;
		transform: translateY(-400%);
		z-index: 99;
		transition: .6s;
	}
	
	nav .nav-list .nav-item {
		padding-left: 35px;
	}
	
	nav .navbar-toggler {
	display: grid !important;
	height: min-content;
	}
}

nav .navbar-toggler {
	display: none;
	height: min-content;
	margin: 18px -10px 0 0;
	cursor: pointer;
	
}

nav .navbar-toggler .bar {
	width: 40px;
	height: 5px;
	margin-bottom: 10px;
	background: #ffffff;
	border-radius: 10%;
	transition: .4s;
}


input:checked ~ nav .nav-list {
	transform: translateY(0);
}

input:checked ~ nav .navbar-toggler {
	margin-top: 35px;
}

input:checked ~ nav .navbar-toggler .bar:nth-child(1) {
	position: absolute;
	transform: rotate(45deg);
}

input:checked ~ nav .navbar-toggler .bar:nth-child(2) {
	display: none;
}

input:checked ~ nav .navbar-toggler .bar:nth-child(3) {
	transform: rotate(-45deg);
}
 
html, body {
	height: 100%;
	font-family: 'Roboto', sans-serif;
}

h1, h2, h3,
h4, h5, h6 {
	font-family: 'Aclonica', sans-serif;
}

h1 {
    font-family: 'Rochester';
    text-align: center;
    font-size: 38px;
    margin: 20px 0 25px 0;
}

h2 {
	font-size: 18px;
	color: #39443C;
	margin-top: 15px;
    margin-bottom: 5px;
}

h3 {
	font-size: 16px;
	margin-top: 10px;
	margin-bottom: 5px;
}

.fliesstext {
	text-align: center;
	line-height: 1.5;
	margin: 20px 0 10px 0;
	border-bottom: groove;
	padding-bottom: 25px;
}

.fliesstextlast {
	border-top: groove;
    padding-top: 17px;
	padding-bottom: 17px;
    border-bottom: groove;
	text-align: center;
	line-height: 1.5;
	margin-bottom: 15px;
}

main .bodyp {
	line-height: 1.5;
	text-align: center;
}

.startpunkt {
	line-height: 2;
	
}

.dateneins {
	line-height: 1.5;
	font-size: 15px;
}

body.admin-bar {
	height: calc(100% - 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		height: calc(100% - 48px);
	}
}

@media screen and (max-width: 550px) {
	.wp-block-button__link{
	text-transform: uppercase;
    padding: 11px 20px;
    margin-top: 20px;
    margin-bottom: 60px;
	margin-left: 75px;
	background-color: #558C63;
	font-size: 17px;
}
}

body {
	display: flex;
	flex-direction: column;
}

.textbild {
	line-height: 1.5;
	margin-top: 22px;
	margin-bottom: 15px;
}

@media screen and (min-width: 551px) {

.wp-block-button__link{
	text-transform: uppercase;
    padding: 11px 20px;
    margin-top: 20px;
    margin-bottom: 60px;
	margin-left: 305px;
	background-color: #558C63;
	font-size: 17px;
}
}

header {
	display: flex;
	flex-direction: column;
}

header .header-image {
	width: 100%;
	height: auto;
	object-fit: cover;
}

header .header-image.large {
	max-height: 540px;
}

header .header-image.small {
	max-height: 250px;
}

main {
	/* Erlaubt dem <main> Element, den <body> zu füllen */
	flex: 1;
	max-width: 900px;
	text-decoration: white;
	line-height: 1.5;
	
	margin-left:  auto;
	margin-right: auto;
	
	padding-left:   1em;
	padding-right:  1em;
	padding-bottom: 1em;
}

main.wide {
	max-width: 1000px;
}


/*****************
 ***** Menüs *****
 ****************/

header ul.menu,
header ul.sub-menu {
	margin: 0;
	padding: 0;
	text-align: center;
	list-style-type: none;
	
	background: #558C63;
}

header ul.menu a {
	display: block;
	text-decoration: none;
	
	padding: 0.5em;
	
	background: #AA3939;
	color: #FFF;
	
	transition: background 0.4s;
}

header ul.menu a:hover {
	background: #500000;
}
 
@media screen and (max-width: 775px) {
	
	header ul.menu li:not(.current-menu-item) ul.sub-menu {
		display: none;
	}
	
	header ul.menu a {
		display: block;
	}
		
	header ul.menu li.current-menu-item a {
		background: #801515;
	}
}


/* Desktop Ansicht */
@media screen and (min-width: 776px) {
	
	header ul.menu {
		display: flex;
		flex-flow: row nowrap;
	}
	
	header ul.menu li {
		position: relative;
	}
	
	header ul.menu li.current-menu-item > a {
		background: #801515;
	}
	
	header ul.menu ul.sub-menu {
		position: absolute;
		text-align: left;
		display: flex;
		flex-flow: column nowrap;
		min-width: 170px;
	}
	
	header ul.menu li:not(:hover) ul.sub-menu {
		display: none;
	}
	
	
	footer {
		display: flex;
		justify-content: space-between;
	}
	
	footer :first-child {
		order: 2;
	}
	
}




/************
 ** Footer **
 ***********/
footer {
	padding: 1em;
	
	background: #558C63;
	color: white;
	
	text-align: center;
}

footer ul.menu li:first-child a {
	padding-top: 0;
	margin-top: 0;
}

footer :last-child {
	padding-bottom: 20px;
	margin-bottom: 0px;
}

footer ul.menu {
	margin: 0;
	padding: 0;
	
	list-style-type: none;
}

footer a {
	display: inline-block;
	padding: 0.5em;
	
	text-decoration: none;
	color: white;
}

@media screen and (min-width: 721px) {

footer .footer-dani {
	width: 50%;
    margin-top: 15px;
	line-height: 2.5;
	order: 2;
	display: block;
    text-align: center;
    padding-left: 27px;
}
	footer .footer-left {
	padding-left: 20%;
	text-align: left;
	margin-top: 22px;
}
	footer .impressum {
	order: 3;
	margin-top: 25px;
    line-height: 1.5;
	padding-right: 15%;
}
	
}

footer {
	display: flex;
	justify-content: space-between;
}



@media screen and (max-width: 720px) {

footer .impressum {
	order: 3;
	margin-top: 25px;
    line-height: 1.5;
}

	footer .footer-dani{
		width: 88%;
		margin-top: 15px;
		line-height: 2.5;
		order: 2;
		display: block;
   		text-align: center;
    	padding-left: 27px;
	}
	
	footer .footer-left {
		padding-left: 30%;
		margin-top: 20px;
	}

}

html.sr .bfi_reveal {
	visibility: hidden;
}

/**************************
	* Contact Form 7 *
**********************/

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="password"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="month"],
.wpcf7-form input[type="week"],
.wpcf7-form input[type="time"],
.wpcf7-form input[type="datetime"],
.wpcf7-form input[type="datetime-local"],
.wpcf7-form input[type="color"],
.wpcf7-form select,
.wpcf7-form textarea {
	width: 100% !important;
	border-radius: 10px;
	border: 2px solid #ddd;
	padding: 5px;
	margin-bottom: 10px;
},




