/*
Theme Name: Sawmac
Theme URI: http://www.sawmac.com/theme/
Description: Custom theme for Sawyer McFarland Media, Inc.
Version: .1
Author: David McFarland
Author URI: http://www.sawmac.com/
Tags: 
*/


/* RESET STYLES */
html, body, h1, h2, h3, h4, h5, h6, p, ol, ul, li, pre, code, address, variable, form, fieldset, blockquote {
	padding: 0;
	margin: 0;
	font-size: 100%;
	font-weight: normal;
}
table { border-collapse: collapse; border-spacing: 0; }
td, th, caption { font-weight: normal; text-align: left; }
img, fieldset { border: 0; }
ol {
	padding-left: 1.4em;
	list-style: decimal;
}
ul {
	padding-left: 1.4em;
	list-style:square;
}
q:before, q:after { content:''; }
/* END RESET */


#other {
	float: right;
	width: 175px;
}

/* LAYOUT */

#mainWrapper {
	padding: 0 10px 30px;
	width: 960px;
	margin-right: auto;
	margin-left: auto;
	overflow: hidden;
	border-bottom: none;
	border-top: 1px dashed #FFF;
	border-right: none;
	border-left: 1px dashed #FFF;
	clear: both;
	position: relative;
	z-index: 1;
}


#mainContent {
	border-top: 7px solid #5D2620;
	padding:15px 15px 30px 15px;
	background: #EEF0DE;
	width: 570px;
	float: left;
}

#banner {
	width: 982px;
	margin-right: auto;
	margin-left: auto;
}

#container {
	clear: both;	
}

#sidebar { 
	width: 200px;
	margin-left: 20px;
	float: left;
}

#other {
	width: 120px;	
}

/* BASIC */
body {
	background-color: #CCD1A8;
	border-top: 4px solid #000;
	padding-bottom: 50px;
	margin: 0;
 	font-family: "ff-meta-serif-web-pro-1", "ff-meta-serif-web-pro-2",serif;
}
h1 {
	font: normal 48px "ff-meta-serif-web-pro-1", "ff-meta-serif-web-pro-2", serif;
	text-shadow: 2px 2px 2px rgba(0,0,0,.5);
	letter-spacing: -2px;
	color: white;
	margin: 0px 0px 15px 0;
	padding-top: 20px;
	margin-top: 5px;
	line-height: 100%;
}

p {
	margin-bottom: 15px;
	font-size: 16px;
	line-height: 140%;
}

p strong {
	font-weight: bold;
}

li {
	font-size: 16px;
	line-height: 140%;
}

li strong {
	font-weight: bold;
}

.clearFloat {
	font-size: 0px;
	line-height: 0px;
	clear: both;
	height: 0px;
}

a {
	color: #5D2620;
	text-decoration: none;
	border-bottom: 1px dotted #4A4534;
}
a:hover {
	color: #973C34;
	border-bottom-color: #CCD1A8;
}


/* BANNER */


#banner .nav {
	margin: 0px;
	padding: 0px;
	list-style: none;
	border-right: 1px dashed #FFF;
}
#banner .nav li {
	float: right;
	border-left: 1px dashed #FFF;
	position: relative;
	z-index: 100;
}
#banner .nav li:first-child {
	border-right: 1px dashed #FFF;
}

#banner .nav a {
	font: 22px/90% "atrament-web-1","atrament-web-2",sans-serif;
	letter-spacing: 1px;
	text-shadow: 2px 1px 1px rgba(255,255,255,.5);
	font-weight: normal;
	padding: 10px 10px 0 10px;
	height: 80px;
	width: 70px;
	border-bottom-style: none;
	text-decoration: none;
	display: block;
	line-height: 100%;
	color: #26261F;
	-webkit-transition: all 500ms ease-out;
	-moz-transition: all 500ms ease-out;
	-o-transition: all 500ms ease-out;
	transition: all 500ms ease-out;
}

