*,
*:before,
*:after {
  box-sizing: border-box;
}
.full {
  height: 800px;
}
body {
  background-color: #041820;
  background-image: url("/theme/background.jpg");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center top;
  background-attachment: fixed;
}

#wrapper {
  width: 95%;
  max-width: 1180px;
  margin: 5% auto;
  background: rgba(255, 255, 255, 0.85);

  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;

  -moz-box-shadow:    3px 3px 20px 1px #333;
  -webkit-box-shadow: 3px 3px 20px 1px #333;
  box-shadow:         3px 3px 20px 1px #333;
}
@media all and (min-width: 800px) {
  #wrapper {
    width: 80%;
  }
}

header,
aside,
article {
  flex: 1 100%;
}

@media all and (min-width: 800px) {
  body {
    font-size: 105%;
  }
  aside.sidebar {
    flex: 275px 0;
    order: 2;
  }
  article {
    flex: 1 1;
    order: 3;
  }
}

header {
  padding: 10px;

  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
}
header > * {
  flex: 1 100%;
}
header > p.byline {
  margin: 1em .5em 3em .5em;
}
@media all and (min-width: 800px) {
  header > h1 {
    flex: 250px 0;
  }
  header > p.byline {
    flex: 1 1;
    margin: 1em 1em 3em 2em;
    font-size: 1.1em;
  }
}

.byline a {
  font-weight: bold;
}

nav {
  font-size: 1.1em;
  margin-top: -2.5em;
}
nav ul {
  width: 100%;
  margin: 0;
  padding: 0
}
nav ul:after {
  content: "";
  display: block;
  clear: both;
}
nav li {
  display: block;
  float: left;
  margin: 0.5em 0.6em 0 0;
}
nav li a {
  display: block;
  padding: 0.1em 1em;
  text-align: center;
  font-weight: bold;
  color: #333;
  background: #94C652;
  -webkit-box-shadow: 5px 4px 4px -2px #217D52;
     -moz-box-shadow: 5px 4px 4px -2px #217D52;
	        box-shadow: 5px 4px 4px -2px #217D52;
}
nav li a.current,
nav li a:active,
nav li a:hover {
  color: #FFF;
  background: #217D52;
}

aside.sidebar {
  width: 285px;
  padding: 0 15px;
}
aside.sidebar > p {
  margin: 0.3em 0.3em 0.6em 0.3em;
}
aside h2:first-child {
  margin-top: 1.6em;
}

article {
  padding: 0 20px 20px 20px;
}
article p {
  margin: .5em 0 1em 0;
}
article h2 {
  clear: both;
}
aside ul {
  padding: 0.5em 0 0 1.2em;
}
ul.jeeps {
  margin: 0;
  padding: 0 0 2em 0;
}
ul.jeeps li {
  margin: 0;
  height: calc(170px + 1.5em);
  background-position: bottom right !important;
  background-repeat: no-repeat !important;
  background-size: auto 125px !important;
  list-style: none;
  white-space: nowrap;
}
ul.jeeps img.thumb {
  float: right;
  clear: left;
}
ul.jeeps p {
  margin: 0;
}
.maps {
  margin: 0;
  height: 180px;
}
.maps img.thumb {
  float: right;
}

a {
  text-decoration: none;
}
h1 {
  width: 250px;
  height: 130px;
  background: url("/imgs/logo.png") no-repeat 5px 5px;
  text-align: center;
  text-indent: -999em;
  font-size: 1.4em;
}
h2,
.h2 {
  padding: 0.5em;
  background: #217D52;
  color: #FFF;
  font-weight: bold;
  font-size: 1em;

  -webkit-box-shadow: 0 8px 6px -6px black;
	   -moz-box-shadow: 0 8px 6px -6px black;
	        box-shadow: 0 8px 6px -6px black;
}
.h2 {
  padding: 0.1em 0 0.1em 0.4em;
  border: 3px outset #217D52;
}
h3 {
  font-size: 1.1em;
  margin: 1.5em 0 0 0;
}
p.label {
  max-width: 300px;
  font-size: 0.8em;
}
.popup {
  overflow: scroll;
  max-height: 8em;
  width: 300px;
}
.date {
  font-weight: bold;
  font-style: italic;
}
.blue {
  background: #00F;
}
.scroll {
  overflow: auto;
}
.error {
  margin: 2em;
  padding: 1em;
  border: 2px dotted #F00;
  background: #FAA;
  text-align: center;
}
p {
  margin-bottom: 0.4em;
}
.directions,
#home {
  max-width: 30em;
}
.mapphoto p {
  max-width: 240px;
}
table.report {
  margin: 1em 1%;
  width: 97%;
  border: 3px double #888;
}
table.report thead {
  background: #EEE;
}
table.report th,
table.report td {
  padding: 0.3em;
  border: 1px solid #DDD;
}
table.report th,
table.report tr.totals {
  font-weight: bold;
}
article img {
  clear: both;
  margin: 0 1em 1em 1em;
  border: 1px solid #000;
  box-shadow: 5px 4px 4px -2px #666;
}
article img.right {
  float: right;
  margin-right: 0;
}
article img.left {
  float: left;
  margin-left: 0;
}
article img.small {
  width: 240px;
  max-width: 33%;
}
article img.medium {
  width: 320px;
  max-width: 50%;
}
article img.large {
  width: 480px;
  max-width: 66%;
}
