* {
   margin: 0;
   padding: 0;
}

/* various browser fixes */
html, body {
    height: 100%;
}

body {
	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
	background-color: #002545;
}

#container {
  position: relative;
  background-color: #fff;
}

h1, h2, h3, h4, h5 {
	margin-bottom: 0.5em;
}

.margin_top_10 {
  margin-top: 10px;
}

.margin_bottom_6 {
  margin-bottom: 6px;
}

#canvas h1 {font-size: 1.5em;}

h4.regular {
  font-weight: normal;
  font-size: 18px;
}

ul { list-style:none; }

a { color: #2697d7; }
a:hover { color: #8240ad; }

img {
	border: none;
}

#header {
	background: transparent url('/images/bkg_head.png') repeat-x top left;
	height: 230px;	
	padding: 10px 0px;
}

#search_new #header {
	background: transparent url('/images/bkg_home_head.png') repeat-x top left;
	height: 350px;
	padding: 10px 40px;	
}

#header h1 {
	text-indent: -9999px;
}

#logo {
  position: absolute;
  top: 5px;  
}

#search_container {
  position: absolute;
  top: 0px;
  left: 0px;
  background: transparent url('/images/bkg_head_clouds_trans.png') no-repeat top right;
  width: 1020px;
  height: 100px;
}

#search_new #search_container {
  position: absolute;
  top: 1px;
  left: 313px;
  background: transparent url('/images/bkg_home_head_clouds_trans.png') no-repeat top right;
  width: 659px;
  height: 200px;
}

#search_form {
  background: transparent url('/images/bkg_head_search.png') no-repeat top left;  
  height: 100px;
  width: 975px;
  position: absolute;
  top: 10px;
  left: 40px;
}

#search_new #search_form {
  background: transparent url('/images/bkg_home_head_search.png') no-repeat top left;  
  height: 184px;
  width: 582px;
  position: absolute;
  top: 10px;
  left: 70px;
}

#search_new p.search_label {
  font-size: 16px;
  font-weight: bold;
  text-indent: 10px;
}

#search_fields {
  padding: 0px 20px;
  margin-top: 10px;
}

#search_new p.search_field input {
  font-size: 16px;
  margin-bottom: 10px;
  width: 360px;
  background-color: #fefccf;
}

#search_what, #search_where { 
  float:left; 
  margin-right: 20px;
}

#search_new #search_what, #search_new #search_where { 
  float:none;
  margin-right: 0;
}

#search_submit {
  padding-top: 10px;
}

#search_new #search_submit {
  position: absolute;
  left: 260px;
  bottom: 20px;
}

#header_top_container {
  position: relative;
  margin: 0 auto;
  width: 942px;
}

#search_new #header_top_container {
  width: 975px;
}

#header_bottom_container {
  width: 1020px;
  height: 140px;
  background: transparent url('/images/bkg_coupons_base_small.png') no-repeat bottom right;
  margin: 51px auto 10px;
  position: relative;
  z-index: 2;
}

#search_new #header_bottom_container {
  width: 975px;
  height: 255px;
  background: transparent url('/images/bkg_coupons_base.png') no-repeat bottom center;
  margin: 50px auto;
  position: relative;
  z-index: 2;
}

#coupons_top {
  position: absolute;
  z-index: 200;
  bottom: 0px;
  left: 340px;
}

#search_new #coupons_top {
  bottom: 0px;
  left: -10px;
}

#home_header_text {
  position: absolute;
  top: 10px;
  left: 0px;
  width: 33%;
  height: 184px;
  color: #fff;
  z-index: 100;
}

#piggy {
  position: absolute;
  bottom: -20px;
  right: 30px;
  z-index: 300;
}

#search_new #piggy {
  position: absolute;
  bottom: -50px;
  right: -20px;
  z-index: 300;
}

#home_header_text h4 {
  font-size: 18px;
  font-weight: bold;
}

#home_header_text p {
  font-size: 16px;
}

#canvas {
	background-color: white;
	margin: 0 auto;
	width: 942px;
	position: relative;
	border-top: 1px solid #d3d3d3;	
  z-index: 1;
}

#search_new #canvas {
  width: 975px;
  border-top: none;
}

#home_tabs {
  background: transparent url('/images/home_tabs_1.png') no-repeat bottom left;
  height: 240px;
  position: relative;
  width: 975px;
}

#home_tabs.tab_set_2 {
  background-image: url('/images/home_tabs_2.png');
}

#home_tabs.tab_set_3 {
  background-image: url('/images/home_tabs_3.png');
}

#home_tabs.tab_set_4 {
  background-image: url('/images/home_tabs_4.png');
}

