html {
	padding: 0;
	margin: 0;
	height: 101%;
	}
body {
	padding: 0;
	margin: 0;
	color: #656565;
	font-family: Arial, sans-serif;
	font-size: 12px;
	opacity: 0;
	}
body > * {
	width: 889px;
	margin: 10px auto;
	clear: both;
	}
body > img {
	display: block;
	margin: 0 auto;
	-moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px;
	-webkit-border-top-left-radius: 0; -moz-border-radius-topleft: 0;
	-webkit-border-top-right-radius: 0; -moz-border-radius-topright: 0;
	width: auto;
	width: 889px;
	height: 222px;
	position: relative;
	}

a:link, a:visited {
	color: #862165;
	outline: none;
	text-decoration: none;
	font-weight: bold;
	}

ul {
	list-style: none;
	}

h1, h2, h3, h4 {
	color: #9D852F;
	text-shadow: 1px 1px 1px #333;
	}

#branding {
	min-height: 74px;
	margin: 0 auto !important;
	}
	#branding > a {
		display: inline-block;
		float: left;
		width: 235px;
		margin-top: 13px;
		}
	#branding > a img {
		border: 0;
		}
	#branding > a.back-button {
		float: right;
		width: auto;
		margin-top: 0;
		margin-bottom: 0;
		font-size: 10px;
		color: #A5A5A5;
		background-color: #F6F6F6;
		padding: 7px 5px 7px;
		text-decoration: none;
		border-bottom: 1px solid #C0C0C0;
		}
	#branding > a.back-button:hover {
		color: #656565;
		background-color: #E6E6E6;
		}

#topnav {
	clear: right;
	padding-top: 40px;
/* 	display: none; */
	}
#topnav.back-button {
	padding-top: 13px;
	}
#topnav a {
	float: right;
	color: #000;
	text-decoration: none;
	font-size: 0.9em;
	font-weight: bold;
	}
#topnav a:hover {
	color: #862165;
	}
#topnav a:after {
	content: " |";
	font-weight: normal;
	padding-right: 5px;
	color: #4D4D4D;
	}
#topnav a:after:hover {
	text-decoration: underline;
	}
#topnav a:first-child:after {
	content: "";
	padding: 0;
	}
#topnav img {
	float: right;
}

#mainbanner {
	display: block;
	margin: 0 auto 20px;
	-moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px;
	width: 889px;
	height: 253px;
	position: relative;
	overflow: hidden;
	padding-top: 47px;
	border: 1px solid #D4D4D4;
	background: url(../../../../partners/affiliates/images/header.jpg) no-repeat top left;
	}
	#mainbanner p {
		margin: 2px 0;
	}
	#mainbanner p.header-smaller {
		font-size: 21px;
		line-height: 20px;
		color: #fff;
		margin: -10px 0 0 25px;
		line-height: normal;
		max-width: 520px;
		text-shadow: 1px 1px 1px #333;
	}
	#mainbanner p.header-smaller a {
		color: #fff;
		text-decoration: none;
		border-bottom: 1px solid white;
	}
	#mainbanner .partnerlogo {
		position: absolute;
		bottom: 50px;
		right: 0px;
		width: 360px;
		text-align: center;
		overflow: hidden;
		}

h1 {
	background-color: #862165;
	border-radius: 9px 9px 0 0;
	padding: .4em 20px;
	margin-bottom: 0;
	margin-top: 18px;
	color: #fff;
	text-shadow: 0 0 5px #000;
	-webkit-border-top-left-radius: 8px; -moz-border-radius-topleft: 8px;
	-webkit-border-top-right-radius: 8px; -moz-border-radius-topright: 8px;
	width: 849px;
	text-shadow: -1px -1px 1px #666;
	font-size: 1.5em;
	position: relative;
	}
h1 span.terms-small-text {
	display: block;
	font-size: 0.6em;
	font-weight: normal;
	font-style: italic;
	margin-top: 5px;
}

h2 {
	text-align: center;
	font-size: 1.4em;
	margin: 18px auto;
	color: #000;
	text-shadow: none;
}

