/*! 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;
}

html {
	font: normal 1em/1.4 "Lucida Grande", "Lucida Sans Unicode", sans-serif;
}

/*
 * 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
   ========================================================================== */
body {
	color: #816950;
	background: url(../img/shl.png) repeat left top;
	text-shadow: 1px 1px 0px rgba(255, 255, 255, 1);
	letter-spacing: 0.04em;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	-o-hyphens: auto;
	hyphens: auto;
}
h1, h2, h3, h4, h5, h6, nav ul li {
	font-family: 'Jura', Verdana, Geneva, sans-serif;
	font-weight: normal;
}
h1, h2 {
	font-size: 1.63em;
	line-height: 1em;
    margin: 1em 0 0.55em;
	text-align:center;
}
h3 {
	font-size:1.38em;
	line-height: 1.4em;
    margin: 1em 0 1.1em;
}
p {
	font-size: 0.88em;
	line-height: 1.82em;
	padding: 0 0 0.85em;
}
a:link, a:visited {
	color: #816950;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
	text-transform: uppercase;
	text-decoration: none;
}
a:hover, a:active {
	color: #99d0f1;
}
address {
	display: block;
	font-style: normal;
	margin: 0 0 1.6em;
}
address p {padding: 0; margin: 0;}

.trenner {
    clear: both;
    color: #816950;
    display: block;
    text-align: center;
    text-transform: uppercase;
}
.trenner .icon {
    background: url(../img/shl.png) repeat left top;
    display: inline-block;
    font: 1.6em Arial,Helvetica,sans-serif;
    margin: auto;
	padding: 0 10px;
    position: relative;
    z-index: 2;
}
.trenner .border {
    border-top: 1px solid #816950;
    display: block;
    position: relative;
    top: -1em;
}
.triggerDown {cursor: pointer;}
.triggerDown_active {color: #99d0f1;}
.toggle_container { clear:both;}

/* Navigation */

.menu {
	width:100%; 
	height:auto;
	padding:20px 0 0; 
}
#logo {
	text-align: center;
	margin: 10px 0 30px;
}
nav {}
nav ul {
	display: block; 
	text-align: center;
	border-bottom: solid 1px #614424;
	padding: 0;
}
nav ul li {
	font-size: 1.2em;
	display: inline;
	padding:6px;
	color: #816950;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
	text-transform: uppercase;
}
nav ul li:hover {
	cursor:pointer;
	color: #99d0f1;
}

nav ul .active {
	cursor:pointer;
	color: #99d0f1;
}

/* Specific to example two */
#tabs {
	background: url(../img/paper.png) repeat left top;
	-webkit-box-shadow: 0px 0px 10px #614424;
	-moz-box-shadow: 0px 0px 10px #614424;
	-o-box-shadow: 0px 0px 10px #614424;
	-ms-box-shadow: 0px 0px 10px #614424;
	box-shadow: 0px 0px 10px #614424;
	position: relative;
}
#tabs .list-wrap {
	padding: 10px 20px 20px;
	margin: 0 0 15px 0;
}
#tabs .trenner .icon {
    background: url(../img/paper.png) repeat left top;
}
#tabs .nav {
	overflow: hidden;
	padding: 20px 20px 0px;
	list-style: none;
	text-align: center;
	margin: 1em 0em 0em;
}
#tabs .nav li { display:inline-block; margin: 0 5em; }
.lt-ie8 #tabs .nav li { display:block; float:left; margin: 0 5em; }
#tabs .nav li.first { margin-left: 0; }
#tabs .nav li.last { margin-right: 0; }
#tabs .nav li a {
	display: block;
	height: 60px;
	width: 60px;
	padding: 5px;
	border: 0;
	text-indent: -9999px;
}
#tabs .nav li.nav-one a {
	background: url(../img/mittag.svg);
	background-size: 100%;
	opacity: 0.7;
}
.lt-ie9 #tabs .nav li.nav-one a {
	background: url(../img/mittag.png) no-repeat center center;
}
#tabs .nav li.nav-two a {
	background: url(../img/abend.svg);
	background-size: 100%;
	opacity: 0.7;
}
.lt-ie9 #tabs .nav li.nav-two a {
	background: url(../img/abend.png) no-repeat center center;
}
#tabs .nav li.nav-three a {
	background: url(../img/getraenke.svg);
	background-size: 100%;
	opacity: 0.7;
}
.lt-ie9 #tabs .nav li.nav-three a {
	background: url(../img/getraenke.png) no-repeat center center;
}
	

#tabs li a.current,
#tabs li a.current:hover { opacity: 1 !important;}
#tabs .nav li a:hover, 
#tabs .nav li a:focus { opacity: 1; outline: none;}

table { padding: 0; margin: 0; border: none; table-layout: auto;}
table h2 {margin: 0.8em 0 0.55em;}
table .small {
	font-family: 'Jura', Verdana, Geneva, sans-serif;
	font-size: 0.75em;
	line-height: 0em;
	text-align: center;
}
.lt-ie9 table .small { line-height: 0.75em;}
table .date {
	text-align: center;
	font: 1.4em/2.8em 'Jura', Verdana, Geneva, sans-serif;
}
table h3 {
	text-align: center;
	margin: 1em 0 0.2em;
}
table h4 {
	text-align: center;
	margin: 1.6em 0 0.15em;
	font: 1.2em "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}
table h4 .text {
	background: url(../img/paper.png) repeat center top;
	display: inline-block;
	margin: auto;
	padding: 0 1em;
	position: relative;
	z-index: 2;
}
table h4 .border {
    border-top: 1px solid #816950;
    display: block;
    position: relative;
    top: -0.6em;
}
table h4.extra {font-family: 'Jura', Verdana, Geneva, sans-serif; margin: 1.6em 0 0.5em;}

table tr {
	font-size: 0.88em;
	line-height: 1.82em;
}
table tr th { text-align:left; font-weight: normal;}
table tr td.last {
	white-space: nowrap;
	text-align:right;
	vertical-align: bottom;
}

/* General Slides */ 

.slide{
	background-attachment: fixed;
	width:100%;
	height:auto;
	position: relative;
	
}
.slider {
    position: relative;
	width:100%;
	height:auto;
	overflow: hidden;
}
.stoerer {
	background: url(../img/stoerer.png) no-repeat center center;
	display: block;
	height: 220px;
	width: 220px;
	position: absolute;
	top: 40px;
	right: 80px;
	z-index:100;
}


/* Slide 1 */ 

#slide1 {
	padding:0;
}

