/*
Theme Name: All She Wrote Prototype
Theme URI: http://tinybites.ca
Description: Custom theme for All She Wrote Consulting.
Version: 1.0
Author: Tiny Bites Consulting
Author URI: http://tinybites.ca/
Tags: fixed width, two columns, widgets

*/


/* COMMON ELEMENTS */

/* Link Styles */

a {
	color: #333;
	background-color: #FFFFCC;
	border-bottom: 1px dashed #ff0033;
	text-decoration: none;
	}
	
a:hover {
	background-color: yellow;
	}
	

	
div#sidebarsticky a, div#sidebarsticky a:hover, div#topnav a, div#headerimg a { /* remove default link formatting */
	background: none;
	border: none;
	}


/*	Begin Headers */

h1, h2, h3, h4, div#topnav {
	font-family: Courier, "Courier New", monospace;
	text-align: left;
	}

h2 {
	font-size: 2.2em;
	}
	
h3 {
	font-size: 1.8em;
	line-height: 0.5em;
	}
	
h4 {
	font-size: 1.6em;
	line-height: 0.5em;
	}

h2.pagetitle {
	font-size: 1.6em;
	}

h3 {
	padding: 0;
	margin: 30px 0 0;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */


/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End Images */


/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	}

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

/* End Entry Lists */


/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/



/* Begin Typography & Colors */
body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	background-color: black;
	background-image: url('images/bodybg.jpg');
	background-position: left bottom;
	background-repeat: repeat-x;
	background-attachment: fixed;
	color: #333;
	text-align: center;
	}

#page {
	text-align: left;
	}

#header {
	}

#headerimg 	{
	margin: 0 0 0 20px;
	}

#content {
	padding: 0;
	margin: 0 50px 0 20px;
	width: 550px;
	float: left;
	}
	
#content .datebox {
	background-image: url('images/datebox.png');
	width: 100px;
	height: 100px;
	float: left;
	position: relative;
	top: 0;
	left: -110px;
	color: #fff;
	margin: 0 -100px 0 0;
	}
	
#content .datebox p {
	text-align: center;
	font-size: 24px;
	font-weight: bold;
	margin: 20px 0 0 0;
	}

#content h1 {
	padding: 0 0 10px 0;
	font-weight: bold;
	font-size: 3em;
	line-height: 1.1em !important;
	margin: 30px 0 20px 0;
	border-bottom: 1px dotted #ff0033;
	color: #cc0000;
	}

#content h2 a {
	background: none;
	border: none;
	}
	
#content h2 a:hover {
	background-color: #FFFFCC;
	border-bottom: 1px dashed #ff0033;
	}

#content .entry h3 { /* used in Experience page */
	padding: 0;
	margin: 50px 0 0 0;
	clear: both;
	}

#content p {
	font-size: 1.5em;
	line-height: 1.3em;
	text-align: left;
	}

#content ul, #content ol {
	font-size: 1.5em;
	line-height: 1.3em;
	}
	
#content a, #sidebarcontent a  {
	line-height: 1.6em;
	}
	
#content a:hover {
	background-color: yellow;
	}
	
#content a.imglink, #content a.imglink:hover { /* remove yellow background and dashed border around images */
	background-color: transparent;
	border: none;
	}

#content div.sample { clear: both; }

#content div.sample img { float: left; margin: -15px 0 0 -10px; width: 65px; height: 65px; }

.thread-alt {
	background-color: #f8f8f8;
}
.thread-even {
	background-color: white;
}
.depth-1 {
border: 1px solid #ddd;
}

.even, .alt {

	border-left: 1px solid #ddd;
}

#footer {
	border: none;
	}

small {
	font-size: 0.9em;
	line-height: 1.5em;
	}

#headerimg .description {
	font-size: 1.2em;
	text-align: center;
	}


.commentlist li, #commentform input, #commentform textarea {
	font-size: 0.9em;
	}
.commentlist li ul li {
	font-size: 1em;
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	}

.commentmetadata {
	font-weight: normal;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font-size: 1.3em;
	font-weight: bold;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
	
.clear {
	clear: both;
	}
	
/* Captions */

.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	/* border-radius: 3px; */
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
	
	
/* End Typography & Colors */



/* Begin Structure */
body {
	margin: 0 0 20px 0;
	padding: 0;
	}
	
#topnav {
	text-align: right !important;
	background: none;
	margin: 1em auto 1em auto;
	width: 835px; /* to centre nav with page container */
	font-size: 1.7em;
	color: white;
	}
	
#topnav a { 
	color: white;
	}
	
#topnav li.current_page_item a {
	color: #ff0033;
	text-decoration: none;
	}
	
#topnav a:hover, #topnav li.current_page_item a:hover {
	color: #FF0033;
	text-decoration: underline; /* needed to override text-decoration setting for current page item */
	}

#topnav ul {
	list-style-type: none;
	float: right;
	margin: 0 0 20px 0;
	}

#topnav li {
	display: inline;
	float: left;
	padding: 0 5px 0 5px;
	}

