/* CSS Document */

body {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 1em;	/* resize base font size here */
	background: url(images/bground-shadow.jpg);
	background-repeat: repeat-y;
	background-position: 50% 50%;
	background-attachment: fixed;
	
	}

#container, #container-top, #container-nav, #container-main {
	position: relative;
	width: 800px;
	margin-left: auto;
	margin-right: auto;
	/* border: 1px solid green; */
	}
	
/* **************** TOP NAV **************** */
#topnav {
	position: relative;
	float: right;
	display: inline;
	margin: 0 0 0 0;
	_margin-left: 10px; /* shows to IE only */
	padding: 0px 10px 0px 10px; 
	/* _padding-top: 2px; */
	/* white-space: nowrap; */
	background: #666666 url(images/corner-bl.gif) bottom left no-repeat;
	color: white;
	text-decoration: none;
	/* text-align: right; */
	font-size: .8em;
	/* border: 1px solid brown; */
	vertical-align: middle; 
	z-index: 30;  /* legacy code from old version */
	/* height: 25px; */
	}

#topnav a {
	color: #ffffff;
	padding-right: 1em;
	/* _font-size: .8em; */ /* show to  IE only */

	}
#topnav a:hover {
	color: #FFCC33;
	}

#topnav b { display: none; }

#topnav ul {
	padding: 0 0;
	_padding: 6px 0 0 0;
	margin-left: 0;
	font-size: 1em;
	}
	
#topnav ul li {
	list-style: none;
	margin: 0;
	display: inline;
	}


#login-form {
	display: inline;
	color: #ffffff;
	width: 6em;
	/* border: 1px solid purple; */
	}
	
#login1, #login2, #login3 {
	display: inline;
	width: 6em;
	/* _font-size: .8em; */
	/* border: 1px solid white; */
	}
	
#login1 input {
	border: none;
	margin-right: 5px;
	vertical-align: middle;
	}
	
#user {
	float: right;
	position: relative;
	/* clear: both; */
	margin: 10px 0px 10px 100px;
	
	/* margin-top: 10px;
	margin-right: 0px;
	margin-left: 100px;
	margin-bottom: 10px; */
	padding-right: 10px;
	white-space: nowrap;
	font-size: .7em;
	text-decoration: none;
	/* text-align: right; */
	z-index: 100;
	/* border: 1px solid brown;	*/
	}
	
#user b{
	color: #cc0033;
	font-weight: bold;
	}

/* **************** MAIN NAV BAR **************** */

#navbar ul {
	padding: 4px 0 4px 4px;
	/* _padding: 6px 0 0 0; */
	margin-left: 0;
	font: normal 1em;
	background-color: #ffcc33;
	}
	
#navbar ul li {
	list-style: none;
	margin: 0;
	display: inline;
	}
	
#abacus {
	padding-right: 40px;
	padding-left: 10px;
	}
	
#navbar {
	position: relative;
	/* _position: absolute; */
	clear: both;
	/* float: left; */
	width: 800px;
	font-size: .8em;
	_font-size: 1.0em;
	text-align: left;
	white-space: nowrap;
	color: black;
	padding: 0px 0px 0px 0px;
	/* _padding-top: 10px; */
	_padding-bottom: 0px;
	/* padding-top: 0px;
	padding-left: 10px; */
	margin-top: 0px;
	/* _margin-top: -100px; /* shows to IE win only */
	margin-bottom: 20px;
	_margin-bottom: 10px;
	margin-left: 0;
	margin-right: 0;
	z-index: 20;
	vertical-align: middle;
	/* background-color: #ffcc33; */
	/* border: 1px solid green; */
	}
	
#navbar a{
	padding-right: 10px;
	_font-size: .8em; /* show to IE only */
	font-weight: bold;
	
	}
	
#navbar a:hover {
	/* z-index: 30; */
	}
	
#logo {
	
	position: absolute;
	/* _position: relative; */
	clear: both;
	/* float:left; */
	margin-top: 30px;
	_margin-top: -50px;
	margin-left: 20px;
	margin-bottom: 5px;
	width: 48px;
	/* border: 1px solid blue; */
	z-index: 10;
	}
	
#navbar, #logo img {
	
	}
/* #navbar b { display: none; } */
	

/* **************** collumns **************** */


#left-col, #right-col {
	/* _clear: both; */
	/*_margin-top: 200px; */
	/* display: none; */
	}

#left-col {
	float: left;
	width: 580px;
	_width: 569px;
	margin: 0 10px 0 10px;
	/* border: 1px solid blue; */
	}
	
#right-col {
	float: right;
	width: 180px;
	_width: 169px;
	margin: 0 10px 0 0;
	/* border: 1px solid brown; */

	}	

/* **************** body main **************** */

/* **************** main boxes **************** */

#local-box {
	/* position: relative; */
	clear: both;
	border-right: 1px solid #ffcc33;
	border-top: 0px;
	border-bottom: 0px;
	background: url(images/corners/y-corner-tl-big.gif) top left no-repeat;
	/* height: 100px; */
	}
	
#savings-box {
	/* position: relative; */
	border-right: 1px solid #cc0033;
	border-top: 0px;
	border-bottom: 1px solid #cc0033;
	background: url(images/corners/r-corner-tl-big.gif) top left no-repeat;
	height: 200px; /* terrible hack I know - but works until I get something better */
	}	
	
