/*
	Theme Name: Sad Mag: The Theme
	Theme URI: http://www.sadmag.ca
	Description: Based on the Basic Framework templates
	Version: 1.0
	Author: Catherine Winters
	Author URI: http://www.catherinewinters.com
*/
/*----Global Reset Courtesy of Eric Meyer----*/
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, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
}
.hide {display:none;}


/* Images
----------------------------------------------*/
.alignright {float:right; padding:0 0 10px 10px;}
.alignleft {float:left; padding:0 10px 10px 0;}
.aligncenter {margin: 0 auto 0 auto;}
a img {border:0;}

.wp-caption {header
	
      text-align:center;  
      font-size:10px;
}
.wp-caption p.wp-caption-text {font-size:10px;}

/* Main Layout
-----------------------------------------------*/

body {
	margin: 0px; padding: 0px;
	font: 12px/18px Baskerville,"Bookman Old Style","Bitstream Charter","Nimbus Roman No9 L",Garamond,"Apple Garamond","ITC Garamond Narrow","New Century Schoolbook","Century Schoolbook","Century Schoolbook L",Georgia,serif; 
}

#wrap {
	position:relative;
	width: 960px;
	margin: 0px auto 0px auto;
	/*padding:0 10px 0 10px;*/
	background:#FFF;
}


/* Header Area 
-----------------------------------------------------------*/
#header {
	float:left;
	width:960px;
	height:140px;
	margin-left: 10px;
	margin-right: 10px;
/*	padding:0 10px 10px 10px;*/
}

#logo a {
	display:block;
	width: 380px;
	height: 59px;
	float:left;
	margin-top:33px;
	background:url(images/sad_mag_logo.png) left top  no-repeat;
}

#tagline {
	/*width:400px;
	float:right; text-align:right;*/
	font-size: 22px;
	color:#000;
	font-family: Didot;
	clear: both;
	padding-top:10px;
	/*padding:130px 40px 0 0;*/
}

#tagline a,
#tagline a:link,
#tagline a:visited {
	color: #000;
	text-decoration:none;
}

#tagline a:hover,
#tagline a:focus,
#tagline a:active {
	text-decoration: underline;
	color:#888888;
}

/* Top Navigation 
-----------------------------------------------------------*/

#top_nav {
	width:960px;
	padding:0px;
	font-size:12px;
	/*margin-right:10px;
	margin-left: 10px;*/
}


#top_nav ul {
	list-style-type:none;
	padding-left:0px;
}
#top_nav ul li {
	/*padding:5px 10px;*/
}
#top_nav ul li a {
	text-decoration:none;
}

#top_nav ul li a:hover, #top_nav ul li.current_page_item a {color:#000;}

/* Main Menu */
#top_nav .widget_nav_menu {
	float: left;
	font-size:28px;
	line-height:32px;
	height:50px;
	clear:both;
	padding-bottom:100px;
	margin-right:10px;
	margin-left: 10px;
}

.home #top_nav .widget_nav_menu {
	padding-top:20px;
	padding-bottom:14px;
}

#top_nav .menu-item  {
	float:left;
	margin-right:30px;
}

#top_nav .menu-item a,
#top_nav .menu-item a:link,
#top_nav .menu-item a:visited {
	text-decoration:none;
	color:#000000;
}

#top_nav .menu-item a:active,
#top_nav .menu-item a:focus,
#top_nav .menu-item a:hover,
#top_nav .current-menu-item a,
#top_nav .current-post-parent a,
#top_nav .current-post-ancestor a,
#top_nav .current-menu-parent a {
	/*background;*/
	border-bottom:1px solid #000;
	font-weight: semibold;
}

#top_nav .widget_text {
	clear:both;
	display:block;
}

/* front page image rotator */
ul#portfolio {
	top: 0px;
	left: 0px;
	display:block;
	position:normal !important;
	height:500px;
	width:940px;
	margin-right:10px;
	margin-left: 10px;
}