#topnav li#topsearch {
	display: inline;
	}
	
#topnav li#topsearch form {
	float: right;
	margin: -3px 0 0 15px;
	}
	
#pagecontainer {
	width: 900px; 
	margin: 0 auto 0 auto;
	}
	
#pagetop {
	background-image: url('images/paperedgecorner.png');
	background-position: top right;
	background-repeat: no-repeat;
	height: 35px;
	}

#page {
	padding: 0;
	border: none; 
	}
	
#pagebottomcorner {
	clear: both;
	background-image: url('images/paperbottomcorner.png');
	background-position: top left;
	background-repeat: no-repeat;
	height: 35px;
	width: 35px;
	float: left;
	}

#pagebottom {
	float: right;
	background-image: url('images/paperbottomtile.png');
	background-position: top right;
	background-repeat: no-repeat;
	height: 35px;
	width: 865px; /* 900 - 35 = 865 */
	}

#header {
	}

#headerimg {
	}
	

.narrowcolumn {
	float: left;
	padding: 0 0 20px 45px;
	margin: 0px 0 0;
	width: 450px;
	}

.widecolumn {
	padding: 10px 0 20px 0;
	margin: 5px 0 0 150px;
	width: 450px;
	}

.post {
	margin: 0 0 40px;
	text-align: justify;
	}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: both;
}

.clear {
	clear: both;
}

#page {
	background-image: url('images/paperedgetile.png');
	background-position: top right;
	background-repeat: repeat-y;
	}
	
#footer {
	clear: both;
	}

#footer p {
	margin: 0;
	padding: 20px 0;
	text-align: center;
	}
/* End Structure */


/* SIDEBAR */

#sidebar {
	}
	
#sidebar #sidebarcontent h2 {
	margin: 5px 0 0 0;
	padding: 0;
	}
	
#sidebartop {
	clear: both;
	background-image: url('images/sidebar-top1.png');
	background-repeat: no-repeat;
	width: 332px; 
	height: 68px;
	margin: 0;
	padding: 0;
	}

#sidebarcontent {
	background-image: url('images/sidebar-content2.png');
	background-repeat: repeat-y;
	width: 292px;
	margin: 0;
	padding: 10px 20px 10px 20px;
	font-size: 1.2em;
	}
	
#sidebarbottom {
	background-image: url('images/sidebar-bottom4.png');
	background-repeat: no-repeat;
	width: 332px;
	height: 70px;
	}
	
#sidebarcontent h2 {
	font-size: 1.7em;
	font-weight: normal;
	margin: 0 0 1em 0 !important; /*override h2 settings for sidebar only*/
	}

/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar
{
	padding: 0 20px 0 0;
	margin: 0;
	width: 230px;
	float: left;
	clear: none;
	}
	
#sidebar #sidebarsticky {
	background-image: url('images/stickymenublank1.png');
	background-repeat: no-repeat;
	float: left;
	position: relative;
	left: -10px; 
	top: -30px;
	width: 270px;
	height: 300px;
	padding: 60px 20px 0 60px;
	margin: 0 0 -30px 0;
	}
	
#sidebar h2 {
	font-size: 1.7em;
	}
	
#sidebar #sidebarsticky p {
	line-height: 2em;
	margin-bottom: 25px;
	padding: 0;
	}
	
#sidebar #sidebarsticky img {
	border: none;
	margin: 0;
	padding: 0;
	}

#sidebar form {
	margin: 0;
	}
	
#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}
	
#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
	
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */


/***HOMEPAGE STYLE OVERRIDES***/

body#home #content {
	padding: 0 50px 0 10px;
	margin: 0;
	width: auto;
	background: none;
	}
	
body#home #content h1 {
	color: #666;
	padding-top: 50px;
	margin: 0;
	font-size: 3.5em;
	font-weight: normal;
	text-align: center;
	border: none;
	line-height: 1.2em !important;
	}
	
body#home #bucketrow {
	width: 100%;
	color: white;
	font-size: 1em;
	}
	
body#home #bucketrow a {
	background: none;
	border: none;
	color: #fff;
	}
	
body#home #bucketrow a:hover {
	text-decoration: underline;
	}
	
body#home #bucketrow .bucket {
	float: left;
	width: 232px;
	height: 257px;
	overflow: hidden;
	padding: 10px 20px 10px 20px;
	}
	
body#home #bucketrow .bucket .content {
	padding: 0 0 10px 0;
	overflow: hidden;
	height: 160px;
	}
	
body#home #bucketrow .first {
	background-image: url('images/redbox1.png');
	}
	
body#home #bucketrow .second {
	background-image: url('images/redbox2.png');
	margin-left: 13px;
	}

body#home #bucketrow .third {
	background-image: url('images/redbox3.png');
	margin-left: 11px;
	}
	
body#home .bucket ul {
	margin-left: 0;
	padding-left: 15px;
	font-size: 1.5em;
	}

body#home #bucketrow h2 {
	font-size: 2.4em;
	}
