a:link,
a:visited,
a:hover,
a:active
{
  color: #002da7;
}

a:link,
a:visited
{
  text-decoration: none;
}

a:hover
{
  text-decoration: underline;
}

body
{
  background: #e8e8e8;
}

body, td, th, input, select
{
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #333;
}

#Head, #Foot, #Content
{
  text-align: left;
}

#Head
{
}

#Foot
{
}

#Page
{
  border: solid 1px #999;
  background: white;
  padding: 25px;
  padding-bottom: 15px;
  width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

#Head
{
  background: url(/images/zagat/navhead_bg.png) repeat-x;
  height: 76px;
  padding: 0;
  margin: 0;
}

#Head #HeadTop1
{
  background: url(/images/zagat/navhead_rt.png) no-repeat;
  float: right;
  width: 16px;
  height: 76px;
}

#Head #HeadTop2
{
  background: url(/images/zagat/navhead_lt.png) no-repeat;
  float: left;
  width: 16px;
  height: 76px;
}

#Head #HeadBottom
{
  height: 1px;
  overflow: hidden;
}

#Head #Logo
{
  display: block;
  background: url(/images/zagat/navhead_logo.gif) no-repeat;
  width: 245px;
  height: 28px;
  position: relative;
  left: 17px;
  top: 18px;
  margin-bottom: 20px;
}

#Head #DemoName
{
  display: none;
}

#Head ul#Actions
{
  margin: 0;
  padding: 0;
  position: relative;
  top: 8px;
}

#Head ul#Actions li
{
  list-style-type: none;
  background: url(/images/zagat/nav_tab_bg.png) repeat-x top;
  height: 20px;
  float: left;
  text-align: center;
  display: block;
  color: black;
  width: 100px;
  margin: 0;
  margin-right: 
  padding: 0;
  padding-top: 3px;
}

#Head ul#Actions li a:link, 
#Head ul#Actions li a:visited,
#Head ul#Actions li a:hover,
#Head ul#Actions li a:active
{
  font-size: 11x;
  font-weight: normal;
  color: black;
  text-decoration: none;
}

#Head ul#Actions li .actionItemTop1
{
  background: url(/images/zagat/nav_tab_rt.png) no-repeat top;
  float: right;
  width: 3px;
  height: 20px;
  margin: 0;
  position: relative;
  top: -3px;
}

#Head ul#Actions li .actionItemTop2
{
  background: url(/images/zagat/nav_tab_lt.png) no-repeat top;
  float: left;
  width: 5px;
  height: 20px;
  margin: 0;
  position: relative;
  top: -3px;
}

#Head ul#Actions li.current.last .actionItemTop1
{
  background: url(/images/zagat/nav_tab_rtl_a.png) no-repeat top;
  float: right;
  width: 5px;
  height: 20px;
  margin: 0;
  position: relative;
  top: -3px;
}

#Head ul#Actions li.last .actionItemTop1
{
  background: url(/images/zagat/nav_tab_rtl.png) no-repeat top;
  float: right;
  width: 5px;
  height: 20px;
  margin: 0;
  position: relative;
  top: -3px;
}
    
#Head ul#Actions li.current
{
  background: url(/images/zagat/nav_tab_bg_a.png) repeat-x top;
  border-bottom: white;
}

#Head ul#Actions li.current .actionItemTop1
{
  background: url(/images/zagat/nav_tab_rt_a.png) no-repeat top;
  float: right;
  width: 3px;
  height: 20px;
  margin: 0;
  position: relative;
  top: -3px;
}

#Head ul#Actions li.current .actionItemTop2
{
  background: url(/images/zagat/nav_tab_lt_a.png) no-repeat top;
  float: left;
  width: 5px;
  height: 20px;
  margin: 0;
  position: relative;
  top: -3px;
}


#JumboLogoContainer
{
  display: none;
}

#SearchFormContainer
{
  clear: both;
  margin: 0;
}

#SearchModeTabContainer
{
  margin-top: 10px;
  padding: 0;
}

#SearchModeTabContainer #SearchModeTabsTop
{
  background: url(/images/zagat/loc_empty_top_bg.png) repeat-x top;
  height: 10px;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

#SearchModeTabContainer #SearchModeTabsTop1
{
  background: url(/images/zagat/loc_empty_angle_tr.png) no-repeat top right;
  width: 8px;
  height: 10px;
  float: right;
  padding: 0;
  margin: 0;
}

#SearchModeTabContainer #SearchModeTabsTop2
{
  background: url(/images/zagat/loc_empty_angle_tl.png) no-repeat top left;
  width: 8px;
  height: 10px;
  padding: 0;
  margin: 0;
  float: left;
}

#SearchModeTabContainer #SearchModeTabsMiddle
{
  background: url(/images/zagat/loc_right_bg.gif) repeat-y right;
}

#SearchModeTabContainer #SearchModeTabsBottom
{
  clear: both;
}  

ul#SearchModeTabs
{
  margin: 0;
  padding: 0;
  display: block;
  background: url(/images/zagat/loc_left_bg.gif) repeat-y left;
  height: 15px;
}

#FrontPage ul#SearchModeTabs
{
  padding: 0 10px;
  padding-bottom: 10px;
}  

#SearchPanel ul#SearchModeTabs
{
  padding: 0 4px;
  padding-bottom: 10px;
}  

ul#SearchModeTabs li,
ul#SearchModeTabs li#DrillDownTab,
ul#SearchModeTabs li#SearchTab
{
  display: block;
  list-style: none;
  border: none;
  padding: 0;
  margin: 0 4px;
  float: left;
  text-align: center;
  text-decoration: none;
  width: auto;
  height: auto;
  background: none;
  -moz-border-radius-topright: 0;
  -moz-border-radius-topleft: 0;
}

ul#SearchModeTabs li#SearchTab
{
  border-left: solid 1px #aaa;
  padding-left: 8px;
}

ul#SearchModeTabs li a:link,
ul#SearchModeTabs li a:hover,
ul#SearchModeTabs li a:visited,
ul#SearchModeTabs li a:active,
ul#SearchModeTabs li#DrillDownTab a:link,
ul#SearchModeTabs li#DrillDownTab a:hover,
ul#SearchModeTabs li#DrillDownTab a:visited,
ul#SearchModeTabs li#DrillDownTab a:active,
ul#SearchModeTabs li#SearchTab a:link,
ul#SearchModeTabs li#SearchTab a:hover,
ul#SearchModeTabs li#SearchTab a:visited,
ul#SearchModeTabs li#SearchTab a:active,
ul#SearchModeTabs li.current a:link,
ul#SearchModeTabs li.current a:hover
{
  display: block;
  font-size: 14px;
  text-decoration: none;
  color: #002da7;
  font-weight: bold;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  width: auto;
  height: auto;
}  

ul#SearchModeTabs li#DrillDownTab a:hover,
ul#SearchModeTabs li#DrillDownTab a:active,
ul#SearchModeTabs li#SearchTab a:hover,
ul#SearchModeTabs li#SearchTab a:active
{
  text-decoration: underline;
}

ul#SearchModeTabs li.current#DrillDownTab a,
ul#SearchModeTabs li.current#SearchTab a
{
  text-decoration: none;
  color: black;
}

#FrontPage #DrillDownFormContainer,
#SearchPanel #DrillDownFormContainer
{
  clear: both;
  margin: 0;
  padding: 0;
  border: none;
  background: url(/images/zagat/loc_left_bg.gif) repeat-y left;
}

#FrontPage #DrillDownFormContainer
{
  width: 100%;
}

#DrillDownFormContainerTop
{
}

#DrillDownFormContainerMiddle
{
  background: url(/images/zagat/loc_right_bg.gif) repeat-y right;
}

#DrillDownFormContainerBottom
{
  clear: both;
  background: url(/images/zagat/loc_bottom_bg.gif) repeat-x bottom;
  height: 39px;
}

#DrillDownFormContainerBottom1
{
  background: url(/images/zagat/loc_angle_br.png) no-repeat bottom right;
  width: 10px;
  height: 39px;
  float: right;
}

#DrillDownFormContainerBottom2
{
  background: url(/images/zagat/loc_angle_bl.gif) no-repeat bottom left;
  width: 10px;
  height: 39px;
  float: left;
}

#DrillDownForm .drill_down_more_box
{
  background: #f3f3f3;
}

#DrillDownForm .search_field_title
{
  font-size: 14px;
  color: black;
}

#SearchPanel #DrillDownForm
{
  border: none;
}

#SearchPanel #DrillDownForm .search_field_title
{
  background: none;
}

.drill_down_count
{
  font-size: 11px;
  color: #999;
}

/* Disabled as converting all buttons to Zagat-style buttons probably
  takes too effort right now */
#DISABLED #FrontPageSearchButton input
{
  width: 86px;
  height: 17px;
  padding: 17px 0 0;
  margin: 0;
  border: 0;  
  background: url(/images/zagat/btn_view_results.gif) no-repeat center top;
  /* Trick to replace button */
  text-indent: -1000em;
  cursor: pointer; /* hand-shaped cursor */
  cursor: hand; /* for IE 5.x */  
}

#FrontPage #SearchFormContainer
{
  clear: both;
  width: 100%;
}

#FrontPage #SearchFormContainer,
#SearchPanel #SearchFormContainer
{
  margin: 0;
  padding: 0;
  border: none;
  background: url(/images/zagat/loc_left_bg.gif) repeat-y left;
}

#SearchFormContainerMiddle
{
  background: url(/images/zagat/loc_right_bg.gif) repeat-y right;
}

#SearchFormContainerBottom
{
  clear: both;
  background: url(/images/zagat/loc_bottom_bg.gif) repeat-x bottom;
  height: 39px;
}

#SearchFormContainerBottom1
{
  background: url(/images/zagat/loc_angle_br.png) no-repeat bottom right;
  width: 10px;
  height: 39px;
  float: right;
}

#SearchFormContainerBottom2
{
  background: url(/images/zagat/loc_angle_bl.gif) no-repeat bottom left;
  width: 10px;
  height: 39px;
  float: left;
}

#FrontPage #SearchForm .search_field_title,
#SearchForm .search_field_title
{
  font-size: 14px;
  color: black;
  background: none;
}

#SearchPanel #SearchForm
{
  background: none;
}

#SearchPanel #SearchForm .search_field_title
{
  background: none;
}

#SearchForm .search_field_value
{
  font-size: 12px;
}

#SearchPanel #SearchForm
{
  padding: 10px;
}

#SearchPanel #SearchForm #SearchButtons
{
  background: none;
}

#SearchForm table.search_field_value_ranged td,
#SearchForm table.search_field_value_ranged th
{
  font-size: 11px;
}  

#SearchPanel,
#SearchPanel #DrillDownFormContainer,
#SearchPanel #SearchFormContainer
{
}

.searchResults table
{
  border-spacing: 0;
}

.searchResults th
{
  font-weight: bold;
  vertical-align: bottom;
  text-align: left;
  background: none;
  color: #666;
  border: none;
  border-bottom: solid 1px #888;
}

.detail
{
  width: auto;
  clear: none;
  margin: 10px 0;
}

.detail #ItemDetails h2,
.detail #ItemProperties h2,
.detail #SimilarMap h2
{
  color: black;
  border-bottom: solid 1px #aaa;
  font-size: 16px;
  margin-top: 6px;
  margin-bottom: 4px;
  padding-bottom: 3px;
}

.detail #ItemProperties
{
  width: 180px;
  margin: 0;
  padding: 0;
  float: left;
  clear: none;
}

.detail #ItemProperties h2
{
  margin-bottom: 10px;
}

.detail #ItemProperties dl
{
  padding: 0;
  margin: 0;
  width: auto;
}

.detail #ItemProperties dl dt
{
  color: black;
  font-size: 14px;
  font-weight: bold;
  padding: 0;
  margin: 0;
}

.detail #ItemProperties dl dd
{
  font-size: 14px;
  font-weight: normal;
  padding: 0;
  margin: 0;
  margin-bottom: 6px;
}

.detail #ItemText
{
  padding: 0;
  margin: 0;
  margin-left: 15px;
  clear: none;
  float: left;
  display: block;
  width: 570px;
}

.detail #ItemText p
{
  padding: 0;
  margin: 0;
  clear: none;
  width: auto;
  overflow: visible;
  font-size: 14px;
  min-width: auto;
}

.detail #ItemVitals
{
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  margin-bottom: 8px;
  -moz-border-radius: 0;
  float: none;
}

.detail #ItemVitals #iv_main
{
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: bold;
  float: none;
}

.detail #ItemDetails
{
}

#ItemDetails #ItemAddress
{
  font-size: 14px;
  margin: 0;
  margin-bottom: 15px;
  line-height: 150%;
  width: 180px;
  float: left;
}

.detail #SimilarMap
{
  margin: 0;
  margin-left: 15px;
  background: none;
  border: solid 1px #ccc;
  padding: 10px;
  -moz-border-radius: 8px;
  width: 550px;
  float: left;
  clear: none;
}

.detail #SimilarMap h2
{
  border: none;
  color: #ff6600;
}

.detail #SimilarMap ol#SimilarItems
{
  width: 150px;
}

.searchResults tr.no_more_exact td,
.searchResults tr.similar_row_message td
{
  border: none;
  color: #333;
  font-weight: bold;
}