#home_tabs.tab_set_5 {
  background-image: url('/images/home_tabs_5.png');
}

#home_tabs.tab_set_6 {
  background-image: url('/images/home_tabs_6.png');
}

#home_tab_content {
  margin-left: 320px;
}

#home_tabs h3 {
  font-size: 14px;
}

#home_secondary_nav {
  position: absolute;
  bottom: 30px;
  left: 15px;
  font-size: 12px;
  font-weight: bold;
  color: #436273;
}
#home_secondary_nav li.active {
  color: #000;
}

#home_secondary_nav li a {
  color: #436273;
  text-decoration: none;
}

#home_secondary_nav li a:hover {
  text-decoration: underline;
}


#home_secondary_nav li {
  float: left;
  width: 147px;
  text-align: center;
  padding: 0 4px;
  border: 1px solid transparent;
}

ul.coupon_template_listing {
  float:left;
  margin-right: 15px;
}

li.coupon_list_item {
  font-size: 11px;
}

#faux_ads { text-align: center;}

table.results {
  width: 460px;
  margin-right: 20px;
  border: 0px;
  padding: 0;
  margin: 0;
  font-size: 10px;
  background-color: #fff;
}

table.results th {
  background-color: #e0e2e9;
  font-weight: bold;
  text-align: left;
  padding: 10px;
  text-transform: uppercase;
}

table th.text_right, table td.text_right { text-align: right;}

tr.results_subhead, table.results th a {
  color: #8a8a8a;
  background-color: #f3f3f3;
}

table.results tr.results_subhead td {
  border-bottom: 1px solid #fff;
}

table.results tr td{
  padding: 5px 10px;
  vertical-align: top;
}

table.results tr.odd td {
  border-top: 1px solid #f3f3f3;
  border-bottom: 1px solid #f3f3f3;
}

table.results tr.even td{
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  background-color: #f3f3f3;
}

table.results tr td.actions_1 { width: 15px; padding-right: 0;}

p.name { font-size: 14px; font-weight: bold;}
p.tight { margin-top: -10px;}


span.pinpoint {
  padding: 1px 3px;
  background-color: #fefe00;
  border: 1px solid #000;
  font-weight: normal;
}

#content {
   display: inline; /* IE6 double margin float bug hack */
   float: left;
   width: 565px;
}

.no_side_bar #content{
	width: 600px;
	display: block;
	float: none;
	margin: 0 auto;
	padding: 0.5em 1em;
}
.no_side_bar #sidebar {
	display: none;
}

#sidebar{
   display: inline; /* IE6 double margin float bug hack */
   width: 280px;
   float: right;
   margin: 0;
}

#footer {
	clear: both;
	font-size: 9px;
	color: #778998;
	background: #001e38 url('/images/bkg_foot.png') repeat-x top left;
	position: relative;
	min-height:52px;
}

#footer #footer_container {
  width: 975px;
  margin: 0 auto;
}

#footer a {
  color: #778998;
  text-decoration: none;
}

#footer a:hover {
  color: #fff;
  text-decoration: underline;
}

#footer div {
  margin: 30px;
}

#powered_by {
  clear: both;
  text-align: center;
  font-size: 9px;
  font-style: italic;
  margin: 1em 0 2em;
}
#powered_by a {
  color: #778998;
  text-decoration: none;
}

#main_nav {
	margin: 0.5em 0.5em 0 0;
	float: right;
	font-size: 9pt;
}

#flash_msg {
	color: #696B64;
}

#canvas h3, #canvas h4 {
	margin: 0.5em 0 0.5em 0;
}

#canvas p, #canvas input {
	margin-bottom: 1em;
}

#app_menu {
	margin: 0 0 1em;
	padding: 0 0 0.5em;
	float: right;
}

#page_menu {
	margin-top: 2em;
	font-size: 0.8em;
}

#page_menu.tabs a {
  border: 1px solid #ddd;
  padding: 10px 10px 0 10px;
  font-size: 12px;
  color: #fefefe;
  background-color: #ddd;
  text-decoration: none;
  margin-right: 2px;
}

#page_menu.tabs a.active {
  color: #000;
  background-color: #fff;  
  font-weight: bold;
  border-bottom: none;
  z-index: 100;
  padding-bottom: 1px;
}

#items {
}

#items th {
	padding-bottom: 0.5em;
}
#items td {
	vertical-align: top;
}

.item_menu {
	margin-top: 4px;
	visibility: hidden
}

a.add_item {
	font-size: 0.75em;
}

div.map_with_logo {
  padding: 10px;
  border: 1px solid #d3d3d3;
  width: 222px;
}

