/* Generic Styles */

body,p,div,table,form
{
  padding: 0px;
  margin: 0px;
  font-family: Helvetica,Arial,sans-serif;
  font-weight: normal;
}

body
{
  font-size: 12px;
}

a
{
  text-decoration: none;
}

a.internal, a.internal:visited {
  color: #00F;
}

input[type=text]
{
  border: 1px solid #aac;
  padding: 2px;
}

.textlight
{
  color: #CCC;
}

.mono
{
  font-family: monospace;
}

#container
{
  margin-bottom: 0px;
  min-width: 710px;
}

/* Navigation */

#navbar
{
  padding: 2px 0px 2px 0px;
  margin: 0px;
  background-color: #333;
}

#navbar > div
{
  padding-left: 16px;
}

#navbar span
{
  margin-right: 16px;
}

#navbar span.feedback
{
  position: absolute;
  right: 0px;
}

#navbar span > a, #navbar span > a:visited
{
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: normal;
  color: #ccc;
  text-decoration: none;
}

/* Main */

#mainbody
{
  padding-left: 0px;
  position: relative;
}

/* Header & Search Form */

#mainbody > #title
{
  position: relative;
  padding-top: 16px;
  padding-bottom: 16px;
  background-color: #f5f5f5;
  border-bottom: 1px solid #bbb;
  overflow: hidden;
}

#mainbody > #title > header
{
  position: relative;
  padding-left: 16px;
}

#mainbody > #title > header h1
{
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 1.833em;
  color: #000000;
  text-decoration: none;
  margin-right: 24px;
  margin-top: 0px;
  margin-bottom: 0px;
  vertical-align: middle;
  display: inline;
}

#mainbody > #title > header h1 a, #mainbody > #title > header h1 a:visited
{
  color: #000;
}

#mainbody > #title > header h1 a.title /* nudge the text down a bit */
{
  position: relative;
  top: 1px;
}

#mainbody > #title > header h1 a img
{
  border: 0px;
  vertical-align: middle;
}

#mainbody > #title > header form
{
  display: inline;
}

#mainbody > #title > header form input
{
  vertical-align: middle;
}

#query
{
  width: 300px;
}

#mainbody > #title > ul
{
  position: absolute;
  right: 16px;
  top: 16px;
  margin-left: 0px;
  padding-left: 0px;
}

#mainbody > #title > ul > li
{
  display: inline;
}

#mainbody > #title > ul > li a
{
  margin-left: 15px;
  color: #555;
}

/* Footer */

footer
{
  padding-left: 16px;
}

footer > div {
 color: #333333;
 font-size: .9em;
 padding-top: 3px;
}

footer a {
 font-weight: normal;
 color: #333333;
 text-decoration: none;
}

footer a:hover, footer a:active {
 color: #0000ff;
 text-decoration: none;
}

/* Map Container */

#map_container
{
  margin-top: 0px;
  position: relative;
  height: 300px;
  border-bottom: 1px solid #bbb;
  overflow: hidden;
}

/* Link to map state */

#maplink
{
  padding: 10px 15px 12px 10px;
  position: absolute;
  right: 0px;
  top: 0px;
  background: #F8F8F8;
  border: 1px solid #9A9A9A;
  border-top-style: none;
  z-index: 100;
  width: 300px;
  margin: 0px;
}

#maplink_box
{
  font-size: .9em;
  width: 280px;
  margin-top: 3px;
}

#maplink_close {
  z-index: 200;
  cursor: pointer;
  right: 5px;
  top: 5px;
  position: absolute;
  background: transparent
    url("http://www.google.com/intl/en_ALL/mapfiles/iwcimgs0.png")
    no-repeat scroll -24px 0;
  height: 12px;
  width: 12px;
}

#map
{
  height: 300px;
  position: relative;
  left: 294px;
  margin-right: 294px;
}

#map_javascript_error
{
  padding: 10px;
}

#map_javascript_error h1
{
  margin-top: 100px;
  text-align: center;
}

#map_javascript_error h3
{
  text-align: center;
}

#streetview
{
  position: relative;
  left: 0px;
  margin-right: 0px;
  height: 200px;
  display: none;
  z-index: 9000;
}

