/*
Theme Name: FEDtheme#100
Theme URI: http://wordpress.org/themes/fed_100a
Author: Fabian Ewert Design
Author URI: https://Fabian-ewert.de
Description: The FED Theme 100a
Text Domain: fed_100a

*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, nav, section, summary {
	display: block;
}
audio, canvas, video {
	display: inline-block;
}
[hidden] {
	display: none;
}
html {
	font-size: 100%;
	overflow-y: scroll;
}
html, button, input, select, textarea {
	font-family: 'Lora', serif;
}
body {
	font-family: 'Lora', serif;
	font-size: 17px;
	line-height: 1.4;
	color: #333;
	background-color: #444;
	overflow: hidden;
}
a:link, a:visited, a:active {
	color: #217E9E;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
	color: #777777;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
}
h1 {
	font-family: 'Libre Franklin', sans-serif;
	color: #335965;
	font-size: 32px;
	font-weight: normal;
	margin-bottom: 20px;
	display: block;
}
h2 {
	font-family: 'Libre Franklin', sans-serif;
	color: #335965;
	font-size: 22px;
	margin: 5px 0px 25px 0px;
	Text-align: left;
	font-weight: normal;
}
h3 {
	font-family: 'Libre Franklin', sans-serif;
	color: #335965;
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 5px;
}
h4 {
	font-family: 'Libre Franklin', sans-serif;
	color: #000;
	font-size: 16px;
	font-weight: normal;
	margin-bottom: 15px;
	display: block;
}
b, strong {
	font-weight: bold;
}
p {
	margin: 5px 0 20px 0;
}
pre {
	background: #f5f5f5;
	color: #666;
	font-family: monospace, serif;
	font-size: 10px;
	margin-top: 14px;
	overflow: auto;
	padding: 0px;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}
dl {
	margin: 0 20px;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 0 20px;
}
menu, ol, ul {
	margin: 16px 0;
	padding: 0 0 0 40px;
}
ul {
	list-style-type: square;
}
nav ul, nav ol {
	list-style: none;
	list-style-image: none;
}
li>ul, li>ol {
	margin: 0;
}
img {
	border: 0;
	vertical-align: middle;
}
svg:not(:root) {
	overflow: hidden;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
caption {
	font-size: 16px;
	margin: 20px 0;
}
th {
	font-weight: bold;
	text-transform: uppercase;
}
td {
	border-top: 1px solid #ededed;
	padding: 6px 10px 6px 0;
}
del {
	color: #333;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
hr {
	background: url(images/dotted-line.png) repeat center top;
	background-size: 4px 4px;
	border: 0;
	height: 1px;
	margin: 0 0 24px;
}
/**
 * 2.0 Repeatable Patterns
 * ----------------------------------------------------------------------------
 */

.genericon:before, .menu-toggle:after, .featured-post:before, .date a:before, .entry-meta .author a:before, .format-audio .entry-content:before, .comments-link a:before, .tags-links a:first-child:before, .categories-links a:first-child:before, .edit-link a:before, .attachment .entry-title:before, .attachment-meta:before, .attachment-meta a:before, .comment-awaiting-moderation:before, .comment-reply-link:before, .comment-reply-login:before, .comment-reply-title small a:before, .bypostauthor>.comment-body .fn:before, .error404 .page-title:before {
	display: inline-block;
	font: normal 16px/1 Genericons;
	vertical-align: text-bottom;
}
/* Clearing floats */

.clear:after, .attachment .entry-header:after, .site-footer .widget-area:after, .entry-content:after, .page-content:after, .navigation:after, .nav-links:after, .gallery:after, .comment-form-author:after, .comment-form-email:after, .comment-form-url:after, .comment-body:after {
	clear: both;
}
.clear:before, .clear:after, .attachment .entry-header:before, .attachment .entry-header:after, .site-footer .widget-area:before, .site-footer .widget-area:after, .entry-content:before, .entry-content:after, .page-content:before, .page-content:after, .navigation:before, .navigation:after, .nav-links:before, .nav-links:after, .gallery:before, .gallery:after, .comment-form-author:before, .comment-form-author:after, .comment-form-email:before, .comment-form-email:after, .comment-form-url:before, .comment-form-url:after, .comment-body:before, .comment-body:after {
	content: "";
	display: table;
}
/*
 * Responsive images
 *
 * Fluid images for posts, comments, and widgets
 */

