/*  
Theme Name: Notepad Theme
Theme URI: http://www.ndesign-studio.com/wp-themes/notepad
Description: A notepad theme inspired by the iPhone's Notes.app
Version: 1.3
Tags: two-columns, right-sidebar, fixed-width, threaded-comments, light, yellow
Author: Nick La
Author URI: http://www.ndesign-studio.com

This theme is released under GPL: http://www.gnu.org/licenses/gpl.html

If you remix, convert, translate, modify, or distribute a copy of this theme, please keep the links/credit in the footer.
*/

/* reset
-------------------------------------------------*/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset {
	margin: 0;
	padding: 0;
}
img, fieldset {
	border: 0;
}
/* reset end
-------------------------------------------------*/

html {
	background: #f5f4f4 url(img/bg-stripe.png);
}
body {
	font: normal .81em/1.5em Arial, Helvetica, sans-serif;
	width: 980px;
	margin: 0 auto;
	color: #6f5e4e;
}
p {
	margin: 0 0 1em;
}
em, i {
	font: normal italic 100% Georgia, "Times New Roman", Times, serif;
}
a {
	color: #644527;
	text-decoration: underline;
	outline: none;
}
a:hover {
	color: #ca6c18;
}
big {
	font-size: 1.2em;
	font-weight: bold;
	line-height: 1.46em;
	color: #887662;
}
small {
	font-size: .9em;
	color: #9f8c77;
}
blockquote {
	background: url(img/blockquote.png) no-repeat 4px 0;
	padding: 0 0 0 26px;
	font: italic 1.1em/1.4em Georgia, "Times New Roman", Times, serif;
	color: #897662;
}
ul {
	list-style: none;
	margin: 1.2em 0 1.8em 10px;
}
ul li {
	background: url(img/bullet.png) no-repeat 0 .5em;
	padding: 0 0 .5em 16px;
}
ol {
	margin: 1.2em 0 1.8em 10px;
}
ol li {
	margin: 0 0 .5em 16px;
}
h1, h2, h3, h4, h5, h6 {
	line-height: 2em;
	color: #644527;
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.6em;
}
h3 {
	font-size: 1.4em;
}
h4 {
	font-size: 1.2em;
}
input, textarea, select {
	font: normal 1em/1.4em Arial, Helvetica, sans-serif;
}
input[type=text], input[type=password], textarea {
	background: #fdfde8;
	border: solid 1px #d6d1c7;
	padding: 5px 7px;

	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}
textarea:focus, input[type=password]:focus, input[type=text]:focus {
	border: solid 1px #ca6c18;
	background: #fff;
	outline: none;
	box-shadow: 0 1px 4px #c5c5a2;

	-webkit-box-shadow: 0 1px 4px #c5c5a2;
	-moz-box-shadow: 0 1px 4px #c5c5a2;
}
input[type=reset], input[type=submit] {
	font-weight: bold;
	color: #fff;
	background: #402206 url(img/form-button-bg.png) repeat-x;
	border: solid 1px #402206;
	padding: 4px 15px;

	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}
input[type=reset]:hover, input[type=submit]:hover {
	background: #74300c url(img/form-button-bg.png) repeat-x 0 -91px;
	border: solid 1px #74300c;
}

/* header
-------------------------------------------------*/
#header {
	background: url(img/header.png) no-repeat center bottom;
	padding: 30px 10px 110px;
	position: relative;
}
#header #logo {
	font: bold 3.7em/1em Arial, Helvetica, sans-serif;
	margin: 0 0 10px;
	letter-spacing: -.08em;
	color: #74685c;
	text-shadow: 0 1px 0 #fff;
}
#header #logo, #header #logo a {
	color: #74685c;
	text-decoration: none;
}
#header #logo a:hover {
	color: #ca6c18;
}
#header .description {
	font: 1.4em/1em Arial, Helvetica, sans-serif;
	margin: 0 0 20px;
	letter-spacing: -.04em;
	color: #7c7268;
	text-shadow: 0 1px 0 #fff;
}
#header .socialmedia a {
	text-decoration: none;
	margin-right: 20px;
	color: #666;
}
#header .socialmedia a:hover {
	color: #ca6c18;
}
#header .socialmedia img {
	vertical-align: middle;
	margin: 0 8px 5px 0;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	box-shadow: 0 1px 4px #000;
	-webkit-box-shadow: 0 1px 2px #ccc;
	-moz-box-shadow: 0 2px 2px #ccc;
}


