/*
Mainstyle Allergiesicher Theme Wordpress
*/
@font-face {
	font-family: "Tahoma", "Times New Roman";
}

::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

::-webkit-scrollbar
{
	width: 10px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	background-color: rgba(30, 30, 30, 1);
}

html {
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	margin-top: 0px !important;
	max-width: 100%;
    overflow-x: hidden;
	font-family: "Tahoma", "Times New Roman";
	letter-spacing: 0.05em;
	line-height: 1.5em;
	font-size: 1em;
}

body {
	max-width: 100%;
    overflow-x: hidden;
	background: rgba(250, 250, 250, 1);
	margin: 0px 0px 0px 0px;
	background-image: url("https://www.fewo-annalina.de/wp-content/uploads/2020/10/structure-366806_1920.jpg");
}

h1 {
	font-weight: 700px;
	font-size: 1.8em;
	color: rgba(30, 30, 30, 1);
	margin-bottom: 1em;
	margin-top: 1em;
	margin-left: 20px;
	margin-right: 20px;
}

h2 {
	font-weight: 700px;
	font-size: 1.6em;
	color: rgba(30, 30, 30, 1);
	margin-bottom: 1em;
	margin-top: 1em;
	margin-left: 20px;
	margin-right: 20px;
}

h3 {
	font-weight: 700px;
	font-size: 1.4em;
	color: rgba(30, 30, 30, 1);
	margin-bottom: 1em;
	margin-top: 1em;
	margin-left: 20px;
	margin-right: 20px;
}

h4 {
	font-weight: 600px;
	font-size: 1.2em;
	color: rgba(30, 30, 30, 1);
	margin-bottom: 1em;
	margin-top: 1em;
	margin-left: 20px;
	margin-right: 20px;
}

h5 {
	font-weight: 550;
	font-size: 1.1em;
	color: rgba(30, 30, 30, 1);	
	margin-bottom: 1em;
	margin-top: 1em;
	margin-left: 20px;
	margin-right: 20px;
}


h6 {
	font-weight: 550;
	font-size: 1.1em;
	color: rgba(30, 30, 30, 1);	
	margin-bottom: 0.5em;
	margin-top: 20px;
	margin-left: 20px;
	margin-left: 20px;
	margin-right: 20px;
}

#header-image {
	margin: auto;
	width: 1280px;
	text-align: center;
	padding: 0px 0px 0px 0px;
	margin-top: 2em;
	margin-bottom: 1em;
}

#header-image img {
	width: 1280px;
}

#wrapper {
	display: flex;
	flex-direction: row;
	width: 1280px; 
	margin: auto; 
	text-align: left;
	padding-bottom: 2em;
	padding-top: 2em;
}

#main-content {
	width: 100%;	
	margin-right: 30px;
	background-color: rgba(245, 245, 245, 1);
	padding-bottom: 2em;
}

#main-content p {
	margin-left: 20px;
	margin-right: 20px;
}

#main-content iframe {
	border: 1px solid;
	border-color: rgba(30, 30, 30, 1);
}

#main-sidebar {
	display: flex;
	flex-direction: column;
	width: 400px;
}

#main-sidebar p {
	margin-left: 20px;
	margin-right: 20px;
}
#main-sidebar-top {
	background-color: rgba(245, 245, 245, 1);
}

#main-sidebar-bottom {
	margin-top: 30px;
	background-color: rgba(245, 245, 245, 1);
}

.sidebar-navigation ul {
	list-style-type: none;
	margin-left: 20px;
	padding-left: 0px;
	-moz-padding-start: 0px;
	-webkit-padding-start: 0px;
    padding-inline-start: 0px;
}

.sidebar-navigation a {
	text-decoration: none;
	color: rgba(30, 30, 30, 1);
	line-height: 1.5em;
}

.wp-block-image img {
	height: auto;
}

.wp-block-link {
	text-decoration: none;
	color: inherit;
	font-weight: 550;
}


.has-large-font-size {
	font-size: inherit;
}

.has-text-rotate-30deg {
	transform: rotate(30deg);
}

.wp-block-media-text {
	margin-left: 40px;
	margin-right: 40px;
}

.wp-block-media-text .wp-block-media-text__content {
	padding: 0px 30px 0px 30px;
}

.wp-block-media-text .wp-block-media-text__content p {
	font-size: 1.2em;
	font-weight: 700;
}

.wp-block-media-text .wp-block-media-text__content p a {
	font-size: 0.8em;
	font-weight: 450;
}

.wp-block-media-text__media img {
	width: 90%;
	min-height: 1px;
	height: auto !important;
	max-height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-table table {
	width: 75%;
	border-spacing: 0px;
	margin: auto;
	background-color: transparent;
	border-top: 1px solid;
	border-left: 1px solid;
}

.wp-block-table table tbody tr td {
	width: 33%;
	line-height: 1.7em;
	padding-left: 10px;
	border-right: 1px solid;
	border-bottom: 1px solid;
	border-color: rgba(30, 30, 30, 1);
}

.wp-block-table figcaption {
	font-size: 0.8em;
	text-align: center;
}

.wp-block-gallery {
	margin-left: 16px;
	margin-right: 16px;
}

.blocks-gallery-grid .blocks-gallery-image figcaption, .blocks-gallery-grid .blocks-gallery-item figcaption, .wp-block-gallery .blocks-gallery-image figcaption, .wp-block-gallery .blocks-gallery-item figcaption {
	padding: 40px 0px 9px;
}



/*Kleine Displays unter 1280px Breite*/
@media screen and (max-width: 1279px) {
	
	#wrapper {
		width: 95%;
		flex-direction: column;
	}

	#header-image {
		width: 100%;
		height: inherit;
		min-height: inherit;
		max-height: inherit;
		margin-top: 0em;
	}
	
	#header-image img {
		width: 100%;
		height: inherit;
		min-height: inherit;
		max-height: inherit;
	}
	
	#main-content {
		margin-right: 0px;
	}
	
	#main-content iframe {
		width: 95%;
		height: 500px;
	}
	
	#main-sidebar {
		width: 100%;
	}
	
	#main-sidebar-top {
		margin-top: 30px;
		width: 100%;
	}
	
	#main-sidebar-bottom {
		width: 100%;
	}
	
	.wp-block-media-text {
		width: 100%;
		margin-left: auto;
		margin-right: auto;
	}
	
	.wp-block-media-text .wp-block-media-text__media img {
		width: 75%;
	}
	
	.wp-block-media-text .wp-block-media-text__content {
		width: 100%;
		padding: 0px 0px 0px 0px;
	}
	
	.wp-block-media-text .wp-block-media-text__content p {
		text-align: center;
		padding: 0px 0px 0px 0px;
	}
	
	figure {
		margin-inline-start: 20px;
		margin-inline-end: 20px;
	}
	
	.wp-block-table table {
		width: 100%;
	}
}


