@import 'https://fonts.googleapis.com/css?family=Catamaran:400,700';
/* @group Page Setup */

html {
  box-sizing: border-box;
  height: 100%;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Catamaran', Helvetica, Arial, sans-serif;
  font-size: 1.0em;
  background: #c8dee8;
  color: #444;
  margin: 0;
  height: 100%;
}

#container {
  min-height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* @group Header */

header {
  padding: 20px 20px 0;
}

header img {
  max-width: 100%;
}

header a {
  text-decoration: none;
  border: none;
}

/* @end */

/* @group Navigation */

nav {
  border-top: 1px solid #a8834b;
  text-align: right;
  margin-top: -26px;
  font-size: 1.05em;
  line-height: 1.0em;
}

nav a {
  text-decoration: none;
  padding: 5px 12px;
  display: inline-block;
  border-radius: 0 0 5px 5px;
  margin-left: 5px;
}

nav a:last-child {
  border-right: none;
}

nav a:hover {
  background: #d2a055;
  color: #fff;
}

nav a.selected {
  background: #a8834b;
  color: #fff;
}

/* @end */

/* @group Content */

#content {
  padding: 20px 20px 230px;
}

/* @end */

/* @group Footer */

footer {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin: 0 auto 0 -50%;
  width: 100%;
  height: 253px;
  padding: 210px 20px 20px;
  text-align: center;
  font-size: 0.9em;
  background: transparent url("../images/background.jpg") center bottom no-repeat;
}

footer p {
  margin: 0;
  color: #000;
}

/* @end */

/* @end */

/* @group Text */

a {
  color: #a8834b;
}

a:hover {
  color: #d2a055;
}

p {
  margin: 0 0 15px;
}

p.intro {
  font-size: 1.2em;
  margin-bottom: 25px;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 15px;
  font-weight: 400;
  line-height: 1.2em;
}

h1 {
  font-size: 2.4em;
  margin-bottom: 25px;
}

h2 {
  font-size: 1.7em;
}

h3 {
  font-size: 1.5em;
}

h4 {
  font-size: 1.3em;
}

hr {
  border: none;
  border-top: 1px solid #a8834b;
  display: block;
  height: 1px;
  margin: 25px 0 15px;
}

ol > li {
  margin-bottom: 25px;
}

ol > li p {
  margin-top: 15px;
}

ol.compact > li {
  margin-bottom: 0;
}

ol h4 {
  margin-bottom: 10px;
}

blockquote {
  border-left: 1px solid #a8834b;
  padding-left: 20px;
}

/* @end */

/* @group Custom Objects */

.boxout {
  display: block;
  width: 40%;
  float: right;
  margin: 0 0 15px 20px;
  padding-left: 20px;
  border-left: 1px solid #a8834b;
}

#content:after {
  content: "";
  display: block;
  clear: both;
  height: 0;
  width: 0;
}

/* @end */

/* @group Media Queries */

@media (max-width: 640px), (max-device-width: 640px) {
  nav {
    margin-top: 0;
    text-align: center;
  }
  
  .boxout {
    float: none;
    width: auto;
    border: none;
    padding: 0;
    margin: 0;
  }
}

/* @end */
