/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
/*	font: inherit;*/
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

html, body {
    height: 100%;
}

/*------------------------------------------------------------------------------------------ Grundlagen */

body {
  margin: 0;
  padding: 0;
  font-family: 'cooper_hewittlight', Verdana, Geneva, sans-serif;
  font-size: 1.4rem;
  line-height: 2rem;
}

.corContainer {
  padding: 1rem;
}

.corContainer p {
  font-family: 'cooper_hewittlight', Verdana, Geneva, sans-serif;
  text-align: center;
}

.corContainer a {
  text-decoration: underline;
}

* {
    box-sizing: border-box;
}

h1 {
  font-family: 'cooper_hewittmedium', Verdana, Geneva, sans-serif;
  font-size: 2.5rem;
  line-height: 2.8rem;
  color: rgba(175,27,37,1);
  margin-bottom: 1rem;
}

h2 {
  font-family: 'cooper_hewittmedium', Verdana, Geneva, sans-serif;
  font-size: 2rem;
  line-height: 2.2rem;
  margin-bottom: 1rem;
}

h3 {
  font-family: 'cooper_hewittmedium', Verdana, Geneva, sans-serif;
  font-size: 1.2rem;
  line-height: 1.4rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.6rem;
  line-height: 2rem;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
}

.lsCenter {
  text-align: center !important;
}

