/*
Theme Name: DarkElements
Theme URI: http://www.guidovanderleest.nl/darkelements
Version: 2.9
Author: Guido van der Leest
Author URI: http://www.guidovanderleest.nl
Description: DarkElements is a free, clean, minimalistic, responsive, mobile friendly WordPress theme. Features: sidebar on left side, navigation on left side, widget areas in footer, custom header image, custom background, custom logo to replace blogname and description, full width page template, dropdown navigation. That's it. Enjoy. 
Tags: two-columns, left-sidebar, fixed-layout, responsive-layout, custom-background, custom-header, custom-menu, featured-images, dark, light, gray, editor-style, translation-ready
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: darkelements

DarkElements, Copyright 2014, Guido van der Leest
DarkElements is licensed under the GPL
*/


/* 
RESET STYLESHEET 
Source: http://meyerweb.com/eric/tools/css/reset
Author: Eric Meyer
Author URI: http://meyerweb.com/ 
License: none (public domain) 
*/

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-family:inherit;
	font-size:100%;
	font-style:inherit;
	font-weight:inherit;
	vertical-align:baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, 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;
}


/* BODY AND CONTAINER */
body {background:#333; font-family:'Open Sans', sans-serif; font-size:0.9em; color:#ddd; line-height:1.5em;}
#container {max-width:1000px; float:left; background:none; margin:20px 0 20px 20px; text-align:left; word-wrap:break-word;}


/* MAIN CONTENT AREA */
#content {width:68%; float:right; padding:20px 2%; word-wrap:break-word; background:#333 url('images/back.png'); opacity:0.9; filter:alpha(opacity=90);}
#content:after {content:''; display:block; clear:both;}


/* HEADINGS */
h1 {font-size:3.0em; line-height:1.2em;}
h2 {font-size:2.5em; line-height:1.2em;}
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;}


