/* Basics */
html {margin:0; padding:0;}
body {margin:0; margin-top:0;padding:0; background:url(images/bg-header.jpg) repeat-x; color: #444444;background-position:top center;border:0;}
a:link, a:visited {color: #333333; text-decoration:none;border:0;}
a:hover, a:active {color: #333333;}
img {border:none;}

/* Top section */
#top-wrapper, #body-wrapper, #footer-wrapper, #nav {position: relative; width: 900px; margin: 0 auto; background:transparent;}

#body-bg {overflow: hidden;}
#body-wrapper {margin:10px auto; clear:both!important;}
#top-wrapper {background:transparent;}
#top-wrapper h1 {background: url(images/amlogo.gif) no-repeat 0 0; display:block; height:57px; width:356px; margin:6px 0;}
#top-wrapper h1 a {display:block; width:356px; height:57px;}

#top-wrapper #menu {margin:-40px 0 0 0; padding:0; float:right; width:500px; text-align:right; overflow:hidden; color:#fff}
#top-wrapper #menu li {display:inline; list-style:none;}
#top-wrapper #menu li a {color:#ffffff;font-size:11px;}
#top-wrapper #menu li a:hover {background:#ffffff;color:#000000;}

#top-wrapper #intro {margin:30px 0 0 0; height:156px;color:#666666;letter-spacing:-1px;}
#top-wrapper #intro br {line-height:1px;}

#top-wrapper #intro .green {color:#47c83c;}
#top-wrapper #intro .purple {color:#7f3d78;}
#top-wrapper #intro h3 {font:19px Lucida Sans, Verdana, sans-serif; color:#000000; border:none; padding:0; letter-spacing:-2px;font-weight:bold;}
#top-wrapper #intro p {font-family: Lucida Sans, Verdana, sans-serif; letter-spacing:-1px; width:420px; font-size:16px;color:#444444;}

/* Navigation */	
#nav {overflow:hidden; padding:0;}
#nav ul {margin-left:-50px;border-left:18px solid #666666;}
#nav li {font-size:13px; text-transform:lowercase; text-align:center; list-style:none; float:left; width:105px; border-left:1px solid #666666;}
#last {font-size:13px; text-transform:lowercase; text-align:center; list-style:none; float:left; width:105px; border-left:1px solid #666666;border-right:1px solid #666666;}
#nav li a {height:18px; text-decoration:none; display:block; padding:4px 0; width:105px; color:#fff; font-weight:normal;}
#nav li a:hover {}
#nav li a:hover, .selected a {background-color:#000; background-image:url(images/bg-selected.gif); background-position:top left; background-repeat:repeat-x; font-weight:normal; color:#fff;}
#nav li a em {font-style:normal; font-weight:normal; border-bottom: 1px dotted #FFF;}

/*Right Side */
#right-panel {float:right;width:260px;font-size:90%;margin:0px; padding:0px;}
#right-panel .rightsnippet ul {margin:0; padding:0;}
#right-panel .rightsnippet ul li {list-style:none; margin:12px 0; line-height:15px;}
#right-panel .rightsnippet ul li a {font-size:13px; color:#000; display:block; border:none!important;}
#right-panel .rightsnippet ul li a:hover {color:#E60009; background:none;}
#right-panel .rightsnippet ul li span {font-family:Trebuchet, Arial, sans-serif; color:#B5B5B5; font-style:italic;}
#right-panel .rightsnippet h3 {color:#444444;font-size:12px;font-weight:bold;margin-top:3px;}
#right-panel .rightsnippet h2 {background-image:url(images/gradline.gif);background-position:bottom left;background-repeat:no-repeat;font-family:Lucida Sans, Verdana, Arial;}
#right-panel .rightsnippet p {margin-top:0;}
#right-panel .rightsnippet a {font-size:106%;}
.readon {font-size:13px;border:1px solid #e0e0e0;}

/* Client Login */
.clientlogin {width:282px;height:208px;background-image:url(images/bg-clientlogin.gif);background-repeat:no-repeat;background-position:top center;margin-bottom:5px;}
.loginpositioning {float:left;margin:55px 0 0 23px;_margin:55px 0 0 11px;}
.right-panel form a {font-size:15px;}
.usernamecontainer {margin-bottom:4px;}
.usernamelabel {font-size:13px;margin-bottom:8px;}
.passwordlabel {font-size:13px;margin-bottom:8px;margin-right:3px;}
.logininput {background-image:url(images/bg-inputfield.gif);background-position:top left;border:0;padding-left:4px}
#forgotten {font-size:18px;!important}
#register {font-size:12px;font-weight:bold;}

/* Main and body */
#main {
	width:605px;
	padding-top:0px!important;
	margin:0;
	overflow:hidden;
	background-color:#ffffff;
}

#body-bg h2 {
	font-size: 17px;
	line-height: 1.2em;
	font-weight:bold;
	color: #7f3d78;
	margin: 0.2em 0;
	font-family:Lucida Sans, Verdana, Arial, sans-serif;
	padding-bottom:5px;
	padding-top:4px;
	background-image:url(images/headerstrip.gif);
	background-repeat:no-repeat;
	background-position:bottom left;
	letter-spacing:-1px;
}
#body-bg h2 a {color: #000!important; border:none!important;}
#body-bg h2 a:hover {color:#E60009!important; border:none!important; background:none!important;}
#body-bg h3, h3 a {
	color: #E60009;
	font-size: 18px;
	font-family:Calibri, Arial, Helvetica, sans-serif;
	font-weight:normal;
	border:none!important;
}
#body-bg h3 a:hover {color:#000!important; border:none!important; background:none!important;}

#content p, #right-panel p {margin:15px 0;line-height:15px; color:#666666;}
#content p {line-height:20px;margin-top:5px; color:#444444;}
#content a:link, #content a:visited, .link.link, .link:visited, #blog-panel a, #blog-panel a:visited, #right-panel a, #right-panel a:visited {
	text-decoration: none;
	border-bottom: 1px dotted #444444;
}
#content a:hover, #content a:active, .link:hover, .link:active, #blog-panel a:hover, #right-panel a:hover, #right-panel a:active {
	color: #fff;
	border-bottom: 1px solid #fff;
	background-color: #444444;
}

