/*****************************
GLOBAL
*****************************/
body {
	margin: 0;
	padding: 0;
	text-align: center;
	background: #FFF url("/img/tiles/bg.gif") repeat-x left top;
}

body, td, th, div {
	color: #000;
	font: normal 14px Arial, Helvetica, sans-serif;
}

h1 {
	color: #036;
	margin: 0 0 0.3em 0;
	font: bold 30px/32px Arial, Helvetica, sans-serif;
}

h2 {
	color: #000;
	margin: 1em 0 0.5em 0;
	font: bold 20px/22px Arial, Helvetica, sans-serif;
}

big {
	font-size: 15px;
	font-weight: bold;
}

small {
	font-size: 12px;
}

p {
	margin: 0.7em 0;
}

img {
	border: 0;
}

form {
	margin: 0;
	padding: 0;
}

input, select, option, textarea {
	color: #000;
	font: normal 12px Arial, Helvetica, sans-serif;
}

.clear:after {
	height: 0;
	clear: both;
	content: ".";
	display: block;
	overflow: hidden;
	visibility: hidden;
}

.clear {
	display: inline-block;
}

/* Hides from IE-mac \*/
* html .clear {
	height: 1%;
}

.clear {
	display: block;
}
/* End hide from IE-mac */

a, a:visited {
	color: #06C;
	text-decoration: underline;
}

a:hover, a:active {
	color: #039;
	text-decoration: underline;
}

/*****************************
LAYOUT
*****************************/
#wrapper {
	width: 770px;
	margin: 0 auto;
	text-align: left;
	border-top: 5px solid #FFF;
}

#header {
	padding: 0 0 20px 15px;
}

#header .logo {
	float: left;
	height: 27px;
	width: 247px;
	font-size: 0;
	display: block;
	margin-top: 20px;
	text-indent: -500px;
	background: url("/img/logo.png") no-repeat left center;
}

* html #header .logo {
	cursor: pointer;
	background: none;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/img/logo.png", sizingMethod="crop");
}

#header .login {
	float: right;
	padding-left: 15px;
	background: url("/img/corners/login-l.gif") no-repeat left bottom;
}

.login form, .login div {
	padding: 10px 15px 15px 0;
	background: url("/img/corners/login-r.gif") no-repeat right bottom;
}

.login small {
	color: #777;
	display: block;
	font-size: 11px;
}

.login td {
	padding: 0 5px 2px 0 !important;
}

.menu {
	border: 0;
	width: 100%;
	margin-bottom: 20px;
}

.menu td {
	padding-left: 10px;
}

.menu a {
	display: block;
	font-size: 18px;
	line-height: 35px;
	text-align: center;
	padding-right: 10px;
}

.menu td.active {
	background: url("/img/corners/menu-active-l.gif") no-repeat left center;
}

.menu td.active a, .menu td.active a:visited, .menu td.active a:hover, .menu td.active a:active {
	color: #FFF;
	text-decoration: none;
	background: url("/img/corners/menu-active-r.gif") no-repeat right center;
}

#content {
	padding: 0 15px;
}

#footer {
	text-align: center;
	margin: 50px 0 20px 0;
}

#footer div {
	padding-left: 15px;
	margin-bottom: 15px;
	background: url("/img/corners/footer-l.gif") no-repeat left center;
}

#footer p {
	margin: 0;
	color: #777;
	line-height: 52px;
	padding-right: 15px;
	background: url("/img/corners/footer-r.gif") no-repeat right center;
}

#footer p a {
	padding: 0 7px;
}

#footer small, #footer small a, #footer small a:visited, #footer small a:hover, #footer small a:active {
	color: #777;
}

#footer span {
	text-align: center;
	display: block;
	padding-top: 5px;
}

#footer span, #footer span a, #footer span a:visited, #footer span a:hover, #footer span a:active {
	font-size: 11px;
	color: #999;
}

div.code {
	border: 1px solid #DDD;
	padding: 5px;
	font-family: "Courier New", Courier, monospace;
}

/*****************************
COMMON
*****************************/
table.common {
	border: 0;
}

.common td, .common th {
	padding: 0;
}

.w100 {
	width: 100%;
}

.noborder {
	border: 0px !important;
}

.alignright td {
	text-align: right !important;
}

/*****************************
TABLES
*****************************/
table.grid {
	border: 0;
}

.grid td, .grid th {
	padding: 5px;
	border-bottom: 1px solid #DDD;
}

.grid th {
	text-align: left;
	font-weight: bold;
	background-color: #EEE;
	border-right: 1px solid #DDD;
	border-left: 1px solid #FCFCFC;
}

table.form {
	border: 0;
}

.form th {
	text-align: right;
}

td.button {
	padding-top: 15px;
	text-align: center;
}

/*****************************
ELEMENTS
*****************************/
.promo {
	height: 203px;
	text-align: right;
	padding-right: 30px;
	margin-bottom: 30px;
	background: url("/img/promo.jpg") no-repeat center center;
}

.promo h1 {
	margin: 0;
	color: #000;
	font-size: 36px;
	padding-top: 25px;
}

.promo h2 {
	color: #C00;
	margin: 0.5em 0;
	font-size: 18px;
	font-weight: normal;
}

td.publisher, td.advertiser {
	width: 35%;
	padding-top: 110px;
	background-repeat: no-repeat;
	background-position: left top;
}

td.publisher {
	background-image: url("/img/publisher.jpg");
}

td.advertiser {
	background-image: url("/img/advertiser.jpg");
}

.publisher div, .advertiser div, td.news {
	padding-left: 15px;
}

.news span {
	color: #555;
	background: #DDD;
}

.news p {
	font-size: 11px;
	margin: 0.2em 0 1em 0;
}

/*****************************
COLORS
*****************************/
.green {
	color: #4A2;
}

.red {
	color: #C00;
}

.blue {
	color: #06C;
}

.gray {
	color: #777;
}
