/*
Willkommen bei Custom CSS

Wie es funktioniert, steht unter http://wp.me/PEmnE-Bt
*/
.overlay {
	background: none;
}

header#masthead.site-header {
	background-position: bottom left !important;
	background-repeat: no-repeat;
	background-size: cover !important;
	height: auto !important;
}

.site-branding img {
	height: auto;
	max-width: 90%;
}

.inner-wrap {
	padding-top: 0;
	padding-right: 2%;
	padding-bottom: 0;
	padding-left: 1%;
}

.main-navigation {
	background: rgba(255,255,255,0.7) !important;
	padding-left: 5px !important;
}

.main-navigation ul ul li {
	padding-left: 0;
	width: 16em;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	color: #5d7895;
/* text-shadow: 1px 1px 0 rgba(255,255,255,1); */
}

.main-navigation a:hover {
	border-bottom: 2px solid #5d7895;
}

.main-navigation .current_page_item > a, .main-navigation .current-menu-item > a {
	border-bottom: 2px solid #5d7895;
	color: #5d7895;
}

.main-navigation li.menu-item-has-children > a::after {
	color: #5d7895;
}

.main-navigation ul ul {
	background: rgba(93,120,149,0.7) none repeat scroll 0 0;
	border: 1px solid #5d7895;
}

.main-navigation ul ul a {
	color: #fff;
}

.main-navigation ul ul a:hover {
	color: #f1f1f1;
}

.main-navigation ul ul li.menu-item-has-children > a:hover:after {
	color: #5d7895;
}

.menu-toggle {
	background: rgba(255,255,255,0.7) none repeat scroll 0 0;
	border: medium none;
	border-radius: 2px;
	color: #5d7895;
	padding: 5px;
	position: absolute;
	right: 3%;
	top: 10px;
}

.menu-toggle:hover {
	background: rgba(255,255,255,0.7) none repeat scroll 0 0;
	color: #5d7895;
}

.site-info {
	background: #5d7895 url("https://www.ml-job-fashion.de/wp-content/uploads/2015/06/bg_footer_kl.png") repeat-x;
	color: #FFF;
	font-size: 1.4rem;
	padding: 1em 0;
}

.header-page-title {
	color: #ffffff;
	text-shadow: 1px 1px 0 rgba(0,0,0,1);
	font-family: "Verdana", sans-serif;
	display: none;
}

#footer-widgets {
	padding-top: 10px;
}

h1, h2, h3, h4, h5, h6 {
	color: #5d7895;
}

h3.widget-title {
	color: #ffffff;
	border-bottom: 1px dotted #fff;
}

a {
	border-bottom: 1px solid #5d7895;
	color: #404040;
	text-decoration: none;
}

a:hover {
	border-bottom: 1px solid #5d7895;
	color: #5d7895;
	text-decoration: none;
}

button, input[type="button"], input[type="reset"], input[type="submit"] {
	background: #FFF none repeat scroll 0 0;
	border: 3px solid #5d7895;
	color: #5d7895;
	cursor: pointer;
	font-size: 1.4em;
	font-weight: 400;
	letter-spacing: 1px;
	line-height: 1;
	padding: .5em;
	text-transform: uppercase;
	transition: all .2s ease-in-out 0;
}

button:hover,input[type="button"]:hover,input[type="reset"]:hover,input[type="submit"]:hover {
	background: #5d7895;
	color: #fff;
}

.entry-content hr {
	background: #ccc;
	height: 1px;
	width: 95%;
	text-align: center;
	margin-top: 50px;
	margin-bottom: 10px;
	margin-left: 0;
	clear: both;
}

.entry-content ul {
	list-style: inside none disc;
}

/*
media queries ##########################################################################################################
*/
@media screen and (max-width: 400px) {
	.site-branding {
		margin-top: 0;
	}
	
	.site-branding img {
		height: auto;
		max-width: 80%;
	}
	
	header#masthead.site-header {
		background-position: center center !important;
		background-repeat: no-repeat;
		background-size: cover;
	}
}

/* 768 */
@media screen and (max-width: 768px) {
	.site-branding {
		margin-top: 0;
	}
	
	.site-branding img {
		height: auto;
		max-width: 100%;
	}
	
	header#masthead.site-header {
		background-position: center center !important;
		background-repeat: no-repeat;
		background-size: cover;
	}
	
	.header-desc-wrap {
		height: 100px;
		z-index: 100;
		position: relative;
		width: 100%;
		max-width: 956px;
		box-sizing: border-box;
		margin: 0 auto;
		padding-top: 80px;
		text-align: center;
		text-rendering: optimizelegibility;
	}
	
	.content-area {
		padding: 2em;
		padding-top: 0;
	}
	
	h1 {
		font-size: 1.5em;
	}
	
	h4 {
		font-size: 1.3em;
	}
}

/* 1024 */
@media screen and (max-width: 1024px) {
	.main-navigation a {
		font-size: .8rem !important;
	}
	
	.site-branding {
		margin-top: 0;
	}
	
	.site-branding img {
		height: auto;
		max-width: 100% !important;
	}
	
	h1.site-title {
		font-size: 0 !important;
		width: 180px !important;
	}
	
	header#masthead.site-header {
		background-position: center center !important;
		background-repeat: no-repeat;
		background-size: cover;
	}
	
	.main-navigation {
		float: left !important;
		margin-top: 5px;
	}
}

/* 1280 */
@media screen and (max-width: 1280px) {
	.main-navigation a {
		font-size: .75rem;
	}
	
	.site-branding {
		margin-top: 0;
	}
	
	.site-branding img {
		height: auto;
		max-width: 70%;
	}
	
	header#masthead.site-header {
		background-position: center center !important;
		background-repeat: no-repeat;
		background-size: cover;
		height: 20% !important;
	}
	
	.main-navigation {
		float: left;
	}
	
	h1.site-title {
		font-size: 0 !important;
		width: 300px;
	}
}