/* Start of CMSMS style sheet 'Accessibility and cross-browser tools' */
/* accessibility */

/* 
menu links accesskeys 
*/
span.accesskey {
   text-decoration:none;
}

/* 
accessibility divs are hidden by default 
text, screenreaders and such will show these 
*/
.accessibility, hr {
   position: absolute;
   top: -999em;
   left: -999em;
}

/* 
definition tags are also hidden 
these are also used for menu links    
*/
dfn {
   position: absolute;
   left: -1000px;
   top: -1000px;
   width: 0;
   height: 0;
   overflow: hidden;
   display: inline;
}
/* end accessibility */


/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span {
  position: absolute;
  left: -5000px;
  width: 4000px;
}

/* make some room for the image */
a.external {
/* css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
  padding: 0 12px 0 0;
}
/* colors for external links */
a.external:link {
  color: #18507C;
/* background image for the link to show wiki style arrow */
  background: url(images/cms/external.gif) no-repeat 100% 0;
}
a.external:visited {
  color: #18507C; /* a different color can be used for visited external links */

/* 
Set the last 0 to -100px to use that part of the external.gif image for different color for active links 
external.gif is actually 300px tall, we can use different positions of the image to simulate rollover image changes.
*/
  background: url(images/cms/external.gif) no-repeat 100% 0; 
}

a.external:hover {
  color: #18507C;
/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
  background: url(images/cms/external.gif) no-repeat 100% 0; 
  background-color: #C3D4DF;
}
/* end wiki style external links */


/* clearing */
/* 
clearfix is a hack for divs that hold floated elements. it will force the holding div to span all the way down to last floated item.
We strongly recommend against using this as it is a hack and might not render correctly but it is included here for convenience.
Do not edit if you dont know what you are doing
*/
	.clearfix:after {
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;
	}
	* html>body .clearfix {
		display: inline-block; 
		width: 100%;
	}
	
	* html .clearfix {
		/* Hides from IE-mac \*/
		height: 1%;
		/* End hide from IE-mac */
	}

/* end clearing */
/* End of 'Accessibility and cross-browser tools' */

/* Start of CMSMS style sheet 'EconOne Default' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #458721; 
   font-weight: bold;
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
   color: #63B834;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   color: #63B834;
}

option {
	padding-left: 5px;
}

th {
	color: #1E2833;
}

/**** general Form Buttons ******/
input.btn {
	font-family: Arial;
	font-weight: bold;
	text-transform: uppercase;
	color: white;
	padding: 0 0.5em;
	background-color: #96BB82;
	border: none;
	border-top: 2px solid #73A347;
	border-left: 2px solid #73A347;
	border-bottom: 2px solid #96BB82;
	border-right: 2px solid #96BB82;
}
input.btnhover {
	background-color: #73A347;
	border-top: 2px solid #96BB82;
	border-left: 2px solid #96BB82;
	border-bottom: 2px solid #73A347;
	border-right: 2px solid #73A347;
}

/*****************
basic layout 
*****************/
body {
   background-color: #fff;
   color: #1E2833;
   margin:1em;    /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;       /* this centers wrapper */
   max-width: 66em;   /* IE wont understand these, so we will use javascript magick */
   min-width: 66em;
   background-color: #fff;
   color: #1E2833;

}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   height: 104px;    /* adjust according your image size */          
}

div#header h1 {
	background: url(images/header.gif) repeat-x; 
}

div#header h1 a {
	text-align: center;
/* you can set your own image here */
   background: url(images/header.gif) no-repeat; 
   display: block;
   height: 104px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

div#quote_bar {
   text-align: center;
   font-style: italic;
   font-weight: bold;
   font-size: 1.3em;
   font-family: Garamond, "Times New Roman", serif;
   line-height: 1.5em;
   background-color: #C7CDD0;
   border: 2px solid #A9B2B5;
   color: #195100;
}

/*** Login ***/


div#content {
   margin: 0 auto 0 0;   /* some air above and under menu and content */
   overflow:hidden;
}

div#main {
   margin-left: 19em; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   padding-right: 2%; /* and some air on the right */
/*TODO: fix this so it works in IE...
   border-right: 2px solid #A9B2B5;*/
}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 15em;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
   border-left: 2px solid #A9B2B5;
   border-right: 2px solid #A9B2B5;
   
   /*background-color: #FFFFFF; Change back to this when login comes back*/
   background: #FFFFFF url(images/nav_back.gif) repeat-x;  
   padding-bottom: 999em;
   margin-bottom: -999em;
   
}

