/* Default Styles */
* {
	margin: 0;
	padding: 0;
}
a {
	color: #43456F;
	text-decoration:underline;
	}
a:hover {
	text-decoration: none;
}
a img {
	border: 0;
}
a:focus {
	outline: none;
}
h1 {
	font-size: 24px;
	color: #390;
	font-weight: normal;
	padding: 15px 0 15px 15px;
	background: url(../images/border.gif) left bottom repeat-x;
	margin-bottom: 15px;
}
h2 {
	color: #43456f;
	font-size: 15px;
	padding: 0 0 6px 15px;
	margin-bottom: 15px;
}
h3 {
	font-size: 13px;
	color: #13658B;
	margin-bottom: 2px;
	padding: 0 15px;
}
h4 {
	padding: 0 15px 5px;
	font-size: 14px;
}
h4 a {
	color: #666;
	text-decoration: none;
}
h4 a:hover {
	color: #333;
}
h5 {
	font-size: 12px;
	font-weight: bold;
	padding: 0 15px 5px;
}
p {
	color: #666;
	margin-bottom: 15px;
	padding: 0 15px;
}
ul {
	margin: 0 0 30px 30px;
	list-style: square;
}

/* Global Page Layout */
html {
	height: 100%;
}
body {
	height: 100%;
	background: #fff url(../images/bg.gif) center top repeat-y;
	font: 12px/1.5 arial, helvetica, sans-serif;
	color: #666;
}
#wrapper {
	width: 952px;
	margin: 0 auto;
	padding: 0 16px;
}
#head {
	width: 924px;
	height: 64px;
	padding: 13px 0 24px 28px;
	background: #fff url(../images/headBg.gif) left bottom repeat-x;
}
#content {
	float: left;
	width: 952px;
	height: auto;
	min-height: 400px;
	_height: 400px;
}
#foot {
	float: left;
	width: 896px;
	padding: 17px 28px;
	background: #eee url(../images/footBg.gif) left top repeat-x;
	margin-top: 30px;
}

/* Subpage with Subnav Layout */
#contentNarrow {
	float: left;
	width: 660px;
}
#subNav {
	float: right;
	width: 250px;
	background: url(../images/subnavBg.gif) left top repeat;
	border: 2px solid #eee;
	padding: 5px;
	margin-top: 18px;
}

/* helper Styles */
.left {
	float: left;
}
a.orange, a.orange:hover span {
	color: #f90;
	text-decoration: none;
}
a.orange span {
	color: #f90;
	text-decoration: underline;
}
a.orange img {
	vertical-align: middle;
	margin-left: 2px;
}
.bold {
	font-weight: bold;
}

/* Header Styles */
#nav {
	float: right;
	height: 64px;
	text-align: right;
}
#tertiaryNav a {
	margin: 0 4px;
	color: #999;
	font-size: 12px;
}
#tertiaryNav a:hover {
	color: #555;
}
#mainNav {
	height: 26px;
	margin-top: 20px;
	_margin-top: 23px;
	_float: right;
	font-weight: bold;
}
#mainNav a {
	display: block;
	float: left;
	width: 102px;
	height: 21px;
	padding-top: 5px;
	margin-right: 2px;
	background: url(../images/mainNav.gif) right top no-repeat;
	text-align: center;
	color: #555;
	font-size: 12px;
	text-decoration: none;
}
#mainNav a:hover, #mainNav a.on {
	background-position: left -26px;
}
#mainNav a.last {
	_margin-right: 0;
}

/* Subnav Styles */
#subNav a {
	float: left;
	display: block;
	width: 230px;
	height: 25px;
	padding: 4px 0 0 10px;
	background: url(../images/arrowSubnav.gif) right center no-repeat;
	border-bottom: 1px solid #ddd;
	text-decoration: none;
	color: #a5a5a5;
}
#subNav a.last {
	border: 0;
}
#subNav a:hover, #subNav a.on {
	color: #444;
}
#loginForm {
	width: 230px;
	padding: 223px 0 0 10px;
}
#loginForm input {
	float: left;
	margin: 0;
	width: 223px;
	height: 23px;
	padding: 6px 0 0 5px;
	border: 1px solid #b1b1b1;
	margin-bottom: 10px;
	font-size: 12px;
	color: #c5c5c5;
}
#loginForm input.submit {
	float: right;
	width: 74px;
	height: 20px;
	padding: 0;
	background: #545454 url(../images/clientSubmit.gif) left top repeat-x;
	color: #fff;
}
#loginForm a {
	float: none;
	display: inline;
	color: #43456F;
	background: none;
	border: 0;
	text-decoration: underline;
	padding: 0;
}
#loginForm a:hover {
	color: #43456F;
	text-decoration: none;
}