#map_datasets
{
  position: relative;
  left: 294px;
  margin-right: 294px;
  max-height: 22px;

  border-top-width: 1px;
  border-top-color: #bbb;
  border-top-style: solid;

  color: #555;
  overflow: hidden;
}

#map_datasets div
{
  float: left;
  padding-top: 1px;
  line-height: 20px;
  margin-right: 12px;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

#map_datasets .mapsize_control
{
  padding-left: 5px;
  padding-right: 5px;
  border-right: 1px solid #ddd;
  margin-right: 12px;
}

#map_datasets a, #map_datasets a:visited
{
  color: #555;
}

#map_datasets img
{
  position: relative;
  top: 1px;
  border-width: 0px;
}

/* Search results */

#search_results
{
  height: 280px;
  font-family: Helvetica,Arial,sans-serif;
  padding-left: 16px;
  padding-top: 0px;
  font-size: 1em;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 278px;
  overflow: auto;
  background: #FFF;

  border-right-width: 1px;
  border-right-color: #bbb;
  border-right-style: solid;
}

#welcometext
{
  margin-right: .8em;
  padding-top: 12px;
}

#welcometext.diminished {
  color: #888;
  border-top: dotted 1px #ccc;
}

#welcometext p
{
  line-height: 1.2em;
  padding-right: 2.5em;
}

#welcometext p:first-child
{
  margin-bottom: 20px;
}

#welcometext > ul
{
  margin-left: 0px;
  padding-left: 20px;
}

#welcometext > ul > li
{
  margin-bottom: 15px;
}

#welcometext > ul > li > div
{
  margin-left: 1px;
}

#welcometext ul.datasets
{
  padding-left: 5px;
  margin-top: 5px;
}

#welcometext ul.datasets li
{
  margin-left: 0px;
  list-style-type: none;
  padding-left: 0px;
  margin-bottom: 2px;
}

#welcometext ul.datasets a
{
  color: #00f;
}

#welcometext ul.datasets a:visited
{
  color: #00f;
}

#welcometext ul.datasets img
{
  border-width: 0px;
}

/* Search results list: common classes */

.results_container
{
  display: none;
  padding-right: .8em;
  padding-top: 11px;
}

.results_container .rheader /* header */
{
  border-bottom: 1px solid #ddd;
  padding: 1px 2px 2px 0px;
}

.results_container .rheader h4
{
  color: #777;
  font-size: 13px;
  float: left;
  margin: 0px;
}

.results_container .rheader .rreset
{
  float: right;
}

.results_container .rheader .rreset a
{
  color: #888;
}

.results_container .rheader .rreset a:hover
{
  color: #00f;
}

/* Search results: user-selected markers */

#selrlist
{
  padding-top: .5em;
  padding-bottom: 10px;
}

.selrlist_element
{
  padding-top: .5em;
}

/* Search results: markers from search */

#searchrlist
{
  margin-top: 10px;
}

ul.search_results_list {
  margin-left: 0em;
  padding-left: 0em;
  font-family: Helvetica,Arial,sans-serif;
}

li.search_results_item {
  margin-bottom: 1.5em;
  margin-right: .2em;
  list-style-type: none;
}

.search_results_title {
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1666em;
}

.search_results_bldgnum {
  font-size: .83333em;
  margin-bottom: .8em;
}

.search_results_snippets {
  font-size: 1em;
  margin-left: .5em;
}

/* Info Window */

/* We require several 'filler' classes (.a1 .a2 .a3) to gain precedence
   over Google Maps overly-broad CSS classes */

.a1 .a2 .a3 div, .a1 .a2 .a3 span, .a1 .a2 .a3 a
{
  font-family: Helvetica,Arial,sans-serif;
  font-size: 12px;
  font-weight: normal;
}

.a1 .a2 .a3 div.dinfo_container
{
  margin-bottom: 15px;
  min-width: 350px;
  max-height: 215px;
  min-height: 100px;
  padding-bottom: 5px;
}

.a1 .a2 .a3 div.dinfo_container a
{
  text-decoration: none;
}

