/* Key Structural Elements
-------------------------------------------------------------------------------------- */
body {
  background: #000 url(/assets/19/header-bg.gif?1323322704) repeat-x top left;
  margin: 0;
  padding: 0;
}
div.wrapper {
  margin: 0 auto;
  padding: 0 20px;
}
#main {
  background: #fff url(/assets/20/main-bg.gif?1323322704) repeat-x top left;
  border-top: 2px solid #fff;
}
#main div.wrapper {
  /* Value of right padding here is linked to right margin and width of [ #sidebar ] */
/*  padding: 0 330px 50px 20px;*/
  padding: 0 260px 50px 20px;
}
#content {
  float: left;
  margin-top: 10px;
  min-width: 410px;
  padding: 0;
  width: 100%;
}
body.homepage #content,
body.error404 #content {
  margin-top: 26px;
}
#sidebar {
  /* Value of right margin and width here is linked to right padding on [ #main div.wrapper ] */
  float: left;
/*  margin: 26px -310px 0 20px;*/
  margin: 26px -240px 0 20px;
  width: 220px;
  background: #FFF;
}

#text-size {
  float: right;
  margin: -12px 0;
}
#text-size img {
  display: block;
  float: left;
  border: none;
}
#text-size p {
  color: #aaa;
  padding-top: 5px;
  clear: both;
  text-align: center;
  font-size: 12px;
}


/* General Styles
-------------------------------------------------------------------------------------- */
.clear:after {
  clear: both; 
  content: "."; 
  display: block; 
  height: 0; 
  visibility: hidden;
}
.clear { display: inline-block; }
/* Hides from IE-mac \*/
* html .clear { height: 1%; }
.clear { display: block; }
/* End hide from IE-mac */

a img {	border: none; }


/* General Typography
-------------------------------------------------------------------------------------- */
body {
  font: 13px/1.6 Arial, Helvetica, sans-serif;
}
h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0 0 1.15em;
}
h1, h2 {
  font-weight: normal;
  line-height: 1.2;
}
h1 {
/*  background: url(/assets/39/heading-fade.gif?1323322711) repeat-x bottom left;*/
  font-size: 2em;
/*  margin: 0;*/
/*  padding-bottom: 36px;*/
/*  text-transform: uppercase;*/
/*  letter-spacing: -1px;*/
}
#content h1 {
  margin-bottom: 0.6em;
}
h2 {
  font-size: 20px;
  line-height: 1.2;
}
#content h2 {
  font-size: 1.5em;
  margin-bottom: 1em;
}
h3 {
  font-size: 1em;
}


/* Links
-------------------------------------------------------------------------------------- */
a {
  color: #000;
  text-decoration: underline;
}
/*
#content a {
  text-decoration: none;
  border-bottom: 1px solid;
}
*/
a.top,
a.more {
  border: 1px solid #585757 !important;
  background: #3c3c3c url(/assets/22/linkbar.gif?1323322705) repeat-x top left;
  color: #fff;
  font-weight: bold;
  line-height: 28px;
  padding: 5px 10px;
  text-decoration: none;
}
a.top {
  display: block;
  float: left;
  padding: 0 10px;
  margin-top: 20px;
}


/* Forms
-------------------------------------------------------------------------------------- */
form {
  margin: 0;
  padding: 0;
}
body.rational #content form {
 padding-bottom: 1em;
}
input.text,
textarea {
  background-color: #efefef;
  border-top: 1px solid #d5d5d5;
  border-left: 1px solid #d5d5d5;
  border-right: none;
  border-bottom: none;
  display: block;
  font: 13px Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 5px;
}
#content input.text,
#content textarea {
  font-size: 1em;
}