/* Slide 2 */ 

#slide2 {
	padding:20px 0;
}
.background {
	background: url(../img/bg-leder.jpg);
	background-size: cover;
	position:absolute;
	z-index: -1;
	height: 600px;
	width: 100%;
	top: 0px;
	left: 0px;
}

/* Slide 3 */ 

#slide3 {
	padding:0;
}
#slide3 ol { padding:0 0 0 1.4em; margin: 0.9em 0 1.6em;}
#slide3 ol li {
	font-size: 0.88em;
	line-height: 1.82em;
}

/* MAP */ 

#slide4 {
	position: relative;
	z-index:0;
}
#map {
	height:400px;
	padding: 0;
	position: relative;
	z-index:1;
}
#slide4 .container {
	position: absolute;
	z-index:10;
	width:92%;
	padding: 0 10px;
	top: 0px; 
	left: 4%;
	margin-left: 0%;
}
#slide4 .container h3 {text-align: center;}
#slide4 .container .container_12 .kontaktinfo { 
	background: rgba(255, 255, 255, 0.9); 
	height: 400px; 
	padding: 0 15px; 
	max-width: 20%;
}
.lt-ie9 #slide4 .container .container_12 .kontaktinfo { 
	background: #fff; 
}
#slide4 ul.social { padding: 0; width:100%; margin: 0 auto;}
#slide4 ul.social li {
	float: left;
	list-style: none;
}
#slide4 ul.social li:nth-child(even) {padding: 0 14%;}
.lt-ie9 #slide4 ul.social li.even {padding: 0 14%;}
#slide4 ul.social li a {
	display: block;
	height: 40px;
	width: 40px;
	text-indent: -9999px;
}
#slide4 ul.social li a:hover { opacity: 0.7;}

#slide4 ul.social li.facebook a {
	background: url(../img/facebook.svg);
	background-size: 100%;
}
.lt-ie9 #slide4 ul.social li.facebook a {
	background: url(../img/facebook.png) no-repeat center center;
}
#slide4 ul.social li.twitter a {
	background: url(../img/twitter.svg);
	background-size: 100%;
}
.lt-ie9 #slide4 ul.social li.twitter a {
	background: url(../img/twitter.png) no-repeat center center;
}
#slide4 ul.social li.pinterest a {
	background: url(../img/pinterest.svg);
	background-size: 100%;
}
.lt-ie9 #slide4 ul.social li.pinterest a {
	background: url(../img/pinterest.png) no-repeat center center;
}


footer { text-align:center;}
#rechtliches {
	text-align: left;
	
}

/* SCROLL-UP */ 
#scrollUp {
    background: url(../img/top.png) no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    bottom: 20px;
    height: 38px;
    right: 20px;
    width: 38px;
}
/* FORMULAR */ 
form#reservierung {
	background: url(../img/reservierungstool.png) no-repeat center top;
	width: 100%;
	height:250px;
}





/* ==========================================================================
   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: 48em) and (max-width: 58.75em)  {
#tabs .nav li {
    margin: 0 1.5em;
}
#slide4 .container .container_12 .kontaktinfo {max-width: 28% !important;}
}


@media only screen and (min-width: 25em) and (max-width: 47.5em)  {
    /* Style adjustments for viewports that meet the condition */
#logo img {width: 50%; height: auto;}
.stoerer {
	background: url(../img/stoerer-klein.png) no-repeat center center;
	display: block;
	height: 110px;
	width: 110px;
	position: absolute;
	top: 10px;
	right: 40px;
	z-index:100;
}

/* Navigation */
nav ul {
	border-bottom: none;
	padding: 0;
}
nav ul li {
	display: block;
	padding: 5px 10px;
	border-bottom: solid 1px #614424;
}
nav ul li:nth-child(even) {display:none;}


/* Tabs */
#tabs .nav li {
    margin: 0 1.5em;
}

#slide4 .container {position:relative; left: 0%;}
#slide4 .container .container_12 .kontaktinfo { height: auto; padding: 3%; max-width: 50% !important; margin: 0 auto;}
#map {
    height: 200px;
}

}
@media only screen and (max-width: 24em)  {

#logo img {width: 50%; height: auto;}
.stoerer {
	background: url(../img/stoerer-klein.png) no-repeat center center;
	display: block;
	height: 110px;
	width: 110px;
	position: absolute;
	top: 5px;
	right: 40px;
	z-index:100;
}
/* Navigation */
nav ul {
	border-bottom: none;
	padding: 0;
}
nav ul li {
	display: block;
	padding: 5px 10px;
	border-bottom: solid 1px #614424;
}
nav ul li:nth-child(even) {display:none;}

	
/* Tabs */
#tabs .nav li {
    margin: 0 0.5em;
}
#slide4 .container {position:relative; left: 0%;}
#slide4 .container .container_12 .kontaktinfo { height: auto; padding: 3%; max-width:90% !important; margin: 0 auto; }
#map {
    height: 200px;
}
}

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

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