#banner .nav a:hover, #banner .nav a.hover {
	background: #F9FFCC;
	color: #900;
	 -webkit-box-shadow: 2px 2px 3px rgba(0,0,0,.5);
     -moz-box-shadow: 2px 2px 3px rgba(0,0,0,.5);
     -o-box-shadow: 2px 2px 3px rgba(0,0,0,.5);
     box-shadow: 2px 2px 3px rgba(0,0,0,.5);
}

#banner .nav li:hover ul, #banner .nav li ul:hover {
	display:block;	
}

#banner .nav ul {
	clear: both;
	position: absolute;
	right: -50px;
	top: 80px;
	background-color: transparent;
	padding:0 50px 100px 50px;
	display: none;
	z-index: 200;
}	
#banner .nav ul li {
	float: none;
	list-style: none;
	background-color: #F9FFCC;
	white-space: nowrap;
	-webkit-box-shadow: 2px 2px 2px rgba(0,0,0,.5);
     -moz-box-shadow: 2px 2px 2px rgba(0,0,0,.5);
     -o-box-shadow: 2px 2px 2px rgba(0,0,0,.5);
     box-shadow: 2px 2px 2px rgba(0,0,0,.5)
}


#banner .nav ul li a {
	width: auto;
	height: auto;
	padding: 10px;
	text-align: right;
	white-space: nowrap;
	border-bottom: dashed 1px #999;
	font-weight: normal;
	text-shadow: none;
}


#banner .logo {
	float: left;
}

/* HOME */

#books {
	float: left;
	width: 400px;	
}

#books h2 {
	font-family: "atrament-web-1", "atrament-web-2",sans-serif;
	font-size: 36px;
	font-weight: normal;
	margin: -5px 0 5px 0;
	padding:0;
	cursor: pointer;
	clear: left;
text-shadow: 2px 2px 2px rgba(255,255,255,.50);	
}

#dreamweaver {
	margin-top: 15px;
	border-top: 5px solid #82AD9A;
	clear: left;
}

#dreamweaver h2 {
	color: #82AD9A;
}

#css {
	border-top: 5px solid #4A4534;
	clear: left;
}

#css h2 {
	color: #4A4534;
}

#javascript {
	border-top: 5px solid #5D2620;	
	clear: left; 
}

#javascript h2 {
	color: #5D2620;
}

#books .book {
	float: left;
	width: 113px;
	margin: 0 0 20px 15px;
	position: relative;
}

.book .bookNav {
	margin: 0px;
	padding: 10px 0 0 0 ;
	list-style: none;
	background-image: url(images/toooltipArrow.png);
	background-repeat: no-repeat;
	background-position: center top;
	 -webkit-border-radius: 1em;
     -moz-border-radius: 1em;
     -o-border-radius: 1em;
     border-radius: 1em;
}



.book .bookNav a {
	font-family: "atrament-web-1", "atrament-web-2",sans-serif;
	text-decoration: none;
	text-align: center;
	font-size: 16px;
	text-transform: uppercase;
	line-height: 110%;
	color: white;
	border-style: none;
	display: block;
	padding: 10px;
	margin:0;
	background-image: url(images/tooltipBG.png);
	text-shadow: 1px 1px 2px black;
}

.book .bookNav a:hover {
	color: #CF0;
}

#thoughts {
	margin-left: 425px;	
	margin-top: 15px;
	border-top: 5px solid #666;
	background-color: #EEF0DE;
}

#thoughts h2 {
	font-family: "atrament-web-1", "atrament-web-2",sans-serif;
	font-size: 36px;
	color: #666;
	font-weight: normal;
	margin: -5px 0 5px 10px;
	padding:0;
	text-shadow: 2px 2px 2px rgba(255,255,255,.50);	
}



#thoughts .post {
	position: relative;	
	cursor: pointer;
	margin: 0;
	padding-bottom: 10px;
} 

