/*
Theme Name: Solving Diabetes
Theme URI: http://www.solvingdiabetes.org/
Description: A custom theme built for the Solving Diabetes Project.
Author: Jeff Fohl
Author URI: http://www.fohl.com/
Version: 1.0
*/


/* reset everything. from Yahoo! YUI CSS */

html{color:#000;background:#FFF;}body,div,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}del,ins{text-decoration:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:baseline;}sub{vertical-align:baseline;}legend{color:#000;}input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}input,button,textarea,select{*font-size:100%;}body{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}select,input,button,textarea,button{font:99% arial,helvetica,clean,sans-serif;}table{font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}body{text-align:center;}


/* Begin Typography & Colors */
html {
	background-color:#39545d;
}

body {
	background-color:#cdd7d8;
	background-image:url(images/page-bg.jpg);
	background-repeat:repeat-x;
	font-size:12px;
	font-family:Georgia, "Times New Roman", Times, serif;
	color: #000;
	}
	
h1,h2,h3,h4,h5,h6 {
	color:#557627;
	margin:.5em 0;
	font-weight:bold;
}
	
h1 {
	font-size:36px;
	color:#485931;
	line-height:40px;
	font-weight:normal;
	margin-top:0;
}

.hentry h1 {
	margin-bottom:.25em;
}

h2 {
	font-size:20px;
	font-weight:normal;
}

h2.dek {
	margin-top:0;
}

h3 {
	font-size:18px;
	font-weight:normal;
}

h4 {
	font-size:14px;
}

h5 {
	font-size:12px;
}

h6 {
	font-size:10px;
}

a {
	color:#2e464b;
	text-decoration:none;
	outline:none;
}

a:hover {
	text-decoration:underline;
}

.entry a {
	text-decoration:underline;
}

.entry a:hover {
	color:#557627;
}
	
#page {
	background:url(images/header-bg.jpg);
	background-repeat:no-repeat;
	background-position:center top;
}
	
#page-body {
	margin:auto;
	width:970px;
	position:relative;
	overflow:auto;
	text-align:left;
}

#header {
	position:relative;
	height:166px;
}

#header #hanuman-logo {
	position:absolute;
	top:20px;
	left:35px;
}


#header #solving-diabetes-logo {
	position:absolute;
	top:43px;
	left:290px;	
}

#main-body {
	background:url(images/body-bg.gif);
	background-repeat:repeat-y;
	overflow:auto;
}

#content-wrapper {
	float:right;
	width:660px;
	padding:0 10px;
	background-image:url('images/content-top-bg.jpg');
	background-repeat:no-repeat;
	/* min-height:450px; */
}

#content {
	background-color:#fff;
	background-image:url('images/content-top-bg.jpg');
	background-repeat:no-repeat;
	padding:15px;
	padding-right:30px;
	min-height:450px;
	line-height:1.5;
	font-size:14px;
}

div.home-page #content {
	padding:5px;
}

#content p {
	margin-bottom:15px;
}

/* sidebar */

#sidebar-wrapper {
	width:280px;
	float:left;
	background-image:url('images/sidebar-top-bg.jpg');
	background-repeat:no-repeat;
	padding:0 0 0 10px;
	font-family:Arial, Helvetica, sans-serif;
	/* min-height:450px; */
}

#sidebar {
	background-image:url('images/sidebar-top-bg.jpg');
	background-repeat:no-repeat;
	background-position:-10px 0;
	padding-left:25px;
	min-height:450px;
	padding-bottom:30px;
}

#sidebar p, #sidebar li ul li {
	padding-right:20px;
}

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

#sidebar p {
	margin-bottom:10px;
}

#sidebar h2 {
	color:#fff;
	font-size:20px;
	line-height:32px;
	background:url('images/sidebar-header-bottom.gif');
	background-repeat:repeat-x;
	background-position:bottom;
	font-family:Georgia, "Times New Roman", Times, serif;
	margin-bottom:10px;
}

#sidebar h2.straight-talk {
	color:#2e464b;
	font-size:24px;
	line-height:36px;
}


#sidebar ul {
	margin-bottom:20px;
}