/* Header
-------------------------------------------------------------------------------------- */
#header {
  background: url(/assets/9/internal.jpg?1323322700) repeat-x top left;
  color: #fff;
}
#header div.wrapper {
  height: 190px;
  padding-bottom: 43px;
  position: relative;
}
body.homepage #header div.wrapper {
  background-image: url(/assets/10/home.jpg?1323322700);
  height: 328px;
}
#header a {
  color: #fff;
  text-decoration: none;
}
#header a.tab {
  background: url(/assets/40/header-tab-left.gif?1323322712) no-repeat top left;
  color: #c4c4c4;
  float: right;
  display: block;
  margin: 0 0 -10px;
  padding-left: 10px;
}
body.homepage #header a.tab {
  margin-bottom: 90px;
}
#header a.tab:hover {
  color: #fff;
}
#header a.tab span {
  background: url(/assets/24/header-tab-right.gif?1323322706) no-repeat top right;
  cursor: pointer;
  display: block;
  height: 30px;
  line-height: 30px;
  padding: 0 25px 0 15px;
}
#header strong.name {
  background: url(/assets/35/logo.png?1323322710) no-repeat top left;
  clear: both;
  display: block;
  font-size: 54px;
  font-variant: small-caps;
  font-weight: normal;
  height: 54px;
  line-height: 1;
  margin: 0 0 5px;
  overflow: hidden;
}
#header strong.name span {
  display: block;
  margin: 100px 0 0;
}
#header span.tagline {
  display: block;
  font-size: 16px;
  margin: 0 0 10px;
}
body.homepage #header span.tagline {
  margin-bottom: 30px;
}
#header span.tagline em {
  color: #fec709;
  font-style: normal;
}
#header div.quote p {
  font-weight: bold;
  margin: 0;
}


/* Nav Menu
-------------------------------------------------------------------------------------- */
ul#nav {
  height: 43px;
  left: 0;
  list-style: none;
  margin: 0 0 0 20px;
  min-width: 750px;
  padding: 0;
  position: absolute;
  top: 190px;
  width: 96%;
}
body.homepage ul#nav {
  top: 328px;
}
ul#nav li {
  display: block;
  float: left;
  margin-right: 1%;
  padding: 0;
  position: relative;
  width: 19%;
  z-index: 5;
}
ul#nav li:last-child {
  margin-right: 0;
}
ul#nav li a {
  background-color: #393939;
  border: 1px solid #545353;
  display: block;
  font-size: 15px;
  line-height: 41px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
ul#nav li:hover a,
ul#nav li.hover a,
ul#nav li a:hover,
body.homepage ul#nav li.homepage a,
body.rational ul#nav li.rational a,
body.singularity ul#nav li.singularity a,
body.other ul#nav li.other a,
body.contact ul#nav li.contact a {
  background-color: #fff;
  border-color: #fff;
  color: #000;
}
/* ------------------------------ Dropdowns */
ul#nav li ul {
  background-color: #fff;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  display: none;
  left: -1px;
  margin: 0;
  padding: 0 5% 5px;
  position: absolute;
  top: 43px;
  width: 90%;
  z-index: 10;
}
ul#nav li:hover ul,
ul#nav li.hover ul {
  display: block;
}
ul#nav li ul li {
  display: block;
  float: none;
  margin: 0;
  width: 100%;
}
ul#nav li ul li a {
  background: url(/assets/43/nav-doc.gif?1323322713) no-repeat 5px 7px;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid #d8d8d8 !important;
  color: #000;
  font-size: 12px;
  line-height: 16px;
  padding: 7px 10px 7px 22px;
  text-align: left;
  text-transform: none;
}
ul#nav li ul li:last-child a {
  border-bottom: none !important;
}
ul#nav li ul li a:hover {
  background-color: #efefef !important;
}


/* Breadcrumbs
-------------------------------------------------------------------------------------- */
#breadcrumbs {
  font-size: 0.85em;
  margin: 0 0 10px;
}
#breadcrumbs a {
  font-weight: normal !important;
  margin: 0 5px;
  text-decoration: none;
}
#breadcrumbs strong {
  margin: 0 5px;
}


