/**************************/
/* GENERAL STYLES         */
/**************************/

body {
	background: #FFF url(/img/main_site_bg.jpg) repeat-x;
	color: #000;
	font-family: helvetica, "lucida grande", arial, sans-serif;
	font-size: 12px;
	text-align: left;
	margin: 0;
}

a {
	color: #6b900b;
	text-decoration: none;
}
	
a:hover { 
	text-decoration: underline;
}

a img {
  border: none;
}

h1 {
  margin: 0;
}

.clear {
	clear: both; 
}

.clear-right { 
	clear: right; 
	height: 0;
}

.clear-left { 
	clear: left; 
	height: 0;
}

.center {
  text-align: center;
}

.right {
  text-align: right!important;
}

form {
  margin-bottom: 0;
}

input#submit {
  border: 1px solid #9f9a88;
  padding: 3px;
}


/**************************/
/* CONTAINERS             */
/**************************/

div#container {
  width: 1075px;
  margin: 5px auto 0;
}

/**************************/
/* NAVIGATION             */
/**************************/

div#logo {
  float: left;
}

div#city_nav {
  float: right;
  width: 650px;
  color: #FFF;
  font-size: 22px;
  margin-top: 5px;
  text-align: right;
}

div#city_nav select {
  width: 175px;
  font-size: 20px;
}

span.city_nav_name {
  cursor: pointer;
  border-style: inset;
  color: black;
  background-color: white;
  padding: 5px;
}

span.city_nav_change {
  cursor: pointer;
  color: blue;
  font-size: 9pt;
  margin-bottom: 5px;
}

div#navcontainer ul {
  margin-top: 0px;
  padding-left: 0;
  margin-left: 0;
  background: #c3c4b1 url(/img/nav_bg.jpg);
  float: left;
  width: 100%;
}

div#navcontainer ul li { 
  display: inline;
  padding: 6px 25px;
  float: left;
  border-right: 1px solid #fff;
  font-size: 20px;
  font-weight: bold;
}

div#navcontainer ul li.first {
  border-left: 1px solid #FFF;
}

div#navcontainer ul li#active { 
  background: #c3c4b1 url(/img/nav_active_bg.jpg);
}

div#navcontainer ul li:hover { 
  background: #c3c4b1 url(/img/nav_hover_bg.jpg);
}

div#navcontainer ul li a {
  color: #FFF;
  text-decoration: none;
}

div#navcontainer ul li#facebook {
  padding-top: 5px;
  padding-bottom: 0;
  padding-left: 15px;
  border: none;
}

div#navcontainer ul li#facebook:hover {
  background: none;
  border: none;
}

/**************************/
/* PROMO                  */
/**************************/


#promo
{
  background: #d2e999;
  position: relative; 
  text-align: left;
  padding: 15px;
  height: 115px;
}

div#promo div.close {
  position: absolute; 
  top: 0;
  right: 0;
}

div#promo h1 {
  font-weight: normal;
  margin: 0;
  font-size: 22px;
}

div#promo p {
  font-size: 16px;
  line-height: 23px;
  margin-bottom: 0;
}

div#promo a {
  color: #ff7800;
  cursor: pointer;
}

#promo_img {
  float: left; 
  margin-right: 15px;
  width: 166px;
  height: 110px;
  position: relative; /* This is because IE renders relative positioning last. Without, image won't show */
}

 
/**************************/
/* SIDEBAR                */
/**************************/

div#sidebar {
  width: 188px;
  float: left;
  margin-right: 21px;
  margin-top: 20px;
  text-align: left;
}

span.heading {
  font-size: 17px;
  font-weight: bold;
}

div#filters {
  border: 1px solid #8c8c7c;
  padding: 15px;
  font-size: 14px;
}

div#email_alerts {
  margin-bottom: 25px;
  padding: 15px;
  background: #f6ddac;
  font-size: 14px;
}

