/*** Resets ***/
* { 
  margin: 0;
  padding: 0;
}

html { 
  margin-bottom: 1px;
  height: 100%;
  min-height: 100%;
}

body {
	font: normal 12px "Lucida Grande", "Lucida Sans", Arial, Helvetica, sans-serif;
	color: #595644;
	text-align: center;
	height: 100%;
	background-color: #f6f6f6;
}


/*** Miscellany ***/

.clear {
	clear: both;
}

.column {
	padding-right: 20px;
	float: left;
}	

ul.star li {
	list-style-image: url("/images/fmstar.png");
	text-indent: 0;
	margin: 5px 0px 10px 28px;
}

#mterms {
	font-size: 85%;
}


/*** Sitewide ***/

img { padding: 0px; margin: 0px; }

a img {
	border: 0px;
}

a:link { color: #1e5f7f; }
a:hover { color: #2b799e; }
a:visited { color: #1e5f7f; }

p {
	margin: 0em 1em .75em 0em;
}

h1, h2, h3 {
	font-family: "Helvetica Neue", helvetica, arial, sans-serif;
	font-weight: bold;
}
	
h2 {
	color: #333;
	font-size: 180%;
	line-height: 1.5em;
	letter-spacing: -.03em;
}

h3 {
	color: #295577;
	font-size: 150%;
	line-height: 1.5em;
}

hr {
	border: 0;
	color: #eee;
	background-color: #eee;
	height: 1px;
	margin: 15px 0px;
}

div.hr {
	height: 1px;
	margin: 5px 0px 12px 0px;
	border-bottom: 1px dotted #ccc;
}

em {
	color: #999;
	font-size: 95%;
	font-weight: normal;
	font-style: normal;
}

ol.indent, li.indent {
	text-indent: 5px;
	margin-left: 20px;
}

ul li {
	text-indent: 5px;
	list-style: none;
}


/*** Form ***/

input[type="text"], input[type="password"], select, textarea {
	margin: 0px 0px 4px 0px;
	padding: 3px;
	font: normal 1.1em "Lucida Grande", Arial, Helvetica, sans-serif;
	color: #5b4e45 !important;
	background-color: #fff !important;
	background: #fff url('/images/input-bg.gif') repeat-x top;
	border: 1px solid #bbb;
}

input[type="submit"] {
	font: normal 110% "Lucida Grande", Arial, Helvetica, sans-serif;
	background-color: #e5e3c6;
	color: #755d45;
	border-color: #e1dcc7 #d8d6b3 #d0c8a0 #e1dcc7;
	border-style: solid;
	border-width: 1px;
	cursor: pointer;
	
	padding: 4px 16px;
	margin: 4px 0px 4px 0px;
	text-decoration: none;
	vertical-align:2px;
}

span.fieldinfo {
  color: #887766;
}

span.micro_error {
	color: #DD0000;
	font-size: 0.8em;
}

label {
	display: block;
	color: #876;
}


/*** Message Block ***/

#message_bar {
	
}

.flashnotice, .flashconfirm, .flashwarning, .flasherror {
	color: #A93512;
}

.flashcontainer ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.flashcontainer ul.active_record_errors {
	/* Can declare styles specific to ActiveRecord validation errors here */
}


/*** Form Block Pattern ***/

table.formblock {
	display: table;
	border-collapse: separate;
	border-spacing: 2px 2px;
	width: 100%;
	margin-bottom: 6px;
}

table.formblock tr.separator {
	height: 10px;
}

table.formblock tr {
	padding: 0;
	margin: 0;
}

table.formblock tr td {
	padding: 0px;
	margin: 0;
	vertical-align: top;
}

table.formblock tr td.label {
	width: 160px;
}

table.formblock tr td.value {

}

table.formblock tr td.longlabel {
	width: 100%;
}

table.formblock tr td.longvalue {
	width: 100%;
}

table.formblock caption {
	text-align: left;
	font-family: "Times New Roman", Times, serif;
	font-size: 12px;
	font-style: italic;
	color: #333333;
	padding-bottom: 4px;
}



/*** Page Structure ***/

#page {
	/* style for full page-width span */
	position: relative;
	width: 100%;
	min-height: 100%;
	background: #f6f6f6 url('/images/page-bg-880.gif') repeat-y 50% 0;
}

* html #page {
	/* part of the full-page stretch implemenation */
	height: 100%;
}

