/* Universal Rules */

html {
  background: rgb(220, 220, 221);
  user-select: none;
  cursor: default;
}

body {
  background-color: white;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  width: 700px;
  box-shadow: 0px 3px 29px rgba(0,0,0,0.5);
}

#headerbox {
  background-color: #FFF7E3;
}

#logo {
  width: 110px;
  margin: 0 auto;
  display: block;
  /*position: absolute;*/
}

#title {
  font-family: "Soleil";
  font-weight: bold;
  font-size: 27pt;
  text-align: center;
  margin-top: -30px;
  padding-bottom: 10px;
  cursor: default;
}

.navline {
  width: 100%;
  height: 2px;
  background-color: #999999;
}

nav {
  height: 52px;
  background-color: #E3DED1;
  padding-left: 45px;
  z-index: 1;
}

nav ul {
  list-style-type: none;
  margin: auto;
}

nav li {
  float: left;
  padding-right: 26px;
  padding-top: 13px;
}

nav a{
  display: inline-block;
  height: 39px;
  font-family: "Proxima-Nova", sans-serif;
  font-weight: 700;
  font-size: 16pt;
  color: black;
  text-decoration: none;
}

#showmenu, .showmenu {
  display: none;
}

.showmenu {
  text-align: center;
  height: 52px;
  background-color: #E3DED1;
}

.showmenu {
  line-height: 52px;
  font-family: "Proxima-Nova", sans-serif;
  font-weight: 700;
  font-size: 16pt;
}

.menubutton a {
  margin-top: 18px;
}

nav li:hover a {
  color: #807C74;
}

.underline {
  background: #999999;
  margin-top: 10px;
  height: 0px;
  width: 100%;
}

nav li:hover .underline {
  height: 5px;
}

#pagetitle {
  font-family: "Soleil";
  font-weight: 800;
  font-size: 28pt;
  text-align: center;
  color: #9A968D;
  margin-top: 20px;
  letter-spacing: 2px;
  cursor: default;
}

.subtitle {
  font-family: 'Soleil';
  font-weight: 700;
  font-size: 18pt;
  color: #9A968D;
  text-align: center;
}

.smallline {
  background-color: #999999;
  height: 2px;
  width: 500px;
}

.text {
  font-family: "Open-Sans";
  font-size: 12pt;
  text-align: justify;
  margin-left: 39px;
  margin-right: 39px;
}

#logobw {
  display: block;
  width: 35%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: -45px;
}

.notfoundtitle {
  font-family: "Soleil";
  font-weight: 800;
  font-size: 37pt;
  color: #ED1C24;
  text-align: center;
}

#notfoundtext {
  font-weight: 500;
  font-size: 18pt;
}

footer {
  font-family: "Open-Sans";
  font-weight: 600;
  font-size: 9pt;
  text-align: center;
  width: auto;
  height: 25px;
  padding-top: 5px;
}

@media only screen and (max-width: 700px) {
  body {
    margin: 0;
    width: 100%;
  }

  #title {
    font-size: 18pt;
  }

  nav {
    /*display: none;*/
    height: 0;
    position: absolute;
    width: 100%;
    transition: height 1s;
    overflow: hidden;
  }

  .showmenu {
    display: block;
  }

  #showmenu:checked ~ nav {
    height: 250px;
  }

  nav, nav li {
    margin: 0;
    padding: 0;
  }

  ul {
    position: static;
    text-align: center;
    padding: 0;
    /*display: none;*/
  }

  ul li, li a {
    width: 100%;
    margin-top: 10px;
  }

  .underline {
    display: none;
  }

  .smallline {
    width: 300px;
  }

  #pagetitle {
    font-size: 20pt;
  }

  #subtitle {
    font-size: 16pt;
  }

  .text {
    text-align: center;
  }
}