/* Content
-------------------------------------------------------------------------------------- */
#content a {
  font-weight: bold;
}
#content p.intro {
  font-size: 1.1em;
}
#content div.about {
  border-top: 1px solid #000;
  clear: both;
  font-size: 0.9em;
  margin-top: 20px;
  padding-top: 20px;
}
#content p.notice {
  padding: 1em;
  text-align: center;
  background-color: #FFC;
  border: 1px solid yellow;
  font-weight: bold;
}
#content p.notice img {
  float: left;
  margin-top: -0.3em;
}
#content div.about p {
  margin: 0 0 10px;
}
#content ul.share {
  border: 1px solid #585757;
  background: #3c3c3c url(/assets/22/linkbar.gif?1323322705) repeat-x top left;
  float: left;
  font-size: 0.9em;
  line-height: 25px;
  list-style: none;
  margin: 15px 0 20px;
  padding: 0 5px;
}
#content ul.share li {
  border-right: 1px solid #fff;
  color: #fff;
  display: inline;
  padding: 0 8px 0 5px;
}
#content ul.share li.last {
  border-right: 0;
  padding-right: 5px;
}
#content ul.share li a {
  color: #fff;
  text-decoration: none;
}
/* ------------------------------ Essay List */
ul.essay-list {
  list-style: none;
  margin-left: 0;
  padding: 0;
}
ul.essay-list li {
  background: url(/assets/8/essay-list-doc.gif?1323322700) no-repeat 10px 15px;
  border-bottom: 1px solid #bfbfbf;
  margin: 0;
  padding: 15px 0 0 65px;
  text-align: right;
}
ul.essay-list li.alt {
  background-color: #e5e5e5;
  background-image: url(/assets/21/essay-list-doc-gray.gif?1323322705);
}
ul.essay-list li h3 {
  margin: 0;
  text-align: left;
}
ul.essay-list li p {
  margin: 0;
  text-align: left;
}
/* ------------------------------ Link Lists */
ul.links {
  border-top: 1px solid #ccc;
  list-style: none;
  margin-left: 0;
  padding: 0;
}
ul.links li {
  margin: 0;
  padding: 0;
}
ul.links li a {
  background: url(/assets/29/link-doc-icon.gif?1323322708) no-repeat 11px 7px;
  border-bottom: 1px solid #ccc;
  display: block;
  padding: 5px 10px 5px 35px;
  text-decoration: none;
}
ul.links li a:hover {
  background-color: #e5e5e5;
}
ul.links li.atom a {
  background-image: url(/assets/26/atom-icon.gif?1323322707);
}
/* ------------------------------ Sitemap */
#content ul.sitemap,
#content ul.sitemap ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#content ul.sitemap li {
  float: left;
  margin-right: 1%;
  width: 32%;
}
#content ul.sitemap li li {
  float: none;
  width: auto;
}
#content ul.sitemap ul ul {
  margin-left: 15px;
}
#content ul.sitemap h2 {
  margin: 0 0 5px;
}
#content ul.sitemap a {
  font-weight: normal;
}

/* ------------------------------ Contact */
form#contact div.field {
  margin: 0 0 10px;	
}
form#contact div.mailer-error {
  width: 90%;
  font-weight: bold;
  font-style: italic;
  text-align: center;
  border: 1px solid #f00;
  background: #f55;
  padding: 0.3em;
  margin: 0.3em auto;
  width: 25em;
}
form#contact div.half {
  float: left;
  padding-right: 2%;
  width: 48%;
}
form#contact div.full {
  clear: both;
  width: 96%;	
}
form#contact label {
  display: block;
  margin: 0 0 5px;
}
form#contact label span.req {
  color: #ff0000;
}
form#contact input.text {
  width: 90%;
}
form#contact textarea {
  width: 97%;
}
form#contact input.submit {
  background: #3c3c3c url(/assets/22/linkbar.gif?1323322705) repeat-x top left;
  border: 1px solid #585757;
  color: #fff;
  cursor: pointer;
  display: block;
  float: left;
  font: bold 1em Arial, Helvetica, sans-serif;
  height: 25px;
  line-height: 25px;
  margin: 0;
  padding: 0 10px;
}
#content div.testimonial {
  background-color: #EFEFEF;
  border: 1px solid #D5D5D5;
  float: right;
  margin: 0 0 2% 2%;
  padding: 2%;
  width: 30%;
}
#content div.testimonial h3 {
  color: #7f7d7d;
  text-transform: uppercase;
}
#content div.testimonial p.source {
  margin-bottom: 0;
}


