/*
	Theme Name: The Commonwealth Institute
	Theme URI: http://www.thecommonwealthinstitute.org
	Description: Custom theme for The Commonwealth Institute
	Version: 1.0
	Author: Beers Design
	Author URI: http://beersdesign.com/
*/

html {
	margin: 0;
	/* setting border: 0 hoses ie6 win window inner well border */
	padding: 0;
}

body {
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color:#313131;
	line-height:1.4;
	background:#ffffff url(images/bg2.gif) repeat-x;
}

#bg {
	width: 1029px;
	margin-right: auto;
	margin-left: auto;
}

#wrap {
}

#header {
	height: 108px;
}

#maintop{
	width:1029px;
	height:102px;
	background:url(images/maintop.png) no-repeat;
}

#main {
	overflow: hidden;
	background:url(images/mainbg.png);
}

#mainbottom{
	clear:both;
	width:1029px;
	height:72px;
	background:url(images/mainbottom.png);
}

#content {
	width:700px;
	float:left;
	margin-left:43px;
}

#sidebar {
	display: inline; /* ie win bugfix */
	float: right;
	margin-right:35px;
	width:210px;
	\width: 210px;
	w\idth: 210px;
	display:inline;
}

#footer {
	clear: both;
	padding:15px 0 20px 0;
	text-align: center;
	font-size:12px;
	color:#796a63;
}

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

a {
	color:#d7182a;
	text-decoration:none;
}

a:hover {
	text-decoration:underline;
}

.description {
	font-weight: normal;
	color: #d7182a;
	font-size:18px;
}

/************************************************
*	Top Navigation with drop down menus			*
************************************************/

#navbar {
	height: 40px;
	margin:0;
	padding:0; 
	line-height:40px;
	}
	
#nav {
	width:725px;
	margin:47px 0 0 44px;
	padding: 0px;
	z-index:10000;
	float:left;
}
	
#nav ul {
	float: left;
	list-style: none;
	margin: 0px;
	padding: 0px;
	}
	
#nav li {
	float: left;
	list-style: none;
	margin:0px;
	padding: 0px;
	}
	
#nav li a, #nav li a:link, #nav li a:visited {
	color: #474746;
	display: block;
    margin: 0px;
	padding: 0px 25px 0px 25px;
	text-decoration:none;
	font-size:15px;
	border-right:1px solid #d6cecb;
	}

#nav li a:hover, #nav li a:active {
	background:#f0eeea;
    margin: 0px;
	padding: 0px 25px 0px 25px;
	text-decoration: none;
	}
	
#nav li li a, #nav li li a:link, #nav li li a:visited {
	background: #f0eeea;
	width: 190px;
	font-size: 13px;
	line-height:1.1;
	float: none;
	margin: 0px;
	padding: 8px 10px 8px 10px;
	z-index:100;
	border:none;
	}
	
#nav li li a:hover, #nav li li a:active {
	background:#e2ddd9;
	padding: 8px 10px 8px 10px;
	z-index:100;
	}
	
#nav li li li a, #nav li li li a:link, #nav li li li a:visited {
	background: #f0eeea;
	width: 190px;
	font-size: 13px;
	line-height:1.1;
	float: none;
	margin: 0px;
	padding: 8px 10px 8px 10px;
	z-index:100;
	border:none;
	}
	
#nav li li li a:hover, #nav li li li a:active {
	background:#e2ddd9;
	padding: 8px 10px 8px 10px;
	z-index:100;
	}

#nav li ul {
	z-index: 9999;
	position: absolute;
	left: -999em;
	height: auto;
	width: 210px;
	margin: 0px;
	padding: 0px;
	}

#nav li li { 
	}

#nav li ul a { 
	width: 180px;
	}

#nav li ul a:hover, #nav li ul a:active { 
	}

#nav li ul ul {
	margin: -32px 0 0 191px;
	}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
	}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
	left: auto;
	}

#nav li:hover, #nav li.sfhover { 
	position: static;
	}

/************************************************
*	Content										*
************************************************/

h1 {
	margin-top:0px;
	font-size: 23px;
	font-weight:bold;
	line-height:1.2;
}

h1 a {
	color:#313131;
	text-decoration:none;
}

h1 a:hover {
	text-decoration:underline;
}

h2{
	font-size:16px;
	font-weight:bold;
}

h3{
	font-size:14px;
	font-weight:bold;
}

h4{
	font-size:16px;
	font-weight:bold;
	padding:0;
	margin:0;
}

h4 a{
	color:#313131;
	text-decoration:none;
}

.entry {
	margin-top:8px;
}

.entrybody p a {
	/*font-weight:bold;*/
}

blockquote {
	padding-left: 10px;
	font-style: italic;
	color: #666666;
}

.entrybody p {
	margin-top:8px;
	margin-bottom:16px;
}

.entrymeta {
	margin-bottom:60px;
}