div#footer {
   clear: both;       /* keep footer below content and menu */
   position: relative;
   background-color: #fff;
}

div#footer p {
   font-family: "Times New Roman";
   font-size: 0.8em;
   padding: 1.5em;       /* some air for footer */
   text-align: left;  /* centered text */
   margin: 0;
}

div#footer img {
	float: left;
	padding-right: 2%;
}

div#footer p a {
   /*color: #fff;  needed because footer link would be same color as background otherwise */
}

div#footer_bar {
   height: 2em;
   background-color: #C7CDD0;
   border: 2px solid #A9B2B5;
   color: #195100;
}

div#main div.right49 {
	clear: both;
}

div#main h1, div#main h2 {
	color: #69A13F;
}

div#main h3 {
	color: #A2ACB1;
}

div#main h2 {
	color: #A6BF78;
	font-weight: normal;
}

div#main h1 {
	font-size: 2em;
	line-height: 1em;
	font-family: Garamond, "Times New Roman", serif;
	margin-bottom: 0.5em;
	padding-top: 1.5em;
}

div#main p {
	padding-bottom: 1.5em;
	line-height: 1.5em;
	color: #1E2833;
	max-width: 40em;
}

div#main ul {
	margin-top:0;
	padding-top: .5em;
	padding-left: 1.5em;
	padding-bottom: 1.5em;
}

div#main li {
	padding-bottom: .2em;
}

div#home-content li {
	padding-bottom: .5em;
}

/*** Home page specific CSS ***/
div#home-content {
	float: left;
	/*margin-right: 50%;*/
	width: 35%;
	display: inline;
	margin-left: 0;
	/*margin-top: 6%;*/
	
}
div#home-book {
	float: right;
	width: 58%;
	display: inline;
	margin-right: 0;
        height: 443px;
}

div#home-book h3 {
	position:relative;
	top: 1em;
	left: 30%;
}

div#home-book h4 {
	position:relative;
	top: 20em;
}

div#home-book h3 a {
	text-align: center;
/* you can set your own image here */
	background: url(images/preview_arrow.gif) no-repeat; 
	display: block;
	height: 90px;             /* adjust according your image size */
	text-indent: -999em;  /* this hides the text */
	text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}
div#home-book h3 a:hover {
	background: url(images/preview_arrow_roll.gif) no-repeat; 
}

div#home-book h4 a {
	text-align: center;
/* you can set your own image here */
	background: url(images/buy_splash.gif) no-repeat; 
	display: block;
	height: 118px;             /* adjust according your image size */
	text-indent: -999em;  /* this hides the text */
	text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}
div#home-book h4 a:hover {
	background: url(images/buy_splash_roll.gif) no-repeat; 
}

div#home-book{
	background: url(uploads/images/book_large.jpg) no-repeat top right;
}

/*** End Home page specific CSS ***/

/*** Start Preview Page CSS ***/
div#previewNav {
	float: left;
	/*padding-top: 6%;*/
	width: 25%;
}

div#previewNav ul {
	list-style: none;
	margin-bottom: 1em;
}

div#previewNav li {
	padding-bottom: 1em;
}

div#previewNav li a {
	list-style: none;
	color: #1E2833;
	font-weight: normal;
	text-decoration: none;
}

div#previewNav li.selected a,
div#previewNav li a:hover {
	font-weight: bold;
}

div#previewNav p.buy-book-button a {
	background-color: #99D464;
	color: white;
	text-transform: uppercase;
	text-decoration: none;
	padding: 0.3em;
}

div#bookPreviewer {
	padding-top: 3%;
	float: right;
}

div#bookPreviewer a#btnPrevious {
	float: left;
	text-align: center;
/* you can set your own image here */
	background: url(images/previous.gif) no-repeat; 
	display: block;
	height: 494px;             /* adjust according your image size */
	width: 17px;
	text-indent: -999em;  /* this hides the text */
	text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}
div#bookPreviewer a#btnPrevious:hover {
	background: url(images/previous_roll.gif) no-repeat; 
}

div#bookPreviewer img {
	float: left;
	display: block;
}

div#bookPreviewer a#btnNext {
	float: left;
	text-align: center;
