
/*  
Theme Name: EMSI Company Theme
Theme URI: http://www.economicmodeling.com
Description: CMS-style theme for the EMSI corporate web site, built off the Wordpress default theme.
Version: 0.1
Author: EMSI
Author URI: http://www.economicmodeling.com

*/

/* Begin Typography & Colors */
body {
	line-height: 18px;
	font-size: 12px;
	font-family: 'Verdana', Helvetica, Sans-serif;
	background: #FFF;
	color: #454545;
	text-align: center;
	margin: 0 0 18px 0;
	padding: 0; 
}

#headerlogo {
	margin: 0 auto 0;
	width: 923px;
	height: 85px;
}

#headerlogo div {
	background: url(/images/hanklogo.jpg) no-repeat bottom left;
	margin-left: -53px;
	float: left;
	height: 71px;
	width: 57px;
}

#headerlogo p {
	font-family: 'Georgia', Palatino, Serif;
	font-size: 17px;
	font-weight: bold;
	text-align: left;
	padding: 59px 0 0;
	margin: 0;
	position: relative;
	margin-left: -55px;
}

#headerlogo p a, #headerlogo p a:visited {
	background: url(/images/hanklogo.jpg) no-repeat 0px 0px;
	padding: 49px 0 6px 77px;
	color: #454545;
	text-decoration: none;
}

#headerlogo p a:hover {
	color: #454545;
	text-decoration: underline;
}

#header {
	text-align: left;
	margin: 0 auto 0;
	background: #EEF0EF;
	border-top: 5px solid #DF6D15;
	position: relative;
	width: 100%;
	height: 32px;
}
	
#headerimg {
	margin-left: 20px;
	padding: 18px 0 0 0;
	font-size: 2em;
	font-family: 'Verdana', Helvetica, Sans-serif;
	font-weight: bold;
	float: left;
}

#loginbar {
	font-family: 'Verdana', Helvetica, Sans-serif;
	width: 105px;
	padding: 72px 10px 0.5em;
	text-align: right;
	
	float: right;
}

#loginbar div a {
	width: 55px; 
	margin: auto; 
	font-weight: bold;
	font-size: 14px;
}

/*ADDITIONS FOR EMSI THEME: TOP NAVIGATION MENU */

#topmenu {
	margin: 0 auto 0;
	width: 890px;
	color: #454545;
	font-size: 12px;
	font-family: 'Georgia', Palatino, Serif;
	font-weight: bold;
	padding-left: 12px;
}

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

#topmenu li {
	padding: 0;
	float: left;
	margin: 0;
}

#topmenu li a {
	display: block;
	margin: 0;
	text-decoration: none;
	color: #454545;
	height: 25px;
	padding: 7px 18px 4px;
	
}

#topmenu .current_page_item a, #topmenu li a:hover {
	background-color: #FFF;
	padding-top: 7px;
}

.pagepost br {
	display: none;
}

.pagepost img {
	border: 0;
	padding: 0;
}

/*END EMSI NAV MENU*/

#content_wrapper{
	display: inline-block;
	float: left;
	position: relative;
	margin: 0;
	background: #FFF;
}

#content_wrapper > img.top {
	top: 0;
	right: 10px;
	position: absolute;
}

#content_wrapper > img.bottom {
	right: 11px;
	bottom: -18px;
	position: absolute;
}

#content {
	background-color: #FFF;
	font-size: 12px;
	width: 575px;
	margin: 0;
	padding: 36px 0 0 22px;
	
}

#content p {
	margin: 18px 0 18px 0;
}

#content blockquote {
	margin: 18px 150px 0 21px;
	padding-left: 8px;
	border-left: 5px solid #BBB;
	text-align: justify;
	font-size:  11px;
}

#content ul, #content ol {
	margin: 0 0 18px 0;
	padding: 0 0 0 35px;
}

#content ul p, #content ol p {
	margin: 0 0 18px 0;
}

.narrowcolumn .postmetadata {
	text-align: center;
	}

.alt {
	background-color: #FFF;
	border-top: 1px solid #BBB;
	border-bottom: 1px solid #BBB;
	}

small {
	font-family: 'Verdana', Helvetica, Sans-serif;
	font-style: italic;
	font-size: 10px;
	
	}

h1, h2, h3, h4 {
	font-family: 'Georgia', Palatino, Serif;
	font-weight: bold;
	}

h1 {
	font-size: 25px;
	}

h2 {
	font-size: 16px;
	margin: 18px 0 0 0;
	padding: 0;
	}
	
.pagetitle {
	color: #454545;
	font-size: 20px;
}

h3 {
	font-size: 17px;
	}
	
h4 {
	font-size: 15px;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}

h1, h1 a, h1 a:hover, h1 a:visited, h2, h2 a, h2 a:hover, h2 a:visited, h4, h4 a, h4 a:hover, h4 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #headerimg .description {
	color: #DF6D15;
	}

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

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Verdana', Helvetica, Sans-serif;
	}

.commentlist li {
	font-weight: bold;
	}

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

.commentlist p {
	text-transform: none;
	}

#commentform p {
	font-family: 'Verdana', Helvetica, Sans-serif;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, strike {
	color: #454545;
}
	
code {
	font: 1.1em 'Verdana', Helvetica, Sans-serif;
	}

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

a {
	color: #3C61AD;
	text-decoration: none;
	}

a:hover {
	color: #3C61AD;
	text-decoration: underline;
	}

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

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

#wp-calendar caption {
	font: bold 1.3em 'Verdana', Helvetica, Sans-serif;
	text-align: center;
	}