/* nav level1 */
#nav {
	position: absolute;
	bottom: 54px;
	left: 30px;
	list-style: none;
	margin: 0;
	padding: 0;
}
#nav li {
	float: left;
	margin: 0 10px 0 0;
	padding: 0 0 5px 5px;
	background: none;
	position: relative;
}
#nav li a {
	color: #fff;
	font: bold 100%/100% Arial, Helvetica, sans-serif;
	padding: 9px 12px 10px 8px;
	display: block;
	text-decoration: none;
	color: #cbc3bb;
	text-shadow: 0 1px 1px #1f1206;
}
#nav #active, #nav li:hover {
	background: url(img/nav-bg.png) no-repeat;
}
#nav #active a, #nav li a:hover {
	background: url(img/nav-bg.png) no-repeat right -85px;
	color: #fff;
}

/* show hover bg */
#nav li:hover a {
	background: url(img/nav-bg.png) no-repeat right -85px;
}
#nav #active li:first-child a {
	background: url(img/nav-bg.png) no-repeat right -169px;
	padding-right: 20px;
	color: #fff;
}

/* nav level2 */
#nav ul {
	position: absolute;
	top: 18px;
	left: -10px;
	padding: 8px 0 10px;
	background: #fbf4b5 url(img/subnav-gradient.png) repeat-x;
	border: solid 1px #c5c5a2;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	box-shadow: 0 1px 4px #c5c5a2;
	-webkit-box-shadow: 0 1px 4px #c5c5a2;
	-moz-box-shadow: 0 1px 4px #c5c5a2;
}
#nav ul li {
	background: none;
	padding: 0;
	margin: 0;
}
#nav ul li:hover, #nav ul li:hover a, #nav ul #active {
	background: none;
}
#nav ul a {
	color: #755433;
	font-weight: normal;
	text-shadow: none;
	padding: 7px 0 7px 15px;
	width: 200px;
	background: none !important;
}
#nav #active li a, #nav ul #active a {
	color: #755433;
	background: none;
}
#nav ul a:hover, #nav #active li a:hover, #nav ul #active a:hover {
	background: none;
	color: #000;
}

/* dropdown */
#nav ul {
	display: none;
}
#nav li:hover > ul {
	display: block;
}

/* nav sub levels */
#nav ul ul {
	left: 200px;
	top: -18px;
	z-index: 3;
}

#searchform {
	position: absolute;
	bottom: 57px;
	right: 25px;
	background: url(img/searchform.png) no-repeat;
	width: 222px;
	height: 26px;
	padding: 5px 0 3px;
}
#searchform #s {
	background: #332518;
	border: none;
	font: italic 110% Georgia, "Times New Roman", Times, serif;
	color: #ada8a3;
	width: 168px;
	padding: 2px 5px;
	margin-left: 30px;
}
#searchform #s:focus {
	outline: none;
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
}

/* content
-------------------------------------------------*/
#wrapper {
	background: url(img/wrapper.png) center 5px;
	width: 100%;
	min-height: 600px;
	overflow: hidden;
	padding-top: 8px;
}

#content {
	float: left;
	width: 520px;
	margin-left: 15px;
	padding: 0 0 0 90px;
}

.post {
	margin: 0 0 45px;
}
.post-title {
	font: bold 1.9em/1em Arial, Helvetica, sans-serif;
	letter-spacing: -.05em;
	margin: 0 0 10px;
	text-shadow: 0px 1px 4px #dfdfbb;
	color: #644527;
}
.post-title a {
	text-decoration: none;
	color: #644527;
}
.post-title a:hover {
	color: #ca6c18;
}
.post-date {
	font: bold 1.2em/1em Arial, Helvetica, sans-serif;
	color: #887057;
	margin: -30px 0 0 -96px;
	padding: 0;
	width: 80px;
	text-align: right;
	position: absolute;
}
.post-data {
	margin: 0 0 20px;
	font: bold .9em/1.3em Arial, Helvetica, sans-serif;
	color: #b09473;
}
.post-data a {
	color: #b09473;
	text-decoration: none;
	padding-bottom: 4px;
}
.post-data a:hover {
	color: #ca6c18;
	text-decoration: none;
}
.post-data span {
	padding: 0 0 3px 19px;
	margin-right: 12px;
}
.postauthor {
	background: url(img/postdata-icons.png) no-repeat 0 -512px;
}
.postauthor:hover {
	background: url(img/postdata-icons.png) no-repeat 0 -619px;
}
.postcategory {
	background: url(img/postdata-icons.png) no-repeat;
}
.postcategory:hover {
	background-position: 0 -253px;
}
.posttag {
	background: url(img/postdata-icons.png) no-repeat 0 -86px;
}
.posttag:hover {
	background-position: 0 -339px;
}
.postcomment {
	background: url(img/postdata-icons.png) no-repeat 0 -172px;
}
.postcomment:hover {
	background-position: 0 -425px;
}

