/*
Theme Name: Projektarbeit
Author: Teresa Zech
Description: Ein einfaches Wordpress Theme
Version: 11
*/

*{
	box-sizing: border-box;
	padding-left:0px;
}


body {
	padding-top: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-left: 0px;
	border-top: 20px;
	background: #E6E6E6;
	font-family: 'arial';
	font-size: 15px;
	min-height: 100vh;
	display: flex;
	flex-flow: column nowrap;
	vertical-align: middle;
	
}


body.customize-support{
	min-height: calc(100vh - 32px);
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'arial';
}

/* 
  Header Bereich
*/
header {
	padding-bottom: 0px;
	font-size: 20px;
}

header #logo-link {	
	text-decoration: none;
}

header #logo-link-container {
	display: block;
	width: 100%;
	height: 100px;
	padding: 10px;
	text-align:center;
	background-color:#FFF;
}
header #logo-link-container img {
	display:inline;
	max-height:100%;
	width: auto;
}

header .menu-header-menue-container {
	display: none;
    justify-content: flex-end;
    align-items: end;
	z-index: 99999;
}
header .menu-header-menue-container.open {
	display: initial;
}	

header ul.menu {
	/*height: 100%;*/
	align-self: center;
	width: 100%;
	text-align: center;	
}



header ul.menu,
header ul.sub-menu {
	list-style-type: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

header ul.menu a {
	display: block;
	padding: 15px;
	background: white;
	text-decoration: none;
	color: grey;
	padding-left: 55px;
	padding-right: 55px;
}

header ul.menu a:hover, header ul.menu li.current-menu-item a {
	background: #E6E6E6;
	color: black;
}

header ul.menu>li a {
	border-bottom: 1px solid white;
}



/*Inhalt*/
.page {
		padding: 15px;
		flex-grow: 1;
}


.post-content {	
	margin: 10px;
}

.post-content h1 {
		margin-top: 0;	
		background: none;
}

.sidebar-widget {
	width: 237px;
    padding: 22px;
    margin-top: 0px;
    margin-left: -15px;
	margin-right: 20px;
	text-align: -webkit-center;
}

.wp-block-column h2 span {
	font-size:25px;
}

.wp-block-media-text__media img, .wp-block-media-text__media video {
	height: auto;
	padding-left:0px;
}

header ul.menu li.menu-item ul.sub-menu li a {
	font-size:16px;
	min-width:196px;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
	padding-left:0px;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
	margin-left:0px;
}

/* Footer */

footer {
	background-color: #f5ba56; /* #F3E2A9; */
	padding: 1px;
	text-align: center;
	justify-content: center;
	font-size: 15px;
}

footer.footerBottom {
		padding:5px 2px;
		box-shadow: 0px -1px 5px #999;
}
footer.footerBottom a {
	color:#000;
	text-decoration:none;
}
footer.footerBottom a:hover {
	text-decoration:underline;
}
.bottomLine {
	background: #c5923c;
	text-align:center;
}


img[Attributes Style] {
	margin-left: 925px;
    margin-top: 20px;
    position: absolute;
    height: 170px;
    width: auto;
}

/*Mobile Ansicht*/

@media screen and (max-width:900px) {
	#menu-toggle {
		display:block;
		width:35px;
		height:50px;
		border-radius: 0;
		font-size: 10px;
		z-index: 999999;
		position:absolute;
		right:50px;
		top:50px;
	
	}

	.sidebar-widget {
	width: 237px;
    padding: 22px;
    margin-top: -16px;
    margin-left: auto;
	margin-right: auto;
}

	body {
		font-size:15px;
	}
	h5 {
		background: url('img/mobil.jpg'); 
		background-size: 100%;
		background-repeat: no-repeat;
		text-align: center;
		text-decoration: none;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 35px;
		height: 80px;
		margin-top: 0px;	
		margin-bottom: 0px;
	}
	/*css menü icon */
	#menu-toggle .bar1, #menu-toggle .bar2, #menu-toggle .bar3 {
		width: 35px;
		height:5px;
		background-color: #333;
		margin: 6px 0;
		transition: 0.8s;
	}
	
	#menu-toggle.change .bar1 {
		-webkit-transform: rotate(-45deg) translate(-9px, 6px);
		transform: rotate(-45deg) translate(-9px, 6px);
	}

	#menu-toggle.change .bar2 {
		opacity: 0;
		}

	#menu-toggle.change .bar3 {
		-webkit-transform: rotate(45deg) translate(-8px, -8px);
		transform: rotate(45deg) translate(-8px, -8px);
	}
	
	header .menu-header-menue-container {
		overflow: hidden;
		max-height: 0;
		transition: max height 0.4s;
	
	
	/*Menü über ganze Seite strecken*/
	
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: rgba(120,120,120,0.9);

	}
	
	h1,h2,h3,h4,h5 {
		justify-content: center;
		text-align:center;
	}
	.page frontpage {
		font-size:15px;
	}
	.page {
		padding-top: 29px;
		font-size:15px;
		margin-right: 0px;
		margin-left: 0px;
	}

	
	header .menu-header-menue-container.open {
		max-height: 10000px;
	}
	
	header .menu-header-menue-container ul.menu {
		position: absolute;
		left: 5%;
		top: 20%;
	}
	header ul.menu ul.sub-menu:not(.open) {
		display: none;
	}
	
	header ul.menu ul.sub-menu {
		border: 1px inset grey;
	}


	header ul.menu a {
		font-size:20px;
		font-weight:bold;
		text-align: left;
		padding-right: 25px;
		background-color: rgba(0, 0, 0, 0.15);
		font-size: 20px;
		text-align: left;
		padding-right: 25px;
		background: none;
		color: white;
	}

	
	body {
	padding-top: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-left: 0px;
	border-top: 20px;
	background: #E6E6E6;
	min-height: 100vh;
	display: flex;
	flex-flow: column nowrap;
	vertical-align: middle;text-align: justify;		
	}
	
	footer.footerBottom > div {
		margin-bottom:10px;
	}
}
	