#wp-calendar th {
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */
#page {
	margin: 0 auto 0;
	padding: 0;
	width: 923px;
	text-align: left;
	border: 0;
}

.narrowcolumn {
	float: left;
	padding: 0 0 18px 0;
	margin: 0;
	}

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

.post {
	padding-bottom: 36px;
	margin-bottom: 36px;
	text-align: left;
	background: url(/images/dotted.jpg) no-repeat bottom left;
}

.post hr {
	display: block;
	}

#postspacer {
	height: 18px;
}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	margin: 10px;
	padding: 9px;
	}

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

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

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

.postmetadata {
	clear: left;
}

#footer {
	padding: 0;
	margin: 0 auto;
	width: 923px;
	clear: both;
	border: none;
	}

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


/* 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: 18px;
	margin: 0;
	display: inline;
	}

img.alignleft {
	padding: 18px;
	margin: 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. */

#content div ul li {
	margin: 0;
	padding: 0;
	}

#content div ol li {
	margin: 0;
	padding: 0;
	}

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

.rss_img {
	float: right;
	margin: 0;
}
#rss_div {
	display: none;
	margin: 18px 0 0 10px;
	height: 18px;
}

/* End Entry Lists */


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

select {
	width: 130px;
	}

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

#commentform textarea {
	width: 100%;
	padding: 18px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}
/* End Form Elements */



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

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

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

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

#commentform p {
	margin: 5px 0;
	}

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

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



/* Begin Sidebar */


#sidebar {
	font: 10px 'Verdana', Helvetica, Sans-serif;
	width: 255px;
	line-height: 18px;
	background-color: #FFF;
	padding: 46px 0 0 70px;
	float: left;
}

#sidebar h2 {
	color: #454545;
	padding: 0;
	margin: 0 0 0 12px;
	font-family: 'Georgia', Palatino, Serif;
	font-size: 13px;
}

/*IE7 HACK*/
*:first-child+html #sidebar h2 {
	margin: 0 0 0 9px;
}

#sidebar h2 img {
	float: right;
	cursor: pointer;
	position: relative;
}

#sidebar ul ol {
	margin: 0;
	padding: 0;
	}
	
#sidebar ul {
	margin: 0;
	padding: 0;
	border-left: 1px solid #DDDDDD;
}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	position: relative;
	background: url(/images/horizontal_border.jpg) repeat-x bottom left;
	margin: 0;
	padding: 9px 0 9px 0;
	}
	
#sidebar ul li ul li, #sidebar ul li ol li {
	margin: 0 0 0 24px;
	padding: 0;
	background-image: none;
	}
	
#sidebar ul li p {
	margin: 0 0 0 24px;
	padding: 0 0px 0 0;
	background-image: none;
	}
	
#sidebar ul ul, #sidebar ul ol {
	background-image: none;
	border: none;
	}

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

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

#sidebar .categories ul li .img_link{
	float: right;
	margin-top: 0px;
}

#sidebar .categories ul li a img {
	display: none;
}

#sidebar ul li form {
	height: 36px;
	padding: 0;
	margin: 0;
}
	
#searchform #s {
	width: 148px;
	margin: 0 0 0 24px;
	}

#searchform #searchsubmit {
	margin: 0 0 0 3px;
}
	
#sidebar .toonicon img {
	float: left;
	margin: 0 2px 0 9px;
}

#sidebar ul li ul.bloggers li {
	margin: 0px;
	list-style-type: none;
	line-height: 36px;
	font-size: 10px;
}

.icon a {
	display: block;
	width: 230px;
}
#twitter_link { background: transparent url(/images/twitter.gif) no-repeat top right; }
#linkedin_link { background: transparent url(/images/linkedin.gif) no-repeat top right; }
#emsinewsletter_link { background: transparent url(/images/emsi_icon.gif) no-repeat top right; }

/* 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: 18px 0;
	text-align: center;
	}

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



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

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

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

.center {
	text-align: center;
	}
	
.center.img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	padding: 18px 0 18px 0;
	}
/* End Various Tags & Classes*/

/* IE6 styles */
* html #page{
	border-top: none;
}

* html #content_wrapper {
	float: left;
}

* html #content {
	margin-left: 10px;
	float: none;
}

* html #content_wrapper .top {
	top: 0px;
	right: 10px;
	position: absolute;
}

* html #content_wrapper .bottom {
	right: 11px;
	bottom: -17px;
	position: absolute;
}

* html #sidebar {
	width: 205px;
}

* html #sidebar ul ul {
	padding: 0;
}

* html #sidebar ul ul img {
	margin: 0;
}

* html #headerimg {
	margin-left: 60px;
}

* html #library_home a { width: 92px; text-align: center; }
* html #emsi_blog a { width: 65px; text-align: center; }
* html #best_practices a { width: 90px; text-align: center; }
* html #whitepapers a { width: 74px; text-align: center; }
* html #case_studies a { width: 82px; text-align: center; }
* html #links a { width: 29px; text-align: center; }
* html #emsi_docs a { width: 67px; text-align: center; }
* html #emsi_home a { width: 85px; text-align: center; }


/* end IE6 styles */


.clear { display: inline-block; }   
.clear:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
}
* html .clear { height: 1%; }
.clear { display: block; }

/* safari styles */
/*html>body *#topmenu ul li:not(.current_page_item) {*/
/*	border-bottom: 1px solid #e9e9e9;*/
/*}*/
/*html>body *#topmenu ul li:not(.current_page_item):hover {*/
/*	border-bottom: 1px solid white;*/
/*}*/
/* end safari styles*/

/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you.
	It won't be a stylish marriage, I can't afford a carriage.
	But you'll look sweet upon the seat of a bicycle built for two." */