.entry-content img, .entry-summary img, .comment-content img, .widget img, .wp-caption {
	max-width: 100%;
}
/* Make sure images with WordPress-added height and width attributes are scaled correctly. */

.entry-content img, .entry-summary img, .comment-content img[height], img[class*="align"], img[class*="wp-image-"], img[class*="attachment-"] {
	height: auto;
}
img.size-full, img.size-large, img.wp-post-image {
	height: auto;
	max-width: 100%;
}
/* Make sure videos and embeds fit their containers. */

embed, iframe, object, video {
	max-width: 100%;
	border: 0px;
}
/* Images */

.alignleft {
	float: left;
}
.alignright {
	float: right;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft {
	margin: 5px 35px 20px 0;
}
img.icon {
	margin: 5px 7px 0px 0px;
}
.wp-caption-text {
	margin: 5px 10px 5px 0;
	font-size: 14px;
	font-style: italic;
}
img.alignright {
	margin: 5px 0 5px 20px;
}
img.aligncenter {
	margin: 5px auto;
}
img.alignnone {
	margin: 5px 0;
}
/**
 * 3.0 Basic Structure
 * ----------------------------------------------------------------------------
 ##############################################################################
 ##############################################################################
 ##############################################################################
 ##############################################################################
 
 ##############################################################################
 ##############################################################################
 ##############################################################################
 ##############################################################################
 * */

.flag-wrap {
	position: relative;
	margin: 0px;
	width: 100%;
	height: 60px;
	background-color: #444;
	z-index: 200!important;
	box-shadow: 0px 0px 7px #217e9e;
}
.flags {
	margin: 0 auto;
	height: 60px;
	background-color: #444;
	width: 94%;
	max-width: 1100px;
	padding: 10px 20px 20px 10px;
	z-index: 201!important;
	
}
a.flag1 {
	float: right;
	background-image: url(images/german.png);
	width: 40px;
	height: 38px;
	filter: grayscale(100%);
}
a.flag1:hover {
	filter: grayscale(0);
}
a.flag2 {
	float: right;
	background-image: url(images/british.png);
	width: 40px;
	height: 38px;
	margin-left: 8px;
	filter: grayscale(100%);
}
a.flag2:hover {
	filter: grayscale(0);
}
a.flag3 {
	float: right;
	background-image: url(images/french.png);
	width: 40px;
	height: 38px;
	margin-left: 8px;
	filter: grayscale(100%);
}
a.flag3:hover {
	filter: grayscale(0);
}
/**
 * 4.0 Header
 * ----------------------------------------------------------------------------
 */

/**
 * 4.1 Site Header
 * ----------------------------------------------------------------------------
 */

header {
	position: relative;
	height: auto;
	width: 100%;
	background-color: #f4f4f4;

	box-shadow: 0px 0px 10px #217e9e;
	z-index: 100!important;
}
#headercontent {
	margin: 0 auto;
	height: 110px;
	width: 95%;
	max-width: 1100px;
	z-index: 101!important;
}

.logo {
	position: relative;
	display: inline-block;
	
	margin: 25px 10px 4px 30px;
	background-color: #f4f4f4;
	z-index: 150 !important;
}
.logo-toggle {
	display: none;
}
/**
 * 4.2 Navigation
 * ----------------------------------------------------------------------------
 */