.more-link {
	font: bold 1em/1em Arial, Helvetica, sans-serif;
	background: url(img/more-link.png) no-repeat right 3px;
	text-decoration: none;
	padding: 0 12px 3px 0;
}
a.more-link:hover {
	background-position: right -67px;
}

.post-nav {
	background: url(img/content-dots.png) repeat-x;
	width: 100%;
	overflow: hidden;
	margin: 10px 0 25px;
	padding-top: 12px;
}
.post-nav a {
	font: bold 1.2em/1.1em Arial, Helvetica, sans-serif;
	padding: 3px 0 12px;
	display: block;
	text-decoration: none;
	width: 225px;
	background: #ccc;
}
.post-nav .previous a {
	background: url(img/post-nav.png) no-repeat;
	padding-left: 32px;
	float: left;
}
.post-nav .previous a:hover {
	background-position: 0 -191px;
}
.post-nav .next a {
	background: url(img/post-nav.png) no-repeat right -383px;
	padding-right: 32px;
	text-align: right;
	float: right;
}
.post-nav .next a:hover {
	background-position: right -574px;
}

/* content end
-------------------------------------------------*/

#commentform #submit, #contact-button {
	background: url(img/comment-submit.png) no-repeat 0 bottom;
	width: 183px;
	height: 35px;
	border: none;
	font: bold 1.05em/1em Arial, Helvetica, sans-serif;
	color: #fff;
	text-shadow: 0 1px 2px #000;
	cursor: pointer;
	padding: 3px 0 7px;
}
#commentform #submit:hover, #contact-button:hover {
	background-position: 0 0;
}

/* comments end
-------------------------------------------------*/

/* sidebar
-------------------------------------------------*/
#sidebar {
	width: 270px;
	float: right;
	margin-right: 35px;
	font-size: .95em;
	line-height: 1.5em;
}
#sidebar h4, #sidebar .widgettitle {
	font: bold 1.5em/1em Arial, Helvetica, sans-serif;
	background: url(img/sidebar-dots.png) repeat-x 0 bottom;
	padding: 0 0 10px;
	margin: 0 0 10px;
	text-shadow: 0px 1px 4px #dfdfbb;
}
#sidebar h4 a, #sidebar .widgettitle a {
	text-decoration: none;
}
#sidebar ul {
	list-style: none;
	margin: 0 0 1em;
}
#sidebar ul ul {
	margin: 0;
}
#sidebar ul li {
	background: url(img/sidebar-list-arrow.png) no-repeat 0 4px;
	padding: 0 0 0 11px;
	margin: 4px 0;
}
#sidebar ul ul li {
	background: url(img/sidebar-list-circle.png) no-repeat 0 4px;
}
#sidebar ul a {
	font-weight: bold;
	text-decoration: none;
}

/* widgets */
#sidebar .widget {
	margin: 0 0 32px;
}
#sidebar #searchform {
	position: relative;
	margin: 0;
	right: auto;
	bottom: auto;
}
#sidebar #wp-calendar caption {
	font-weight: bold;
}
#sidebar #wp-calendar td {
	width: 32px;
	padding: 4px 2px;
	text-align: center;
}

#sidebar ul, #sidebar p {
	margin-bottom: 20px;
}

/* sidebar end
-------------------------------------------------*/

/* footer
-------------------------------------------------*/
#footer {
	font-size: .9em;
	background: url(img/footer.png) no-repeat center top;
	padding: 108px 10px 30px;
	clear: both;
	width: auto;
	overflow: hidden;
	color: #888;
}
#footer a {
	color: #666;
	text-decoration: none;
}
#footer a:hover {
	text-decoration: underline;
}
#footer .copyright {
	float: left;
}
#footer .credits {
	float: right;
}
/* footer end
-------------------------------------------------*/

/* wordpress post formating, etc.
-------------------------------------------------*/
.center {
	text-align: center;
}

img {
	background: #fff;
	border: solid 1px #d6d1c7;
	padding: 5px;
	margin-bottom: 15px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}

/* wordpress post formating end
-------------------------------------------------*/

#contact-button {margin-top:10px;}
