@font-face {
  font-family: 'Yanone Kaffeesatz';
  font-weight: 400;
  font-size: 150%;
  src: url('../fonts/yanone-kaffeesatz-v8-latin/yanone-kaffeesatz-v8-latin-regular.woff2') format('woff2'), url('../fonts/yanone-kaffeesatz-v8-latin/yanone-kaffeesatz-v8-latin-regular.woff') format('woff');
}

/*  Font Awesome 4.7.0 - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) */
@font-face {
  font-family: 'FontAwesome';
  font-weight: normal;
  font-style: normal;
  src: url('../fonts/font-awesome-4.7.0/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('../fonts/font-awesome-4.7.0/fontawesome-webfont.woff?v=4.7.0') format('woff');
}

/*****************************************************************************/

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

html, body {
  font-family: Helvetica, sans-serif;
}

form {
  margin: 0;
  padding: 0;
}

img {
  border: 0;
}

/*** header, navigation ******************************************************/

header {
  z-index: 1000; /* for IE and for OpenLayers */
  background-color: #000000;
  padding: 0 20px;
}

.fullscreen header {
  position: absolute;
  width: 100%;
}

header .logo {
  opacity: 0.75;
  width: 140px;
  height: 50px;
  margin-left: -5px;
}

header .logo:hover {
  opacity: 1.0;
}

.navigation {
  position: absolute;
  right: 0;
  /*top: 0;*/
  display: inline-block;
  list-style-type: none;
  margin: 15px 20px 0 0;
  padding: 0;
  vertical-align: top;
}

.navigation li {
  display: inline-block;
  margin: 0 0 0 25px;
  font-family: Yanone Kaffeesatz, sans-serif;
  font-size: 20px;
}

.navigation a:link,
.navigation a:visited {
  color: #cccccc;
  text-decoration: none;
  cursor: pointer;
}

.navigation a:hover {
  color: #ffffff;
}

/*** footer ******************************************************************/

footer {
  z-index: 1000; /* for IE and for OpenLayers */
  background-color: #000000;
  padding: 0 20px;
  color: #999999;
  font-size: 11px;
  height: 35px;
}

.fullscreen footer {
  position: absolute;
  width: 100%;
  bottom: 0;
}

footer a:link,
footer a:visited {
  color: #999999;
  text-decoration: none;
  cursor: pointer;
}

footer a:hover {
  color: #cccccc;
}

footer ul {
  display: inline-block;
  list-style-type: none;
  padding: 0;
}

footer li {
  display: inline-block;
  margin: 0 15px 0 0;
}

/*** content, headlines ******************************************************/

#content {
  padding-left: 30px;
  padding-right: 30px;
  line-height: 150%;
  min-height: 100%;
  overflow: hidden;
  padding-top: 60px; /* header height + 10 */
  margin-top: -50px; /* header height */
  padding-bottom: 35px; /* footer height */
  margin-bottom: -35px; /* footer height */
}

.column-sidebar {
  display: table-cell;
  width: 170px;
}

.column-sidebar h3 {
  color: #999999;
}

.column-sidebar ul {
  margin-left: -40px;
  list-style-type: none;
  margin-bottom: 10px;
}

.column-sidebar li {
  font-size: 12px;
  line-height: 150%;
}

.column-content {
  display: table-cell;
  width: 780px;
  padding-bottom: 40px;
}

h1 {
  font-family: Yanone Kaffeesatz, sans-serif;
  font-size: 32px;
  color: #666666;
  font-weight: normal;
  margin-top: 20px;
}

h2 {
  font-family: Yanone Kaffeesatz, sans-serif;
  font-size: 26px;
  color: #ff9900;
  font-weight: normal;
  margin-top: 20px;
}

h3 {
  font-family: Yanone Kaffeesatz, sans-serif;
  font-size: 22px;
  color: #333333;
  font-weight: normal;
  margin-top: 20px;
}

a {
  text-decoration: none;
  color: #000099;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: #330099;
}

p {
  max-width: 700px;
}

em {
  font-style: normal;
  font-weight: bold;
}

code {
  white-space: pre;
  background: #eeeeee;
  padding: 5px 10px;
  font-size: 12px;
  display: inline-block;
  line-height: 80%;
  overflow-x: auto;
  width: 920px;
}