#navigation {
	width: auto;
	top: 100px;
	position: relative;
}
.toggle-menubutton {
	position: relative;
	float: right;
	width: 295px;
	height: 110px;
	top: -100px;
	right: 0px;
	margin: 0px;
	font-family: 'Libre Franklin', sans-serif;
	font-size: 24px;
	Text-align:right;
	cursor: pointer;
	display: inline-block;
	padding: 40px 30px 7px 10px;
	color: #222;
	background-image: URL(https://www.fabian-ewert.de/bilder/menu-icon.png);
	background-repeat: no-repeat;
	background-position: 150px 47px;
	background-color: #f4f4f4;
	z-index: 130 !important;
}


#navbar {
	position: absolute;
	margin: 0 auto;
	top: -685px;
	right: 12px;
	width: 270px;
	height: auto;
	min-height: 100px;
	padding-top: 0px;
	background-color: rgba(0, 0, 0, 0.5);
	transform: translateY(0);
	transition: 1s ease all;
	z-index: 99 !important;
}
ul.nav-menu, div.nav-menu>ul {
	display: block;
	margin: 0;
	padding: 0;
	width: 100%;
	border-top: 1px solid #ddd;
	box-shadow: 0px 3px 10px #44667F;
}
.nav-menu li {
	position: relative;
	display: block;
	background-color: #222;
	background-color: rgba(0, 0, 0, 0.5);
	margin-right: 0px;
}
.nav-menu li a {
	font-family: 'Libre Franklin', sans-serif;
	color: #fff;
	display: block;
	font-size: 17px;
	line-height: 1.4;
	padding: 12px 20px 12px 28px;
	text-decoration: none;
	border-left: 0px solid #444;
	border-right: 0px solid #000;
	border-bottom: 1px solid #39809F;
	min-height: 42px;
}
.nav-menu li:hover>a, .nav-menu li a:hover {
	background-color: #217E9E;
	color: #fff;
}
.toggled-on #navbar {
	transform: translateY(694px);
}
.toggled-on .toggle-menubutton {
	background-image: URL(https://www.fabian-ewert.de/bilder/close-menu-icon.png);
	background-repeat: no-repeat;
	background-position: 150px 47px;
	
	
	
}
/**
 * 5.0 Content
 * ----------------------------------------------------------------------------
 */

#main {
	position: relative;
	margin: 0 auto;
	height: auto;
	width: 100%;
	margin: 0px 0px 0px 0px;
	border: 0px solid green;
	padding: 0px 0 70px 0;
	background-color: #fff;
	z-index: 50 !important;
}
#maincontent {
	margin: 0 auto;
	width: 90%;
	max-width: 900px;
	padding: 100px 0px 100px 0px;
}
.maintext {
	float: left;
	max-width: 444px;
}


/**
 * 6.0 Widgets
 * ----------------------------------------------------------------------------
 */

.widgetwrap {
	margin: 0 auto;
	width: 100%;
	max-width: 1000px;
}
.widget {
	font-family: 'Lora', serif;
	width: auto;
	height: auto;
	min-height: 320px;
	color: #f2f2f2;
	padding-top: 20px;
}
.widget-title {
	Text-align: left;
	color: #e4e4e4;
	font-size: 28px;
	border-bottom: 1px solid #217E9E;
	padding-bottom: 14px;
	margin-bottom: 35px;
}
.contact {
	float: left;
}
/** ##############################################################################
###################################################################################
##################################################################################
###################################################################################
####################################################################################
 * 7.0 Footer
 * ----------------------------------------------------------------------------
 */

footer {
	margin: 0 auto;
	width: 90%;
	max-width: 1000px;
	padding: 7px 7px 7px 7px;
}
#copyright {
	margin: 0 auto;
	width: 100%;
	max-width: 1000px;
	padding: 14px 0px 0px 0px;
	font-size: 15px;
	color: #ccc;
	border-top: 1px solid #217E9E;
}
/**
 * 8.0 Media Queries
 * ----------------------------------------------------------------------------
 */

@media (max-width: 1599px) {
	.site {
		border: 0;
	}
}
@media (max-width: 1000px) {


}


@media (max-width: 690px) {
	#headercontent {
		height: 90px;
	}
	.logo {
		display: none;
	}
	.logo-toggle {
		position:absolute;
		display: inline-block;
		margin: 14px 10px 0px 5px;
		z-index: 150 !important;
	}
	.toggle-menubutton {
		top: -110px;
		height: 70px;
		z-index: 130 !important;
	}
		#navbar {
		top:-10px;
		right: -380px;
		transform: translateX(0);
		transition: 0.7s ease all;
		
	}
	.toggled-on #navbar {
		transform: translateX(-370px);
	}
}
@media (max-width: 530px) {}
@media (max-width: 360px) {}




.cleared {
	float: none;
	clear: both;
	margin: 0;
	padding: 0;
	font-size: 1px;
}



