/* --------------------------------

Primary style

-------------------------------- */
*,
*::after,
*::before {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  height: 100%;
}

body {
  position: relative;
  min-height: 100%;
  padding-bottom: 40px;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  margin-bottom: 30px;
}

h1:not(:nth-child(1)),
h2:not(:nth-child(1)),
h3:not(:nth-child(1)),
h4:not(:nth-child(1)) {
  margin-top: 28px;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 21px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 15px;
}

@media only screen and (min-width: 600px) {
  h1 {
    font-size: 30px;
    line-height: 30px;
  }

  h2 {
    font-size: 27px;
    line-height: 27px;
  }

  h3 {
    font-size: 21px;
    line-height: 21px;
  }

  h4 {
    font-size: 18px;
    line-height: 18px;
  }
}
@media only screen and (min-width: 768px) {
  h1 {
    font-size: 34px;
    line-height: 34px;
  }

  h2 {
    font-size: 31px;
    line-height: 31px;
  }

  h3 {
    font-size: 25px;
    line-height: 25px;
  }

  h4 {
    font-size: 21px;
    line-height: 21px;
  }
}
h1 {
  padding: 10px;
  font-weight: normal;
  margin-bottom: 20px;
  text-align: center;
}
@media only screen and (min-width: 768px) {
  h1 {
    padding: 20px;
    font-weight: bold;
    margin-bottom: 30px;
  }
}

strong {
  font-weight: 600;
}

input {
  font-family: "Open Sans", sans-serif;
  font-size: 1.6rem;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

header {
  background-position: center 40px;
  background-repeat: no-repeat;
  background-size: cover;
  height: 260px;
  display: block;
  margin-bottom: 20px;
  position: relative;
}
@media only screen and (min-width: 600px) {
  header {
    background-position: center 45px;
    height: 280px;
  }
}
@media only screen and (min-width: 768px) {
  header {
    background-position: center 55px;
    height: 360px;
  }
}

.frontpage_intro {
  padding-top: 120px;
  text-align: center;
}
@media only screen and (min-width: 600px) {
  .frontpage_intro {
    padding-top: 130px;
  }
}
@media only screen and (min-width: 768px) {
  .frontpage_intro {
    padding-top: 155px;
  }
}

.frontpage_intro h3 {
  font-size: 2.6em;
  color: rgba(255, 255, 255, 0.8);
}

#container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: block;
}
#container::after {
  clear: both;
  content: "";
  display: table;
}

#content {
  padding-bottom: 40px;
}
#content::after {
  clear: both;
  content: "";
  display: table;
}

#content ul {
  list-style: disc;
  margin-left: 20px;
}

#content ul li {
  margin-bottom: 8px;
}

#content p,
#content figure {
  margin-bottom: 20px;
  line-height: 1.4em;
}

#content a {
  /* These are technically the same, but use both */
  overflow-wrap: break-word;
}

#content h1 {
  overflow-wrap: break-word;
}

#content img {
  position: relative;
  max-width: 100%;
  height: auto;
  width: auto;
}

#content table {
  width: 100% !important;
  margin-bottom: 20px;
}

#content table tr {
  border: 1px solid #333;
}

#content table th,
#content table td {
  padding: 10px;
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12 {
  width: 100%;
}

@media only screen and (min-width: 768px) {
  .col-1 {
    width: 8.33%;
  }

  .col-2 {
    width: 16.66%;
  }

  .col-3 {
    width: 25%;
  }

  .col-4 {
    width: 33.33%;
  }

  .col-5 {
    width: 41.66%;
  }

  .col-6 {
    width: 50%;
  }

  .col-7 {
    width: 58.33%;
  }

  .col-8 {
    width: 66.66%;
  }

  .col-9 {
    width: 75%;
  }

  .col-10 {
    width: 83.33%;
  }

  .col-11 {
    width: 91.66%;
  }

  .col-12 {
    width: 100%;
  }
}
[class*="col-"] {
  float: none;
  padding: 5px;
  display: block;
}
@media only screen and (min-width: 768px) {
  [class*="col-"] {
    float: left;
  }
}
@media only screen and (min-width: 1170px) {
  [class*="col-"] {
    float: left;
    padding: 15px;
  }
}

.row:after {
  content: "";
  clear: both;
  display: block;
}

.navlist {
  padding-left: 0;
}

.navlist,
.navlist ul {
  list-style: none !important;
}

.navlist {
  margin-top: 4px;
  padding-left: 0;
  margin-left: 0 !important;
}

.navlist li {
  padding-bottom: 4px;
  margin-bottom: 10px !important;
}

.navlist li a {
  text-decoration: none;
  color: #333;
}

.navlist li.active > a {
  text-decoration: underline;
}

.navlist li a:hover {
  text-decoration: underline;
}

footer {
  display: block;
  min-height: 40px;
  line-height: 40px;
  text-align: center;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
}

footer a {
  color: #fff;
}

/* ELEMENTS */
p.box {
  margin: 10px 0;
  font-size: 14px;
  padding: 10px;
  margin-bottom: 15px;
}

p.box:last-of-type {
  margin-bottom: 30px;
}

input {
  height: 45px;
  width: 100%;
  padding: 2px 5px;
  display: block;
  margin-top: 5px;
  margin-bottom: 15px;
}

input.error {
  border: 2px solid #fd8b8a;
}

.btn {
  padding: 14px;
  text-decoration: none;
  display: inline-block;
  border: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}

.btn:hover {
  text-decoration: underline;
  opacity: 0.95;
}

input[type="checkbox"] {
  vertical-align: middle;
  border: none;
  margin-right: 20px;
  width: auto;
  height: auto;
}
textarea {
  width: 300px;
  height: 150px;
}
table {
  max-width: 100% !important;
  width: 100% !important;
}
sup {
  vertical-align: super;
  font-size: smaller;
}