div.map_with_logo.big { width: 435px;}

div.third_span {
  width: 280px;
  float: left;
  vertical-align: top;
  margin-right: 20px;
}

div.two_thirds_span {
  width: 590px;
  float: left;
  vertical-align: top;
  margin-right: 20px;
}

div.half_span {
  width: 419px;
  float: left;
  vertical-align: top;
  margin-right: 20px;
}

div.half_span.large {
  width: 440px;
}

div.text_right {
  text-align: right;
}

div.middle, div.middle img{
  vertical-align: middle;
}

div#business_details, #print_details, #browse_details {
  padding: 20px 20px 0px 20px;
  border-top: 1px solid #d3d3d3;
  border-left: 1px solid #d3d3d3;
  border-right: 1px solid #d3d3d3;
  width: 898px;
}

#print_details {
  padding-bottom: 35px;
}

div.account_description {
  padding: 10px 0 10px;
  font-size: 12px;
}

div.business_logo {
  margin: 10px auto;
  text-align: center;
}

#business_details h3, #browse_details h3, h3.caps {
  font-size: 14px;
  margin: 0;
  text-transform: uppercase;
}

#canvas h3.caps {
  border-bottom: 1px solid #d3d3d3;
  margin-bottom: 10px;
}

#business_details p, #browse_details p {
  border-top: 1px solid #d3d3d3;
  margin: 5px 0;
}

#business_details div.adr {
  text-transform: uppercase;
}


#business_details {
  font-size: 12px;
}

div#mini_coupons_container, div#text_container {
  background: transparent url('/images/bkg_mini_coupons.png') no-repeat bottom right;
  width: 940px;
  padding-bottom: 40px;
}

div#mini_coupons_top, div#text_container_top {
  width: 938px;
  border-right: 1px solid #d3d3d3;
  border-left: 1px solid #d3d3d3;
}

div#text_container_top {
  border-top: 1px solid #d3d3d3;
  padding-top: 18px;
}

div#text_container_inner {
  padding: 0 20px;
  font-size: 12px;
}

div#text_container_inner ul {
  margin: 0 12px 12px 12px;
}
div#text_container_inner li {
  list-style: disc inside;
}

div#mini_coupons {
  width: 898px;
  margin: 0 auto;
  border-top: 1px solid #d3d3d3;
  padding-top: 20px;
}

#categories_show #mini_coupons {
  border-top: none;
  padding-top: 3px;
}

div#mini_coupons.half {
  width: 440px;
  border: none;
  padding-top: 0;
  padding-left: 20px;
}

div.coupon_container.small {
  float:left;
  width: 200px;
  background: #fff;
  border: 2px solid #dee1eb;
  min-height: 200px;
  margin: 0 20px 20px 0;
}

div.coupon_container.small.first {
  clear: left;
}

#mini_coupons.half div.coupon_container.small {
  margin: 0 10px 20px 0;
}

div.coupon { 
  border: 3px dashed #000;
  margin: 10px;
  padding: 10px;
  background: #fff;
}

div.coupon.large, div.coupon_buttons, #map.coupon_map {
  width: 640px;
  margin: 0 auto;
}

div.coupon.large.space_out {
  margin-bottom: 60px;
}

div.coupon.large {
  position:relative;
}

div.coupon_info { margin: 0 20px;}

div.mini_coupon_item, td.coupon_info {
  text-align: center;
}

#canvas p.coupon_offer, #canvas p.coupon_business_name, #canvas p.coupon_name, #MB_content p.coupon_offer, #MB_content p.coupon_business_name, #MB_content p.coupon_name { 
  font: normal small-caps bold 24px/28px Palatino Times serif;
  margin: 0;
  padding: 0;
}
#canvas p.coupon_offer, #MB_content p.coupon_offer { font-size: 18px; line-height: 18px; font-weight: normal; font-variant: normal; }
#canvas p.coupon_name, #MB_content p.coupon_name {font-weight: normal; font-size: 26px; color:#2697D7; margin: 14px 0 10px 0;}

#canvas p.coupon_limit, #canvas p.coupon_expiration, #MB_content p.coupon_limit, #MB_content p.coupon_expiration {
  font-size: 9px;
  line-height: 9px;
  margin: 0;
  padding: 0;
}

div.mini_coupon_buttons, div.coupon_buttons {
  background-color:#dbdfed;
  padding: 7px 12px;
}

div.mini_coupon_multi_print {
  background-color: #000;
  color: #fff;
  padding: 5px 3px 0px 5px;
}

div.coupon_buttons {
  background-color:transparent;
}

div.coupon_click_area {
  cursor:pointer;
}