#wrapper {
	/* sets playing field of fixed width */
	display: block;
	width: 820px;
	margin: 0px auto;
	padding-top: 0px;
	padding-right: 30px;
	padding-left: 30px;
	padding-bottom: 10em;
	background-color: #fff;
	text-align: left;
}

#wrapper.extended {
  width: 840px;
}

#wrapper.large {
  width: 900px;
}

#content {
	margin-bottom: 15px;
}

#header {
	position: relative;
	height: 65px;
}

#header #logo {
	float: left;
	width: 265px;
	height: 65px;
}

#header #sessioncmd {
	position: absolute;
	top: 2px;
	right: 18px;
	list-style: none;
	font-size: 80%;
	color: #888;
}

#header #sessioncmd a:link, #header #sessioncmd a:visited {
	color: #999;
	text-decoration: underline;
}

#header #sessioncmd a:hover {
	color: #ccc;
}

/* main header nav links (unordered list) */

ul#nav {
	position: absolute;
	bottom: 17px;
	right: 10px;
	list-style: none;
}

ul#nav li {
	font: bold 135% "Helvetica Neue", Helvetica, Arial, sans-serif;
	display: inline;
	margin-left: 3px;
}

ul#nav li#active a {
	color: #999;
	background-color: #f4f4f4;
}

ul#nav li a {
	color: #999;
	text-decoration: none;
	padding: 2px 9px 4px 10px;
}

ul#nav li a:hover {
	background-color: #ccc;
	color: #fff;
}


/*** Top Bar ***/

#top_bar {
	position: relative;
	height: 50px;
	text-align: left;
	background: #fff url("/images/searchbar-bg-middle.gif") repeat-x;
	line-height: 50px;
	padding-bottom: 10px;
}

#top_bar table#search_bar {
	height: 50px;
	border: 0px;
}

#top_bar table#search_bar tr td {
	vertical-align: middle;
}

#top_bar img, input#searchimg {
	position: relative;
	top: -2px;
	vertical-align: middle;
}

#top_bar .begin, #top_bar .end {
	height:50px; width: 5px;
}

#top_bar .begin {
	position: absolute;
	top: 0px; left: 0px;
	background: #fff url("/images/searchbar-bg-begin.gif") no-repeat;
}

#top_bar .end {
	position: absolute;
	top: 0px; right: 0px;
	background: #fff url("/images/searchbar-bg-end.gif") no-repeat;
}

#searchform {
	display: inline;
	vertical-align: middle;
}

input#searchtext, select#searchtype {
	margin: 0px;
	background: #fff !important;  /* important because of browser toolbars autofills */
	color: #666 !important;
	font: normal 13px Arial, Helvetica, sans-serif;
	border: 1px solid #ccc;
	vertical-align: middle;
	position: relative;
	top: -2px;
}

input#searchtext {
	width: 235px;
	padding: 2px;
}

select#searchtype {
	padding: 1px;
	vertical-align: middle;
}

select#searchtype option {
	border: none;
	vertical-align: middle;
}


/*** Footer ***/	

#footer {
	position: relative;
	clear: both;
	width: 100%;
	height: 10em;
	margin-top: -8.5em; /* part of full page strech implementation */
	font-size: 95%;
	background-color: #f6f6f6;
}

#footer_cell {
	/* sets playing field of fixed width -- identical to main wrapper above */
	margin: 0px auto;
	width: 820px;
	padding: 10px 30px 15px 30px;
	text-align: left;
	color: #888;
}

#footer_copyright {
	float: left;
	display: inline;
}