/* Central Content */
#user {margin:0; padding:0;}
#user p {margin:10px 0;}
#user h3 {margin:0;color:#444444}
#user .img-border {float:left;margin:5px 10px 0px 0px; display:inline;}
#user .img {text-align:center;}
.clear {clear:both;}
.mugshot {float:left;margin-top:10px;margin-right:10px;margin-bottom:35px;}

/* Curved boxes */
.container {float:left;background:#f2f2f2;color:#4a4a4a;margin:2px 17px 7px 0px;width:190px;}
h5 {background-image:url(images/gradline.gif);background-repeat:no-repeat;background-position:bottom left;margin-top:0;font-size:14px;font-weight:bold;color:#7f3d78;font-family:Lucida Sans, Verdana, Arial, sans-serif;height:25px;}
.t {background: url(images/greydot.gif) 0 0 repeat-x; width: 100%}
.b {background: url(images/greydot.gif) 0 100% repeat-x}
.l {background: url(images/greydot.gif) 0 0 repeat-y}
.r {background: url(images/greydot.gif) 100% 0 repeat-y}
.bl {background: url(images/bl.gif) 0 100% no-repeat}
.br {background: url(images/br.gif) 100% 100% no-repeat}
.tl {background: url(images/tl.gif) 0 0 no-repeat}
.tr {background: url(images/tr.gif) 100% 0 no-repeat; padding:10px} 
.clear {font-size: 1px; height: 1px}

/* CSS mouseovers */
.affiliates a {
	display:block;
	width: 158px;
	height:42px;
	background: url("images/btn-affiliates.gif") 0 0 no-repeat;
	text-decoration: none;
	margin-left:7px;
	border:0;
}
.affiliates a:hover { 
	background-position: 0 -45px;
}

.merchants a {
	display:block;
	width: 158px;
	height:42px;
	background: url("images/btn-merchants.gif") 0 0 no-repeat;
	text-decoration: none;
	margin-left:7px;
}

.merchants a:hover { 
	background-position: 0 -45px;
}

.agencies a {
	display:block;
	width: 158px;
	height:42px;
	background: url("images/btn-agencies.gif") 0 0 no-repeat;
	text-decoration: none;
	margin-left:7px;
}
.agencies a:hover { 
	background-position: 0 -45px;
}

.affiliatesjoin a {
	display:block;
	width: 158px;
	height:42px;
	background: url("images/btn-affiliatesjoin.gif") 0 0 no-repeat;
	text-decoration: none;
	margin-left:7px;
}

.affiliatesjoin a:hover { 
	background-position: 0 -45px;
}

.merchantsjoin a {
	display:block;
	width: 158px;
	height:42px;
	background: url("images/btn-merchantsjoin.gif") 0 0 no-repeat;
	text-decoration: none;
	margin-left:7px;
}
.merchantsjoin a:hover { 
	background-position: 0 -45px;
}

.agenciesjoin a {
	width: 158px;
	height:42px;
	background: url("images/btn-agenciesjoin.gif") 0 0 no-repeat;
	text-decoration: none;
	margin-left:7px;
}
.agenciesjoin a:hover { 
	background-position: 0 -45px;
}

/* Additional form styling */
div.form-container p { margin: 0; }
div.form-container p.note { margin-left: 170px; font-size: 90%; color: #333; line-height:14px; }
div.form-container fieldset { margin: 10px 0; padding: 10px; border:4px solid #e0e0e0; background:transparent;}
div.form-container legend { font-weight: bold; color: #666; background:transparent;}
div.form-container fieldset div { padding: 0.25em 0; background:transparent;}
div.form-container label, 
div.form-container span.label { margin-right: 10px; padding-right: 10px; width: 150px; display: block; float: left; text-align: right; }
div.form-container span.label.filterLabel {margin-right:10px; width:45px; float:left; text-align:right;}
div.form-container label.error, 
div.form-container span.error { color: #C00; }
div.form-container label em, 
div.form-container span.label em { font-size: 180%; font-style: normal; color: #C00; }
div.form-container input.error { border-color: #C00; background-color: #FEF; }
div.form-container input:focus,
div.form-container input.error:focus, 
div.form-container textarea:focus {	background-color: #FFC; border-color: #FC6; }
div.form-container div.controlset label, 
div.form-container div.controlset input { display: inline; float: none; }
div.form-container div.controlset div { margin-left: 170px;border:1px solid #000; }
div.form-container div.buttonrow { margin-left: 180px; }
.button {width:244px;height:31px;background-image:url(images/btn-login.gif);background-repeat:no-repeat;background-position:top left;border:0;margin-left:-3px;margin-top:5px;margin-bottom:6px;}
div.form-container .button:focus {	background-color: #444444; border-color: #444444; }
.contactsubmit {width:157px;height:43px;background-image:url(images/btn-submitquery.gif);background-repeat:no-repeat;background-position:top left;border:0; }

/* Footer */
#footer {margin:2px 0 0 0; background: #fff url(images/bg_footer.jpg) repeat-x left top; clear:both; height:200px; font-size:88%;color:#fff;}
#footer-wrapper {
	position:static;
	padding:15px 0 0px;
	overflow:auto;
}
#footer-wrapper a, #footer-wrapper a:hover {color:#fff;}
#footercontainer {color:#fff;float:left;background-image:url(images/bg-footercontainer.gif);background-repeat:no-repeat;background-position:top right; margin-top:10px;}
.footertitle {font-size:18px;}
.googlemap {width:400px;height:150px;margin-top:10px;padding:0;float:right;border:2px solid #fff;}