/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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,
button,
input,
select,
textarea {
    color: #222;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/*@font-face {font-family: 'ProximaNova-Bold';src: url('../fonts/27A87B_14_0.eot');src: url('../fonts/27A87B_14_0.eot?#iefix') format('embedded-opentype'),url('../fonts/27A87B_14_0.woff') format('woff'),url('../fonts/27A87B_14_0.ttf') format('truetype');}*/

/* -- Simple Layout ---------------------------------------------------- */

@media screen
{
body {
  background: #f7f7f7 url('../img/bg.jpg') 0 0 repeat;
  font-size: 125%;
  font-family: 'Crimson Text', Times, Georgia, serif;
  line-height: 1.3em;
  color: #7c7c7c;
 }
 
img {
   max-width: 100%;
   height: auto;
 }

h1, h2, h3, h4, h5, h6,
header nav,
footer nav {
  font-family: 'ProximaNova-Bold', Arial, sans-serif;
  font-weight: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4c4a48;
}

h2,h3 {
  font-size: 0.9em;
  margin: 0;
}

h4 {
  font-size: 0.7em;
  margin: 0 0 0.8em 0;
}

p {
  font-size: 0.95em;
}

a:link, a:visited {
  color: #7c7c7c;
  transition: color 200ms ease;
}

a:hover, a:active {
  color: #1d1c1c;
}

strong {
  font-weight: normal;
  text-transform: uppercase;
}
 
header {
  background-color: #fff;
  height: 8.2em;
  border-bottom: 1px solid #4c4a48;
  padding: 0;
  margin: 0 0 1.65em 0;
  }

header div.frame {
  background-image: url('../img/medaille-premium-qualitaet.jpg');
  background-repeat: no-repeat;
  background-position: 39em 0;
}

header h1 {
  width: 60%;
  padding: 0.8em 0 0.55em 0;
  margin: 0;
}

header ul {
  width: 60%;
  margin: 0;
  padding: 0;
}

header nav ul li {
   display: inline;
}

header nav ul li a {
  font-size: 0.75em;
  text-decoration: none;
  color: #4c4a48;
  padding: 0.33em 1.33em 0.6em 1.33em;
}


/*Current*/
body#story nav a.story,
body#produkt nav a.produkt,
body#kontakt nav a.kontakt,
body#impressum nav a.impressum {
 color: #1d1c1c;
}

footer {
  background-color: #1d1c1c;
  padding: 0.7em 0;
  margin: 2.5em 0 0 0;
}

footer nav {
  font-size: 0.65em;
}

footer nav,
footer nav a {
  color: #817f7b;
  text-decoration: none;
  letter-spacing: 0.08em
}

footer nav a:hover,
footer nav a:active {
  text-decoration: underline;
  color: #aeaba6;
}

footer nav li:after {
  content: " | ";
}

footer nav li:last-child:after {
  content: "";
}


footer ul {
  padding: 0;
  margin: 0;
}

footer nav li {
  display: inline;
}


#slider {
  border: 1px solid #d6d6d6;
  max-width: 1045px;
  padding: 0.7em;
  margin-bottom: 2em;
}

/*Ornament*/
#home .teaser {
/*  background: url('../img/teaser-ornament.png') center bottom no-repeat;*/
/*  padding-bottom: 1.8em;*/
  padding-top: 0.5em;
 }
 
#home .teaser:last-child {
   border-left: 1px dashed #d6d6d6;
 }
 
#home .teaser:first-child {
   border-right: 1px dashed #d6d6d6;
 }
 
#home .teaser h2 {
   margin: 0 0 0.3em 0;
}
 
#kontakt section:first-of-type,
#impressum section:first-of-type {
  border-bottom: 1px dashed #d6d6d6;
}

#impressum p {
  font-size: 0.8em;
  line-height: 1.375em;
  margin: 0 0 1.2em 0;
}

