/* general and common settings for Front-End*/

td {
  margin: 0;
  padding: 0;
  font-size: 1.2em;
  color: #333;
}
input.submit {padding-left: 40px; padding-right: 40px; margin-top: 10px;}

/* main navigation */

ul#main_menu {list-style: none; margin: 0; padding: 0;}
ul#main_menu li {padding-right: 40px; font-size: 1.6em; display: inline;}

/* tab links */

.tab_on {padding: 0; margin: 0; font-weight: bold; font-size: 1.2em; color: #E00000; margin-bottom: 5px; text-decoration: none;}

.tab_off:hover {color: #E00000; text-decoration: none;}

.tab_off {padding: 0; margin: 0; font-weight: bold; font-size: 1.2em; color:#000; margin-bottom: 5px; text-decoration: none;}

/* search form settings (including advanced search) */

table#zip_search {margin-top: 1px; border: 1px solid #65810A; padding: 3px;}
table#zip_search tr th {font-weight: bold; padding: 1px; text-align: left;}
table#zip_search tr td {padding: 1px;}
table#zip_search tr td.small {font-size: 1.1em;}

/* ranked locations background color */ 

table.results tr.rank_bg {background-color: #FEFFCB;}

/* results list table settings */ 

table.results {border: none; margin: 0;}
table.results tr td {padding: 5px; text-align: left;}
table.results tr td.last {text-align: right; font-weight: normal;}
table.results tr td p {margin: 0;}
table.results tr td p a:link {font-weight: bold;}
table.results tr td p a:visited {font-weight: bold;}
table.results tr td p a:hover {font-weight: bold;}

/* page navigation settings */

div#page {padding-bottom: 3px;}
div#page table tr td {padding: 2px; font-size: 1.1em;}

/* info table in detailed results */

table.detailsinfo {border: none; margin: 0; float: left;}
table.detailsinfo tr td {padding: 5px; text-align: left;}
table.detailsinfo tr th {padding: 5px; text-align: right; font-weight: bold;}
table.detailsinfo tr td.last {text-align: right; font-weight: normal;}
table.detailsinfo tr td p a:link {font-weight: bold;}
table.detailsinfo tr td p a:visited {font-weight: bold;}
table.detailsinfo tr td p a:hover {font-weight: bold;}

/* email form table in detailed results */

table.emailform  {border: 1px solid #CC99CC; padding: 15px; margin-bottom: 20px;}
table.emailform tr th {text-align: right; padding: 5px 10px 5px 5px; font-weight: normal; vertical-align: top;}
table.emailform tr td {padding: 5px; text-align: left;}
table.emailform tr td input, table.emailform tr td textarea {border: 1px solid #ECB379; padding: 4px; color: #336699; font-size: .9em; font-family: Verdana, Tahoma, Helvetica, sans-serif;}
table.emailform div.caption {float: left; font-size: .6em;}
table.emailform div.caption img {vertical-align: middle;}
div#imagecodehelp {display: none; color: #666; font-size: .5em; width: 275px;clear: both; padding-top: 20px;}

/* user fields table in detailed results */

table.userfieldtable  {border: 1px solid #DDD; padding: 1px;}
table.userfieldtable tr th {text-align: left; padding-top: 10px; padding-bottom:10px; padding-right: 10px; padding-left: 20px; font-weight:bold; background-color:#EEE; border: 1px solid #DDD;}
table.userfieldtable tr td {padding-top: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 20px;}

/* rest */

div#main_content {padding: 10px;}
div#sub_navigation {margin: 10px auto; clear: both; text-align: center;}

div#sub_navigation div {margin-bottom: 5px; font-size: 1.1em; color: #333;}
div#sub_navigation div a:link {text-decoration: none;}

div#no_match_found {margin: 0; padding: 3px; font-size: 1.4em; font-weight: bold; color:#FF0000; font-family:Arial, sans-serif; background-color:#FFFFCC;}
div#no_zip_entered {margin: 0; padding: 3px; font-size: 1.4em; font-weight: bold; color: #FF0000; background-color: #FFFFCC;}

hr {width:100%; color: #dddddd; margin: 0px; padding: 0px;}
.message_fail {color:#FF0000; line-height: 160%;}
.message_sent {color:#0000FF; line-height: 160%; margin-top: 15px;}