ul#portfolio li {
	list-style:none outside none;
	padding:0;
}

/* front/Homepage featured posts - Query Post widget */
.home .widgetcontainer {
	clear:both;
}


/* exceptions for sponsor posts -- with plural in case of bad categorization */
#query-posts-4 .category-sponsor,
#query-posts-4 .category-sponsors {
	background-color:#eee;
}

#query-posts-4 div.entry-summary {
	margin:0px;
	clear:both;
	padding-bottom: 10px;
}

#query-posts-4 h2 {
	font-size: 22px;
	line-height: 27px;
	font-weight:bold;
	margin-top: 8px;
}

#query-posts-4 a,
#query-posts-4 a:link,
#query-posts-4 a:visited {
	color: #000;
}

#query-posts-4 a:active,
#query-posts-4 a:focus,
#query-posts-4 a:hover {
	color: #888888;
	text-decoration: underline;
}



#query-posts-4 p.byline {
	padding-top: 10px;
	display:block;
}

#query-posts-4 .separator {
	padding: 0 5px 0 5px;
	color: #888888;
	
}

#query-posts-4 a.comments-link,
#query-posts-4 a.comments-link:link, 
#query-posts-4 a.comments-link:visited {
	color: #888888
}

#query-posts-4 a.comments-link:after {
	content: "»";
	padding-left: 5px;
}

#query-posts-4 abbr,
#query-posts-4 .published {
	border-bottom: none;
	color: #888888;
}

/* individual post blocks */
.front_page_posts {
	float: left; 
	position: relative;
	display: block;
	width:300px;
	padding:10px;
	font-size: 18px;
	line-height: 24px;
}

.front_page_posts img {
	width:300px;
	height:145px;
}

.front_page_posts .entry-summary {
	width:300px;
	display:block;
}

.front_page_posts .entry-summary p {
	display:block;
}

.front_page_posts .entry-meta {
	display:block;
	width: 300px;
	position:absolute;
	bottom:0px;
	left: 0px;
	padding-top:20px;
	padding-bottom:20px;
	margin-left:10px;
}

.home #main {
	display: none;
}


/* Main Body Content Area 
-----------------------------------------------------------*/

#main {
	float:left;
	width:940px;
	padding-left:10px;
	padding-right:10px;
}

#content {
	float:left;
	font-size:18px;
	padding-top:0;
	line-height:1.5em;
}


/* Main body content formatting
--------------------------------------------------------------*/

.entry {
	padding-bottom: 100px;
	clear:both;
	float:left;
}

.entry_side {
	display:block
}

.entry_content {
	display:block;
}


