/*
Theme Name: Cornerstone Public
Theme URI: http://cornerstonetheme.com
Description: magazine style layout
Version: .3
Author: Charity Ondriezek
Author URI: http://designadaptations.com

/* -------------------------------------------------
     BASIC FORMATTING 
------------------------------------------------- */

*{margin:0; padding:0;}

body {
	background:#f6f6f6;
	font-family: Verdana,"Trebuchet MS", Helvetica, Arial, sans-serif;
	font-size:62.5%;
	line-height:2em;
	direction: rtl;
	text-align: justify;
	color:#333;}

h1 {font-size: 2em;}
h2 {font-size: 1.6em; margin-top:10px;}
h3 {font-size: 1.2em; margin-top:10px;}
h4 {font-size: 1em;}

a, a:visited, a:active{color:#eca12b; text-decoration:none;}
a:hover{color:#333;}

ul{margin:5px 0 5px 20px;}
ol{margin:5px 20px 5px 0px;}

blockquote{
	border-top:dashed 1px #ccc;
	border-bottom:dashed 1px #ccc;
	margin:10px 5%;
	padding:5px;}

pre{
	margin:10px; 
	padding:10px;
	background:#f6f6f6;
	border:solid 1px #ececec;
	font-family:"Courier New", Courier, monospace;
	font-size:1.2em;
	color:#666; 
	line-height:2em;
	overflow:auto;}

code{font-family:"Courier New", Courier, monospace;
	font-size:1.2em;}
	
acronym, abbr {cursor:help;}

/* -------------------------------------------------
     WRAP
------------------------------------------------- */
#pagewrap {width: 100%;}

#contentwrap{
	margin:0 auto;
	width:960px;
	background:#fff;
	border-left:dashed 1px #ccc;
	border-right:dashed 1px #ccc;
	border-bottom:solid 1px #ccc;}
	
/* -------------------------------------------------
     HEADER
------------------------------------------------- */
#header {height:185px;
		border-bottom:dashed 1px #ccc;
		display: block;
		}

#header h1{
	float:left; 
	margin:0 0px 0 16px; 
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}
	#header h1 a{color:#AF3636; font-size:2em;}	
	#header h1 a img{border:none; margin:4px 2px;}
	
.tagline {
	color: #777;
	font-weight: bold;
	
	float:right;
	padding:0px 24px 0px 10px;
	margin-top: 30px;
	/*margin:5px auto;*/
	/*border-left:dashed 1px #ccc;*/
	font-size:1.3em;
	/*line-height:4em;*/
}
.welcome_line{
	margin: 0 25px 0;
	font-size: 1.2em;
	font-weight: bold;
}
.header_middle{
	float:left;
	/*border: 1px dashed;*/
	margin: 10px 0px 0 20px;
	width: 450px;
}

/* -------------------------------------------------
     NAVIGATION
------------------------------------------------- */	
#nav{
	clear:both;
	background:#AF3636 url(images/nav_bg.jpg) repeat-x;
	width:940px;
	height:30px;
	margin:5px auto 0 auto;
	border-top:solid 1px #AF1515;
	border-bottom:solid 1px #AF1515;}
	
#nav ul{margin:5px; list-style:none;}
#nav ul li{float:right; padding:0 10px; margin:0;}

#nav ul li a{
	padding-left:0px;
	letter-spacing:0em;
	font-size:1.3em;
	color:#fff;}
	
#nav ul li a:hover{text-decoration:underline;}

/* rss link */
.track a{
	float:left; 
	clear:both; 
	font-size:1.3em;
	/*letter-spacing:.1em;*/
	width:100px;
	padding:2px 0px 2px 0px;
	margin-top:-25px; 
	margin-left: 10px;
	background:url(images/feed.png) left no-repeat !important; 
	color:#fff !important;}
	
	.track img{border:none;}

/* -------------------------------------------------
     SUB HEADER
------------------------------------------------- */
#subheader{
	clear:both;
	width:940px;
	margin:5px auto 0 auto;}

/* short description of site */
#snapshot{
	float:right; 
	/*margin:5px 0 0 10px;*/ 
	padding:5px;
	width:350px;
	background:#4e4e4e url(images/snapshot_bg.jpg) bottom repeat-x; 
	border:solid 1px #333;
	color:#ccc; 
	height:60px;
	font-size:1.2em;
	font-weight:bold;
	line-height:1.2em;}