img {
	border: none;
}

code {
	background-color: #eeeeee;
	padding: 5px;
	border: 1px solid #CCCCCC;
}

.newsdate{
	margin:0 0 30px 0;
	padding:0;
}

.research-subhead{
	font-size:15px;
}

.research-date{
	font-style:italic;
	margin:0 0 30px 0;
	padding:0;
}

/************************************************
*	EIC Calculator								*
************************************************/

.eic-caculator {
float:left;
width: 280px;
padding: 10px 15px;
margin: 10px 25px 25px 0;
background: #fbfaf6;
-webkit-border-radius: 10px 10px 10px 10px;
border-radius: 10px 10px 10px 10px;
border:1px solid #d0c7c2;
}
.eic-caculator h3 {
margin: 0 0 10px 0;
font-size:14px;
}
.eic-caculator hr {
border: 0;
background-color: #B3A59F;
color: #B3A59F;
height:1px;
}
.eic-caculator .bad {
color: #d7182a;
}
.eic-caculator .good {
color: #197b30;
}
/************************************************
*	Sidebar										*
************************************************/

#sidebar h2 {
	color:#313131;
	background: url(images/sb_heading.gif) top no-repeat;
	display:block;
	margin:0;
	font-size:14px;
	font-weight:bold;
	padding-top: 12px;
	padding-right: 16px;
	padding-bottom: 0px;
	padding-left: 16px;
}


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

#sidebar ul ul {
	background: url(images/sb_bg.gif) bottom no-repeat;
	margin-bottom:18px;
	padding: 10px 16px 25px 16px;
}

#sidebar ul ul ul {
}

#sidebar ul li {
}

#sidebar ul ul li {
	list-style:none;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	line-height:1.2;
}

#sidebar ul ul ul li {
}

.textwidget{
	background: url(images/sb_bg.gif) bottom no-repeat;
	margin-bottom:18px;
	padding: 10px 16px 25px 16px;
}

#execphp-3 .execphpwidget {
	background: url(images/sb_bg.gif) bottom left no-repeat;
	width:210px;
	margin-bottom:18px;
	padding: 10px 16px 25px 16px;
}


#execphp-4 .execphpwidget {
	background: url(images/sb_bg.gif) bottom left no-repeat;
	width:210px;
	margin-bottom:18px;
	padding: 10px 16px 25px 16px;
}

#sidebar a {
	color:#d7182a;
}

/************************************************
*	Breadcrumb and Search						*
************************************************/

#bcs {
	margin:0px 0 20px 0;
	padding: 0 0 10px 0;
	color:#515151;
	font-size:11px;
	border-bottom:1px solid #b3a59f;
}

#bcs a {
	color:#a79891;
	text-decoration:none;
}

#bcs a:hover {
	text-decoration:underline;
}

#searchdiv {
	width:184px;
	height:27px;
	line-height:27px;
	background:url(images/search_bg.png) no-repeat;
	float:right;
	margin:54px 48px 0 0;
}

input.s {
	font-size:12px;
	color:#6f6e6e;
}

.s {
	width:138px;
	height:24px;
	padding: 0 4px 0 8px;
	border:none;
	background:none;
}

.sbutt {
	height:24px;
	width:25px;
	color: transparent; 
	background: url(images/submit.png); 
	border:none;
}

.sbutt:hover {
	cursor:pointer;
}


/************************************************
*	Nested Comment Styles						*
************************************************/

#commentblock {
	padding:10px;
}

#comment {
	width:100%;
}