#footer_nav {
	float: right;
	display: inline;
}

#footer_nav .col {
	float: left;
	text-align: left;
	padding: 0px 20px;
}

#footer a:link, #footer a:visited {
	color: #aaa;
}

#footer a:hover {
  
}


/*** Summary ***/

.summary {
	position: relative;
	height: 150px;
}

/* .summary > * (but IE6 doesn't understand this notation) */
.summary .left, .summary .type, .summary .middle, .summary .right {
	float: left;
	display: inline;
}

.summary .left, .summary .type {
	margin-right: 8px;
}

.summary .type {
	width: 16px;
}

.summary .middle {
	width: 420px;
}

.summary .right {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 125px;
	text-align: right;	
}

.summary .phone, .summary .price {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #666;
}

.summary .business_name {
	font: normal 150% Arial, Helvetica, sans-serif;
	color: #333;
	float: left;
}
.summary .business_name a:link { color: #333; text-decoration: none; }
.summary .business_name a:hover { color: #333; text-decoration: none; }
.summary .business_name a:visited { color: #333; text-decoration: none; }

.summary .distance {
  color: #aaa;
  float: left;
  font-family: Arial,Helvetica,sans-serif;
  font-size: 90%;
  font-weight: normal;
  padding-left: 4px;
  vertical-align: middle;
}

.summary .web_links {
	font-size: 110%;
}

.summary .price  {
	font-size: 120%;
	font-weight: bold;
	color: #ddd;
}

.summary .price b {
	color: #666;
}

.summary .phone {
	font-size: 130%;
}

.summary .service_area {
	clear: left;
	font-size: 95%;
}

.summary .description, .summary .web_links {
  clear: left;
	margin-top: 8px;
}

.summary .button {
	margin-top: 4px;
}

.summary .location {
  clear: left;
	font-size: 110%;
	color: #876;
}


/*** Overview ***/

.overview .headshot {
	float: right;
	padding-left: 15px;
	padding-right: 6px;
	padding-bottom: 8px;
}

.overview .headshot .name {
	font-weight: bold;
	color: #333;
}

.photos img, .recommendations img {
	padding-right: 6px;
}


/*** Curved Box ***/

.curved_box {
	position: relative;
	margin-bottom: 8px;
	text-align: left;
	background-color: #f1f0e0;
	color: #755d45;
}

.curved_box span {
	background: url(/images/corner_top_right.png) top right no-repeat;
	display: block;
}

.curved_box span span {
	background: url(/images/corner_bottom_right.png) bottom right no-repeat;
}

.curved_box span span span {
	background: url(/images/corner_bottom_left.png) bottom left  no-repeat;
}

.curved_box span span span span {
	background: url(/images/corner_top_left.png) top left no-repeat;
	padding: 4px 12px;
}


/*** Bars & Boxes ***/

.page_bar, .section_label {
	font-weight: normal;
	font-size: 110%;
}

.section_label {
	padding: 4px 12px 2px 10px;
	color: #876;
	clear: left;
}

.page_bar {
	position: relative;
	padding: 4px 12px;
	margin-bottom: 6px;
	text-align: left;
	
	/*color: #829497;*/
	color: #687f92;
	background: url('/images/gradient-bar.gif') repeat-x;
	border-top: 1px solid #f4f4f4;
	border-bottom: 1px solid #e6e6e6;
}

.page_bar .left {
	position: absolute;
	top: 4px; left: 12px;
}

.page_bar .right {
	position: absolute;
	top: 4px; right: 10px;
}

.section_label a:link, .section_label a:visited {
	font-weight: normal;
	text-transform: lowercase;
	color: #aaa;
}

.status_bar {
	padding: 4px 12px;
	background-color: #f6f6f6;
	margin-bottom: 6px;
	height: 25px;
}

.status_message {
	padding: 5px;
}

.section_box {
  background: url("/images/left-top-corner-box.jpg") top left no-repeat;
	padding: 12px;
}

.tile_box {
	float: left;
	padding-right: 6px;
	width: 150px;
	height: 180px;
}

.tile_box .subtitle {
	font-size: 80%;
	width: 138px;
	background-color: #f4f4f4;
	padding: 2px 6px;
}

.tile_scrollbox {
	overflow-y: auto;
	width: 800px;
	height: 150px;
}

/*** Photo Sets ***/
.photo_strip { width: 800px; height: 168px; overflow-x: auto; }
.photo_strip ul { list-style: none; white-space: nowrap; display: table-row; }
.photo_strip ul li { display:table-cell; vertical-align: top; }
.photo_strip ul li img { padding-right: 10px; }

.photo_strip.small img { width: 100px; }

.photo_nav { width: 155px; padding: 10px; color: #829497; background-color:#f6f6f6; border-top: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; }
.photo_nav img { width: 75px; }
.photo_nav img.right { padding-left:5px; }


/*** Buttons ***/

a.button {
	background-color: #f5f5f5;
	background-position: 8px center;
	background-repeat: no-repeat;
	border-color: #eee rgb(222, 222, 222) rgb(191, 191, 191) rgb(238, 238, 238);
	border-style: solid;
	border-width: 1px;
	cursor: pointer;
	display: block;
	height: 1%;
	padding: 4px 0px 4px 32px;
	margin: 0px 0px 4px 0px;
	text-decoration: none;
}


/*** Admin Tabs ***/

.tabset {
	height: 26px; 
	border-bottom: 2px solid #666; 
	vertical-align: middle; 
	margin-bottom: 10px; 
	margin-top: 15px;
}

.tabset span {
	display: block;
	padding: 6px 15px;
	float: left;
}
.tabset span a:link { color: #666; }
.tabset span a:visited { color: #666; }
.tabset span a:hover { color: #666; }

.tabset span.selected {
	padding: 6px 20px; 
	color: #FFFFFF;
	background-color: #666;
}
.tabset span.selected a:link { color: #FFFFFF; }
.tabset span.selected a:visited { color: #FFFFFF; }
.tabset span.selected a:hover { color: #FFFFFF; }


/**
 * Page-Specific Styles
 * 
 */

/*** Home Page ***/

#shoutimg {
	float: left;
	width: 513px;
	height: 267px;
}

#shoutbox {
	background: #fff url("/images/home/shoutbox.png") no-repeat;
	width: 327px;
	height: 267px;
	float: left;
}

#homecategories {
	
}

#homeleft {
	clear: left;
	float: left;
	width: 513px;
	margin: 0 0 0 0;
}

#homeright {
	width: 294px;
	float: left;
	margin-left: 33px;
}

.picto {
	text-align: left;
	text-indent: -4800px;
	padding: 0;
	margin: 0;
}
	
#shoutcall {
	font-size: 14px;
	font-family: Arial, Verdana, "Lucida Sans", "Lucida Grande", Helvetica, sans-serif;
	position: relative;
	top: 190px;
	left: 32px;
}


/*** Browse Directories ***/

.areacolumn {
	width: 165px;
	float: left;
	margin: 0 5px 0 5px;
}

.areacolumn a.heading {
	color: #295577;
	font-family: "Helvetica Neue", Helvetica, Georgia, "Trebuchet MS", Arial, sans-serif;
	font-size: 140%;
	font-weight: bold;
	line-height: 150%;
}

.areacolumn a.heading:link, a.heading:visited {
	text-decoration: none;
}

.areacolumn a.heading:hover {
	text-decoration: underline;
}

.statescolumn {
  float: left;
  width: 35%;
}

.citiescolumn {
  float: left;
  width: 25%;
}



/*** Login Page ***/

#login_page .leftpane {
	border-right: 1px dotted #ccc;
	width: 350px;
	float: left;
}
	
#login_page .rightpane {
	width: 350px;
	padding-left: 20px;
	float: left;
}

#login_page #login_form input[type="text"] {
  width: 300px;
}

#login_page #login_form input[type="password"] {
  width: 300px;
}