table.single_coupon td {
  vertical-align: top;
  padding: 7px;
}

td.coupon_logo, td.standard_logo, td.clip_art {
  width: 180px;
  background-color: #fff;
}

td.clip_art {
  text-align:right;
}

td.coupon_info {
  width: 280px;
  background-color: #fff;
}

.coupon_action {
  font-size: 11px;
  font-weight: bold;
}

div.coupon_action {
  float: left;
  margin-right: 10px;  
}

div.coupon_action.print { float:none; font-weight: normal;}

a.coupon_location_link {
  font-size: 12px;
  line-height: 12px;
  text-transform: uppercase;
  margin: 0 0 0 0;
}

.coupon_action a, a.coupon_location_link {
  color: #000;
}

div.coupon_action a:hover, a.coupon_location_link:hover, #canvas p.coupon_available_locations:hover {
  color: #2697d7;
}

#canvas p.coupon_available_locations {
  font-size: 11px;
  cursor: pointer;
  margin: 0;
  text-align:center;
  text-decoration: underline;
  color: #004782;
}

li.coupon_business_location {
  margin-bottom: 3px;
  padding: 2px 4px;
}

li.coupon_business_location.odd, tr.coupon_action_row.odd td {
  background-color: #eaeefd;
  
}
li.coupon_business_location.even, tr.coupon_action_row.odd td {
  background-color: #fefefe;
}


div.last {
  margin-right: 0;
}

div.dot {
  height: 1px;
  width: 1px;
}

/* google map */

#map {
	width: 258px; 
	height: 180px;
	background-color: #d8d9d9;
	border: 10px solid #e3e4e7;
}

#map.thin {
  width: 220px;
  height: 180px;
  border: 1px solid #e3e4e7;
  background-color: #d8d9d9;
  margin: 0 auto;
}

#map.big {
  width: 433px;
  height: 300px;
  border: 1px solid #e3e4e7;
  background-color: #d8d9d9;
  margin: 0 auto;
}

#map.search_map {
  float: right;
  width: 440px;
  height: 300px;  
}

#mapbox p {
	padding: 0 10px;
}
#mapbox h4 {
	margin-bottom: 0.5em;
}
#mapbox .geo {
	text-align: center;
	font-size: 0.6em;
	margin-bottom: 8px;
}

.right {
  float:right;
}
.left { float:left;}

table.data {
  border: 1px solid #ddd;
  padding:3px;
  background: #fff;
  font-size: 12px;
}
table.data th {
  background-color: #000;
  color: #fff;
  padding: 5px;
}
table.data th.actions_2 {
  width: 52px;
}
table.data th.actions_4 {
  width: 92px;
}
table.data tr.even {
  background-color: #eee;
}
table.data td {
  padding: 0 10px;
}

table.data tr.no_coupons a, table.data tr.no_coupons td { color: #838383;}
table.data tr.no_active a, table.data tr.no_active td { color: red;}
table.data tr.expiring a, table.data tr.expiring td { color: #ecc304;}

#user_info .postal-code, #user_info .address_line2, #edit_user_info .address_line2 {
	display: none;
}



/* full clearfix */
* html .clearfix {
	height: 1%; /* IE5-6 */
}
*:first-child + html .clearfix {
	display: inline-block; /* IE7not8 */
}
.clearfix:after { /* FF, O, etc. */
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

#flashnotice, #flasherrors	{
	position:fixed;
	bottom:0px;
	height: 100px;
	color: #fff;
	background-color:#00bcf3;
	border-top: 2px solid #000;
	width:100%;
	text-align:center;
	font-weight:bold;
	font-size:1.4em;
	z-index:1000;
	padding: 14px 0;
}

#flasherrors	{
	background-color:#002545;
}

li.thumbs img {padding: 3px;}
li.active img { border: 2px solid red;}

li.thumbs {float:left; margin-right: 16px;}

.clear_fix {
  clear:both;
}

a.selected { font-weight: bold;}

#schedule {
    font-size: 12px;
}
#schedule input, #schedule select {
    font-size: 10px;
}
#schedule input {
    text-align: right;
}
.omit_schedule, .all_hours {
	font-size: 12px;
}
.schedule_day {
    padding: 4px 2px 2px;
    border-bottom: 1px solid #ddd;
    overflow: auto;
}
.schedule_day select {
    width: 4em;
}
.schedule_day label {
	float: left;
	width: 40px;
}
.schedule_day .hours, .schedule_day .day_closed {
    float: left;
    width: 230px;
}
.schedule_day .hours input {
    width: 35px;
}
.schedule_day .hours select {
    width: 50px;
}
.schedule_day .day_closed {
    text-align: center;
    font-style: italic;
}
.schedule_day .closed {
    margin-left: 12px;
}