/* Client Login Page Styles */
#loginPage #loginForm {
	margin: 0 auto;
	padding-top: 100px;
}
#loginPage #content form.forget_pwd {
	padding-top: 15px;
	}
div.forget_form {
	float: left;
	width: 952px;
	margin-bottom: 45px;
	}
	
/* Homepage Styles */
#home h2, #home h3, #home p {
	margin-bottom: 0;
}
#home h2 {
	background: url(../images/border.gif) left bottom repeat-x;
}
#home h3, #home p {
	padding: 0;
}
#flash {
	float: left;
	width: 952px;
	height: 243px;
	margin-bottom: 13px;
}
#center {
	float: left;
	width: 952px;
	margin-bottom: 15px;
}
#pubAdBoxes {
	float: left;
	width: 624px;
	background: #edf1f4 url(../images/homeBoxBg.gif) left top repeat-x;
	border-bottom: 1px solid #d0d0d0;
}
#homePubBox, #homeAdvBox {
	float: left;
	width: 312px;
}
#pubAdBoxes h2 {
	width: 297px;
	height: 22px;
	padding: 4px 0 0 15px;
	background: url(../images/homeHeader.gif) left top no-repeat;
}
div.homeBoxBorder {
	border-left: 1px solid #d0d0d0;
	border-right: 1px solid #d0d0d0;
	min-height: 231px;
	_height: 231px;
	padding: 15px;
	background: url(../images/border.gif) left top repeat-x;
}
#homePubBox div.homeBoxBorder {
	margin-left: -1px;
}
#homePubBox h3, #homeAdvBox h3 {
	margin: 10px 0 5px;
}
#homePubBox ul, #homeAdvBox ul {
	margin-bottom: 10px;
	margin-left: 15px;
}
#homeAds {
	float: right;
	width: 312px;
	margin-top: 4px;
}
#homeAds p {
	margin-top: 10px;
	padding: 0 10px;
}
#homeAds a {
	margin-left: 10px;
}
#homeAdsIcons {
	width: 312px;
	height: 162px;
	margin-top: 10px;
}
#homeAdsIcons img {
	float: left;
}
#homeAdsIcons  p {
	text-align: right;
}
#news {
	float: left;
	width: 952px;
}
div.blurb {
	float: left;
	width: 287px;
	height: 72px;
	background: url(../images/borderVert.gif) left top repeat-y;
	padding: 15px;
}

/* The Directories Styles */
#directories {
	width: 952px;
	height: 218px;
	background: url(../images/directoriesCorners.gif) left bottom no-repeat;
	margin: 30px 0 50px;
	text-align: center;
}
#products, #advertiser div.products {
	float: left;
	width: 635px;
	background: url(../images/productsCorners.gif) left bottom no-repeat;
	margin: 10px 0 50px;
	padding-bottom: 7px;
	}
#advertiser div.products {
	margin: 0 0 15px 0;
	}
#advertiser div.last {
	margin-bottom: 30px;
	}
#products_divider {
	background: url(../images/borderVert.gif) center top repeat-y;
	}
#directories h4, #products h4, #advertiser div.products h4 {
	width: 317px;
	height: 34px;
	color: #43456f;
	font-size: 17px;
	background: #dfdfdf;
	padding: 10px 0 0 0;
	text-align: center;
}
#advertiser div.products h4 {
	width: 620px;
	padding-left: 15px;
	text-align: left;
	margin-bottom: 10px;
	text-align: left;
}
#advertiser div.products  p {
	text-align: left;
	}
#advertiser div.products  div.listingFirst {
	padding-bottom: 10px;
	text-align: center;
	border-right: 1px solid #ddd;
	border-left: 1px solid #ddd;
}
#directories a, #products a {
	margin-left: 15px;
	}
#directories p, #products p {
	text-align: left;
	margin: 10px 0 5px;
}
#directories a.orange {
	float: right;
	margin-right: 30px;
}
#products ul {
	text-align: left;
	margin-top: 15px;
	}
#directories div.listingFirst {
	float: left;
	width: 316px;
	height: 211px;
	border-left: 1px solid #e8e8e8;
	background: url(../images/borderVert.gif) right top repeat-y;
}
#directories div.listingMid {
	float: left;
	width: 317px;
	height: 211px;
	background: url(../images/borderVert.gif) right top repeat-y;
}
#directories div.listingLast {
	float: left;
	width: 317px;
	height: 211px;
	border-right: 1px solid #e8e8e8;
}
#products div.listingFirst {
	float: left;
	width: 316px;
	border-left: 1px solid #e8e8e8;
	background: url(../images/borderVert.gif) right top repeat-y;
}
#products div.listingLast {
	float: left;
	width: 317px;
	border-right: 1px solid #e8e8e8;
}
#publisher #products div.listingFirst, #publisher #products div.listingLast {
	height: 250px;
	}