#footer {
	background-color:#39545d;
	color:#fff;
	font-size:10px;
	text-align:center;
	font-family:Arial, Helvetica, sans-serif;
	line-height:35px;
}

/* main nav */

div#menu-container {
	position:absolute;
	bottom:0;
	right:10px;
	width:670px;
	padding-bottom:15px;
	background-color:#85a7b5;
	background:url('images/below-nav-bg.gif');
	background-repeat:repeat-x;
	background-position:bottom;
	text-align:center;
}

div#menu {
	display:table;
	border-collapse:collapse;
	width:100%;
}

ul.mc_menu {
	list-style:none;
	display:table-row;
	margin:0 0 0 0;
	padding:0 0 0 0;
}

ul.mc_menu li {
	list-style:none;
	display:table-cell;
	background:#fff;
	margin:0 0 0 0;
	padding:0 0 0 0;
}

ul.mc_menu li a {
	display:block;
	padding:0 15px;
	line-height:34px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:16px;
	color:#fff;
	text-decoration:none;
	background:url('images/nav-bg.gif');
	background-repeat:no-repeat;
	background-position:0px 0px;
	border-right:solid 1px #bcd1d9;
	outline:none;
}

ul.mc_menu li:last-child a{
	border-right:none;
}

ul.mc_menu li a:hover {
	background-position:0px -34px;
}

/* miscellaneous styles */

.hidden {
	display:none;
}

.left-justify-pic {
	float:left;
	margin-right:15px;
	margin-bottom:5px;
}

.right-justify-pic {
	float:right;
	margin-left:15px;
	margin-bottom:5px;
}

.left-justify-pic p, .right-justify-pic p {
	font-weight:bold;
	color:#666;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	line-height:normal;
	margin-top:10px;
}

p.date {
	margin-bottom:15px;
	font-family:Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	letter-spacing:4px;
	color:#000;
	font-weight:bold;
	font-size:12px;
}

div.post {
	padding-bottom:15px;
	border-bottom:solid 1px #ccc;
	margin-bottom:15px;
}

textarea#comment{
	width:97%;
	background-color:#f5f5f5;
	font-family:Arial, Helvetica, sans-serif;
	padding:10px;
	border-top:solid 1px #666;
	border-left:solid 1px #666;
	border-right:solid 1px #ccc;
	border-bottom:solid 1px #ccc;
}

.dropcap {
	float: left;
	color: #485931;
	font-size: 350%;
	line-height: 80%;
	padding-top: 2px;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	margin-right: 0.1em;
}

ul.sidebar-list {
	color:#fff;
	font-size:12px;
}

ul.sidebar-list li {
	border-bottom: dotted 1px #697b7f;
	padding-bottom:5px;
	margin-bottom:5px;
}

ul.sidebar-list h4 {
	font-weight:normal;
}

ul.chevron {
	list-style:none;
	margin-left:0px;
	margin-bottom:20px;
	padding:0;
	}
	
ul.chevron li {
	background:url(images/bullet.gif);
	background-position:left 4px;
	background-repeat:no-repeat;
	padding-left:15px;
	line-height:1.25em;
	margin-bottom:.75em;
	}
	
#sidebar ul.chevron li a {

}

ul#extra {
	list-style:none;
	position:absolute;
	width:280px;
	height:30px;
	background-color:#809ea2;
	bottom:-20px;
	left:10px;
	font-size:10px;
	background-image:url(images/tools-bg.gif);
	background-repeat:repeat-y;
	background-position:right;
}

ul#extra li {
	list-style:none;
	margin-right:10px;
	display:inline;
	line-height:30px;
	margin-left:15px;
}

ul#extra li img {
	vertical-align:middle;
	margin-right:5px;
}

ul#extra li a {
	color:#fff;
}

p.author {
	color:#fff;
	font-style:italic;
}

#content p.author {
	color:#000;	
	font-family:Arial, Helvetica, sans-serif;
	font-style:normal;
}

ul.horizontal {
	list-style:none;
	margin-left:auto;
	margin-right:auto;
	overflow:auto;
	text-align:center;
	margin-top:30px;
	margin-bottom:30px;
}

ul.horizontal li {
	list-style:none;
	display:inline-block;
	margin:0 0 0 0;
}