#search{
	float: left;
	width:350px; 
	background:#f6f6f6 url(images/search_bg.jpg) bottom repeat-x;
	height:70px;
	border:solid 1px #ececec;
	margin-right:5px;}

#searchform {margin:20px 4px 0 4px;	padding:0;}

/* input */
#searchbox {
	background:#fff url(images/search.gif) 2px center no-repeat;
	border-top: 1px solid #ccc;
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
	border-left: 1px solid #ccc;
	padding:4px 0 4px 20px;
	margin-right: 10px;
	color:#AF3636;
	font-weight:bold;
	width:69%;
	float:right;}

#searchsubmit {
	float:right; 
	padding:3px;
	margin-right:5px; 
	background:#4e4e4e url(images/snapshot_bg.jpg) bottom;
	border:solid 1px #333; 
	width: 60px;
	color:#fff;}

#newsletter-registration-header {
	float: right;
	width: 200px;
	height: 70px;
	text-align: center;
	margin-right: 12px;		
}
#newsletter-registration-header h3{
	margin: 0 0 2px;
	line-height: 10px;
}
/* -------------------------------------------------
     MAIN CONTENT
------------------------------------------------- */
#content {
	float: right;
	width: 520px;
	margin:5px;
	padding:5px;
	font-size:1.2em;
	border-left:dashed 1px #ccc;}

h2.archivetitle{margin-left:5px;}
h2.archivetitle span{color:#AF3636;}

#content p span{
	font-weight:bold;
	font-style:italic;
	color:#AF3636;
	text-transform:uppercase;}
#content p a{color:#333; text-decoration:underline;}