.content {
	margin-top: 0;
	background: #fff;
	border: 1px solid rgba(0,0,0,0);
	border: none;
	width: 887px;
	-webkit-border-bottom-left-radius: 8px; -webkit-border-bottom-right-radius: 8px;
	-moz-border-radius-bottomleft: 8px; -moz-border-radius-bottomright: 8px;
	border-bottom-right-radius: 8px; border-bottom-left-radius: 8px; /* for Opera */
	position: relative;
	border: 1px solid #D4D4D4;
	}
	.content.allrounded {
		-moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px;
	}
	.content p {
		line-height: 18px;
		}
	.content.allrounded p {
		width: 472px;
		padding-top: 31px;
		padding-bottom: 21px;
		}	
	.content p span.gold {
		color: #9D852F;
		font-weight: bold;
		}
	.content:after {
		content: "";
		display: block;
		clear: both;
		}
	.content h3 {
		margin: 0;
		}
	.content > h3, .content > h4 {
		margin: 0 0 0 20px;
		padding-top: 2em;
		}
	.content h3 {
		text-align: left;
		}
	.content > p {
		padding: 20px;
		margin: 0;
		}
	.content > p.less-top-padding {
		padding-top: 4px;
	}
	.content > p.small-letters {
		padding-top: 0;
		padding-left: 70px;	
	}
	.content > p:after {
		content: "";
		display: block;
		clear: both;
		}
	.content > p > a.button {
		float: right;
		margin: 0;
		border: 1px solid #444;
		-webkit-box-shadow: 0 0 4px #222;
		}
	.content > p.contact {
		float: left;
		width: 360px;
		margin: 3em 0 0 3em;
		}
	.content h2 {
		margin: 0 20px;
		clear: left;
		}
	.content > ul {
		margin: 0;
		padding: 20px 0 0 0;
		}
	.content.terms > ul {
		clear: both;
		padding-bottom: 40px;
		}
	.content > ul h4 {
		margin-bottom: .5em;
		padding-top: .3em;
		font-size: 1.25em;
		}
	.content > ul li {
		padding-right: 20px;
		width: 412px;
		float: left;
		}
	.content > ul.benefits {
		float: left;
		width: 560px;
		margin-bottom: 5px;
	}
	.content > ul.benefits h3 {
		padding: 0;
		margin: 0;
		padding-bottom: .2em;
		}
	.content > ul.benefits li {
		width: 520px;
		margin-left: 287px;
		padding-bottom: 2em;
		line-height: 18px;
		}
	.content > ul.benefits li.first {
		background: url('../../../../partners/affiliates/images/list-number-1.gif') no-repeat;
		padding-left: 60px;
		padding-bottom: 2em;
		margin-top: 8px;
		padding-top: 14px;
		margin-bottom: 14px;
		}
	.content > ul.benefits li.second {
		background: url('../../../../partners/affiliates/images/list-number-2.gif') no-repeat;
		padding-left: 60px;
		padding-top: 4px;
		padding-bottom: 2em;
		margin-bottom: 10px;
		}
	.content > ul.benefits li.third {
		background: url('../../../../partners/affiliates/images/list-number-3.gif') no-repeat;
		padding-left: 60px;
		padding-top: 14px;
		padding-bottom: 2em;
		margin-bottom: 10px;
		}
	.content > ul li:nth-child(3) {
		padding-right: 0;
	}
	.content > ul li p {
		position: relative;
		}
	.content > ul img {
		float: left;
		margin-right: 20px;
		margin-bottom: 1em;
		width: 412px;
		height: 90px;
		}
	.content > ul li a {
		font-weight: bold;
		color: #111;
		display: block;
		margin: 1em 0 !important;
		left: 0;
		bottom: 0em;
		}
	.content > ul li a:after {
		content: " »";
		}
	.content:after {
		content: "";
		display: block;
		width: 889px;
		height: 7px;
		bottom: -7px;
		left: 0;
		opacity: 0; /* Ie bottom rounded edges fix, invisible on Sf, Ff, Cr, Op */
		}
	.content.allrounded:after {
		background: none;
		}
	h1:before {
		position: absolute;
		left: 0;
		top: -28px;
		content: "";
		display: block;
		width: 889px;
		height: 10px;
		z-index: 9999;
		opacity: 0;
		}

	.content ul.benefits li a {
		display: inline; 
		padding: 0; 
		background: none; 
		color: #862165; 
		text-decoration: none;
		font-weight: bold; 
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
	}
	.content ul.benefits li a:after {
		content: '';
	}
	.content ul.morebenefits {
		list-style: none;
		line-height: 24px;
		padding-left: 285px;
		padding-top: 0;
		padding-bottom: 120px;
	}
	.content ul.morebenefits li {
		background: url(../../../../partners/affiliates/images/list.png) 0 3px no-repeat;
		padding-left: 25px;
		width: 500px;
	}

