/*
	Theme Name: mv-locherhof
	Author: Verena Zaiser
	Author URI: http://verena-zaiser.de
	Version: 1.0
	License: GNU General Public License v2.0
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	
	mv-locherhof WordPress Theme, Copyright 2013 ThemeShift (Simon Rimkus)
	mv-locherhof is distributed under the terms of the GNU GPL.
	
	mv-locherhof is based on deLighted http://themeshift.com/theme/delighted/, (C) 2013 ThemeShift
	*/


	/* reset */

	html, body, div, span, applet, object, iframe,
	h1, h2, h3, h4, h5, h6, p, blockquote, pre,
	a, abbr, acronym, address, big, cite, code,
	del, dfn, em, font, ins, kbd, q, s, samp,
	small, strike, strong, sub, sup, tt, var,
	dl, dt, dd, ol, ul, li,
	fieldset, form, label, legend,
	table, caption, tbody, tfoot, thead, tr, th, td {
		border: 0;
		font-family: inherit;
		font-size: 100%;
		font-style: inherit;
		font-weight: inherit;
		margin: 0;
		outline: 0;
		padding: 0;
		vertical-align: baseline;
	}

	html {
		font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
		overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
		-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
		-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
	}

	article,
	aside,
	details,
	figcaption,
	figure,
	footer,
	header,
	main,
	nav,
	section {
		display: block;
	}

	ol, ul {
		list-style: none;
	}

	table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}

caption, th, td {
	font-weight: normal;
	text-align: left;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}

blockquote, q {
	quotes: "" "";
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
	outline: 0;
}

a img {
	border: 0;
}


/* global */

body {
	background-color: #e2e2e2;
}

body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 13px;
	font-size: 1.3rem;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
	-webkit-text-size-adjust: 100%;
}

/* headings */

h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1 {
	font-size: 2.6rem;
	padding-bottom: 10px;
}

h2 {
	font-size: 2.2rem;
	line-height: 1.4em;
	padding-bottom: 10px;
	margin-top: 0;
}

h3 {
	font-size: 1.8rem;
	padding-bottom: 10px;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 20px;
}

/* text elements */

p {
	margin-bottom: 20px;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 20px;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 20px 20px;
}

b, strong {
	font-weight: bold;
}

dfn, cite, em, i {
	font-style: italic;
}

blockquote {
	margin: 0 20px;
}

address {
	margin: 0 0 20px;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

small {
	font-size: 75%;
}

big {
	font-size: 125%;
}

figure {
	margin: 0;
}

table {
	margin: 0 0 20px;
	width: 100%;
}

th {
	font-weight: bold;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in all browsers */	
	box-sizing:border-box;
	-moz-box-sizing:border-box;
}

button,
input {
	line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
}

select {
	display: inline-block;
	height: 28px;
	padding: 4px;
	font-size: 13px;
	font-size: 1.3rem;
	line-height: 18px;
	color: #404040;
	border: 1px solid #ccc;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

button,
.button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 0;
	border-radius: 3px;
	background: #71616b;
	color: #fff;
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 13px;
	font-size: 1.3rem;
	line-height: 1;
	padding: 1em;
}

.button {
	-webkit-appearance: none;
}

button:hover,
.button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #71616b;
}

button:focus,
.button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background: #71616b;
}



input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
	padding: 0; /* Addresses excess padding in IE8/9 */
}

input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}

input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	border: 1px solid #ccc;
	color: #666;
	border-radius: 2px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 11px 15px;
}

textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 8px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}
/* links */

a {
	color: #3662C5;
}

a:visited {
	color: #5A0012;
}

a:hover,
a:focus,
a:active {
	color: #3662C5;
}

a.button {
	display: inline-block;
	text-decoration: none;
}

a.button:hover,
a.button:focus,
a.button:active,
a.button:visited {
	color: #fff;
}

/* Alignment */

.alignleft {
	display: inline;
	float: left;
	margin-right: 20px;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 20px;
}

.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* Text meant only for screen readers */

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/* clearing */

.clear:before,
.clear:after,
.wrap:before,
.wrap:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: '';
	display: table;
}

.clear:after,
.wrap:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}