#thoughts .post h3 {
	font-size: 24px;
	margin: 5px 10px 5px 10px;
	font-weight: normal;
	color: #5D2620;	
	line-height: 100%;
}

#thoughts .post p, #thoughts .post ul {
	margin: 0 10px 10px 10px;	
}

#thoughts .post:nth-of-type(odd) {
	background-color: rgba(255,255,255,.5);	
}	
#thoughts .post:hover {
	background-color: rgba(255,255,255,.5);	
}

#thoughts .meta {
	background-color: #D9D4D4;
	font: 14px "atrament-web-1","atrament-web-2",sans-serif;
	text-transform: uppercase;
	color: white;
	padding: 2px 10px;
}

#thoughts .meta .category {
	color: black;	
}

#thoughts .meta .date {
	margin-left: 20px;
	color: #999;	
}

#thoughts .meta .comments {
	margin-left: 20px;
	color:white;	
}

#thoughts .readmore {
	text-align: right;
	margin-top: 25px;
}

#thoughts .readmore a {
	font-family: "ff-meta-serif-web-pro-1", "ff-meta-serif-web-pro-2",serif;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	border: none;
	padding: 5px;
	background-color: white;	
}

/* SIDEBAR */
#sidebar h3 {
	border-top: 4px solid #000;
	border-bottom: 1px solid #000;
	font: normal 24px "atrament-web-1", "atrament-web-2",sans-serif;
	color: #26261F;
	padding-top: 4px;
	padding-bottom: 3px;
	margin: 0;
}

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

#sidebar li a {
	text-decoration: none;
	display: block;
	border-bottom: 1px solid #000;
	padding: 9px 0;
	font-size: 14px;
	line-height: 120%;
	color: #26261F;
	-webkit-transition: all 500ms;
	-moz-transition: all 500ms;
	-o-transition: all 500ms;
	transition: all 500ms;
}
#sidebar li a:hover {
	background: #F9FFCC;
	color: #900;
}

/* FOOTER */

#footer {
	padding-top: 15px;
	border-top: 4px solid #000;
	clear: both;
	width: 982px;
	margin-right: auto;
	margin-left: auto;
}
#footer p {
	margin: 0px;
}

.disclaimer {
	font-size: 75%;
}

/* SECONDARY BOOK PAGE DESIGN */
img.book {
	float: right;
	margin-bottom: 15px;
	margin-left: 25px;
}
.tutorialLink a {
	text-decoration: none;
	padding: 10px 20px 10px 20px;
	letter-spacing: 1px;
	color: #FFF;
	background: #7BBD42;
	display: block;
	border-top: 2px solid #CCD1A8;
	border-right: 2px solid #746D51;
	border-bottom: 2px solid #746D51;
	border-left: 2px solid #CCD1A8;
	font: 36px/120% "atrament-web-1", "atrament-web-2",sans-serif;
	text-shadow: 2px 2px 3px rgba(0,0,0,.75);
}
.tutorialLink a:hover {
	color:#CCD1A8;
	background-color: #5D2620;
}
.tutorialLink {
	margin-bottom: 50px;
	text-align: center;
	padding: 0;
	margin-top: 25px;
	xxmargin-right: 250px;
}
#mainContent h2 {
	font: 30px "atrament-web-1","atrament-web-2",sans-serif;
	font-weight: normal;
	border-bottom: 2px solid #CCD1A8;
	color: #26261F;
	margin-top: 20px;
	margin-bottom: 15px;
	padding: 6px 0 0 0;
	zoom: 1;
}
#mainContent li {
	margin-top: 10px;
	color: #26261F;
}
#mainContent ul {
	margin-left: 25px;
	padding-left: 25px;
}
#oneCol #mainContent {
	float: none;
	width: auto;
}
#mainContent li li {
	list-style: none;
}
#mainContent pre {
	font: 14px "Lucida Console", Monaco, monospace;
	color: #000;
	margin-top: 10px;
}
#mainContent h3 {
	font-weight: bold;
	margin-top: 20px;
	font-size: 18px;
}
.center {
	text-align: center;
}