@media screen and (max-width:500px) {
	h5 {
		font-size: 8vw;
		line-height:auto;
		display:flex;
	}
	
.page.subpage > main > article {
	display: unset;
	flex-flow: row nowrap;
	margin-bottom: 15px;
}

.sidebar-widget {
	width: 237px;
    padding: 22px;
    margin-top: -16px;
    margin-left: auto;
	margin-right: auto;
}
}


/*
* Desktop Ansicht
*/

@media screen and (min-width: 900px) {
	
		.page {
			
			flex-flow: row nowrap;
			
			min-width: 80%;
			
			margin-left: 0px;
			margin-right: 0px;
			font-size:19px;
		}

		.page main {
			flex-grow: 1;
		}


	
	/* Desktop Menü */
	
		/*header #logo-link img{
			display: flex;
			flex-flow: row nowrap;
		}*/
	
	
	
	header #logo-link-container {
		width: 20%;
		text-align:left;
		margin-left: 17px;
	}
	
	
	header #logo-link-container img {
		margin-left: 17px;	
	}
	
    header {
		display: flex;
		flex-flow: row nowrap;	
		background: white;
		
	}
	header .menu-header-menue-container {
			display: flex;
	}
	
	header ul.menu {
		display: flex;
		flex-flow: row nowrap;	
		text-align: left;
		
	} 
	
	
	header ul.menu li.menu-item ul.sub-menu {
			display: none;
			position: absolute;
			min-width: 20px;
			text-align: left;
	}
	
	header ul.menu li.menu-item:hover ul.sub-menu {
			display: block;
	}
	

	
	h5 {
		background: url('img/mobil.jpg'); 
		background-repeat: no-repeat;
		background-position: center;
		width: 100%;
		height: 150px;
		text-align: center;
		text-decoration: none;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 45px;
		margin-top: 0px;	
		margin-bottom: 0px;
		background-size: 100%;
		box-shadow: 0px 0px 5px #999;
	}
	


	footer {
		text-align: center;
		display: flex;
		flex-flow: row nowrap;
		
	}
	
	
	footer div{ flex-grow: 1; }
	
}

























