/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
   
/* merriweather-700italic - latin */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/merriweather-v30-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/merriweather-v30-latin-700italic.woff') format('woff') /* Modern Browsers */
}

/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v34-latin-regular.woff') format('woff') /* Modern Browsers */
}   


body {
  font: normal  14px/20px 'Open Sans', sans-serif;
  color: #006679;
  overflow-y: scroll;
  background: #dfd6c9;
  background: #378277;
}

p, ul {
  margin: 0;
  padding: 5px 0;
}

a {
  color: #962f34;
  text-decoration: none;
}

a:hover {
  border-bottom: 1px solid #962f34;
}

/* --- FONTS ---*/

h1, h2, h3 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-style: italic;
}

h1 {
  margin: 33px 0 15px;
  font-size: 22px;
  line-height: 26px;
}

h2 {
  font-size: 18px;
  line-height: 20px;
  margin-bottom: 0;
  padding-bottom: 0;
}

h3 {
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 0;
  padding-bottom: 0;
}

h1 + h2 {
  padding-top: 6px;
}

h2 + p {
  margin-top: 2px;
}

h2 + h3 {
  margin-top: 4px;
}

h3 + ul {
  padding-top: 0;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 5px 21px;
}

 a {
  text-decoration: none;
}

main ul {
  padding-bottom: 21px;
}

main ul li:before {
  content: '-';
  position: absolute;
  margin-left: -20px;
}

.right {
  float: right;
}

.emo { 
    color: #cd9035;
 }
 
 .golden {
   color: #cd9035;
 }

/* --- STRUCTURE ---*/

header {
  position: fixed;
  left: 50%;
  margin-left: -490px;
  max-width: 912px;
  background: #fff;
  height: 170px;
  width: calc(100% - 68px);
  padding: 0 34px;
  z-index: 10;
}

main {
  margin: 0 auto;
  position: relative;
  top: 170px;
  width: 100%;
  max-width: 980px;
  padding: 0;
  background: #e8e4de;
}


/* --- NAVIGATION ---*/

.main-nav {
  position: absolute;
  padding:0;
  margin: 35px 0 20px;
  bottom: 0;
  left: 34px;
  max-width: 100%;
}

.main-nav li {
  display: inline;
  margin-right: 28px;
}

.main-nav li:last-child {
  margin-right: 0;
}

.main-nav li a {
  color: #006679;
  text-decoration: none;
  font-size: 16px;
}

.main-nav li a:hover {
  border-bottom: 2px solid #962f34;
  color: #962f34;
}

.main-nav li a.active {
  color: #962f34;
}

.main-nav li a.active:hover {
  border-bottom: none;
}

.menu-btn {
  position: absolute;
  top: 22px;
  right: 34px;
  display: none;
  z-index: 11;
  width: 31px;
  height: 27px;
}

.menu-btn:hover {
  border: 0;
}

.menu-btn:before {
    content: "";
    position: absolute;
    width: 28px;
    height: 0.23em;
    background: #006679;
    box-shadow: 0 0.6em 0 0 #006679, 0 1.2em 0 0 #006679;
}


/* --- ELEMENTS ---*/

#logo {
  z-index: 10;
}

#logo a {
  color: #006679;
  text-decoration: none;
}

#logo a:hover {
  border-bottom: 0;
}


/* --- SECTIONS ---*/

section {
  position: relative;
}

section .center {
  padding-bottom: 30px;
}

#slideshow {
  position: relative;
  height: auto;
  z-index: 9;
  max-width: none;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

#slideshow img {
  width: 100%;
  height: auto;
}

#quote { background: #962f34; color: #FFF; }

#quote h3 {
	padding: 16px;
	margin: 0;
	letter-spacing: 0.5px;
	line-height: 26px;
}

section#quote .center,
section#slideshow .center {
  padding-bottom: 0;
}

#kontakt { background: #006679; color:#e8e4de; }
#kontakt a { color:#fff; }
#kontakt a:hover { color:#fff; border-bottom: 1px solid #fff; }



/* --- Raster --- */

