/*
Theme Name: Better
Theme URI: http://feaverish.com/sandbox/betterdiabetes
Description: Better is Better
Version: 1.0
Author: Aaron Feaver
Author URI: http://feaverish.com

Default Better Diabetes theme by Aaron Feaver
*/

/* @group global styles */

* {
	margin: 0px;
	padding: 0px;
}

body {
	color: #2b2b2b;
	font: 14px/21px Arial, Helvetica, sans-serif;
}

p {
	margin-bottom: 20px;
}
	
/* @end */

/* @group header styles */

h1 {
	text-indent: -9999px;
}

#header {
	background-image: url(images/headerHover.png);
	background-repeat: no-repeat;	
}

h1 a:link, h1 a:visited
{
    display: block;
    width: 956px;
    height: 157px;
    background-image: url(images/header.png);
    background-repeat: no-repeat;
    background-attachment: scroll;
}

h1 a:hover
{
    background-image: url(images/headerHover.png);
    background-repeat: no-repeat;
    background-attachment: scroll;
}

h2 {
	font-size: 24px;
	font-weight: bold;
	line-height: 26px;
	padding-bottom: 20px;
}

h3 {
	width: 788px;
	height: 154px;
	text-indent: -9999px;
	background-image: url(images/subHeader.png);
	background-repeat: no-repeat;
	background-attachment: scroll;	
}
	
/* @end */

/* @group Navigation */

#mainNav {
	width: 168px;
	position: absolute;
	left: 0px;
	top: 157px;
	background-image: url(images/navBackground.png);
	background-repeat: repeat-y;
}


#mainNav li {
	background-repeat: no-repeat;
}

#mainNav li a {
	text-decoration: none;
	text-indent: -9999px;
	display: block;
}

/* set the height of the individual list items */

#betterIsBetter {
	height: 106px;
}

#areYouAGoodCandidate {
	height: 72px;
}

#theDoctorSays, #getABook, #otherStuff, #whoIsResponsible {
	height: 52px;
}

#contact {
	height: 37px;
}


/* replace with :hover urls for body-specific hover states */
#betterIsBetterBody #betterIsBetter {
	background: url(images/betterIsBetterHover.png);
}

#areyouagoodcandidateBody #areYouAGoodCandidate {
	background: url(images/areYouAGoodCandidateHover.png);
}

#thedoctorsaysBody #theDoctorSays {
	background: url(images/theDoctorSaysHover.png);
}

#otherstuffBody #otherStuff {
	background: url(images/otherStuffHover.png);
}

#whoisresponsibleBody #whoIsResponsible {
	background: url(images/whoIsResponsibleHover.png);
}

#contactBody #contact {
	background: url(images/contactHover.png);
}

#getabookBody #getABook {
	background: url(images/getABookHover.png);
}

/* link pseudo classes - replace Wrap and :hover with hover images */
#betterIsBetterWrap {
	background: url(images/betterIsBetterHover.png);
}

#betterIsBetter:link {
	background: url(images/betterIsBetter.png);
}

#betterIsBetter:visited {
	background: url(images/betterIsBetter.png);
}

#betterIsBetter:hover {
	background: url(images/betterIsBetterHover.png);
}

/* -------------------------------------------------- */

#areYouAGoodCandidateWrap {
	background: url(images/areYouAGoodCandidateHover.png);
}

#areYouAGoodCandidate:link {
	background: url(images/areYouAGoodCandidate.png);
}

#areYouAGoodCandidate:visited {
	background: url(images/areYouAGoodCandidate.png);
}

#areYouAGoodCandidate:hover {
	background: url(images/areYouAGoodCandidateHover.png);
}

/* -------------------------------------------------- */

#theDoctorSaysWrap {
	background: url(images/theDoctorSaysHover.png);
}

#theDoctorSays:link {
	background: url(images/theDoctorSays.png);
}

#theDoctorSays:visited {
	background: url(images/theDoctorSays.png);
}