.note {
	background: #FFF;
	padding: 10px;
	border: 1px dashed #5D2620;
	margin-bottom: 15px;
}
.note p {
	margin-top: 15px;
}
.note img {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

/* post styles for archive page */
.archive .post {
	position: relative;	
}

.readmore {
	margin-top: 0;	
}

#mainContent .post h2 {
	margin-bottom: 0;	
}

.archive .post p {
	margin: 5px 0;
}

.archive .post .meta {
	margin-top: 20px;
	float: right;
	font: 18px "atrament-web-1","atrament-web-2",sans-serif;
}

.archive .post .meta p {
	margin: 0;
	text-align: right;	
}

.postnav {
	text-align: center;
	margin-top: 20px;	
	font: 18px "atrament-web-1","atrament-web-2",sans-serif;
	color: #5D2620;
}
.postnav a {
	margin: 0 10px;	
}

/* styles for single page */
.single .date {
	position: absolute;
	font: 18px "atrament-web-1","atrament-web-2",sans-serif;
	color: #5D2620;
	text-shadow: 1px 1px 1px rgba(255,255,255,.75);
	margin-left: 5px;
	top: 5px;
}

.single .postdata {
	margin: -10px 0 20px 5px;
	font-size: 12px;
	color: #999;
}

.postdata .twitter-share-button {
	float: right;	
}

/* comments */

#comments ol {
   list-style-type: none;
   margin: 10px 0 10px -20px !important;
}

#comments li {
	margin: 10px 0 10px 0 !important;
}	

#comments li ul {
	margin: 25px 0 10px -25px;
}

#comments .comment ul li {
	background-color: rgba(255,255,255,.5);	
}

#comments .comment {
	padding: 10px;
	border: 1px dashed #999;
	background-color: rgba(204,209,168, .5)
}	


#comments #respond {
	padding: 15px;
	margin-top: 20px;
	border: 1px dashed #999;
	background-color: rgba(255,255,255,.5);
}



#comments #respond p {
	font-size: 14px;	
}

#comments #respond h3 {
	font: 20px 	"atrament-web-1","atrament-web-2",sans-serif;
	font-weight: bold;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0 0 10px 0;
	text-shadow: 1px 1px 2px white;
}

#comments .hiddenForm #reply-title {
	margin: 0 !important;
	background-image: url('images/plus.png');
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 30px;
}

#comments #reply-title a {
	border: none;
	color: 	#973C34;
}

#comments #respond label {
	float: left;
	clear: left;
	width: 100px;
	margin-right: 10px;
	text-align: right;	
}

#comments .avatar {
	float: left;
	margin-right: 10px;	
}

.comment .comment-body {
	margin: 10px 0 0 50px;
}

.comment cite {
	font-weight: bold;	
	font-style: normal;
}

.comment .comment-author {
	line-height: 90%;	
}

.comment .says {
	color: #999;	
}

.comment .comment-meta {
font: 18px "atrament-web-1","atrament-web-2",sans-serif;
color: #999;
float: right;
margin-top: -5px;
}

.comment .reply {
	margin-left: 50px;
}
.comment .comment-reply-link {
	font: 13px "atrament-web-1","atrament-web-2",sans-serif;
	text-transform: uppercase;
	text-shadow: 1px 1px 0 black;
	letter-spacing: 2px;
	color: white;
	padding: 2px 5px;
	background-color: #CCD1A8;
	-webkit-box-shadow: 1px 1px 0 black;
     -moz-box-shadow: 1px 1px 0 black;
     -o-box-shadow: 1px 1px 0 black;
     box-shadow: 1px 1x 0 black;
	border-bottom: none;
}


/* IE-6 specific */


* html #other li a {
	zoom:1;
}

* html #banner .nav {
	zoom: 1;
}

* html .book .bookNav a {
	zoom: 1;
}

