/*
Theme Name: DesignKode Base Theme
Theme URI: http://www.designkode.com/
Description: Base Theme
Author: Kreg Wallace
Author URI: http://www.designkode.com/
Version: 1.0
*/

/* Reset browser styles
------------------------------------------------------------------- */
@import url(css/normalize.min.css);

/* HTML
------------------------------------------------------------------- */
a {
	text-decoration: none;
	outline: none;
}
a:active {
  outline: none;
}
:-moz-any-link:focus {
  outline: none;
}

p { margin: 0 0 1em 0; }

/* headings */
h1, h2, h3, h4, h5, h6 {
	margin: .25em 0 .5em 0;
	font-family: Arial, sans-serif;
	font-weight: normal;
}
h1 { font-size: 3em; }
h1 + h2 { margin-top: 1em; }
h2 { font-size: 1.25em; }
h3 { font-size: 1.1em; }
h4, h5, h6 { font-size: 1em; }

hr {
	clear: both;
	height: 1px;
	border-top: 1px solid #999;
	border-bottom: 1px solid #eee;
	border-left: none;
	border-right: none;
	margin: 1em 0 1em 0;
}

/* lists */
dl, ul, ol {
	margin: .5em 0 1em .5em;
	padding-left: .75em;
}
ul li { padding-left: .5em; }
ol li { margin-bottom: .25em; }
dt { font-weight: bold;  }
dd { margin-bottom: 1em; }

/* Layout
------------------------------------------------------------------- */
html {
	height: 100%;
	overflow-y: scroll;
}
body {
	height: 100%;
	font: normal 1em/1.4em Georgia, serif;
	background: #ddd;
}
#wrapper {
	margin: 0 auto -100px;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}
.wrapper {
	width: 1020px;
	margin: 0 auto;
	text-align: left;
}

/* Header
------------------------------------------------------------------- */
header {
	position: relative;
	background: #000;
	height: 200px;
}
header .logo a {
	display: block;
	position: absolute;
	top: 40px;
	left: 40px;
	color: #fff;
	height: 100px;
}

/* Navigation Bar
------------------------------------------------------------------- */
nav {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #999;
	font-family: Arial, sans-serif;
	font-size: 18px;
}
nav ul {
	float: left;
	list-style: none;
	margin: 0;
	padding: 0;
}
nav ul li {
	float: left;
	display: inline;
	position: relative;
}
nav ul li a {
	color: #000;
	display: block;
	padding: 0 20px;
}
nav ul li a:hover {
	text-decoration: none;
	background: #666;
	color: #fff;
}
nav li a:hover, nav :hover > a {
	color: #fff;
	background: #ccc;
}
nav li ul {
	background: #ccc;
	margin: 0;
	z-index: 3;
	position: absolute;
	display: none;
}
nav li:hover ul {
	clear: both;
	display: block;
	position: absolute;
	top: 36px;
}
nav li li {
	clear: both;
	display: block;
	width: 180px;
	overflow: auto;
	z-index: 3;
	margin: 0;
	padding: 0;
}

/* Content Areas
------------------------------------------------------------------- */
#content {
	float: left;
	margin: 20px 0px 40px 20px;
	width: 740px;
}
#sidebar {
	float: right;
	font-size: .95em;
	margin: 0 0 0 0px;
	width: 230px;
}

/* Sidebar
------------------------------------------------------------------- */
#sidebar ul.menu {
	list-style: none;
	margin-left: 0;	
	padding-left: 0;
}
#sidebar ul.menu li {
	padding: .5em 0 .5em 0;
	font-family: Arial, sans-serif;
	border-bottom: 1px solid #999;
}

#sidebar ul {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

#sidebar li {
	list-style: none;
}

/* Footer
------------------------------------------------------------------- */
#footer-push {
	clear: both;
	height: 100px; /* height of footer */
}
footer {
	clear: both;
	background: #000; 
	width: 1020px;
	margin: auto;
	text-align: left;
	height: 100px;
	color: #fff;
	font-size: .85em;
}
footer .content {
	margin: 0 20px; 
	padding-top: 10px;
}

