/*   
Theme Name: OneColumnChild
Description: Beschreibungstext...
Author: charlie
Author URI: http://www.bhf.de/
Template: onecolumn
Version: 1.0
Tags:
*/

/* MY CUSTOM STYLES
--------------------------------------------- */

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 90%;
	font: inherit;
	vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* GENERAL */
body {background: #777777; font-family: 'Open Sans', sans-serif; font-size:1em; line-height:1.5em; color:#000000;}
#container {padding:0; margin:0; background:none; text-align: left; word-wrap: break-word;}
#content {max-width: 960px; margin: 0 auto 0; background:#777777; word-wrap: break-word;}

h1 {font-size:2.5em; line-height:1.2em; text-transform: uppercase;}
h2 {font-size:2.0em; line-height:1.5em; text-transform: uppercase;}
h3 {font-size:2.0em; line-height:1.5em;}
h4 {font-size:1.5em; line-height:1.5em;}
h5 {font-size:1.0em; line-height:2em;}
h6 {font-size:0.75em; line-height:2em;}

a {text-decoration:none; color:#f651414;}
a:hover {text-decoration:underline;}

strong, b {font-weight: bold;}
small {font-size:0.75em;}
big {font-size: 1.5em;}
ins, mark {font-weight:bold; background:none; color:#f000000;}
cite, em, abbr, acronym {font-style:italic;}
code, pre {margin:10px 0; padding:5px 10px; display:block; border:1px solid #ccc; background:none; word-wrap:break-word;}
blockquote, q {margin:10px 0; padding:0 0 0 40px; display:block; font-size:1.2em; line-height:1.5em; font-style:italic; background:url('images/quote-dark.png') no-repeat;}
address {margin:10px 0; padding:0 0 0 30px; display:block; font-size:1.2em; line-height:1.5em; font-style:italic; background:url('images/address-dark.png') no-repeat;}
p {margin:0 0 10px; text-align:justify;}

table {margin:10px; border-collapse:collapse;}
table, th, td {border: 1px solid #ccc; padding:5px 10px;}

ul {list-style: square; margin: 2px 0 2px 15px;}
a:link {color:#651414; text-decoration:none; }
li {margin: 0 0 0 10px;}
ol {list-style: decimal; margin: 2px 0 2px 15px;}
dl {margin: 10px;}
dt {margin: 0; font-size:1.2em; font-weight:bold;}
dd {margin: 0 0 0 10px;}

input, select, textarea {-webkit-appearance:none; -moz-appearance:none; border:1px solid #ccc; padding:2px 5px; background:none; font-size:1em; font-family: 'Open Sans', sans-serif;}
input[type="submit"]{cursor:pointer;	border:0; padding:2px 5px; background:#777777; color:#fff;}
input[type="submit"]:hover {background: #333;}
select {max-width:100%;}


/* HEADER */
#header {max-width: 960px; margin: 0 auto; padding:10px 0; background:#777777; text-align:center;}
#header:after {content:''; display:block; clear:both;}
#header .header-img {width: 960px; height: auto;}
#header .logo {max-width: 960px; margin: 0 auto 0; padding:10px 0;}
#header .logo h1 a {font-size: 1.5em; color: #000000;}
#header .logo h1 a:hover {text-decoration:none; color: #333;}
#header .logo h3 {padding:10px 0 0; color: #000000;}


/* HEADER MENU */
.nav-head {max-width: 960px; margin: 0 auto 0; background: none; clear:both; padding:10px 0; font-size:1.0em; text-transform: uppercase;}
.nav-head select {display:none;}
.nav-head ul {padding:0; margin: 0;}
.nav-head ul li {list-style-type: none; display: inline-block; position: relative;}
.nav-head ul li a {text-decoration: none; color: #000000; background: none; padding: 10px 10px; display: inline-block;}
.nav-head ul li a:hover {text-decoration:underline;}
.menu .current_page_item > a, .menu .current_page_parent > a {text-decoration:underline;}


/* HEADER SUBMENU */
.nav-head ul ul {display:none; position: absolute; top: 100%; padding: 0;}
.nav-head ul ul ul {display:none; position: absolute; top: 30%; left: 100%;}
.nav-head ul ul a {width:12em; background: #333; color:#fff; padding: 5px 10px; text-align:left;}
.nav-head ul li:hover > ul {display:block;}
.nav-head ul li ul li {margin:0;}


/* HOMEPAGE WIDGET AREA */
#header-widgets {max-width: 960px; margin:0 auto 0; padding:0; background:#f8f8f8; border-bottom:3px solid #000000;}
#header-widgets:after {content:''; display:block; clear:both;}
.home-left {float: left; padding: 0 0 0 4%; width: 44%; word-wrap: break-word;}
.home-right {float: right; padding: 0 4% 0 0; width: 44%; word-wrap: break-word;}


/* PAGE */
.article {clear:both; padding:20px 4%;}
.page-title {margin: 0; padding: 0 0 10px; text-transform: uppercase;}
.pagelink {clear:both; margin:20px 0 10px;}
.edit-link {display:block; clear:both; margin:10px 0 0; padding:5px; border:1px solid #000000;}


/* POST */
.post-title {margin: 0; padding: 0;}
.post-title a:hover {color:#333; text-decoration:none;}
.excerpt {padding:5px 0 0;}
.sticky {text-align:center; clear:both; color:#fff; background: #777777; margin: 0 0 10px; padding:5px; border:0;}
.postmetadata {clear:both; margin:20px 0; padding:5px 10px; color: #333; background:#eee;}
.more {clear:both; margin:0 0 20px; padding:0 0 20px; border-bottom:2px solid #eee;}
.more:after {content:''; display:block; clear:both;}
a.readmore {float:right; padding: 2px 10px; background:#777777; color:#fff; text-decoration:none;}
a.readmore:hover {background: #333; text-decoration:none;}
.post-nav {padding: 5px 0; clear:both;}
.post-nav:after {content:''; display:block; clear:both;}
.nav-prev {float:left;}
.nav-next{float:right;}


/* IMAGE AND VIDEO */
embed, iframe, object, video {max-width:100%;}
img {max-width:100%; height:auto;}

img.alignright {float:right; margin:0 0 1em 1em;}
img.alignleft {float:left; margin:0 1em 1em 0;}
img.aligncenter {display: block; margin-left: auto; margin-right: auto; margin-bottom:1em;}
.alignright {float:right; margin:0 0 1em 1em;}
.alignleft {float:left; margin:0 1em 1em 0;}
.aligncenter {display: block; margin-left: auto; margin-right: auto; margin-bottom:1em;}

.wp-post-image {float:left; margin: 10px 20px 5px 0;}
.single-image {float:left; margin: 5px 20px 5px 0;}

.wp-caption {background:none; max-width: 100%;}
.wp-caption-text {text-align:center; word-wrap: break-word;}

.gallery dl, .gallery dt, .gallery dd {margin:0; padding:0;}
.gallery-caption {background:none; max-width: 100%;}
.gallery-caption-text {text-align:center; word-wrap: break-word;}


/* SEARCHFORM */
.search-form {padding:10px 0;}
.search-field {width:50%; margin:0 5px 0 0;}
.screen-reader-text {display:none;}


/* COMMENTS */
#comments {clear:both; word-wrap: break-word;}
#comments .comment-list {list-style:none; background:#fff; border:1px solid #ddd; font-weight:normal; margin: 20px 0; padding: 0 15px 0;}
#comments .children {list-style:none; background: #fff; margin: 0; padding: 0 0 0 15px;}
.comment-body {border-left:2px solid #000000; padding: 0 0 0 15px; margin:20px 0;}
.comment-notes, .form-allowed-tags {font-size:0.75em; padding:5px 0;}
.comments-title, .comment-reply-title, .no-comments {clear:both; font-size: 1.5em;} 
.bypostauthor {color:#333;}

#respond {padding:0; margin:0; clear:both;}
#commentform label {padding: 0 0 5px; display:block;}
#commentform textarea, #commentform input {width: 90%; padding:2px 5px;}
#commentform input[type="submit"]{width:9em; padding:2px 5px;} 


/* WIDGETS */
.widgettitle-home {background:#eee; color:#333; padding:5px 10px; margin:20px 0 15px;}
.widgettitle-foot {background:#eee; color:#333; padding:5px 10px; margin:20px 0 15px;}
.widget {padding:0 0 10px;}
#wp-calendar {width:90%;}


/* SIDEBAR - FOOTER WIDGET AREA */
#sidebar {clear:both; max-width: 960px; margin:0 auto 0; padding:0; color: #333; background: #f8f8f8; word-wrap: break-word; border-top:3px solid #000000;}
#sidebar:after {content:''; display:block; clear:both;}
.footer-left {float: left; padding: 0 0 0 4%; width: 44%; word-wrap: break-word;}
.footer-right {float: right; padding: 0 4% 0 0; width: 44%; word-wrap: break-word;}


/* FOOTER */
#footer {clear:both; max-width: 960px; margin:0 auto 0; background:#777777; color:#000000; padding:20px 0;}
#footer .site-info {text-align:center; clear:both; padding:0 20px;}
#footer .site-info a{color:#000000;}



/* Mobile */
@media screen and (max-width: 767px) { 
	body {font-size: 1em; line-height: 1.2em;}
	p {text-align:left;}
	#container {width: 96%; padding:10px 2%;}
	#content {width: 100%;}
	#header {width:100%;}	
	#header .logo {width:96%; padding: 5px 0;}
	#header .logo h1 {font-size:2em;}
	#header .logo h3 {padding:0; font-size:1.3em;}
	#header .header-img {width: 96%; padding:15px 0 0;}
	#header-widgets {width: 100%; float:left;}
	#sidebar {width:100%; float:left;}
	#footer {width:100%;}
	.article {padding: 10px 2%;}
	.postmetadata {margin:10px 0;} 
	.post-title, .page-title, .widgettitle, .comments-title, .comment-reply-title, .no-comments {font-size:1.3em;}
	.wp-post-image {width:50%; margin: 10px 10px 5px 0;}
	.single-image {width:50%; margin: 5px 10px 5px 0;}
	.home-left, .home-right, .footer-left, .footer-right {width:96%; padding:0 2%; float:left;} 
	.nav-head ul {display: none;} 
	.nav-head {padding:0;}
	.nav-head select {display: block; width: 96%; height: 35px; margin: 0 auto 0; font-size: 1em; line-height: 1.1em; color: #333; background:#777777; border:0;}
}