/* you can set your own image here */
	background: url(images/next.gif) no-repeat; 
	display: block;
	height: 494px;             /* adjust according your image size */
	width: 17px;
	text-indent: -999em;  /* this hides the text */
	text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}
div#bookPreviewer a#btnNext:hover {
	background: url(images/next_roll.gif) no-repeat; 
}

div#previewPage p.clearer {
	clear: both;
}

div#previewPage h4.buy-book-button {
	position:relative;
	top: 20em;
}
div#previewPage h4.buy-book-button a {
	text-align: center;
/* you can set your own image here */
	background: url(images/buy_splash.gif) no-repeat; 
	display: block;
	height: 118px;             /* adjust according your image size */
	text-indent: -999em;  /* this hides the text */
	text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}
div#previewPage h4.buy-book-button a:hover {
	background: url(images/buy_splash_roll.gif) no-repeat; 
}
/*** End Preview Page CSS ***/

/*** Calculator CSS ***/
table.calculator {
	border-top: 1px solid #96BB82;
	padding-top: 20px;
	padding-bottom: 20px;
}

table.calculator th {
	text-align: left;
	height: 30px;
	padding-right: 10px;
}

table.calculator th.title {
	color: grey;
	font-size: 1.2em;
	padding-bottom: 20px;
}

table.calculator td {
	padding-right: 10px;
}

table.calculator td.note {
	padding-bottom: 5px;
}
/*** End Calcs ***/

/*** Legal Case Search ***/
fieldset#searchParameters {
	width: 40em;
	border: none;
	background-color: #ECEEEF;
	padding: 1.5em 1.5em 0 1.5em;
	margin-bottom: 30px;
}

div#main fieldset#searchParameters h2 {
	color: #1E2833;
	font-size: 1.2em;
	padding-bottom: 1em;
}

fieldset#searchParameters table {
	width: 100%;
	padding-bottom: 10px;
}
fieldset#searchParameters td {
	text-align: right;
}

#searchParameters label { 
	font-weight: bold;
}
#searchParameters input { 
	width: 100px;
}
/*** End Legal Case Search ***/
/* End of 'EconOne Default' */

/* Start of CMSMS style sheet 'EconOne Horiz Nav' */
/********************
MENU
*********************/
#menu_main {
   padding: 0.6em 0 0.6em 0;
}

#menu_main ul {
   float: left;
}

#menu_main .nms_signup {
   float: right;
   padding-left: 2em;
   margin: -0.3em 0 0.3em 0;
   color: #455962;
   background: url(images/email.gif) no-repeat 0.4em center;
}
#menu_main .nms_signup p {
	height: 1.5em;
}
#menu_main .nms_signup form {
   padding: 0;
   margin: 0;
}

#menu_main .nms_signup input {
   color: #455962;
}
#menu_main .nms_signup input.nmsSignupBtn {
   background-color: #C7CDD0;
   border: 1px solid #A9B2B5;
   width: 2em;
}

#menu_main .nms_signup input.nmsSignupBtn_roll {
	font-weight: bold;
}

/* menu li block */
#menu_main li {
   list-style: none;
   margin: 0;
   display: inline;
}

/* first level links */
div#menu_main a {
   text-decoration:none; /* no underline for links */
   padding: 0.8em 0.5em 0.8em 1.3em; /* some air for it */
   color: #455962; /* this will be link color for all levels */
   background: transparent; 
   min-height:1em; /* Fixes IE7 whitespace bug */ 
}
div#menu_main a:hover {
   color: #195100;
}

/* 
current pages in the default Menu Manager 
template are unclickable. This is for current page on first level 
*/
div#menu_main ul h3 {
   display: inline; 
   padding: 0.8em 0.5em 0.8em 1.3em;  /* some air for it */
   font-size: 1em;                           /* instead of the normal font size for <h3> */
   margin: 0;                                  /* as <h3> normally has some margin by default */
   color: #195100;
}

/* Each link has special Icons */

div#menu_main a.preview-this-book {
	padding-left: 1.5em;
	background: url(images/preview.gif) no-repeat 0em center;
}
div#menu_main ul h3.preview-this-book {
	padding-left: 1.5em;
	background: url(images/preview_roll.gif) no-repeat 0em center;
}
div#menu_main a.preview-this-book:hover {
	background: url(images/preview_roll.gif) no-repeat 0em center;
}

div#menu_main a.buy-this-book {
	background: url(images/buy1.gif) no-repeat 0.4em center;
}
div#menu_main ul h3.buy-this-book,
div#menu_main a.buy-this-book:hover {
	background: url(images/buy1_roll.gif) no-repeat 0.4em center;
}