.center {
  position: relative;
  width: calc(100% - 68px);
  max-width: 912px;
  margin: 0 auto;
  padding: 0 34px;
}

section div.content {
  margin-bottom: 0;
  width: calc(100% - 300px);
  max-width: 597px;
}

section div.content.right {
  padding: 15px 0 0;
  float: right;
  max-width: 597px;
  width: calc(100% - 300px);
  margin-bottom: 0;
}

section div.content.left {
  float: left;
}

section div.content h2:first-child {
  margin-top: 0;
}

section aside {
  float: right;
  width: 280px;
  margin-top: 15px;
}

section aside.left {
  padding-top: 36px;
  float: left;
}

section#kontakt aside.left {
  padding-top: 0;
}

aside img {
  width: 260px;
  height: auto;
  padding-bottom: 28px;
}

aside img:last-child {
  padding-bottom: 0;
}

section#quote div.center {
  line-height: 16px;
  text-align: center;
}

section#quote div.center h2 {
  padding: 15px 0;
  margin-top: 0;
}


/* --- Impressum Popup --- */

.white-popup {
    position: relative;
    background: #fff;
    padding: 38px;
    width: auto;
    max-width: 620px;
    margin: 20px auto;
}

.white-popup h1 {
  margin-top: 0;
}

button.mfp-close {
    overflow: visible;
    cursor: pointer;
    background: url(../img/close.png) 0 0 no-repeat !important;
    -webkit-appearance: none;
    display: block;
    outline: none;
    top: 25px !important;
    z-index: 10;
    box-shadow: none;
    touch-action: none !important;
}

.mfp-close-btn-in .mfp-close {
    color: #fff;
}


/* -- audioplayer -- */

#player {
  padding-bottom: 15px;
}