#products_main #products div.listingFirst, #products_main #products div.listingLast {
	height: 330px;
	}
#directories div.listingFirst h4 {
	background: #dfdfdf url(../images/borderVert.gif) right top repeat-y;
}
#directories div.listingLast h4 {
	width: 317px;
}
div.bracketLeft, div.bracketRight {
	float: left;
	width: 9px;
	height: 42px;
	border: 1px solid #dee0e5;
}
div.bracketLeft {
	border-right: 0;
}
div.bracketRight {
	border-left: 0;
}
div.directory {
	width: 190px;
	height: 44px;
	margin: 10px auto 0;
	_overflow: hidden;
}
div.directory img {
	float: left;
}

/* Adv and Pub Landing Page Styles */
#programs {
	width: 660px;
	height: 350px;
	margin-bottom: 40px;
}
#programs div {
	float: left;
	width: 134px;
	height: 320px;
	padding: 12px 28px 18px 18px;
	margin-right: -20px;
	behavior: url(js/iepngfix.htc);
}
#programs #block1 {
	background: url(../images/programsBlock1.png) left top no-repeat;
}
#programs #block2 {
	background: url(../images/programsBlock2.png) left top no-repeat;
}
#programs #block3 {
	background: url(../images/programsBlock3.png) left top no-repeat;
}
#programs #block4 {
	background: url(../images/programsBlock4.png) left top no-repeat;
}
#programs span {
	display: block;
	width: 125px;
	height: 85px;
	background: #f5f5f5;
	padding: 5px 5px 5px 0;
	margin-bottom: 5px;
}
#programs span h4 {
	font-size: 14px;
	line-height: 1em;
	text-transform: uppercase;
	color: #333;
	padding: 0 0 3px 5px;
}
#programs p {
	margin: 0;
	padding: 0 0 0 5px;
	font-size: 11px;
	line-height: 1.2em;
}
#publisher img.admanager {
	margin: 0 0 30px 200px;
}
#advertiser h3 {
	margin-top: 10px;
	}
div.bubble {
	float: left;
	width: 635px;
	padding: 15px;
	border: 1px solid #999;
	margin: 15px 0 30px;
	background: #fff url(../images/quoteBg.gif) left bottom repeat-x;
}
div.bubble p {
	color: #555;
}
div.bubble p.byline {
	float: right;
	font-weight: bold;
	margin: 0;
	color: #43456F;
	font-size: 14px;
}

/* How It Works Styles */
#howitworks {
	width: 521px;
	margin: 35px 0 0 69px;
}
#howitworks a {
	float: left;
	width: 95px;
	height: 131px;
	padding: 0 20px 0 15px;
	background: url(../images/howitworksOff.gif) left top no-repeat;
	text-decoration: none;
	color: #666;
	font-size: 17px;
	line-height: 1.1em;
	cursor: pointer;
}
#howitworks a span {
	display: block;
	color: #ccc;
	font-size: 47px;
	line-height: 1.2em;
}
#howitworks a:hover, #howitworks a.on {
	position: relative;
	height: 151px;
	margin-bottom: -20px;
	background: url(../images/howitworksOn.png) left top no-repeat;
	_background-image: url(../images/howitworksOn.gif);
	color: #fff;
}
#howitworks a:hover span, #howitworks a.on span {
	color: #fff;
}
#howitworks span {
	display: none;
}
#textBucket {
	float: left;
	width: 521px;
	height: 125px;
	padding-top: 10px;
	background: url(../images/howitworks.gif) left top no-repeat;
}
#textBucket h4 {
	font-size: 19px;
	font-weight: normal;
	color: #390;
}

/*Contact Page*/
div.contactCol {
	float: left;
	width: 320px;
}
div.contactLeft {
	padding-right: 20px;
}
/* Footer Styles */
#foot a {
	margin: 0 4px;
	color: #999;
	font-size: 11px;
}
#foot a:hover {
	color: #555;
}

/* Error Message */
#error {
	float: left;
	width: 950px;
	margin: 0 0 20px;
	padding: 10px 0;
	text-align: center;
	background: #F8BAC6;
	border: 1px solid #c00;
	}

p {
	padding-left: 20px;
}

.graybox {
	background-color: #eeeeee; 
	margin: 0px 35px 10px 25px; 
	padding: 1px 0 15px 0;
}

.LinkButton
{
	background-image: url(/images/linkbutton_background.gif);
	background-position: left top;
	color: #ffffff;
	height: 15px;
	line-height: 15px;
	padding: 5px 20px 6px 20px;
	text-decoration: none;
}