.entry p {padding:0 0 12px 0;}
.entry a {color:#666;}
.entry a:hover {color:#000;}
.entry ul, .entry ol {	margin: 5px 20px; padding:5px 20px;}

h1, h1 a {
	margin:0 0 8px 0;
	color:#000;
	font-size:32px;
	font-weight:normal;
	line-height:38px;
}
 

h2, h3, h4, h5, h6 { 
	margin:0 0 8px 0;
	font-weight:normal;
	color:#666;
	font-size:16px;
}

.entry h2 {
	font-size:32px;
	line-height:38px;
}

.entry h3 {
	font-size:25px;
	line-height:1.5em;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {text-decoration:none; }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {text-decoration:underline; }

blockquote{
	color: #666666;
	border-left:5px solid #CCC;
	padding:10px 20px 10px 20px; margin-left:20px;
	font-size:14px;
}



/*drop caps */
span.cap  {
	float:left;
	font-size:300%;
	line-height:1em;
	font-weight:normal !important;
	margin-bottom:0em;
	margin-right:0.0em;
	position:relative;
	display:block;
	color:#000000 !important;
}

span.cap span {
	height:0;
	position:relative;
	right:0.00em !important;
	top:-1em !important;
}

em span.cap {
	font-style:normal;
}

.entry_side {
	float:left;
	width:280px;
}



.entrymeta {

}

.entrymeta .author {
	font-size:22px;
	line-height:29px;
}

.entrymeta .date {
	
}

.entrymeta p {
	padding:3px 0;
	font-size:11px;
}

.entry_content {
	float:left;
	font-size:18px;
	padding-left:40px;
	padding-top:0;
	width:620px;
	padding-bottom:100px;
}

.entry_content p.first-child:first-line {
	font-variant:small-caps;
}

#respond {
	width:620px;
	margin-left: 320px;
}

.post-navigation {
	width:620px;
	padding:100px 0 10px 0;
	margin-left:320px;
	clear:both;
}

.navigation-previous {
	float:left;
	width:50%;
	text-align:left;
}

.navigation-next {
	float:right;
	width:50%;
	text-align:right;
}


/* Sidebar Area 
-------------------------------------------*/

#sidebar {
	float:right; /* Change to left if you want the sidebar to appear on left */
	width:220px;
	padding: 20px;
	display:none; /*todo: fix this properly. */
}

#sidebar h2 {
	margin: 0px 0 5px 0; padding: 0 0 5px 0;
	border-bottom: 1px solid #CCC;
	text-transform: uppercase;
}
#sidebar ul {list-style: none;}

#sidebar ul ul {margin-bottom:30px;}

#sidebar ul li {padding:5px 10px;}

#sidebar a {
	color: #999;
	text-decoration: none;
}

#sidebar a:hover {color: #000;}

#search {margin: 8px 0 15px 0;}



/* Archive
------------ */
a.more-link:after {
	content: "»";
	padding-left: 5px;
}


a.more-link {
	display:block;
}


/* Footer area
------------------------------------------------------------*/

#footer {
	clear: both;
	text-align: center;
	width:960px;
	margin:0 auto 0 auto;
	padding-top:110px;
	padding-bottom:50px;
}

#footer p {	
	font-size:16px; 
	color: #888888;
	padding-bottom:16px;
}

#footer a,
#footer a:link,
#footer a:visited {
	text-decoration:none;
	color:#888888;
}

#footer a:hover,
#footer a:focus, 
#footer a:active {
	text-decoration:underline;
	color:#888888;
}


/* Comments													
-----------------------------------------------------*/

ol.commentlist {
	/*padding-left: 320px;*/
}

h3#comments {
	width:620px;
	margin:30px 0 10px 320px;
}
		
.avatar {
		float: left;
		display:block;
		padding: 0 20px 10px 0px;
	}
			
.commentlist {
	width:620px;
	margin-left:320px;
	padding: 20px 0px;
}
.commentlist p {padding:6px 0;}
.commentlist a {color:#666;}
.commentlist a:hover {color:#000;}
		
.commentmetadata {margin-top: 0;}
ol.commentlist, ol.commentlist li {	list-style: none;}
ol.commentlist li {padding:10px 0; border-bottom:1px solid #e6e6e6;}
#commentform {padding:20px 0;}
#commentform p {margin-bottom:10px;}

#commentform input, #commentform textarea {
		width:147px;
		border:1px solid #e6e6e6;
		background:#f9f9f9;
		font-size:11px;
		padding:2px 3px 3px;
	}

#commentform textarea {width:500px;}
#commentform #submit {
		width:150px;
		border:none;
		background:#343434;
		color:#fff;
		font-size:12px;
		cursor:pointer;
		padding:2px 0 3px;
	}
	
#respond a,
#respond a:link,
#respond a:visited {
	color:#666666;
	text-decoration:none;
}

#respond a:hover,
#respond a:focus,
#respond a:active {
	color: #000000;
	text-decoration: underline;
}



/* Sponsor pages */
.single-sponsor .entrymeta {
	display:none;
}


/* we don't want to even let people know comments are disabled. */
.nocomments {
	display:none;
}