.audiojs {
  margin-top: 0;
  width: 260px;
  height: 28px;

  overflow: hidden;
  font-family: monospace;
  font-size: 12px;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #444), color-stop(0.5, #555), color-stop(0.51, #444), color-stop(1, #444));
  background-image: none;
  -webkit-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
  -o-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
  box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
	
	background: linear-gradient(top, #d3aa84 0%, #cbb08b 50%, #a47950 100%);
  background: -moz-linear-gradient(top, #d3aa84 0%, #cbb08b 50%, #a47950 100%);
  background: -webkit-linear-gradient(top, #d3aa84 0%, #cbb08b 50%, #a47950 100%);
  background: -ms-linear-gradient(top, #d3aa84 0%, #cbb08b 50%, #a47950 100%);
  background: -o-linear-gradient(top, #d3aa84 0%, #cbb08b 50%, #a47950 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#d3aa84, endColorstr=#a47950,GradientType=1);
}

.audiojs .play-pause {
  width: 16px;
  height: 40px;
  padding: 0px 9px 0 2px;
  margin: 0px;
  float: left;
  overflow: hidden;
  border-right: 1px solid #fff;
}

.audiojs .scrubber {
  position: relative;
  float: left;
  width: 74px;
  background: #5a5a5a;
  height: 10px;
  margin: 9px;
  border-top: 0px;
  border-left: 0px;
  border-bottom: 0px;
  overflow: hidden;	
}

.audiojs .time {
  line-height: 28px;
  color: #fff;
  text-shadow: none;
	margin: 0;
	border-left: 1px solid #fff;
	margin: 0;
	padding: 0px 0 0px 6px;
}

.audiojs {
  font-family: Arial;
  font-size: 11px;
}

.audiojs .loaded {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 3px;
  width: 0px;
  background: #000;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #222), color-stop(0.5, #333), color-stop(0.51, #222), color-stop(1, #222));
  background-image: -moz-linear-gradient(center top, #222 0%, #333 50%, #222 51%, #222 100%);
}

.audiojs .scrubber {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#78490c+0,d9cab6+0,f7f3ef+100 */
  background: #fff; /* Old browsers */
  background: -moz-linear-gradient(top, #78490c 0%, #d9cab6 0%, #f7f3ef 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #78490c 0%,#d9cab6 0%,#f7f3ef 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #78490c 0%,#d9cab6 0%,#f7f3ef 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#78490c', endColorstr='#f7f3ef',GradientType=0 ); /* IE6-9 */
}

.audiojs .loaded {
  display: none;
}

.audiojs .progress {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#78490c+0,33a092+0,663c0a+100 */
  background: #ff0; /* Old browsers */
  background: -moz-linear-gradient(top, #78490c 0%, #33a092 0%, #663c0a 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #78490c 0%,#33a092 0%,#663c0a 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #78490c 0%,#33a092 0%,#663c0a 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#78490c', endColorstr='#663c0a',GradientType=0 ); /* IE6-9 */
}

/* -- musikinfo -- */

#music-info {
	position: absolute;
	top: 0;
	display: none;
	left: 220px;
	width:450px;
	padding: 20px 25px 15px 15px;
	background: #fff;
	border: 3px solid #144146;
	z-index: 20;
}

.info-btn {
	position: relative;
	top: 20px;
}

#music-info .info-btn {
	position: absolute;
	right: 15px;
	top: 10px;
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media only screen and (max-width: 980px) {
  .state-indicator:before { content: 'small'; }

  body {
    font-size: 0.95em;
    line-height: 1.2em;
  }

  ul.main-nav {
    display: none;
  }
  
  header {
  position: fixed;
  left: 0;
  margin-left: 0;
  height: 88px;
  width: calc(100% - 68px);
  padding: 0 34px;
}

  header.expand {
    height: 340px;
  }

  header.expand nav {
    height: 300px;
  }

  header.expand ul.main-nav {
    display: block;
  }

  ul.main-nav {
    padding: 0;
    margin: 63px 0 0;
    position: absolute;
    left: 34px;
    bottom: 34px;
    max-width: 100%;
  }

  ul.main-nav li {
    display: block;
    font-size: 21px;
    line-height: 26px;
  }

  .menu-btn {
    display: block;
  }
  
  main {
	top: 88px;
  }

  h1 {
    margin-top: 20px;
  }
  
  section div.content {
    width: 100%;
  }
  
  section div.content.right {
    width: calc(100% - 260px);
    float: right !important;
  }

  section aside {
    margin-top: 15px;
    width: 240px;
  }

  aside img {
    width: 100%;
    height: auto;
  }

  .audiojs {
    margin-top: 0;
    width: 240px;
  }
  
  section div.content.right {
    padding: 35px 0 0;
    float: none;
}

#slideshow {
    position: relative;
    height: auto;
    z-index: 9;
    max-width: none;
    width: 100%;
    min-width: 700px;
    padding: 0;
    overflow-x: hidden;
}

}

@media only screen and (max-width: 700px) {
  #slideshow {
    min-width: 600px;
  }
  
  .content p img {
    max-width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  
  section aside > img {
    display: none;
  }
  
  section aside.left {
    padding-top: 16px;
    float: none;
}
  
  section#kontakt aside {
    display: block;
    float: none;
  }
  
  section div.content.right {
    width: calc(100% - 68px);
    float: none !important;
  }
  
  #slideshow {
    min-width: 300px;
  }
  
  header {
    height: 88px;
    width: calc(100% - 30px);
    padding: 0 15px;
  }
  
  header h1 {
    margin: 15px 0 15px;
    font-size: 21px;
  }
  
.menu-btn {
    position: absolute;
    top: 21px;
    right: 15px;
    z-index: 11;
    width: 31px;
    height: 27px;
}
.center {
    position: relative;
    width: calc(100% - 30px);
    max-width: 912px;
    margin: 0 auto;
    padding: 0 15px;
}

section div.content.right {
    width: calc(100% - 30px);
    padding-top: 15px;
}
  
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after,
  *:first-letter,
  *:first-line {
    background: transparent !important;
    color: #000 !important; /* Black prints faster:
                               http://www.sanbeiji.com/archives/953 */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * http://css-discuss.incutio.com/wiki/Printing_Tables
   */

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