/* LINKS AND HTML TAGS */
a {text-decoration:none; color:#ddd;}
a:hover {color:#e77776;}

strong, b {font-weight:bold;}
small {font-size:0.75em;}
big {font-size:1.5em;}
sub {vertical-align:sub; font-size:0.9em;}
sup {vertical-align:super; font-size:0.9em;}
ins, mark {font-weight:bold; background:none; color:#e77776;}
cite, em, abbr, acronym {font-style:italic;}
code, pre {margin:10px 0; padding:5px 10px; display:block; border:1px solid #444; word-wrap:break-word; border-radius:5px; -moz-border-radius:5px;}
blockquote, q {margin:10px 0; padding:0 0 0 10px; display:block; font-size:1.2em; line-height:1.5em; font-style:italic; border-left:1px solid #ddd;}
address {margin:10px 0; padding:0 0 0 10px; display:block; font-size:1.2em; line-height:1.5em; border-left:1px solid #ddd;}
p {margin:0 0 10px; text-align:justify;}


/* TABLE AND LISTS */
table {margin:10px 0; border-collapse:collapse;}
table, th, td {border: 1px solid #444; padding:5px 10px;}
table th {font-weight:bold;}

ul {list-style:square; margin:2px 0 2px 0;}
ol {list-style:decimal; margin:2px 0 2px 0;}
li {margin:0 0 0 20px;}
dl {margin:10px 0;}
dt {font-weight:bold;}
dd {margin:0 0 0 20px;}


/* INPUTS */
input, select, textarea {-webkit-appearance:none; -moz-appearance:none; border:1px solid #444; padding:2px 5px; background:none; color:#ddd; font-size:1em; font-family:'Open Sans', sans-serif; border-radius:5px; -moz-border-radius:5px;}
input[type="submit"], input[type="reset"] {cursor:pointer;	border:0; padding:2px 5px; background:#ddd; color:#333;}
input[type="submit"]:hover, input[type="reset"]:hover {background:#e77776; color:#ddd;}
input[type="checkbox"]{-webkit-appearance:checkbox; -moz-appearance:checkbox;}
input[type="radio"]{-webkit-appearance:radio; -moz-appearance:radio;}
select {max-width:100%; -webkit-appearance:menulist; -moz-appearance:menulist;}


/* HEADER */
#header {width:22%; float:left; padding:20px 2% 30px; background:#333 url('images/back.png'); border-bottom-left-radius:50px; -moz-border-bottom-left-radius:50px; border-bottom-right-radius:50px; -moz-border-bottom-right-radius:50px; opacity:0.9; filter:alpha(opacity=90);}
#header:after {content:''; display:block; clear:both;}


/* HEADER LOGO */
#header .logo {width:100%; text-align:center; padding:0 0 20px;}
#header .logo h1 {font-size:2em;}
#header .logo h4 {padding:5px 0; font-size:1.2em;}
#header .logo img {padding:10px 0 0;}


/* HEADER IMAGE */
#header-image {width:68%; float:right; margin:0 0 20px; padding:20px 2% 15px; background:#333 url('images/back.png'); opacity:0.9; filter:alpha(opacity=90);}
#header-image:after {content:''; display:block; clear:both;}
#header-image .header-img {width:100%; height:auto;}

#header-image-mobile {display:none;}


/* HEADER MENU */
.nav-head {background:none; clear:both; margin:0; padding:5px 0;}
.nav-head select {display:none;}
.nav-head ul {padding:0; margin:0; z-index:999;}
.nav-head ul li {list-style-type: none; position:relative; padding:0; margin:0;}
.nav-head ul li a {text-decoration:none; padding:5px 0; display:inline-block; width:100%; border-bottom:1px solid #444;}
.nav-head .current_page_item > a, .nav-head .current_page_parent > a {color:#e77776;}


/* HEADER SUBMENU */
.nav-head ul ul a {width:95%; margin:0 0 0 5%;}
.nav-head ul ul ul a {width:90%; margin:0 0 0 10%;}


/* PAGE */
.page-title {padding:0 0 10px;}
.archive-description {display:block; font-style:italic;}
.pagelink {clear:both; margin:20px 0 10px;}


/* POST */
.post-title {padding:0;}
.sticky {text-align:center; clear:both; margin:0 0 10px; padding:5px; color:#e77776; border-top:1px solid #444; border-bottom:1px solid #444;}
.postmetadata {clear:both; margin:20px 0; padding:2px 0; border-top:1px solid #444; border-bottom:1px solid #444;}
.more {clear:both; margin:20px 0; padding:0 0 20px; border-bottom:1px solid #444;}
.more:after {content:''; display:block; clear:both;}
a.readmore {float:right; text-decoration:none; padding:2px 5px; background:#ddd; color:#333; border-radius:5px; -moz-border-radius:5px;}
a.readmore:hover {background:#e77776; color:#ddd; text-decoration:none;}


/* POST NAV */
.post-nav {display:block; clear:both;}
.post-nav:after {content:''; display:block; clear:both;}
.nav-prev {float:right; padding:5px 0;}
.nav-next{float:left; padding:5px 0;}


/* EDIT LINK */
.edit-link {display:block; clear:both; text-align:center; margin:10px 0; padding:2px 5px; border:1px solid #444; border-radius:5px; -moz-border-radius:5px;}
.edit-link a {color:#e77776;}
.edit-link a:hover {color:#ddd;}


/* IMAGE AND VIDEO */
embed, iframe, object, video {max-width:100%;}
img {max-width:100%; height:auto;}

img.alignright {float:right; margin:0.4em 0 0.4em 1em;}
img.alignleft {float:left; margin:0.4em 1em 0.4em 0;}
img.aligncenter {display:block; margin:0.4em auto 0.4em auto;}
.alignright {float:right; margin:0.4em 0 0.4em 1em;}
.alignleft {float:left; margin:0.4em 1em 0.4em 0;}
.aligncenter {display:block; margin:0.4em auto 0.4em auto;}

.wp-post-image, .single-image {float:left; margin:0.4em 1em 0.4em 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;}
.search-form .screen-reader-text {display:none;}


/* COMMENTS */
#comments {clear:both; word-wrap:break-word;}
#comments .comment-list {background:none; border:1px solid #444; border-radius:5px; -moz-border-radius:5px; font-weight:normal; margin:20px 0; padding:0 20px 0 10px;}
#comments .comment-list ol {list-style:none;}
#comments .comment-list li {list-style:none; margin:0 0 0 10px;}
.comment-body {border-left:1px solid #ddd; 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 {font-style:italic;}

#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;} 


/* COMMENT NAV */
.comment-nav {display:block; clear:both;}
.comment-nav:after {content:''; display:block; clear:both;}
.comment-prev {float:left; padding:5px 0;}
.comment-next {float:right; padding:5px 0;}


/* SIDEBAR AND WIDGETS */
#sidebar {width:100%; float:left; word-wrap:break-word;}
.widget {padding:10px 0; margin:0 0 10px; background:none;}
.widgettitle, .nav-widgettitle {color:#ddd; padding:0 0 5px; margin:0 0 10px; border-bottom:1px solid #444;}


/* CALENDAR WIDGET */
#wp-calendar th, #wp-calendar td {padding:5px;}


/* MENU WIDGET */
#sidebar .sub-menu li {margin:0 0 0 10px;}


/* FOOTER */
#footer {width:68%; float:right; padding:0 2%; margin:20px 0 0; background:#333 url('images/back.png'); color:#ddd; opacity:0.9; filter:alpha(opacity=90);}
#footer:after {content:''; display:block; clear:both;}
#footer .site-info {clear:both; text-align:center; font-size:0.75em; padding:10px 0;}


/* FOOTER WIDGET AREA */
#footer-widgets {width:100%; margin:0 auto 0;}
#footer-widgets:after {content:''; display:block; clear:both;}

#footer .widget {padding:0; margin:10px 0 0;}

.footer-left {float:left; width:31%; margin:10px 0 0 0; padding:0; word-wrap:break-word;}
.footer-middle {float:left; width:31%; margin:10px 3.5%; padding:0; word-wrap:break-word;}
.footer-right {float:right; width:31%; margin:10px 0 0 0; padding:0; word-wrap:break-word;}


/* Tablet */
@media screen and (min-width:768px) and (max-width:1024px) { 
	/* BODY AND CONTAINER */
	#container {margin:20px auto 20px;}
}


/* MOBILE */
@media screen and (max-width:767px) { 
	/* BODY AND CONTAINER */
	body {font-size:1em; line-height:1.2em;}
	body.custom-background {background-image:none !important;}
	#container {width:96%; padding:10px 2%; margin:0 auto 0; background:#333 url('images/back.png');}

	/* MAIN CONTENT AREA */
	#content {width:100%; padding:10px 0; background:none;}

	/* HEADER */
	#header {width:100%; padding:0; background:none;}
	#header .logo {padding:10px 0;}
	#header .logo h1 {font-size:2em;}
	#header .logo h4 {padding:0; font-size:1.3em;}
	#header-image {display:none;}
	#header-image-mobile {display:block; width:100%; background:none;}
	#header-image-mobile:after {content:''; display:block; clear:both;}
	#header-image-mobile .header-img {width:100%; height:auto;}

	/* MENU */
	.nav-head ul {display:none;} 
	.nav-head {padding:0 0 10px;}
	.nav-head select {display:block; width:100%; height:35px; margin:0 auto 0; font-size:1em; line-height:1.2em; color:#333; background:#ddd; border:0;}

	/* CONTENT */
	.postmetadata {margin:10px 0;}

	/* HEADINGS */
	.post-title, .page-title, .widgettitle, .comments-title, .comment-reply-title, .no-comments {font-size:1.3em;}

	/* IMAGES */
	.wp-post-image, .single-image {width:50%; margin:0.3em 0.5em 0.3em 0;}

	/* SIDEBAR */
	.widget {padding:5px 0; margin:0 0 5px;}
	.nav-widgettitle {display:none;}

	/* FOOTER */
	#footer {width:100%; padding:0; margin:0; float:left; background:none;}
	#footer .widget {padding:5px 0; margin:0 0 5px;}
	.footer-right, .footer-middle, .footer-left {width:100%; margin:0; float:left;} 
}