@charset "utf-8";

body {
  font-family: Verdana, sans-serif;
}

h1,
h2,
h3,
h4 {
  font-family: Georgia, serif;
}

#wrapper {
  box-sizing: border-box;
  width: 90%;
  margin: 5px auto;
  padding: 5px 30px;
  border: solid 1px grey;
  color: #5B5B5B;
}

h2,
h4 {
  color: #D86836;
}

#header {
  width: 100%;
}

#navigation {
  clear: both;
  padding: 5px 15px;
  margin: 0 -30px;
  list-style-type: none;
  background-color: black;
  color: white;
}

.primarynav {
  display: inline-block;
  padding: 2px 10px;
  text-align: center;
}

.primarynav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 100%;
  padding: 4px;
}

.primarynav a:hover {
  text-decoration: underline;
  background-color: #5B5B5B;
}

.current {
  border-bottom: solid 3px white;
}

#content {
  width: 100%;
  margin: 0;
  padding: 0;
}

#main-content {
  width: 77%;
  float: left;
  margin: 0;
  padding: 0 1% 0 0;
}

#secondary-content {
  width: 20%;
  float: left;
  margin: 3.5em 0;
  padding: 0 1%;
  background-color: #D86836;
  color: white;
}

#secondary-content h4 {
  color: white !important;
}

#footer {
  width: 100%;
  clear: both;
  color: #D86836;
}

form {
  margin-top: 20px;
  margin-bottom: 30px;
}

fieldset {
  border: 1px solid #999;
  padding: 20px;
  max-width: 600px;
}

legend,
label {
  font-weight: bold;
}

legend {
  padding: 0 8px;
}

input[type="text"],
input[type="email"],
input[type="date"],
select,
textarea {
  width: 100%;
  max-width: 500px;
  padding: 8px;
  border: 1px solid #999;
  margin-top: 5px;
}

input[type="submit"],
input[type="reset"] {
  padding: 10px 16px;
  margin-right: 10px;
  border: 1px solid #4E0102;
  background: #f4f4f4;
  cursor: pointer;
}

input[type="submit"]:hover,
input[type="reset"]:hover {
  background: #e6e6e6;
}

#topBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 14px;
  border: 1px solid #4E0102;
  background: white;
  cursor: pointer;
}

#topBtn:hover {
  background: #f0f0f0;
}

@media (max-width: 700px) {
  #wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 5px 15px;
  }

  #navigation {
    margin: 0 -15px;
    padding: 5px 10px;
  }

  .primarynav {
    display: block;
    padding: 4px 10px;
  }

  #main-content,
  #secondary-content {
    float: none;
    width: 100%;
    box-sizing: border-box;
  }

  #secondary-content {
    margin: 1em 0;
  }

  input[type="text"],
  input[type="email"],
  input[type="date"],
  select,
  textarea {
    box-sizing: border-box;
    max-width: 100%;
  }
}