.a1 .a2 .a3 div.dinfo_header
{
  margin-top: 5px;
  margin-bottom: 15px;
  z-index: 2;
}

.a1 .a2 .a3 div.dinfo_title
{
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 3px;
}

/* For precedence over the general style in .a1 .a2 .a3 a */
.a1 .a2 .a3 a.dinfo_title_link
{
  font-size: 1.0em;
  font-weight: bold;
  margin-bottom: 3px;
}

.dinfo_title_caption { }

.dinfo_building_number {  }

.dinfo_website {  }

.dinfo_addresses { }

.a1 .a2 .a3 .dinfo_street_address_container
{
  margin-bottom: .8333em;
}

.a1 .a2 .a3 .dinfo_street_address_label
{
  font-weight: bold;
}

.a1 .a2 .a3 .dinfo_mailing_address_container
{
  margin-bottom: .8333em;
}

.a1 .a2 .a3 .dinfo_mailing_address_label
{
  font-weight: bold;
}

.a1 .a2 .a3 .dinfo_inner_container
{
  overflow-y: auto;
}

.a1 .a2 .a3 .dinfo_imagery div, .a1 .a2 .a3 .dinfo_imagery span
{
  font-size : 10px;
}

.a1 .a2 .a3 .dinfo_imagery
{
  z-index : 0;
  float : left;
  margin-left: 0px;
  padding-right: 15px;
  width: 132px; /* 120px + 2*(5px padding + 1px border) */
}

.a1 .a2 .a3 .dinfo_imagery > *:last-child {
  margin-bottom: 0px;
}

.a1 .a2 .a3 .dinfo_image
{
  margin-bottom: .41666em;
}

.a1 .a2 .a3 .dinfo_view_angle {
  margin-bottom: .8333em;
}
.a1 .a2 .a3 .dinfo_architect {
  margin-top: 1.666em;
}
.dinfo_architect_label { }

.a1 .a2 .a3 .dinfo_floorplans
{
  margin-bottom: 1.25em;
  z-index: 1;
  font-size : .8333em;
}

.a1 .a2 .a3 .dinfo_floorplans_label_link
{
  font-weight: bold;
}

.a1 .a2 .a3 .dinfo_floorplans_label_caption
{
  font-size: .8333em;
}

.a1 .a2 .a3 .dinfo_contents
{
  float: left;
  padding-left: 15px;
  padding-right: 15px;
  max-width: 300px;
}

.a1 .a2 .a3 .dinfo_contents > *:last-child {
  margin-bottom: 0px;
}

.a1 .a2 .a3 .dinfo_left_border
{
  border-left: 1px dotted #ccc;
}

.a1 .a2 .a3 .dinfo_right_border
{
  border-right: 1px dotted #ccc;
}

.a1 .a2 .a3 .dinfo_contents_label
{
  font-weight: bold;
  margin-bottom: .41666em;
}

.a1 .a2 .a3 .dinfo_contents_list
{
  text-indent: -.8333em;
  padding-left: .8333em;
}

.a1 .a2 .a3 .dinfo_contents_name
{
  margin-bottom: .1em;
}

div.permalink_box
{
  margin-bottom: 10px;
}

input.permalink_box
{
  font-size: .9em;
  width: 80%;
}

/* Separate DIVs */

#loading {
  position: absolute;
  top: 0;
  height: 16px;
  left: 47%;
  background: #F5D0D1;
  padding: 2px 5px 0px 5px;
}

#print_info {
  display: none;
}

#feedbackbox
{
  line-height:1.3em;
  font-size: 1em;
  position: absolute;
  right: 15px;
  top: 23px;
  width: 265px;
  z-index: 30;
  background-color: #FCFCFC;
  border: 1px solid #979797;
  visibility: hidden;
  padding: 5px;
}

#feedbackbox a
{
  font-weight: bold;
  color: #000;
}

@media screen and (max-width: 850px) {
  #mainbody > #title > ul
  {
    display: none;
  }
}

/* Remove full-screen control from Street View */
/* See: http://stackoverflow.com/questions/32654034/streetview-api-hiding-fullscreen-control */
#streetview > .gm-style > div:nth-child(10){
 display:none;
}