#theDoctorSays:hover {
	background: url(images/theDoctorSaysHover.png);
}

/* -------------------------------------------------- */

#otherStuffWrap {
	background: url(images/otherStuffHover.png);
}

#otherStuff:link {
	background: url(images/otherStuff.png);
}

#otherStuff:visited {
	background: url(images/otherStuff.png);
}

#otherStuff:hover {
	background: url(images/otherStuffHover.png);
}

/* -------------------------------------------------- */

#whoIsResponsibleWrap {
	background: url(images/whoIsResponsibleHover.png);
}

#whoIsResponsible:link {
	background: url(images/whoIsResponsible.png);
}

#whoIsResponsible:visited {
	background: url(images/whoIsResponsible.png);
}

#whoIsResponsible:hover {
	background: url(images/whoIsResponsibleHover.png);
}

/* -------------------------------------------------- */

#contactWrap {
	background: url(images/contactHover.png);
}

#contact:link {
	background: url(images/contact.png);
}

#contact:visited {
	background: url(images/contact.png);
}

#contact:hover {
	background: url(images/contactHover.png);
}

/* -------------------------------------------------- */

#getABookWrap {
	background: url(images/getABookHover.png);
}

#getABook:link {
	background: url(images/getABook.png);
}

#getABook:visited {
	background: url(images/getABook.png);
}

#getABook:hover {
	background: url(images/getABookHover.png);
}

/* -------------------------------------------------- */
	
/* @end */

a {
	color: #c01a25;
	text-decoration: underline;
}

a:hover {
	background-color: #ffcb2f;
}


#wrap {
	background: url(images/wrapBackground.png) repeat-y;
}

#mainContent {
	width: 788px;
	position: relative;
	left: 168px;
	/*top: 157px;*/
}

.clear_children {
	position: relative;
}

.firstColumn {
	width: 372px;
	position: absolute;
	left: 0px;
	top: 40px;
}

.secondColumn {
	width: 412px;
	position: absolute;
	left: 374px;
	top: 0px;
	overflow: auto;
}

#pageMainContent {
	width: 788px;
	position: relative;
	left: 168px;
	/*top: 187px;*/
}

#pageMainContent #firstColumn {
	width: 376px;
	position: relative;
	left: 0px;
	top: 30px;
	min-height: 400px;
}

/* for Internet Explorer 6 */
/*\*/
* html #pageMainContent #firstColumn {
	height: 400px;
}

.right {
	position: absolute;
	left: 374px;
	top: 0px;
}

.left {
	
}

.both {
	
}

#pageMainContent #secondColumn {
	width: 412px;
	position: absolute;
	left: 376px;
	top: 0px;
}

#contactBody #firstColumn {
	width: 500px;
}

#firstArticle, #secondArticle {
	padding: 0px 30px 50px 30px;
}

#slideshow {
	margin-bottom: 30px;
}

#slideshow p {
	padding: 5px 30px 0px 30px;
}

/* hides the no-flash text after a comment submission on the home page */
#first-articleBody #slideshow p {
	display: none;
}

#footer {
	position: relative;
	width: 547px;
	display: block;
	margin-top: 30px;
	margin-bottom: 3px;
	margin-left: 3px;
	padding-top: 10px;	
	padding-right: 120px;
	padding-bottom: 0px;
	padding-left: 120px;
	color: #2b2b2b;
	font-size: 11px;
	line-height: 14px;
	text-align: center;
	border-top: 2px solid #fbc229;
	border-bottom: 2px solid #fbc229;
}

#footer p {
	margin-bottom: 5px;
}

/* @group SI Clearance */

.clear_children,.cc_tallest { position: relative; } /*\*/* html .clear_children { display: inline;}/* PREVENTS MISSING CHILDREN IN IE WIN 5.0 */
.cc_tallest:after { content: ''; } /* PREVENTS A REDRAW BUG IN SAFARI */

/* @end */