/*** Join Page ***/

#subscription .overridden {
	text-decoration: line-through;
	color: gray;
}

#subscription .description {
	color: gray;
	font-size: 0.9em;
	font-weight: bold;
}

#subscription .details {
  
}



/*** Vendor ***/

#gallery .photo {
  margin: 10px;
  text-align: center;
}

#gallery .actions {
  padding-top: 5px;
	padding-bottom: 15px;
	text-align: center;
}

#gallery #gallery_upload_form {
  text-align: center;
}


#sidebar {
	float: right;
	display: block;
	width: 155px;
	padding: 4px 8px;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

#sidebar h2 {
	margin: 0 0 10px 0;
}
	
#sidebar .action {
	margin: 3px;
	font-size: 90%;
}
	
#sidebar .textbutton {
	width: 25px;
	padding: 2px 4px;
	margin-right: 5px;
	color: #000;
	background: #fff url("/images/filldot-bg.gif") repeat;
	font-size: 85%;
	text-align: center;
	white-space: nowrap;
	float: left;
}


/*** Blog ***/	

#blog .contents {
	margin: 1em 0 5em 0;
}

#blog cite, #blog cite a:link, #blog cite a:visited {
	display: inline;
	font-style: normal;
	font-family: arial, helvetica, sans-serif;
	color: #999;
	font-size: 115%;
}