/* Sidebar
-------------------------------------------------------------------------------------- */
#sidebar .box {
  clear: both;
  font-size: 11px;
  margin: 0 0 20px;
}
#sidebar h2 {
  font-size: 19px;
  letter-spacing: -1px;
  line-height: 1;
  margin: 0 0 5px;
  text-transform: uppercase;
}
/* ------------------------------ Search */
form#search-big {
  margin:1em auto;
  width:40em;
}

#sidebar form#search {
/*  float: right;*/
/*  overflow: visible;*/
/*  width: 220px;*/
/*  margin-left: -70px;*/
}

#sidebar form#search input.text {
  float: left;
  margin: 0 0 20px 0;
  width: 205px;
}

#sidebar form#search input.submit {
  display: none;
}
/*  background: url(/assets/25/search-button.gif?1323322706) no-repeat top left;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: block;
  float: left;
  font: 11px Arial, Helvetica, sans-serif;
  height: 27px;
  line-height: 27px;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  vertical-align: middle;
  width: 64px;
}
*/
/* ------------------------------ Side Nav Menu */
#sidebar div.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#sidebar div.menu ul li a {
  background: #fff url(/assets/11/sidenav-doc.gif?1323322701) no-repeat left 5px;
  border-bottom: 1px solid #e8e8e8;
  display: block;
  font-weight: normal;
  padding: 3px 18px 3px 22px;
  text-decoration: none;
}
#sidebar div.menu ul li ul li a {
  background-image: url(/assets/30/sidenav-sub.gif?1323322708);
  padding-left: 33px;
}
#sidebar div.menu ul li a:hover {
  background-color: #f2f2f2;
}
/* ------------------------------ Featured */
#featured-essay h3 {
  margin: 0;
}
/* ------------------------------ Subscribe */
#subscribe-rss a.feed {
  display: block;
  font-weight: normal;
  height: 92px;
  line-height: 1;
  text-decoration: none;
/*  width: 290px;*/
  width: 220px;
}
#subscribe-rss a.feed img {
/*  border-right: 1px solid #ddd;*/
  display: block;
  float: left;
/*  margin-right: 15px;*/
  margin: -1em 0 0 -1em;
}
#subscribe-rss a.feed span,
#subscribe-rss a.feed b {
  display: block;
  cursor: pointer;
  margin: 0 0 5px;
}
#subscribe-rss a.feed span.title {
  color: #f57d02;
  font-size: 19px;
  letter-spacing: -1px;
  padding-right: 20px;
  text-transform: uppercase;
}
#subscribe-rss a.feed:hover span.title {
  text-decoration: underline;
}
#subscribe-rss a.feed span.info {
  line-height: 1.2;
}


/* Footer
-------------------------------------------------------------------------------------- */
#footer {
  background: url(/assets/41/footer-bg.gif?1323322712) repeat-x top left;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}
#footer div.wrapper {
  height: 43px;
  padding-top: 20px;
}
#footer a {
  color: #fff;
  text-decoration: none;
}
#footer ul {
  float: left;
  list-style: none;
  margin: 0;
  padding: 0;
}
#footer ul li {
  border-right: 1px solid #fff;
  float: left;
  margin: 0 1em 0 0;
  padding: 0 1em 0 0;
}
#footer ul li:last-child {
  border-right: none;
  margin: 0;
  padding: 0;
}
#footer p {
  float: right;
  margin: 0;
  text-align: right;
}