#impressum h2 {
  font-size: 0.8em;
  line-height: 1.375em;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 0.2em 0;
}

 .content-width {
   max-width: 51.55em;
   margin: 0 auto;
 }
 
  
 section {
   padding: 0 0 1em 0;
   margin-bottom: 1.4em !important;
 }

 #herkunft,
 #herstellung {
   margin-bottom: 0!important; 
 }

 
 .bit-subgrid-18 {
   width: 18%;
   padding: 0.925em 0.9em 0 0.5em;
 }
 
 .bit-subgrid-21 {
   width: 21%;
 }
 
 .bit-subgrid-28 {
   width: 28%;
 }
  
 .bit-subgrid-32 {
   width: 32%;
 }
 
 .bit-subgrid-68 {
   width: 68%;
 }
 
 .bit-subgrid-72 {
   width: 72%;
   border-left: 1px dashed #d6d6d6;
 }
 
  
 #herstellung .details .bit-subgrid-72 {
   border: none;
 }
 
 
 .banner {
   position: relative;
  }
 
 .banner img {
   padding: 0 0.925em;;
 }
 
 .banner h2 {
   background: url('../img/bg-banner-left.png') top left no-repeat,
               url('../img/bg-banner-right.png') top right no-repeat;
   color: #b9b7b5;
   font-size: 0.75em;
   padding: 0.4em 2em 0.3em 2em;
   min-width: 11.8em;
   position: absolute;
   bottom: 1em;
   left: 50%;
   transform: translate(-50%,0);
 }
 
 .details {
   border-top: 1px dashed #d6d6d6;
   margin: 1em 0 0 0;
   padding: 0.6em 0;
 }
 
 
 .details p {
   font-size: 0.8em;
   line-height: 1.25em;
   margin: 1em 0 0 0;
 }
 
 
  #herstellung .details .bit-subgrid-28 p {
   font-size: 0.9em;
   line-height: 1.3333333em;
   margin: 0.3em 0 0 0;
   padding: 0 1em 0 1em;
   
 }
 
  
 .details blockquote {
/*   background: url('../img/ornament.png') top center no-repeat,
                url('../img/teaser-ornament.png') bottom center no-repeat;*/
   color: #4c4a48;
   font-size: 1.625em;
   margin: 0.4em 0 0 0;
   /*padding: 0.25em 0.5em 0.8em 0.5em;*/
   padding: 0 0.25em;
 }
 
 blockquote footer {
   background: none;
   color: #7c7c7c;
   font-family: 'ProximaNova-Bold', Arial, sans-serif;
   font-size: 0.4em;
   letter-spacing: 0.1em;
   text-transform: uppercase;
   margin: 0;   
 }
 
 #produkt h2 {
   font-size: 1.25em;
   margin: 0 0 1.1em 0;
 }
 
 #kontakt h2 {
   font-size: 1.25em;
   margin: 0 0 0.2em 0;
 }
 
 #serviervorschlag h2 {
  font-size: 0.9em; 
 }
 
 #serviervorschlag {
   border-bottom: 1px dashed #d6d6d6;
   border-top: 1px dashed #d6d6d6;
   padding: 2em 4.5em 2em 4.5em;
 }
 
 #serviervorschlag p {
/*   background: url('../img/teaser-ornament.png') center bottom no-repeat;*/
   font-size: 0.9em;
   line-height: 1.33333333em;
   padding: 0 0 0.6em 0;
 }
 
 #sidebar {
   border-left: 1px dashed #d6d6d6;
 }
 
 #sidebar .button {
   display: table;
   margin: auto;
 }
 
 .product-list {
   font-style: italic;
   padding: 0;
   margin-bottom: 0;
 }
 
 .product-list ul,
 .product-list li {
   margin: 0;
   padding: 0;
   list-style: none;
 }
   
 .product-list {
   font-size: 0.9em;
 }
 
 .product-list li {
   border-top: 1px dashed #d6d6d6;
   padding: 0.45em 0 0.35em 0;
 }
 
 
.product-list em {
   color: #4c4a48;
   font-style: normal;
   font-size: 0.98em;
   text-transform: uppercase;
 }
 
 .product-list blockquote {
   margin: 0;
 }
 
.h-recipe {
   margin: 0 0 2em 0;
 }
 
 .h-recipe:last-child {
   margin: 0;
 }
 
.h-recipe .bit-subgrid-21,
.h-recipe .bit-subgrid-72 {
   padding-left: 0;
   padding-right: 0;
   border: none;
 }
 
 .h-recipe .bit-subgrid-72 {
   padding-left: 1.2em;
 }
 
 
 .h-recipe p {
   font-size: 0.9em;
   line-height: 1.33333333em;
   margin: 0 0 0.5em 0;
 }
 
 .h-recipe h2 {
   font-size: 0.9em!important;
   margin: 0 0 0.5em 0!important;
 }
 
 .h-recipe em {
   font-family: 'ProximaNova-Bold', Arial, sans-serif;
   font-size: 0.88888889em;
   font-style: normal;
   text-transform: uppercase;
   letter-spacing: 0.06em;
 }

#datenschutz .bit-1 h1 {
	font-size: 1.25em;
}
 
#datenschutz .bit-1 h2 {
 	font-size: 1.1em;
 	margin: 1em 0 .5em;
}

#datenschutz .bit-1 h3 {
 	font-size: 1em;
 	margin: 1em 0 .5em;
}
 
#datenschutz .bit-1 p {
  font-size: 0.8em;
  line-height: 1.375em;
  margin: 0 0 1.2em 0;
}

#datenschutz .bit-1 li {
  font-size: 0.8em;
  line-height: 1.375em;
  margin: 0 0 .5em 0;
}
 
#datenschutz .bit-1 hr {
	margin: 2em 0;
} 


.highlight-box {
    padding: 0 20px;
    border: 4px solid #ccc;
}

/*buttons */
button,
input[type="submit"],
.button {
    background: none repeat scroll 0 0 #4c4a48;
    color: #d2ccc7 !important;
    border-radius: 2px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.08em;
    padding: 0.1em 1em;
    display: inline-block;
    vertical-align: middle;
 }
 
button:hover,
input[type="submit"]:hover,
.button:hover {
  background: #000;
}
 
/* Alignment classes */
.text-center {
  text-align: center;
}

.centered {
  display: block;
  margin: 0 auto;
}

.google-map iframe {
  width: 100%;
}


}















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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   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 */
}




/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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