p.bottom-points {
	font-size: 11px;
	line-height: 18px;
	text-align: left;
	padding: 0 1em 1em 3em;
	color: #666;
	margin-top: 20px;
	width: 889px;
}
		
/* Footer */

#footer { 
	margin: 15px auto;
	font-size: 11px;
	text-align: center;
	color: #939598;
	border-top: 1px solid #862165;
	padding: 10px 0;
	clear: both;
}
	#footer a {
		text-decoration: none;
		color: #862165;
		font-weight: bold;
	}
	#footer div {
		padding: .5em 0;
		margin-bottom: 1em;
	}
	#footer div a {
		color: #454545;
	}
	address {
		display: inline;
		font-style: normal;
	}
	#footer p {
		margin: 0;
		line-height: 12px;
		}
	#footer p.ecdirective {
		margin-top: 1em;
		}
	address {
		display: inline;
		font-style: normal;
	}

ol {
	margin-left: 24px;
	}
ol ol {
	margin-left: 6px;
	list-style: lower-alpha;
	}

div.clearer {
	clear: both;
	height: 1px;
	}
	
	
.content .signup {
		display: inline-block;
		font-size: 18px;
		line-height: 40px;
		padding: 0 16px;
		margin: 1em;
		color: #fff;
		text-shadow: 0px -1px 1px #444;
		text-decoration: none;
		font-weight: bold;
		border-radius: .4em;
		-webkit-box-shadow: 0px 1px 2px #222; -moz-box-shadow: 0px 1px 2px #222; box-shadow: 0px 1px 2px #222;
	
background: #fce766; /* Old browsers */
background: -moz-linear-gradient(top,  #fce766 0%, #f5b229 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fce766), color-stop(100%,#f5b229)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #fce766 0%,#f5b229 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #fce766 0%,#f5b229 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #fce766 0%,#f5b229 100%); /* IE10+ */
background: linear-gradient(top,  #fce766 0%,#f5b229 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fce766', endColorstr='#f5b229',GradientType=0 ); /* IE6-9 */

		text-shadow: 0px 1px 1px #ddd;
		color: #3a362c;
		position: absolute;
		bottom: 10px;
		right: 5px;
		}
	.content .signup:hover {
		opacity: 0.9;
		}
	.content .signup:active {
		-webkit-box-shadow: 0px 1px 2px #666; -moz-box-shadow: 0px 1px 2px #666; box-shadow: 0px 1px 2px #666;
		}

.content img {
		float: left
}
	.content img.token {
		margin-top: 5px;
		margin-left: 0;
	}
	.content img.vipmember {
		margin: 25px 70px 4px 60px;
	}

.content.howitworks {
	min-height: 240px;
	background: #fff no-repeat 2% 62%;
	border-top: none;
}
.content.howitworks-euro {
	min-height: 240px;
	background: #fff url(../../../../partners/affiliates/images/euro-puzzle.jpg) no-repeat 2% 62%;
	border-top: none;
}
.content.benefitpoints {
	min-height: 185px;
	background: #fff url(../../../../partners/affiliates/images/plus.jpg) no-repeat 2% 80%;
	border-top: none;
	margin-top: 0;
	padding-top: 0;
}
.content.benefitpoints p {
	margin-left: 265px;
}

h3 {
	color: #fff;
	font-size: 34px;
	margin-left: 25px;
	}
	h3 span {
		color: #f4aa00;
		}
	
/* Modal window */

#blackbox {
	width: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 9999;
	background: rgba(0,0,0,.8);
	}
	#blackbox .modal-box {
		width: 720px;
		max-width: 90%;
		background: #fff;
		box-shadow: 0 0 15px #862165;
		z-index: 99999;
		margin: 1em auto;
		border-radius: 8px;
		border: 2px solid #862165;
		padding: 1em;
		}
		#blackbox .modal-box:after {
			display: block;
			content: "";
			clear: both;
			}
		#blackbox .modal-box h1 {
			color: #222;
			}
		#blackbox .modal-box .close {
			float: right;
			cursor: pointer;
			width: 1em;
			height: 1em;
			padding: .2em;
			color: #862165;
			font-size: 2em;
			}
		#blackbox .modal-box > div {
			position: relative;
			}