div#menu_main a.buy-this-book span {
	padding-right: 1em;
	background: url(images/buy2.gif) no-repeat right center;
}
div#menu_main ul h3.buy-this-book span{
        padding-right: 1em;
	background: url(images/buy2_roll.gif) no-repeat right center;
}
div#menu_main a.buy-this-book:hover span {
	background: url(images/buy2_roll.gif) no-repeat right center;
}

div#menu_main a.about-the-authors {
	padding-left: 2em;
	background: url(images/about_authors.gif) no-repeat 0 center;
}
div#menu_main ul h3.about-the-authors {
	padding-left: 2em;
	background: url(images/about_authors_roll.gif) no-repeat 0 center;

}
div#menu_main a.about-the-authors:hover {
	background: url(images/about_authors_roll.gif) no-repeat 0 center;
}

div#menu_main a.book-features {
	background: url(images/features.gif) no-repeat 0em center;
}
div#menu_main ul h3.book-features,
div#menu_main a.book-features:hover {
	background: url(images/features_roll.gif) no-repeat 0em center;
}

div#menu_main a.about-econ-one {
	background: url(images/about_econ.gif) no-repeat 0em center;
}
div#menu_main ul h3.about-econ-one,
div#menu_main a.about-econ-one:hover {
	background: url(images/about_econ_roll.gif) no-repeat 0em center;
}

div#menu_main a.email-signup {
	padding-left: 1.6em;
	background: url(images/email.gif) no-repeat 0em center;
}
div#menu_main ul h3.email-signup {
	padding-left: 1.6em;
	background: url(images/email_roll.gif) no-repeat 0em center;

}
div#menu_main a.email-signup:hover {
	background: url(images/email_roll.gif) no-repeat 0em center;
}


/* End of 'EconOne Horiz Nav' */

/* Start of CMSMS style sheet 'EconOne Vert Nav' */
/********************
MENU
*********************/
#menu_tools {
   padding-left: 0;
   border-left: 2px solid white;
   border-right: 2px solid white;
   background: #FFFFFF url(images/nav_back.gif) repeat-x;   
}

/* menu li block */
#menu_tools li {
   background: url(images/square.gif) no-repeat 0.7em 0.8em;
   margin: 0;
   border-top: none;
   display: block;
}

/** fix stupid ie bug with display:block; **/
* html #menu_tools li a { height: 1%; } 
* html #menu_tools li hr { height: 1%; }
/** end fix **/

/* first level links */
div#menu_tools a {
   text-decoration:none; /* no underline for links */
   display: block; /* IE has problems with this, fixed above */
   padding: 0.4em 0.5em 0.4em 1.5em; /* some air for it */
   color: #1E2833; /* this will be link color for all levels */
   background: transparent; 
   min-height:1em; /* Fixes IE7 whitespace bug */ 
   font-weight: normal;
}


/* hover state for all links */
div#menu_tools a:hover {
   font-weight: bold;
}


/* 
current pages in the default Menu Manager 
template are unclickable. This is for current page on first level 
*/
div#menu_tools ul h3 {
   background-color: transparent;
   display: block; 
   padding: 0.4em 0.5em 0.4em 1.5em;  /* some air for it */
   color: #1E2833;                                 /* this will be link color for all levels */
   font-size: 1em;                           /* instead of the normal font size for <h3> */
   margin: 0;                                  /* as <h3> normally has some margin by default */
}

/* section header */
div#menu_tools li.sectionheader {
   font-size: 1.2em;
   font-weight: bold;
   text-transform: uppercase;
   padding: 1.2em 0 0.6em 0.5em;
   line-height: 1em;
   margin: 0;
   color: #195100;
   background-image: none;
}


div#menu_tools li#navHomeLink {
	font-size: 1.2em;
	font-weight: bold;
	text-transform: uppercase;
	padding: 0;
	margin: 0;
	line-height: 1em;
	color: #195100;
	background-image: none;
}
div#menu_tools li#navHomeLink h3 {
	color: #195100;
	padding: 1.8em 0 0.6em 0.5em;
}

div#menu_tools li#navHomeLink a {
	color: #195100;
	font-weight: bold;
	padding: 1.8em 0 0.6em 0.5em;
}
/* End of 'EconOne Vert Nav' */