article {
  margin: 10px 0 50px 0;
}

/*** form, input *************************************************************/


form .error {
  color: #ff6633;
  margin: 10px 0 5px 0;
}

.form-element {
   display: inline-block;
}

.form-element .form-field-full {
  width: 414px;
  display: block;
}

.form-element .form-field-half {
  width: 200px;
  display: block;
}

input[type=text],
input[type=number],
input[type=date],
input[type=time],
input[type=password],
input[type=email],
textarea {
  font-size: 14px;
  padding: 5px 10px;
  margin: 0 10px 20px 0;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  box-shadow: 0 10px 15px #f8f8f8 inset;
  width: 300px;
}

input[type=text]:focus,
input[type=number]:focus,
input[type=date]:focus,
input[type=time]:focus,
input[type=password]:focus,
input[type=email]:focus,
textarea:focus {
  box-shadow: 0 10px 15px #f8eedd inset;
  outline: none;
}

input[readonly],
select[readonly],
textarea[readonly] {
  background-color: #eeeeee;
}

input[readonly]:focus,
select[readonly]:focus,
textarea[readonly]:focus {
  background-color: #eeeeee;
}

button,
a.button {
  padding: 8px 16px;
  margin: 5px 10px 5px 0;
  border-radius: 5px;
  background-color: #aaccee;
  border: 0;
  text-decoration: none;
  color: #000000;
  font-size: 14px;
}

button:hover,
a.button:hover,
button:focus,
a.button:focus {
  background-color: #bbddff;
  cursor: pointer;
  outline: none;
}

button[name=close] {
  background: transparent;
  font-size: 30px;
  position: absolute;
  right: 0;
  top: 0;
  color: #cccccc;
}

button[name=close]:hover {
  color: #666666;
}

/*** icons *******************************************************************/

.fa-icon {
  font-family: FontAwesome;
}

.icon-button {
  width: 30px;
  height: 20px;
  border: 0;
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0;
  opacity: 0.5;
}

.icon-button:hover,
.icon-button:focus {
  background-color: transparent;
  opacity: 0.75;
  outline: none;
}

/*** responsive things *******************************************************/

@media screen and (max-width: 640px) {
  header {
    padding: 0 15px;
  }

  header .logo {
    opacity: 0.9;
    width: 98px;
    height: 35px;
    margin-left: -5px;
  }

  .navigation {
    display: none !important;
  }

  #content {
    padding: 10px 15px;
    font-size: 14px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 18px;
    margin-top: 20px;
  }
}

/*** sidebar, search *********************************************************/

#sidebar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 290px;
  padding: 115px 20px 300px 20px; /* bottom 300px for footer and promo */
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 1px 0 15px #999999;
  display: none;
}

#sidebar-scroll {
  height: 100%;
  overflow-y: auto;
}

#search {
  position: absolute;
  left: 20px;
  top: 75px;
  width: 250px;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px #999999;
  border: 1px solid transparent;
  transition-property: background-color, box-shadow, border-color;
  transition-duration: 0.5s;
}

#search.with-sidebar {
  background-color: transparent;
  box-shadow: none;
  border-color: #cccccc;
}

.with-sidebar #sidebar-toggle-button {
  font-size: 20px;
}

/*#search > * {*/
  /*vertical-align: middle;*/
/*}*/

#search input {
  width: 180px;
  border: 0;
  margin: 0;
  padding: 10px 5px 10px 10px;
  font-size: 14px;
  background: transparent;
  box-shadow: none; /* otherwise ugly on error */
}

#search input:focus {
  outline: none;
  background: transparent;
  box-shadow: none;
}

/*@media screen and (max-width: 640px) {*/
  /*#search {*/
    /*left: 15px;*/
  /*}*/
/*}*/

#search-results {
  margin: 15px 1px;
  padding: 0;
  list-style-type: none;
  font-size: 14px;
}

#search-results li {
  margin: 5px 0 15px 0;
  width: 100%;
  /*cursor: pointer;*/
}

.search-result-type {
  display: block;
  color: #999999;
}

#search .search-error {
  font-style: italic;
}

.vr {
  width: 1px;
  height: 100%;
  border-left: 1px solid #cccccc;
}