/* Comments
------------------------------------------------------------------- */
#comments .even { background: #ddd; }
#comments h3 {
	margin-top: 1em;
	padding-top: 20px;
	border-top: 1px dashed #ccc;
}
.comment {
	margin: 0;
	border-bottom: 1px solid #ddd;
	border-top: 1px solid #fff;
}
.comment-meta { padding: 10px; }
.comment-info { float: left; }
.comment-body { padding: 10px; }
.comment-author {
	font-weight: bold;
	padding-top: 2px;
}
.comment-author-photo {
	float: left;
	margin-right: 15px;
}
.comment-author-photo img {
	border: 3px solid white !important;
	box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
}
#comment-form { margin: 1em 0; }
#comment-form h3 { margin-bottom: 20px; }
#comment-form textarea {
	width: 80%;
	height: 200px;
	margin-bottom: 1em;
}

/* WordPress image placement
------------------------------------------------------------------- */
.alignleft {
	float: left;
	margin: 0 20px 15px 0;
}
.alignright {
	float: right;
	margin: 0 0 15px 20px;
}
.aligncenter {
	display: block;
	margin: 1em auto 1.25em auto;
}

/* Buttons
------------------------------------------------------------------- */
a.button, input[type=submit] {
	display: inline-block;
	color: #fff;
	font-family: Verdana, Arial, sans-serif;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	min-width: 100px;
	padding: 4px 24px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, .65);
	box-shadow:
		inset 0px 1px 0px 0px rgba(255, 255, 255, .5),
		0px 2px 3px 0px rgba(0, 0, 0, .65);
}
a.big-button, input[type=submit].big-button {
	font-size: 16px;
	padding: 8px 34px;
}
input[type=submit] {
	padding: 8px 24px;
}
a.button:active, input[type=submit]:active {
	position: relative;
	top: 1px;
	box-shadow:
		inset 0px 1px 0px 0px rgba(255, 255, 255, .65),
		0px 0px 2px 0px rgba(0, 0, 0, .65);
}
a.button::-moz-selection  { background: transparent; }
a.button:hover { text-decoration: none; }

/* grey buttons */
a.button-grey, input[type=submit] {
	border: 1px solid #333;
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #999), color-stop(1, #333) );
	background: -moz-linear-gradient( center top, #999 5%, #333 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#999', endColorstr='#333');
	background-color: #999;
}
/* blue buttons */
a.button-blue, input[type=submit].button-blue {
	border: 1px solid #0a58c8;
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #59a6fd), color-stop(1, #0a58c8) );
	background: -moz-linear-gradient( center top, #59a6fd 5%, #0a58c8 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#59a6fd', endColorstr='#0a58c8');
	background-color: #59a6fd;
}
/* green buttons */
a.button-green, input[type=submit].button-green {
	border: 1px solid #02a300;
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #02e200), color-stop(1, #02a300) );
	background: -moz-linear-gradient( center top, #02e200 5%, #02a300 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#02e200', endColorstr='#02a300');
	background-color: #02e200;
}

/* Misc
------------------------------------------------------------------- */
.clear { clear: both; }
.hidden { display: none; }
.center {
	text-align: center;
	margin: 0 auto;
}
img#wpstats { display: none; }
::selection { background: #ffc; }
::-moz-selection { background: #ffc; }

.frame {
	border: 5px solid #fff;
	-moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, .5);
	-webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, .5);
	box-shadow: 0px 1px 2px rgba(0, 0, 0, .5);
}

/* Form Messages */
.error-msg, .success-msg {
	border-radius: 6px;
	border: 1px solid #ddd;
	margin-bottom: 1em;
	padding: 1em;
}
.error-msg {
	border-color: #8a1f11;
	background: #ffebe8;
}
.success-msg {
	border-color: #a8d144;
	background: #f1fff0;
}
.error {
	border-color: #8a1f11 !important;
}