ol.commentlist { list-style:none; margin:0; padding:0; }
ol.commentlist li { border:1px solid #d5d5d5; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; margin:0 0 10px; padding:5px 7px 5px 64px; position:relative; }
ol.commentlist li.pingback comment-author { padding:0 170px 0 0; }
ol.commentlist li div.vcard { font-weight:bold; font-size: 14px; line-height: 16px; font-family: helvetica,arial,sans-serif; }
ol.commentlist li div.vcard cite.fn { font-style:normal; font-size: 11px; }
ol.commentlist li div.vcard cite.fn a.url { color:#58b613; text-decoration:none; }
ol.commentlist li div.vcard cite.fn a.url:hover { color:#000; }
ol.commentlist li div.vcard img.avatar { background: #fff; border:1px solid #aaa; padding: 5px; left:7px; position:absolute; top:7px; }
ol.commentlist li div.comment-meta { font-weight:bold; font-size: 10px; line-height: 16px; font-family: helvetica,arial,sans-serif; position:absolute; right:10px; text-align:right; top:5px; }
ol.commentlist li div.comment-meta a { color:#205B87; text-decoration:none; }
ol.commentlist li p { font-weight:normal; font-size: 12px; line-height: 16px; font-family: helvetica,arial,sans-serif; margin:5px 0 12px; }
ol.commentlist li ul { font-weight:normal; font-size: 12px; line-height: 16px; font-family: helvetica,arial,sans-serif; list-style:square; margin:0 0 12px; padding:0; }
ol.commentlist li div.reply { background:#999; border:1px solid #666; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; color:#fff; font:bold 9px/1 helvetica,arial,sans-serif; padding:6px 5px 4px;  text-align:center; width:36px; }
ol.commentlist li div.reply:hover { background:#58b613; border:1px solid #666; }
ol.commentlist li div.reply a { color:#fff; text-decoration:none; text-transform:uppercase; }
ol.commentlist li ul.children { list-style:none; margin:12px 0 0; text-indent:0; }
ol.commentlist li ul.children li.depth-2 { margin:0 0 3px; }
ol.commentlist li ul.children li.depth-3 { margin:0 0 3px; }
ol.commentlist li ul.children li.depth-4 { margin:0 0 3px; }
ol.commentlist li ul.children li.depth-5 { margin:0 0 3px; }
ol.commentlist ul.children li.odd { background:#fff; }
ol.commentlist ul.children li.even { background:#f6f6f6; }
ol.commentlist li.pingback div.vcard { padding:0 170px 0 0; }


/************************************************
*	Lists										*
************************************************/

dl,
ol,
ul {margin:0 0 1em;}
dl {margin-top:-0.5em;}
dt {
	font-weight:bold;
	margin:0.5em 0 0;
	}
dd {margin:0 0 0 2em;}
dd p {margin:0 0 0.5em;}
ul {
	padding:0 0 0 2.5ex;
	list-style:square;
	}
ol {padding:0 0 0 4ex;}
li {margin:0 0 0.5em;}
.code {
	border:1px solid #ddd;
	padding:3px 5px 3px 35px;
	font-family:Courier;
	list-style-type:decimal-leading-zero;
	}
.code code {font-family:Courier;}
.code li {
	padding:0 5px;
	margin:2px 0;
	background:#f7f7f5;
	}
.code li.tab1 {padding-left:5ex;}
.code li.tab2 {padding-left:10ex;}
.code li.tab3 {padding-left:15ex;}
.code .changed {
	font-weight:bold;
	color:#600;
	}
.code em {
	font-style:normal;
	font-weight:bold;
	color:#600;
	}

/************************************************
*	Image Alignment Fix							*
************************************************/

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

    .alignleft {
    float: left;
	margin-right:10px;
    }

    .alignright {
    float: right;
	margin-left:10px;
    }

    .wp-caption {
    border: 1px solid #ddd;
    text-align: center;
    background-color: #f3f3f3;
    padding-top: 4px;
    margin: 10px;
    /* optional rounded corners for browsers that support it */
    -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;
    }

/************************************************
*	Research Landing Pages						*
************************************************/

#featuretop{
	width:700px;
	height:25px;
	background:url(images/feature_top.gif);
}

#featurebox{
	width:650px;
	background:url(images/feature_bg.gif);
	padding:1px 25px 1px 25px;
}

#featurebottom{
	width:700px;
	height:25px;
	background:url(images/feature_bottom.gif);
	margin-bottom:25px;
}

.featureimage{
	float:left;
	margin-right:15px;
}

.featuretitle{
	line-height:1.2;
	font-size:15px;
	font-weight:bold;
	margin:5px 0 20px 0;
	padding:0;
}

.featuretitle a{
	color:#313131;
	text-decoration:none;
}

#topic-left{
	width:320px;
	float:left;
	margin-right:20px;
	padding-right:15px;
	border-right:1px solid #d6cecb;
}

#topic-right{
	width:330px;
	float:right;
}

#topic-right li {
	list-style:none;
}

.topic-heading{
	font-size:18px;
	padding-bottom:10px;
	border-bottom:1px dotted #d6cecb;
	margin-bottom:25px;
	font-weight:bold;
}

.topictitle{
	line-height:1.2;
	font-size:15px;
	font-weight:bold;
	padding:0;
	margin:0 0 5px 0;
}

.topictitle a{
	color:#434242;
	text-decoration:none;
}

.topictitle a:hover{
	color:#434242;
	text-decoration:underline;
}

.research-source{
}

/************************************************
*	Home Page									*
************************************************/

#rss-3 li {
	list-style:none;
	line-height:1.2;
	font-size:15px;
	font-weight:bold;
	padding:0;
	margin:0 0 25px -17px;
}

#rss-3 li a{
	color:#434242;
	text-decoration:none;
	display:block;
	margin-bottom:6px;

}

#rss-3 li a:hover{
	color:#434242;
	text-decoration:underline;
}

#rss-3 h2{
	font-size:18px;
	margin: 0 0 25px 0;
	font-weight:bold;
	padding-bottom:10px;
	border-bottom:1px dotted #d6cecb;
}

#rss-3 h2 a{
	color:#313131;
}

.rss-date{
	font-style:italic;
	font-size:13px;
	font-weight:normal;
}