/**************************/
/* MAIN CONTENT           */
/**************************/

div#main_content {
  width: 866px;
  float: left;
  text-align: left;
  margin-top: 18px;
}

/**************************/
/* DEAL TABLE             */
/**************************/

table#listings {
  color: #ff7800;
  font-size: 18px;
  width: 866px;
}

td.listingtype
{
  text-align: right;
  padding-right: 5px;
}

td.listingtype > span
{
  font-size: 11pt;
  color: gray;
  text-align: right;
}

tr.nationwide {
  /* background-color: #D2E999; */
}

tr.sponsored {
  background-color: red;
}

tr.spacer {
  font-size: 2pt;
}

tr.secondrow > td {
  padding-bottom: 5px;
}

table#listings .photo {
  margin-left: 5px;
}

table#listings tr.headings th {
  text-align: left;
  border-bottom: 1px solid #8c8c7c;
  padding: 0 10px 5px 0;
  color: #000;
  font-weight: bold;
  font-size: 16px;
}


table#listings tr.listing {
  margin-top: 10px;
}

table#listings tr.listing td {
  vertical-align: top;
  padding-top: 6px;
  font-size: 18px;
}

a.buy {
  display: block;
  background: #6b900b;
  padding: 10px 4px;
  color: #FFF;
  font-size: 16px;
  text-align: center;
  width: 120px;
}

span.large_price {
  font-size: 20px;
}

span.price_and_title {
  display: block;
  font-weight: bold;
  padding-bottom: 3px;
}

span.provider_and_date {
  font-size: 14px;
}

span.orig_price {
  text-decoration: line-through;
  color: #000;
}

span.your_price {
  font-weight: bold;
}

span.expiration {
  color: #8b8a8a;
}

.price {
  padding-right: 9px;
}

/**************************/
/* FOOTER                 */
/**************************/

div#footer_container {
  background: url(/img/footer_bg.jpg) repeat-x;
  width: 100%;
  height: 70px;
  margin-top: 30px;
  color: #FFF;
  text-align: center;
}

div#footer_inner {
  width: 1075px;
  text-align: left;
  overflow: auto;
  margin: 0 auto;
  padding-top: 10px;
  font-size: 18px;
}

div#footer_left {
  float: left;
  width: 500px;
}

div#footer_right {
  float: right;
  text-align: right;
  width: 500px;
}

div#footer_right a {
  color: #FFF;
}

fieldset
{
        border: 1px solid black;
}

legend
{
        margin-left: 10px;
}

.errors {
        color: red;
}

p { 
        margin-top: 10px;
        text-align: justify;
}

/* info boxes */

.info, .success, .warning, .error, .validation {
        border: 1px solid;
        margin: 10px 0px;
        padding: 5px 10px 5px 50px;
        background-repeat: no-repeat;
        background-position: 10px center;
}
.info {
        color: #00529B;
        background-color: #BDE5F8;
        background-image: url('/img/knobs/info.png');
}
.success {
        color: #4F8A10;
        background-color: #DFF2BF;
        background-image:url('/img/knobs/valid_green.png');
}
.warning {
        color: #9F6000;
        background-color: #FEEFB3;
        background-image: url('/img/knobs/attention.png');
}
.error {
        color: #D8000C;
        background-color: #FFBABA;
        background-image: url('/img/knobs/cancel.png');
}
.validation {
	color: #D63301;
	background-color: #FFCCBA;
	background-image: url('/img/knobs/validation.png');
}
/* end info boxes */


/**************************/
/* NO SIDEBAR PAGES       */
/**************************/

#no_sidebar {
  font-size: 13px;
}

#no_sidebar h1
{
	font-size: 18px;
	border-bottom: 1px solid #000;
	margin-top: 15px;
}

#no_sidebar dl
{
	margin-left: 10px;
	margin-bottom: 10px;
}

#no_sidebar dd {
  margin-top: 7px;
}