/* page */

#page {
	width: 1100px;
	margin: 80px auto;
	-moz-box-shadow: 0px 0px 40px rgba(0,0,0,0.25);
	-webkit-box-shadow: 0px 0px 40px rgba(0,0,0,0.25);
	box-shadow: 0px 0px 40px rgba(0,0,0,0.25);
}

#primary {
	float: left;
	width: 640px;
}

#primary.full-width {
	float: none;
	width: 100%;
}

#secondary {
	float: right;
	width: 300px;
}


/* header */

.site-header {    
	position: relative;
	padding: 150px 60px;
	background: url(img/bg-header.jpg?cb=1) no-repeat center;
	color: #fff;
	text-align: center;
}

.site-description {
	display: inline-block;
	width: auto;
	margin-top: 5px;
	padding: 5px 40px;
	background-color: rgba(20,20,20,.25);
	font-family: 'Lora', Georgia, serif;
	font-size: inherit;
	font-weight: 700 !important;
}

/* sidebar panel */

.panel-default > .panel-heading {
	color: white;
	background-color: #3662C5;
	border-color: #dddddd;
}


/* navigation */

#navigation {
	/*border-top: 1px solid #8B0022;*/
	position: absolute;
	margin-top: 108px;
	background-color: rgba(54, 98, 197, 0.8);
	width: 1100px;
	margin-left: -60px;
	padding-left: 60px;

	/* header at the top*/
	/* margin-top: -150px;
	height: 44px; */
}

#navigation ul {
	list-style-type: none;
}

#navigation ul a {
	display: block;
	padding: 10px;
	text-decoration: none;

	/* TODO */
	color: #fff !important;
}

#navigation ul a:hover {
	background-color: #8B0022;
}


#navigation ul li {
	float: left;
	position: relative;
}


#navigation ul .sub-menu {
	padding: 0;
	margin: -1px 0 0 0;

	position: absolute;

	/* display only if hover */
	display: none;

	z-index: 99999;
	background-color: #fff;

	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.5);
}

#navigation ul .sub-menu a {
	color: #3662c5 !important;
}

#navigation ul.sub-menu a:hover {
	color: #fff !important;
	background-color: #8B0022;
}

#navigation ul.sub-menu li{
	/* hove on subitems now fill ul width */
	width: 100%;
}

/* opens up the menu with all lis*/
#navigation ul li:hover > ul {
	display: block;
}

#navigation ul.sub-menu li.current_page_item a,
#navigation ul li.current-menu-item a{
	color: #fff !important;
	background-color: #8B0022;
}

#navigation .site-name {
	font-size: 2.0em;
	text-align: right;
	padding-right: 86px;
	height: 100%;
	line-height: 1.7em;
}


/* content */

.site-content {
	position: relative;
	padding: 60px 60px 0;
	background-color: #fff;
	word-wrap: break-word;
}

.label {
	display: inline-block;
	margin-right: 5px;
	padding: 5px 10px;
	line-height: 1;
	background-color: #71616b;
	color: #fff;
	font-size: 11px;
	font-size: 1.1rem;
	font-weight: bold;
	border-radius: 3px;
}
.page-content,
.page .entry-content,
.single-post .entry-content,
.entry-summary {
	margin-top: -5px;
	padding-bottom: 10px;
}

.error-404 {
	margin-bottom: 60px;
}


/* footer */

.site-footer {
	background-color: #3662c5;
	text-align: right;
	/*border-bottom: 1px solid #8B0022;*/
}

#footer .page_item {
	list-style-type: none;
	display: inline-block;
	padding: 10px;
}

#footer .page_item a{
	color: white;
	text-decoration: none;
}

#footer .page_item a:hover {
	color: #c00600;
}


/* Make sure embeds and iframes fit their containers */

embed,
iframe,
object {
	max-width: 100%;
}

/* overwrite special things */
input .wpcf7-form-control .wpcf7-submit {
	color: #fff;
	background-color: #3662C5;
}

.btn-default:active, .btn-default:visited {
	color: #fff;
}

.btn-default:hover {
	color: #3662C5;
}

.no-margin {
	margin-bottom: 10px;
}