.site {
  display: flex;
  height: 100%;
  flex-direction: column;
  background: url(../img/essenza_totale_1200.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
     -moz-background-size: cover;
     -o-background-size: cover;
      background-size: cover; 
}

.siteAktuelles {
  display: flex;
  height: 100%;
  flex-direction: column;
  background: url(../img/ingresso_fiori_1200.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
     -moz-background-size: cover;
     -o-background-size: cover;
      background-size: cover; 
}

.siteSpeisen {
  display: flex;
  height: 100%;
  flex-direction: column;
  background: url(../img/essenza_tisch_von_oben_1200.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
     -moz-background-size: cover;
     -o-background-size: cover;
      background-size: cover; 
}

.siteRezepte {
  display: flex;
  height: 100%;
  flex-direction: column;
  background: url(../img/grana_tartuffo_1200.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
     -moz-background-size: cover;
     -o-background-size: cover;
      background-size: cover; 
}

.siteWeine {
  display: flex;
  height: 100%;
  flex-direction: column;
  background: url(../img/vini_1200.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
     -moz-background-size: cover;
     -o-background-size: cover;
      background-size: cover; 
}

.siteGalerie {
  display: flex;
  height: 100%;
  flex-direction: column;
  background: url(../img/luce_ombre_1200.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
     -moz-background-size: cover;
     -o-background-size: cover;
      background-size: cover; 
}

.siteKontakt {
  display: flex;
  height: 100%;
  flex-direction: column;
  background: url(../img/sfumato_1200.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
     -moz-background-size: cover;
     -o-background-size: cover;
      background-size: cover; 
}

.siteImpressum {
  display: flex;
  height: 100%;
  flex-direction: column;
  background: url(../img/vetrina_bottiglie_1200.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
     -moz-background-size: cover;
     -o-background-size: cover;
      background-size: cover; 
}

.siteSilvester{
  display: flex;
  height: 100%;
  flex-direction: column;
  background: url(../img/tanne_1200.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
     -moz-background-size: cover;
     -o-background-size: cover;
      background-size: cover; 
}

.siteContent {
  flex: 1;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  resize: both;
  min-height: 0; /* .siteContent is parent zu .textBox, verhindert, dass in firefox die ganze seite scrollt, sondern nur .textBox */
}

.siteContentIntro {
  flex: 1;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
/*  resize: both;*/
  min-height: 0; /* .siteContent is parent zu .textBox, verhindert, dass in firefox die ganze seite scrollt, sondern nur .textBox */
}

.siteContent > a:link, a:visited, a:hover, a:active {
  font-family: 'cooper_hewittmedium', Verdana, Geneva, sans-serif;
}

.textBoxIntro {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  width: 100%;
/*  overflow-y: scroll;*/
}

.circle {
  margin-bottom: 20px;
  font-family: 'cooper_hewittbold', Verdana, Geneva, sans-serif;
  font-size: 1.4rem;
  color: rgba(255,255,255,1);
  cursor: pointer;
  width: 200px; 
  height: 200px;
  border: none;
  background: rgba(170,25,35,1);
  -moz-border-radius: 100px; 
  -webkit-border-radius: 100px; 
  border-radius: 100px; 
  transform: rotate(-15deg);
  -webkit-box-shadow: 10px 10px 28px 0px rgba(0,0,0,0.69);
  -moz-box-shadow: 10px 10px 28px 0px rgba(0,0,0,0.69);
  box-shadow: 10px 10px 28px 0px rgba(0,0,0,0.69);
}

/*------------------------------------------------------------------------------------------ Grundlagen Ende*/

/*------------------------------------------------------------------------------------------ Introseite*/

.flexContainer {
  display: flex;
  flex: 1 1 0;
  flex-direction: row;
  height: 100vh;
}

.imageBox {
  display: flex;
  flex: 1 0 0;
  -webkit-box-pack: center;
    -moz-box-pack: center;
    box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
    -moz-box-align: center;
    box-align: center; 
  align-items: center;
  height: 100%;
}

.imgIntro {
  flex: 1;
  object-fit: cover;
  width: 100%;
}

.ppBox {
  /*background: url("../img/essenza_pp1_intro.png") no-repeat center center;
  background-size: cover; */   
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  -webkit-box-pack: center;
    -moz-box-pack: center;
    box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
    -moz-box-align: center;
    box-align: center; 
  align-items: center;
  height: 100%;
}

.lsBox {
  /*background: url("../img/essenza_ls125_intro.png") no-repeat center center;
  background-size: cover;*/
  display: flex;
  flex: 1 0 0;
  -webkit-box-pa
  flex-direction: column;ck: center;
    -moz-box-pack: center;
    box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
    -moz-box-align: center;
    box-align: center; 
  align-items: center;
  height: 100%;
}

.pIntro {
  font-family: 'cooper_hewittmedium', Verdana, Geneva, sans-serif;
  text-align: center;
  color: white;
  font-size: 1.2rem;
  margin-top: 1rem;
}

.introLinkBox {
  width: 50%;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.introNoLinkBox {
  width: 50%;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.introLinkBox img {
  width: 100%;
}

.introLinkBox p {
  text-align: center;
  color: white;
  margin-top: 1rem;
}

.essenzaRed {
  background-color: rgba(175,27,37,1);
}

/*.essenzaRedBorder {
  border: 0.5rem solid rgba(175,27,37,1);
}*/

.essenzaBlue {
  background-color: rgba(5,78,147,1);
}

.essenzaBlueFont {
  color: rgba(5,78,147,1) !important;
}

@media (max-width: 800px) and (orientation: landscape) {

  .essenzaBlueFont {
    font-size: 3rem;
    line-height: 3rem;
  }

}

@media (max-width: 900px) and (orientation: portrait) {

  .flexContainer {
      flex-direction: column;
  }

    .essenzaBlueFont {
      font-size: 3rem;
      line-height: 3rem;
    }

}

/*------------------------------------------------------------------------------------------ Introseite*/

/*------------------------------------------------------------------------------------------ Intro LS125*/

.siteLS125 {
  display: flex;
  height: 100%;
  flex-direction: column;
  background: url(../img/essenza_ls125_01.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
     -moz-background-size: cover;
     -o-background-size: cover;
      background-size: cover;
}

/*------------------------------------------------------------------------------------------ Intro LS125*/

/*------------------------------------------------------------------------------------------ Navigation*/

header {
/*    background: rgba(254,237,218,1);*/
    height: 100px;
    padding-top: 30px;
}

.inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0px 10px;
    position: relative;
}

.logo {
  margin-top: -10px;
  background-color: white;
  padding: 10px;
  border-radius: 10px;
  -moz-border-radius: 10px; 
  -webkit-border-radius: 10px; 
}

h1 {
    text-align: center;
    width: 100%;
    margin-top: 120px;
    color: #eee;
    font-size: 40px;
}

nav > ul {
    float: right;
    margin-top: 10px;
}

nav > ul > li {
    text-align: center;
    line-height: 40px;
    margin-left: 20px;
}

nav > ul li ul li {
    width: 100%;
    text-align: left;
}

nav ul li:hover {
    cursor: pointer;
    position: relative;
}

nav ul li:hover > ul {
    display: block;
}

nav ul li:hover > a {
    color: rgba(254,237,218,1);
}

nav > ul > li > a {
    cursor: pointer;
    display: block;
    outline: none;
    width: 100%;
    text-decoration: none;
}

nav > ul > li {
    float: left;
}

nav a {
  font-family: 'cooper_hewittmedium', Verdana, Geneva, sans-serif;
    color: white;
}

/*nav > ul li ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    z-index: 2000;
}
nav > ul li ul li > a {
    text-decoration: none;
}*/

[type="checkbox"], label {
    display: none;
}

@media screen and (max-width: 768px) {

  nav ul {
      display: none;
  }

  label {
      display: block;
/*      background: #222;*/
      width: 40px;
      height: 40px;
      cursor: pointer;
      position: absolute;
      right: 20px;
      top: 0px;
  }
  
  label:after{
      content:'';
      display: block;
      width: 30px;
      height: 5px;
      background: rgba(170,25,35,1);
      margin: 7px 5px;
      box-shadow: 0px 10px 0px rgba(170,25,35,1), 0px 20px 0px rgba(170,25,35,1);
  }

  [type="checkbox"]:checked ~ ul {
      display: block;
      z-index: 9999;
      position: absolute;
      right: 0;
      left: 0;
  }

  ul {
      top: 70px;
      height: auto;
      background-color: rgba(170,25,35,1);
  }

  nav a {
      color: rgba(255,255,255,1);
  }

  nav ul li {
      display: block;
      float: none;
      width: 100%;
      text-align: center;
      margin-top: 2rem;
  }

  nav ul li:last-of-type {
    margin-bottom: 2rem;
  }

  nav > ul > li {
      margin-left: 0px;
  }

/*  nav > ul li ul li {
      display: block;
      float: none;
  }
  
  nav > ul li ul {
      display: block;
      position: relative;
      width: 100%;
      z-index: 9999;
      float: none;
  }*/

h1 {
    font-size: 26px;
}
}

/*------------------------------------------------------------------------------------------ Navigation Ende*/

/*------------------------------------------------------------------------------------------ Hauptteil*/

.siteContentLink {
  flex-flow: column;
  display: flex;
  font-family: 'cooper_hewittbold', Verdana, Geneva, sans-serif !important;
  font-size: 7rem;
  line-height: 7rem;
  color: rgba(255,255,255,1);
  text-decoration: none;
  text-align: center;
}

.siteContent p a {
  font-family: 'cooper_hewittmedium';
  color: rgba(170,25,35,1);
  font-size: 1.6rem;
  line-height: 2rem;
}

.textBox {
  height: auto;
  width: 60%;
  padding: 2rem;
  overflow-y: scroll;
  background-color: rgba(255,255,255,0.7);
}

/*------------------------------------------------------------------------------------------ Hauptteil Ende*/

/*------------------------------------------------------------------------------------------ Footer*/

footer {
  height: 3rem;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0px 10px;
  position: relative;
  text-align: center;
}

footer img {
  height: 60%;
  margin-left: 1.2rem;
  margin-top: 0.4rem;
}

/*------------------------------------------------------------------------------------------ Footer Ende*/

/*------------------------------------------------------------------------------------------ Galerie*/

main {
  width: 80%;
  margin: 2rem auto;
}

section {
  width: 100%;
  padding: 1rem 0;
}

figure {
  width: calc(100% /4);
  float: left;
  margin-bottom: 1rem;
  position: relative;
}

figure a {
  display: inline-block;
  height: 100%;
  margin-left: 1rem;
  width: calc(100% - 2rem);
}

figure img {
  width: 100%;
  vertical-align: middle;
  margin-bottom: 0;
  border: 3px solid white;
}

section {
  overflow-y: scroll;
}

/*figure figcaption {
  background: #f39f3f;
  color: #fff;
  text-align: center;
  padding: 0.7rem;
  margin: 0 1rem;
}*/

section::after, section::before {
  content: "";
  display: block;
}

section::after {
  clear: both;
}

/*------------------------------------------------------------------------------------------ Lightbox

Lightbox created by Lokesh Dhakar http://www.lokeshdhakar.com/projects/lightbox2/ Lightbox2 is licensed under The MIT License

-------------------------------------------------------------------------------------------- Lightbox Ende*/

@media screen and (max-width: 1024px) {

  figure {
    width: calc(100% / 3);
  }

}

@media screen and (max-width: 640px) {

  figure {
    width: calc(100% / 2);
  }

}

@media screen and (max-width: 400px) {

  figure {
    width: 100%;
    margin-top: auto auto;
    display: block;
    float: none;
  }

}

/*------------------------------------------------------------------------------------------ Galerie Ende*/

@media screen and (max-width: 768px) {

  .siteContentLink {
  font-size: 3rem;
  line-height: 3rem;
  }

  .textBox {
    width: 95%;
    padding: 1rem;
  }

  .siteContent p a {
  font-size: 1.2rem;
  line-height: 1.6rem;
  }

  .textBoxIntro {
  overflow-y: auto;
  }

  p {
  font-size: 1.2rem;
  line-height: 1.6rem;
  }

  .circle { 
  margin-bottom: 20px;
  font-size: 1rem;
  width: 150px; 
  height: 150px;
  background: rgba(170,25,35,1);
  -moz-border-radius: 75px; 
  -webkit-border-radius: 75px; 
  border-radius: 75px; 
  }

}


 