#blog .date {
	color: #ccc;
	font-weight: normal;
}

#blog .comments-list {
	margin-bottom: 4em;
}

#blog .actions {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

#blog #blog_details_view {
	margin-bottom: 2em;
}

#blog #blog_details_edit {
	width: 65%;
	background-color: #EFEFEF;
	border: 1px solid #999;
	padding: 4px;
	margin-bottom: 2em;
}

#blog #blog_content_view {
	margin-bottom: 2em;
}

#blog #blog_content_edit {
	width: 100%;
	background-color: #EFEFEF;
	border: 1px solid #999;
	padding: 4px;
	margin-bottom: 2em;
}

#blog #blog_comments {
	margin-bottom: 2em;
}

#blog #blog_comments_form {
	width: 65%;
	background-color: #EFEFEF;
	border: 1px solid #999;
	padding: 4px;
	margin-bottom: 2em;
}


/* For bot production */
tr.other-url {
  display: none;
}


/*** Pagination ***/
.digg_pagination {
  background: white;
  margin-bottom: 5px;
  margin-top: 5px;
}

.digg_pagination a, .digg_pagination span {
  padding: .2em .5em;
  display: block;
  float: left;
  margin-right: 1px;
}
.digg_pagination span.disabled {
  color: #999;
  border: 1px solid #DDD;
}
.digg_pagination span.current {
  font-weight: bold;
  background: #aaa;
  color: white;
  border: 1px solid #999;
}
.digg_pagination a {
  text-decoration: none;
  color: #aaa;
  border: 1px solid #aaa;
}
.digg_pagination a:hover, .digg_pagination a:focus {
  color: #666;
  border-color: #666;
}
.digg_pagination .page_info {
  background: #2E6AB1;
  color: white;
  padding: .4em .6em;
  width: 22em;
  margin-bottom: .3em;
  text-align: center;
}
.digg_pagination .page_info b {
  color: #003;
  background: #6aa6ed;
  padding: .1em .25em;
}
.digg_pagination:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
* html .digg_pagination {
  height: 1%;
}
*:first-child+html .digg_pagination {
  overflow: hidden;
}


/*** Vendor Types Navigation ***/
.select-vendortype {
  color: #666;
  font-size: 1.1em;
}

.vendor-types {
  margin-bottom: 10px;
  font-size: 85%;
}

.vendor-types a {
  white-space: nowrap;
  color: #999;
  font-size: 1.1em;
}
.vendor-types span a:link { color: #666; }
.vendor-types span a:visited { color: #666; }
.vendor-types span a:hover { color: #666; }

#vendor-results-title {
  margin-bottom: 5px;
}