/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
 * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the top of the
 * compiled file, but it's generally better to create a new file per style scope.
 *


 */
article, aside, details, figcaption, figure, footer, header,
hgroup, menu, nav, section { display: block; }

h1, h2, h3 { margin: 0; padding: 0;}

h2 a {
  color: #222;
  text-decoration: none;
}

#information:hover h2 a {
  text-decoration: underline;
}

html {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  margin:  0;
  padding: 0;
  border:  0;     /* This removes the border around the viewport in old versions of IE */
  width:  100%;
  height: 100%;
  background-color: #F2EFD9;
  font-family: Helvetica, Arial, sans-serif;
  color: #222;
}

body.green {
  background-color: #97A633;
}

a > img {
  border: 0;
}

#about {
  font-size: 0.8em;
  overflow: auto;
  position: absolute;
  top: 0%;
  left: 7.5%;
  width: 80%;
  max-height: 80%;
  padding: 2% 3%;
  margin: 20px auto;
  background-color: #F2EFD9;

     -moz-box-shadow: 0px 0px 15px #333; /* FF3.5+ */
  -webkit-box-shadow: 0px 0px 15px #333; /* Saf3.0+, Chrome */
          box-shadow: 0px 0px 15px #333; /* Opera 10.5, IE9, Chrome 10+ */

             -moz-border-radius: 3px; /* FF1-3.6 */
          -webkit-border-radius: 3px; /* Saf3-4, iOS 1-3.2, Android <1.6 */
                  border-radius: 3px; /* Opera 10.5, IE9, Saf5, Chrome, FF4, iOS 4, Android 2.1+ */
}

#about_links {
  float:right;
  margin: 0 !important;
}

#header {
  height: 39px;
  padding: 3px 15px;
  background-color: #97A633;

  background-image: -webkit-gradient(linear, left top, left bottom, from(#B7C653), to(#97A633)); /* Saf4+, Chrome */
  background-image: -webkit-linear-gradient(top, #B7C653, #97A633); /* Chrome 10+, Saf5.1+ */
  background-image:    -moz-linear-gradient(top, #B7C653, #97A633); /* FF3.6 */
  background-image:     -ms-linear-gradient(top, #B7C653, #97A633); /* IE10 */
  background-image:      -o-linear-gradient(top, #B7C653, #97A633); /* Opera 11.10+ */
  background-image:         linear-gradient(top, #B7C653, #97A633);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#B7C653', EndColorStr='#97A633'); /* IE6–IE9 */

  font-family: 'Trebuchet MS', 'Trebuchet MS', sans-serif;
  line-height: 39px;
  border-bottom: 2px solid #7A4D28;
  position: relative;
  z-index: 2;
  overflow: hidden;

     -moz-box-shadow: 0px 1px 5px #333; /* FF3.5+ */
  -webkit-box-shadow: 0px 1px 5px #333; /* Saf3.0+, Chrome */
          box-shadow: 0px 1px 5px #333; /* Opera 10.5, IE9, Chrome 10+ */

}

#header h1 {
  color: white;
  margin-right: 10px;
  display: inline;
  font-size: 1.7em;
}

#header a {
  color: white;
  text-decoration: none;
}

#header img {
  border: 0;
  vertical-align: -1px;
}

#header input {
  float: right;
  width: 120px;
  margin-top: 10px;

  border: 1px solid #7A4D28;
  background-color: #F2EFD9;
     -moz-border-radius: 2px; /* FF1-3.6 */
  -webkit-border-radius: 2px; /* Saf3-4, iOS 1-3.2, Android <1.6 */
          border-radius: 2px; /* Opera 10.5, IE9, Saf5, Chrome, FF4, iOS 4, Android 2.1+ */

  /* useful if you don't want a bg color from leaking outside the border: */
  background-clip: padding-box;
}

#geolocation {
  float: right;
  margin-right: 16px;
  font-size: 1.3em;
}

#geolocation img {
  margin: 7px 0px;
}

#main {
  position: relative; /* This fixes the IE7 overflow hidden bug */
  clear: both;
  float: left;
  width: 100%;      /* width of whole page */
  overflow: hidden;   /* This chops off any overhanging divs */
  background-color: #F2EFD9;
  height: 500px;
}

#information {
  padding-bottom: 25px;
}

#sidebar {
  float: right;
  width: 340px;
  padding: 16px;
  background-color: #F2EFD9;
  height: 100%;
  overflow: auto;
  font-size: 0.9em;
}

#sidebar table {
  margin: 10px 0;
  border: 0;
}

#sidebar table td a {
  margin: 0 5px;
}

#sidebar table td a img {
  vertical-align: text-top;
}

#sidebar label {
  font-weight: bold;
  margin-right: 5px;
}

#sidebar h3 {
  margin: 30px 0 0 0;
}

p.info {
  font-style: italic;
  color: #444;
  font-weight: normal;
  font-size: 0.8em;
  margin-top: 2px;
  margin-bottom: 10px;
}

#elevation_chart {
  width: 100%;
  height: 200px;
}

#map {
  width: auto;
  height: 100%;
}

#map.with_info {
  margin-right: 372px;
}

#map_canvas {
  width: 100%;
  height: 100%;
}

img.photo_thumbnail {
  border: 1px solid #7A4D28;
}

.float_right {
  float: right;
}

div.track_info {
  font-size: 0.9em;
}

div.track_info h4 {
  margin: 3px 0;
}

div.track_info p {
  font-size: 0.9em;
  margin: 3px 0;
}

p.photo_info_window {
  color: #666;
  font-size: 0.7em;
  margin: 0;
}

p.photo_info_window a {
  color: #555;
}

#photo_loader img {
  vertical-align: bottom;
}

#loading {
  position: fixed;
  font-size: 1em;
  color: white;
  padding: 6px;
  height: 16px;
  width: 110px;
  margin-top: -18px;
  margin-left: -65px;
  top: 50%;
  left: 50%;
  border: 4px solid #7A4D28;
  background-color: #97A633;
  overflow: hidden;
  text-align: center;

   -moz-border-radius: 12px;
  -webkit-border-radius: 12px;
          border-radius: 12px;
}

#loading span {
  vertical-align: top;
}

#loading img {
  margin-right: 5px;
}

#close_info {
  float: right;
}

footer {
  clear: both;
  border-top: thin solid black;
  text-align: center;
}

.less_important {
  font-size: 0.8em;
  color: #555;
}

.flash {
  line-height: 16px;
  font-size: 0.8em;
  position: absolute;
  top: 0px;
  left: 50%;
  margin-left: -300px;
  width: 600px;
  text-align: center;
  height: 16px;
  border-top-width: 0;
  border-right-width: 2px;
  border-bottom-width: 2px;
  border-left-width: 2px;
  border-style: solid;
  border-color: black;

  -webkit-border-bottom-right-radius: 3px;
  -webkit-border-bottom-left-radius: 3px;
  -moz-border-radius-bottomright: 3px;
  -moz-border-radius-bottomleft: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}

.error {
  background-color: #FA0312;
  color: white;
}

.notice {
  background-color: #08E52A;
  color: #444;
}