#canvas p.no_bottom {margin-bottom: 3px;}

#canvas p#breadcrumbs {
  padding: 6px 0 12px 0;
}

#categories h3 {
  border-bottom: 1px solid #d3d3d3;
  margin-bottom: 6px;
}

#categories li {
  float:left;
  margin-right: 18px;
}

table.available_locations {
  width: 100%;
  border: 1px solid #d3d3d3;
}
table.available_locations td {
  border-bottom: 1px solid #d3d3d3;
}

table.available_locations td.pad {
  padding: 4px;
}

.caps { text-transform: uppercase;}

.pad_left { padding-left: 18px;}

span.header_option img {
  vertical-align: baseline;
  margin-bottom: -6px;
}

p.home_text { font-size: 12px; width: 595px;}

#clipped_coupons_table tr {
  vertical-align: top;
}

div.large_coupon_group {
  page-break-after: always;
}

div.large_coupon_group.last {
  page-break-after: auto;
}

div.print_only, p.print_only {display:none;}

.center {text-align:center;}

#canvas p.bump_below { margin-bottom: 40px;}

td.print_logo {
  vertical-align: bottom;
}

td.print_logo img {
  position: absolute;
  right: 0px;
  bottom: 0px;
}

div.form_help {
  border: 1px solid #ccc;
  background-color: #eee;
  padding: 10px;
  margin-bottom: 12px;
}

div.form_help ul { margin-bottom: 12px;}

div.form_help li { font-size: 11px; font-weight: bold;}

div.form_help p { font-size: 11px;}

div#policy ol, div#policy ul {
	margin: 1em 0 1em 2em ;
}
div#policy ol li, div#policy ul li {
	list-style-position: outside;
	margin: 5px 0;	
}
div#policy ol.lower-alpha li { 
	list-style-type: lower-alpha;
}

.helpful {
  font-size: 80%;
  color: #4d545f;
  margin-top: -6px;
  font-variant: small-caps;
}

div.side_box {
  margin-bottom: 20px;
}

.auto_complete {
	z-index: 1000;
}

.clear {
  clear:both;
}

ul.ads.horizontal {margin: 0 auto; display: block;}
ul.ads.horizontal li {
  float: left;
}

div#ad_block, #home_expiring_coupons {
 margin-left: 20px; 
}

#admin_menu {
  float: right;
  margin: 0 0 20px 20px;
  font-size: 11px;
  padding: 10px;
  border: 1px solid #dddddd;
  background: #eee;
  -moz-border-radius-topright: 5px;
  -webkit-border-top-right-radius: 5px;
  -moz-border-radius-bottompright: 5px;
  -webkit-border-bottom-right-radius: 5px;
}

#admin_menu li, #text_container_inner #admin_menu li { margin-bottom: 5px; list-style-type:none;}

#admin_menu h4, .admin_form h2 { 
  background: #dddddd;
  padding: 5px;
  margin: -10px -10px 10px -10px;
  -moz-border-radius-topright: 5px;
  -webkit-border-top-right-radius: 5px;
}

.admin_form h2 {
  margin: -10px -20px 10px -20px;
}

div.admin_form {
  background: #efefef;
  padding: 10px 20px;
  margin: 0 10px 20px 0px;
  -moz-border-radius-topright: 5px;
  -webkit-border-top-right-radius: 5px;
  -moz-border-radius-bottomleft: 5px;
  -webkit-border-bottom-left-radius: 5px;
  border: 1px solid #dddddd;
}
.admin_form h2 {
  font-size: 1.25em;
}

.admin_form h3 {
  font-size: 1em;
}

p.special_instructions {
  font-weight: bold;
  color: #2697d7;
}

p.action_link, a.action_link {
  font-size: 12px;
  margin-top: -10px;
  
}

div.schedule_day.odd { background: #fefefe;}
#schedule_hours { 
  padding: 5px; 
  border: 1px solid #ddd;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

#card { width: 585px;}

#admin_menu.wide {
  width: 280px;
}

#admin_menu.top {
  margin-top: 0px;
}

.admin_sub_form {
  background: #ddd;
  border: 1px dashed #fff;
  padding: 10px;
}

div.share {
  font-size: 12px;
}

div.share.inline {
  margin-left: 10px;
  display: inline;
  font-weight: normal;
}

div.fieldWithErrors {
  color: red;
  font-weight: bold;
}

div.fieldWithErrors input, div.fieldWithErrors select {
  border: 2px solid red;
}