ul.horizontal li a {
	display:block;
	line-height:30px;
	background-color:#557627;
	padding:0 15px;
	color:#fff;
	text-decoration:none;
	font-family:Arial, Helvetica, sans-serif;
}

ul.horizontal li a:hover {
	background-color:#6c9a32;
	color:#fff;
}
	
.clear {
	clear:both;
}

/* search */

#search{
  margin: 26px 0 24px 0;
  padding: 0;
  background: url(images/search-bg.gif) no-repeat 0% 0%;
  width: 241px;
  height: 31px;
}

#search #s-text {
  margin: 0;
  padding: 0;
  float: left;
}
#s {
  margin: 8px 0 0 0;
  padding: 0 0 0 8px;
  font: 14px Arial, Helvetica, sans-serif;
  width: 200px;
  border: 0;
  color: #8fa7ac;
  background:none;
}
#search #s-submit {
  margin: 5px 0 0 0;
  padding: 0;
  float: left;
}
#searchsubmit {
  margin: 0;
  padding: 0;
  background: url(images/search-button.gif) no-repeat 0% 0%;
  width: 27px;
  height: 22px;
  border: 0;
  position:absolute;
  top:
}
#search label {
  display: none;
}

/* home page */

#home-text {
	margin-right:15px;
	margin-top:30px;
	margin-bottom:20px;
	width:636px;
}

#home-text .home-column-1 {
	float:left;
	width:347px;
	padding-right:14px;
	border-right:solid 1px #ccc;
	display:inline;
}

#home-text .home-column-2 {
	float:right;
	width:259px;
	display:inline;
}

#content ul.chevron li {
	background:url(images/green-chevron.gif);
	background-repeat:no-repeat;
	background-position:left 4px;
}

#content ul.chevron li a {
	color:#2e464b;
	text-decoration:none;
}

#content ul.chevron li a:hover {
	color:#000;
}

#home-text h2 {
	color:#557627;
	border-bottom:solid 1px #a5b790;
	margin-top:0;
}

#home-promos {
 margin-bottom:10px;
}

#home-promos img {
	display:inline;
	margin-right:14px;
}

#home-promos img.last {
	margin-right:0;
}

/* posts */

div.related {
	background-color:#fff;
	float:right;
	margin-left:15px;
	margin-bottom:10px;
	padding:10px;
	width:230px;
}

.paper {
	color:#777;
	font-weight:bold;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
}

div.related  h3 {
	color:#777;
	font-weight:normal;
	margin-top:0;
	text-align:center;
}

div.related a.pdf {
	display:block;
	width:180px;
	padding-left:20px;
	height:51px;
	background-image:url(images/related-pdf.gif);
	background-repeat:no-repeat;
	background-position:0 0;
	line-height:51px;
	text-align:center;
	letter-spacing:2px;
	font-size:12px;
	color:#9c281d;
	text-transform:uppercase;
	margin:auto;
	position:relative;
	font-family:Arial, Helvetica, sans-serif;
	text-decoration:none;
}

div.related img.document {
	display:block;
	margin:auto;
	border-bottom:solid 2px #666;
	border-right:solid 2px #666;
	border-top:solid 1px #ccc;
	border-left:solid 1px #ccc;
}

.entry .related a.pdf:hover {
	background-position:0 -51px;
	color:#e02817;
	text-decoration:none;
}

/* wordpress styles */

.wp-caption {
}

.aligncenter {
	margin:auto;
}

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

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

.wp-caption-text {
	font-weight:bold;
	font-family:Arial, Helvetica, sans-serif;
	margin-top:10px;
	font-size:12px;
	line-height:normal;
}

div.navigation {
	overflow:auto;
	border-top:dotted 1px #fff;
	border-bottom:dotted 1px #fff;
	line-height:30px;
	margin-bottom:15px;
}

div.navigation .alignright, div.navigation .alignleft {
	margin:0 0 0 0;
}

.post {
	clear:both;
}

/* comments */

.bypostauthor {
	background-color:#F0E9C1;
	padding:15px;
}

strong {
	font-weight:bold;
}

em {
	font-style:italic;
}