#local-box #local-coupon {
	position: relative;
	float: right;
	width: 450px;
	_width: 440px;
	margin: 10px 10px 10px 10px;
	_margin-top: -75px; /* bad ie hack! Oh how we hat IE IE IEEEEEEEEEEE */
	vertical-align: top;
	border: 1px dotted #666666;
	}
	
#local box #local-coupon img {
	margin: 4px 4px 4px 4px;
	}

/* #ninety-ninety-local-left, #ninety-ninety-savings-left {
	border: 1px solid brown;
	height: 100px;
	
	} */

/* #left-col #ninety-ninety-local-left, #ninety-ninety-savings-left {
	border-right: 1px solid #ffcc33;
	border-top: 0px;
	border-bottom: 0px;
	background: url(images/corners/y-corner-tl-big.gif) top left no-repeat;
	height: 100px; 
	
	}*/

#ninety-ninety-local-logo {
	/* border: 1px solid brown; */
	}

#ninety-ninety-local-logo img, #ninety-ninety-savings-logo img {
	position: relative;
	float: left;
	width: 77px;
	/* clear: right; */
	/* clear: both; */
	padding: 10px 10px 10px 10px;
	/* border: 1px solid green; */
	/* z-index: 200; */
	/* display: none; */
	}
	
#ab99-savings-logo p {
	width: 77px;
	padding-left: 10px;
	
	}
	
#local-list {
	clear: both;
	/* border: 1px solid brown; */
	
	}
	
table.table-local {
position: relative;
	width: 100%;
	padding: 4px 4px 4px 4px;
	/* margin: 5px 5px 5px 5px; */
	/* border: 1px solid blue; */
	}
	
.table-savings {
	float: right;
	width: 483px;
	_width: 473px; /* width is 580px - circle logo width + margins/padding */
	margin-top: -79px; /* works with terrible 99 savings hack */
	position: relative;
	vertical-align:top;
	padding-right: 10px;
	/* border: 1px solid green; */
	}
	
table.table-local h2,
table.table-savings h2 {
	text-align:center;
	font-size: 1em;
	color: #666666;
	}

table.table-local h3,
table.table-savings h3 {
	font-size: .75em;
	}
	
table.table-local ul, 
table.table-savings ul {
	list-style: none;
	font-size: .75em;
	}
	
table.table-local ul h3, 
table.table-savings ul h3 {
	font-size: 1em;
	}
	
table.table-local li,
table.table-savings li {
	list-style: none;
	}
	
table-local li a,
table-savings li a {
	display: block;	
	}
	

	
#search {
		/* position: absolute;*/
		padding: 5px 10px 5px 10px;
		margin-bottom: 20px;
		background: #ffcc33 url(images/corners/y-corner-bl-filled.gif) bottom left no-repeat;
		text-align: center;
		/* z-index: 50;*/
		/* border: 1px solid blue; */
		vertical-align: middle;
		
		}
		
#search input {
	vertical-align: middle;
	}
	

/* **************** begin copy of main part **************** */


	
	
/* **************** end copy of old part **************** */

/* **************** right collumn begin **************** */


#whats-new, #signup, #contest, #coupon { margin-bottom: 10px; }


#coupon
		   {
	/* position: absolute;
	clear: both; */
	width: 170px;
	_width: 160px;
	border: 1px dotted #666666;
	/* background-color: #ffcc33; */
	/* height: 50px; */
	/* padding: 4px 4px 4px 4px; */
	/* margin-bottom: 10px; */
	}
	
#coupon p {
	padding: 4px 4px 4px 4px;
	}
	
#signup a img, #signup a:hover img {
	border: none;
	}
	
#whats-new {
	width: 170px;
	/* _width: 160px; */
	border: 1px solid #ffcc33;
	/* padding: 0px 2px 2px 2px; */
	vertical-align: top;
	}
	
#whats-new h3 {
	background-color: #ffcc33;
	padding: 2px 2px 2px 2px;
	margin: 0 0 0 0;
	text-transform: uppercase;
	text-align:center;
	font-size: 76%;
	color: #333333;
	}
	
#whats-new p {
	/* padding: 2px 2px 2px 2px; */
	padding: 0 0 0 0;
	}
	
#whats-new ul {
	/* margin-left: -20px; */
	margin: 0;
	padding: 0;
	font-size: 76%;
	list-style: none;
	color: #666666;
	/* border: 1px solid blue; */
	}
	
#whats-new ul li {
	margin: 0;
	}	
	
#whats-new ul li a {
	display: block;
	padding: 2px 2px 2px 2px;
	
	}
#signup {
	margin-left: 40px;
	margin-right: 40px; 
	}
	

/* **************** left collumn begin **************** */

#footer
	{
	clear: both;
	text-align: center;
	font-size: 10pt;
	padding-top: 25px;
	padding-bottom: 25px;;
	/* border: 1px solid grey; */

	}
	
/* **************** typography **************** */

a {
	text-decoration: none;
	/* font-weight: bold; */
	color: maroon;
	}
a:link {
	}
a:visited {
	}
a:active {
	}
a:hover {
	color: red;
	text-decoration: underline;
	}
	
h2 {
	
	}
	
p {
	font-size: 76%;
	}