
@font-face {
	font-family: 'dinlight';
	src: url('../fonts/dinlight.eot');
	src: url('../fonts/dinlight.eot?#iefix') format('embedded-opentype'),
		url('../fonts/dinlight.woff') format('woff'),
		url('../fonts/dinlight.ttf') format('truetype'),
		url('../fonts/dinlight.svg#DINPro-Light') format('svg');
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: 'sourcelight';
	src: url('../fonts/sourcelight.eot');
	src: url('../fonts/sourcelight.eot?#iefix') format('embedded-opentype'),
		url('../fonts/sourcelight.woff') format('woff'),
		url('../fonts/sourcelight.ttf') format('truetype'),
		url('../fonts/sourcelight.svg#DINPro-Light') format('svg');
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: 'notosans';
	src: url('../fonts/notosans.eot');
	src: url('../fonts/notosans.eot?#iefix') format('embedded-opentype'),
		url('../fonts/notosans.woff') format('woff'),
		url('../fonts/notosans.ttf') format('truetype'),
		url('../fonts/notosans.svg#DINPro-Light') format('svg');
	font-weight: 300;
	font-style: normal;
}

html, button, input, select, textarea,
.pure-g [class *= "pure-u"] {
    font-family: 'notosans', Helvetica, Verdana, Arial, sans-serif;
}

html, body {
  background-color: #EAEAEA;
  color: #222;
}

.container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.p-box {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;

  padding: .6rem 1rem;
}

.logo {
  background-color: #F7F7F7;
}
.logo .container {
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url('../img/header_bg.jpg');
}
.logo img {
  margin: 0 auto;
  width: 52%;
}

.logo span {
  font-family: 'dinlight';
  text-transform: uppercase;
  color: #444;
  letter-spacing: .1em;
}
.logo [class*='pure-u-1-4'] span {
  display: block;
  font-size: 1.26em;
  text-align: center;
}
.logo [class*='pure-u-3-4'] span {
  display: block;
  font-size: 2.1em;
  text-align: right;
  padding: 1rem;
}

header nav {
  background-color: #c4c4c4;
}
header nav .p-box {
  padding-top: 0;
  padding-bottom: 0;
}
header nav ul {
  position: relative;
  top: -1.4rem;
  margin: 0;
  padding: 0;
  display: table;
  width: 100%;
  background-color: #545454;

  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;

  -moz-box-shadow: 0 0 .75rem rgba(0, 0, 0, .25);
  -webkit-box-shadow: 0 0 .75rem rgba(0, 0, 0, .25);
  box-shadow: 0 0 .75rem rgba(0, 0, 0, .25);
}
header nav li {
  margin: 0;
  padding: 0;
  display: table-cell;
  width: 15%;

  border-right: 1px solid #787878;
}
header nav li:last-child { border: none; }
header nav .container {
  background-color: #bebebe;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url('../img/nav_bg.png');
}
header nav li a {
  display: block;
  padding: .6em 0 .6em;
  font-size: 0.96em;
  font-family: 'dinlight';
  color: #F7F7F7;
  text-decoration: none;
  text-align: center;

  -moz-transition: background-color .2s;
  -webkit-transition: background-color .2s;
  transition: background-color .2s;
}
header nav li a:hover {
  background-color: #454545;
}
header nav li.active a {
  background-color: #444;
}

#content .container > .p-box {
  padding: 2.6em 2em 2.2em;
}
#content .container {
  font-size: 0.9em;
  background-color: #F7F7F7;
  color: #393939;
}
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
  font-family: "sourcelight";
}
#content h1:first-child,
#content h2:first-child,
#content h3:first-child,
#content p:first-child {
  margin-top: 0;
}
#content h1 { font-size: 2.1em; }
#content h2 { font-size: 1.75em; }
#content h3 { font-size: 1.3em; }
#content h4 { font-size: .95em; }

#content hr {
  border: none;
  border-top: 1px solid #666;
  margin: 1rem 0;
}

#content aside {
  font-size: 0.9em;
  color: #454545;
}
#content aside.p-box {
  padding-top: 2.6rem;
}

#content figure { margin: 0; }
#content figure figcaption { margin: .1rem 0 .4rem; }

#content .ce-gallery + .ce-bodytext,
#content .ce-bodytext + .ce-gallery {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;

  padding-left: 1rem;
}
#content .ce-gallery[class*=pure-u-md-1-1] + .ce-bodytext,
#content .ce-bodytext + .ce-gallery[class*=pure-u-md-1-1] { padding: 0; }

#content .ce-gallery.gallery-bordered [class*=pure-u] {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 .9rem .9rem 0;
}


#content table {
  width: 100%;
}
#content table tr > * { vertical-align: top; }

footer .container {
  position: relative;
  border-top: 2px solid #727272;
  background-color: #bebebe;
  background-size: contain;
  background-repeat: repeat-y;
  background-image: url('../img/nav_bg.png');
}
footer .container:before {
  content: "";
  display: block;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background-color: rgba(255, 255, 255, 0.4);
  z-index: 1;
}
footer .container > .p-box {
  padding: 1rem 2rem 2.6rem;
  font-size: .9rem;
  font-family: 'dinlight';
  color: #292929;
  position: relative;
  z-index: 2;
}
footer .container a {
  text-decoration: none;
  color: inherit;
}
footer .container p:first-child {
  padding-bottom: 1rem;
  text-transform: uppercase;
}