.entry{
	background:#f6f6f6 url(images/search_bg.jpg) bottom repeat-x;
 	margin:5px 0px 35px 5px; 
 	margin-top: 5px;
	padding:5px 5px 10px 5px; 
	border:solid 1px #ececec;}
	.entry h2 a{color:#333;}
	.entry h2 a:hover{color:#eca12b;}
	
	.entry small{font-size:.9em; font-weight:bold;}
	
h2.latest{
	float:left; 
	color:#fff; 
	font-size:.9em; 
	padding:2px 8px; 
	background:#af3636 url(images/nav_bg.jpg) top repeat-x;
	margin:10px 0px 5px 0px;}
		
.post{
	clear:both;
	padding:0 5px; 
	border-bottom:dashed 1px #ccc;}	
	.post h2 a{color:#AF3636 !important;}
	.post h2 a:hover{color:#eca12b !important;}
	.post h2 a, .post h3 a{text-decoration:none !important;}
	.post h3 a{color:#333;}
	.post p{margin:1em 0;}
	.post a, .post a:visited{color:#eca12b; text-decoration:underline;}
	.post a:hover{color:#AF3636;}
	.post small{font-size:1em; border-bottom:solid 1px #ccc; padding:2px 0;}
	.post img{border:solid 1px #ececec; padding:2px; margin:5px 5px 10px 5px;}
	.post ul li{list-style-type:square; padding:2px 0; color:#666;}
	.post ol li{padding:2px 0; /*color:#666;*/}

.wp-smiley{border:none !important; padding:0 !important;}

.postmetadata{
	clear:both;
	border-bottom:solid 1px #ececec;
	background:#f6f6f6 url(images/search_bg.jpg) bottom repeat-x;
	padding:2px;
	color:#333;
	font-size:1em;}
	.postmetadata a, .postmetadata a:visited {color:#AF3636;}
	.postmetadata a:hover {color:#333;}

/* for previous & next entry links */
.navigation {
	width:95%;
	margin:5px 5px 5px 0px;
	padding:2px;
	float:right;}
	.navigation a{color: #333 !important;}
		.alignleft {float:left;}
		.alignright {float:right;}
		
#content a.more{
	color: red;
}
#content a.more:hover{
	text-decoration:underline;
}

/* -------------------------------------------------
	FEATURED POSTS 
------------------------------------------------- */
.featured_container{
	float:right;
}
.featured{
	float:right; 
	width:240px;
	margin: 14px 0px 5px 30px;
	color:#666;}
	.featured h3 {border-bottom:solid 1px #999; padding:2px;}
	.featured h3 a{color:#af3636;}
	.featured h3 a:hover{color:#eca12b;}
	.featured p{color:#666;}
	
.category a{
	float:left; 
	color:#666; 
	background:#f6f6f6 url(images/search_bg.jpg) top repeat-x;
	padding:0 3px;
	margin:2px 0; 
	border-bottom:solid 1px #ececec;}
.category a:hover{color:#333;}

.date{
	float:right; 
	color:#af3636;
	padding:0 3px;
	margin:2px 0; 
	border-top:solid 1px #ececec;}

.recent_thumb_left {padding-right:10px; float:left;}
.recent_thumb_left a img {border:solid 1px #999; margin-top:4px; padding:1px;}
	
.recent_thumb_right {padding:0 0px 0 5px; margin:6px 0 0 0; float:right;}
.recent_thumb_right a img {border: solid 1px #999999; padding:1px; width: 110px;}

#sidebar .recent_thumb_right {padding:0 0px 0 5px; margin:11px 0 0 0; float:right;}

/* -------------------------------------------------
	SIDEBAR 
------------------------------------------------- */
#sidebar{
	float:right;
	width:400px; 
	margin:5px;
	padding:0;
	font-size:1.2em;}

	#sidebar h2{
		clear:right;
		padding:2px 5px;
		margin-top:10px;
		color:#fff;
		font-size:1.2em;
		letter-spacing:.1em;
		background:#4e4e4e url(images/snapshot_bg.jpg) bottom repeat-x; 
		border-top:solid 1px #333;
		border-bottom:solid 1px #333;}
	#sidebar h3 a{color:#333; text-decoration:underline;}
		#sidebar h3 a:hover{color:#af3636;}
	#sidebar h4 {margin:4px 0 0 4px;}
		#sidebar h4 a{color:#AF3636;}
		#sidebar h4 a:hover{color:#eca12b;}
	#sidebar ul{margin:0;}
		#sidebar li{
			/*padding: 2px 10px;*/
			list-style:none;
			border-bottom:solid 1px #ececec;}
		#sidebar li a{color:#AF3636;}
		#sidebar li a:hover{color:#eca12b;}
	
	#sidebar p{padding:5px; display: block}
	
	.badge{margin:2px; padding:0 5px; float:right;}
	.badge a img{border:none;}
	.badge span a{
		float: right; 
		text-align: left;
		color:#999; 
		border-top:solid 1px #ccc; 
		width:372px;
		position: relative;
	}
	.badge span a:hover {color:#AF3636;}

/* -------------------------------------------------
     LEFT SIDEBAR 
------------------------------------------------- */
#sidebar_left {
	float:left;
	width: 190px;
	margin:5px 0;
	color:#666;}

#sidebar_left h2{
	background:#4e4e4e url(images/snapshot_bg.jpg) bottom repeat-x; 
	padding:2px 5px;
	color:#fff;
	margin-top:20px;
	border-top:solid 1px #333;
	border-bottom:solid 1px #333;}
	
#sidebar_left p {/*margin:1em 0;*/ padding:2px 5px; font-size:1.2em;}

#sidebar_left a {color:#333;}
	#sidebar_left a:visited, a:hover {color:#AF3636;}
	#sidebar_left a img{border:none;}

#sidebar_left ul {margin: 0;}
	#sidebar_left ul li {
		padding: 0;
		border-bottom:solid 1px #ececec;}

	#sidebar_left ul li a{
		display:block;
		color:#AF3636;
		margin: 0;
		padding: 2px 10px;}
		
	#sidebar_left ul li a:hover{
		color:#333;
		background:#f6f6f6;}
	
	#sidebar_left ul.newslettersub{
		text-align: center;
		font-size: 0.9em;
		margin-bottom: 10px;
	}

/* -------------------------------------------------
     RIGHT SIDEBAR
------------------------------------------------- */
#sidebar_right {
	float:right;
	width: 190px;
	margin:5px 0;
	font-size:1em;
	color:#666;}

#sidebar_right h2{
	background:#4e4e4e url(images/snapshot_bg.jpg) bottom repeat-x; 
	padding:2px 5px;
	color:#fff;
	margin-top:20px;
	border-top:solid 1px #333;
	border-bottom:solid 1px #333;
	font-size:1.2em;}

#sidebar_right a img{border:none;}

#sidebar_right ul {margin:0; padding:0;}

	#sidebar_right ul li {
		padding:0;
		margin:0;
		border-bottom:solid 1px #ececec;}
	
	#sidebar_right ul li a{

		display:block;
		color:#AF3636;
		margin:0;
		padding:2px 10px;
		
	}
		
	#sidebar_right ul li a:hover{
		color:#333;
		background:#f6f6f6;
	}
	#sidebar_right ul.categories li a{
		font-weight:bold;
	}	
	#sidebar_right ul.children li a{
		margin-right: 12px;
		font-weight: normal;
		background: transparent url(images/subcat_bullet.gif) no-repeat scroll right 3px;	
	}	
	#sidebar_right ul.children li {	
		border: none;
		line-height: 1.1em;
	}
	#sidebar_right ul.children li a:hover{
		color:#333;
		background-color:#f6f6f6;
	}

	.sidebar_etfsearch{
		float:right;
		margin: 2px 7px 10px 0;
		clear:right;
		width: 385px;
	}
/* -------------------------------------------------
	 WIDGET STYLING
------------------------------------------------- */
#wp-calendar{color:#333;}
	#calendar h2.widgettitle{display:none!important;}
	
#flickrrss a img{	
	margin:5px;
	padding:2px;
	background:#fff;
	border:solid 1px #000;}
	
#rss-1 h2.widgettitle a{color:#fff;}

/* -------------------------------------------------
	 PAGES
------------------------------------------------- */
#sitemap_left{float:left; width:49%;}
#sitemap_right{float:left; width:49%; margin-left:10px; border-left:dashed 1px #ccc; padding-left:5px;}

/* -------------------------------------------------
     BEST OF
------------------------------------------------- */
.domtab{
	margin:5px;	
	padding:10px;
	color:#666;}
	
.domtab div li{
	margin:0 0 0 10px;
	list-style:none;}

.domtab div li a{color:#AF3636;}		
		
.domtab h2{border:none !important; clear:both;}

ul.domtabs{
	width:100%; 
	float: right;
	clear:both;
	border-bottom:solid 1px #3d3d3d;}

ul.domtabs li{float:right; margin:0 2px !important;}

ul.domtabs li a{
	display: block;
	padding: 5px 8px;
	margin:0 2px;
	border: 1px solid #555;
	border-bottom:none !important;
	text-decoration: none;
	color:#fff;
	background:#4e4e4e url(images/snapshot_bg.jpg) bottom repeat-x; }

ul.domtabs li a:hover{
	background:#333!important;
	border:solid 1px #555!important;
	border-bottom:none !important;
	color:#fff !important;}

ul.domtabs li.active a{
	color:#fff;
	background:#AF3636 url(images/nav_bg.jpg) bottom repeat-x; 
	border:solid 1px #AF1515;
	border-bottom:none;}

/* -------------------------------------------------
     COMMENT FORM
------------------------------------------------- */
#commentform{margin:5px 0 5px 0;  padding:10px; width:500px;}
	
#commentbox{
	width:90%;
	font-size:1em;
	font-family:"Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
	background:#f6f6f6;
	border:solid 1px #ddd;
	margin-top:5px;}

#author, #email, #url{
	background:#f3f3f3;
	border:solid 1px #ddd;
	margin:7px 0px 0 5px;
	padding:4px;}

#submit{margin:5px 5px 0 0;}
label{color:#af3636; font-size:1.2em;}

/* -------------------------------------------------
     COMMENTS
------------------------------------------------- */
#comments_wrap{margin:5px 0 5px 0; padding:10px;}

#comments p{margin:5px 0;}

ol.commentlist {margin-right:-5px; padding:0; width:510px;}

ol.commentlist li {
	overflow:hidden;
	background:#f6f6f6 url(images/search_bg.jpg) bottom repeat-x;
	margin:10px 0;
	padding:5px 10px 5px 5px;
	border-top:solid 1px #ececec;
	border-bottom:solid 1px #ccc;}

/* visual distinction for author comments */
ol.commentlist li.author{
	background:#4e4e4e url(images/snapshot_bg.jpg) bottom repeat-x;
	color:#fff;}
	ol.commentlist li.author a{color:#ccc;}
ol.commentlist li.author cite a	 {color:#fff;}

/* visual distinction for alternating comments */
ol.commentlist li.alt {}

ol.commentlist p a {color:#666; text-decoration:underline;}
ol.commentlist em{color:#af3636;}

cite {font-weight:bold; font-size:1.4em;}
cite a, cite a:visited, cite a:hover{color:#AF3636;}
cite a:hover{text-decoration:underline;}

small.commentmetadata a {color:#333; font-size:1.2em;}

/* -------------------------------------------------
     FOOTER
------------------------------------------------- */
#footer {
	clear: both;
	width: 940px;
	margin:0 auto;
	background:#4e4e4e url(images/snapshot_bg.jpg) bottom repeat-x;
	border:solid 1px #333;
	color: #fff;
	line-height: 1.8em;
	font-size:1.1em;}

#footer h2 {
	border-bottom: 1px solid #3d3d3d;
	padding: 0 10px 5px 0px;
	margin: 10px 0 0 0;
	text-transform: uppercase;
	color:#fff;}
	
#footer p{
	padding: 0px 0;
	list-style-type: none;
	margin: 0;}

#footer a {
	color: #eca12b;
	text-decoration: none;}

#footer a:hover {color:#fc6; text-decoration: none;}

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

	#footer ul li {display:inline; padding: 0;	margin: 0;}
	
	#footer ul li a {
		display: block;
		color: #fff;
		text-decoration: none;
		margin: 0;
		padding: 5px 10px;
		border-bottom: 1px solid #444;
		font-size: 1.1em;
	}
	
	#footer ul li a:hover {background: #3c3c3c;	color: #fc6;}

#footerleft {
	float: right;
	width: 240px;
	margin: 0 0px 0 24px;
	padding: 0;}

	#footerleft p{padding:4px; margin:4px 0; color:#ccc;}
		
#footermiddle {
	float: right;
	width: 390px;
	margin: 0 0px 0 24px;
	padding: 0;
	color:#ccc;}
		
	#footermiddle h3 a{color:#AF3636;}
	#footermiddle h3 a:hover{color:#fff;}

.recent_entry_date{
	float:right;
	background: #3d3d3d;
	border:solid 1px #555;
	padding:2px;
	font-size:.8em;}

#footerright {
	float: right;
	width: 240px;
	padding: 0;}
	
	#footerright li{list-style:none;}
	#footerright p{padding:4px; margin:4px 0; color:#ccc;}
	
#footerbottom{
	clear:both;
	position:relative;
	padding:5px 0;
	text-align:center;
	margin-top:10px;
	width:100%;
	color:#999;}

a#footerbottom ,a:active#footerbottom,a:visited#footerbottom{color:#fc6;}
a:hover#footerbottom {color:#fff;}
#footerbottom li{list-style:none; display:inline;}
#footerbottom p {/*display: inline;*/}

/* -------------------------------------------------
	 CLEARS
------------------------------------------------- */
.clear{clear:both;}

.noborder{border:none !important;}

.left{float:left; margin:5px; border:none !important;}
.right{float:right; margin:5px; border:none !important;}

/* -------------------------------------------------
	TABLES
------------------------------------------------- */
table{
	width:95%;
	padding:2px;
	margin:10px 0 0 0;
	border:solid 1px #ccc;
	border-collapse: collapse;	
	}
table th{
	color:#fff;
	padding:2px;
	background:#666;
	border-left: solid 1px #ccc;
}
table td{ 
	padding:2px; 
	background:#f6f6f6;
	border-bottom:solid 1px #ccc;
	border-left: solid 1px #ccc;
}
table tr.alt td{
	background: #F0F0F0;
}

div#content table a { color: #AF3636; text-decoration: none; }
div#content table th a { color: #005; text-decoration: none; }
div#content table a:hover { color: #ECA12B; }

/* -------------------------------------------------
	 MISC
------------------------------------------------- */	
.footnote{
	border-top:dashed 1px #ccc;
	font-size:.9em;
	color:#999 !important;
	text-transform:none !important;
	font-weight:normal !important;}
	
#contactform fieldset{border:none;}

.WP-PrintIcon{
	position:relative;
	padding-left: 5px;
	top: 2px;
}

