/*! 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
   ========================================================================== */

/* ganzes Dokument*/
@font-face {
    font-family: 'Galada';
    src: local('Galada'),
        url('../fonts/Galada/Galada-regular.ttf')
        format('TrueType')
}
@font-face {
    font-family: 'Roboto Condensed';
    src: local('Roboto Codensed'),
        url('../fonts/Roboto_Condensed/RobotoCondensed-Regular.ttf')
        format('TrueType')
}
@font-face {
    font-family: 'Sacramento';
    src: local('Sacramento'),
        url('../fonts/Sacramento/Sacramento-Regular.ttf')
        format('TrueType')
}
@font-face {
    font-family: 'Rancho';
    src: local('Rancho'),
        url('../fonts/Rancho/Rancho-Regular.ttf')
        format('TrueType')
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-image: url(../img/wood.jpg);
    background-size: contain;
    width: 100%;
    color: #401a13;
    font-family: 'Roboto Condensed', sans-serif;
}

.dark{
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: -1;
    background-color: rgba(0,0,0,0.6);
}

h1 {
    font-family: 'Galada', cursive;
    margin: 0;
    padding: 30px 0;
    text-shadow: 3px 2px 2px orange;
    color: #FFF8BD;
    text-align: center;
}
.content h1 {
    color: #401A31;
    font-family: 'Rancho', cursive;
	text-shadow: none;
}
h2, h3 {
        margin-top: 20px;
}
.wrapper {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
}
.content {
    margin: 50px 10px;
    background: #FFF8BD;
    border-radius: 10px;
    box-shadow: 0 10px 10px #401a13, 0 -10px 10px #401a13;
    padding: 30px;
}
.content p {
    padding-bottom: 10px;
}
.content ul {
    margin-left: 30px;
}
.button, input[type=submit], input[type=reset]   {
    padding: 5px 10px;
    border: 2px solid #010200;
    border-radius: 5px;
    background: #FFF8BD;
    color: #010200;
    text-decoration: none;
    font-size: 150%;
    font-weight: bold;
    display: block;
    margin-bottom: 20px;
}
.button:hover, input[type=submit]:hover, input[type=reset]:hover {
    border-color: orange;
    color: orange;
}
.upload {
	padding: 5px 10px;
	border: 2px dotted #010200;
	border-radius: 5px;
	
}
input[type=submit], input[type=reset] {
    margin-top: 50px;
}
.formular {
    width: 400px;
    max-width: 90%;
    margin: 0 auto;
}
input[type=text], input[type=password], textarea {
    width: 100%;
    font-weight: normal;
    font-size: 100%;
}

input[type=text], input[type=password], textarea,
input[type=number], input[type=date], select {
    padding: 5px 10px;
    margin-bottom: 10px;
    border: 2px solid #010200;
    border-radius: 5px;
    background: #FFFBD2;
    color: #010200;
}

input[type=number], input[type=date], select {
    margin-left: 10px;
}
.zurueck {
    width: 100%;
    text-align: center;
    margin: 40px auto;
}
input[type=submit], input[type=reset] {
    width: 100%;
    text-align: center;
    margin: 40px auto;
}

/* Navigation und Header */
header {
    background: linear-gradient(#8F0D17, #E54438);
    /* background: url(../img/tuch.jpg) #E54438; */
    box-shadow: 0 10px 10px #401a13, 0 -10px 10px #401a13;
    background-size: cover;
}
.top-nav{
	position: absolute;
    top: 30px;
    right: 30px;
}
.top-nav a {
    color: #FFF8BD;
    padding: 30px 15px;
    font-size: 80%;
}
a:hover {
    font-weight: bold;
    color: orange;
}

nav li {
    width: 100%;

}

nav ul {
    margin: 0 auto;

}
nav li a, .toggle-nav
{
    color: #FFFABD;
    text-decoration: none;
    display: inline;
}
nav ul li, .toggle-nav {
    display: inline-table;
    list-style-type: none;
    padding: 15px 0;
    text-align: center;

    }
nav ul li p, .toggle-nav, .star-menu p {
    display: inline;
    position: relative;
    top: 5px;
}

.star-menu p {
	font-size: 180%;
	font-family: 'Rancho', cursive;
	padding: 0 30px;
}
.star-menu {
	padding: 5px 0 30px 0;
}
header a {
    text-decoration: none;
    transition: .3s all ease;
}

header h1 {
    padding-top: 80px;
    font-size: 2.5em;
}
.star-menu-star {
    width: 45px;
    height: 45px;
}
.star-menu-star-klein {
	width: 25px;
	height: 25px;
}
.menu{
	display:none;
}
.menu ul {
      display: inline;
  }
.star {
 	height: 0pt;
	width: 0pt;
}
/* Titelseite */

.index-content-start {
	margin: 60px 0;
}

.index-content-start h1 {
    padding-top: 80px;
    font-size: 300%;
    }

.index-content-start h2 {
	margin: 0 auto;
    font-size: 1.2em;
    color: #FFFFE9;
	text-shadow: 4px 2px 4px orange;
    text-align: center;
    width: 90%;
	font-family: 'Rancho', cursive;
}
h2.spezial {
	color:  #FFF8BD;
	font-size: 2em;
}
.index-content-start a {
    text-decoration: none;
}

.titelbild {
    margin: 0 auto;
    width: 700px;
    max-width: 60%;
    height: auto;
    margin-bottom: 100px;
}
.titelbild img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.rahmen {
    border-image-source: url("../img/rahmen.png");
    border-image-slice: 116 65 116 65;
    border-image-repeat: repeat;
    border-width: 15px;
    border-style: solid;
    }


/* Footer */
footer {
    background: #010200;
    font-size: 80%;
    padding-bottom: 20px;
}
footer a {
    text-decoration: none;
    display: block;
    color: #FFFBD2;
}
footer a:hover {
    color: orange;
}
.spalte-links {
    float: left;
    text-align: right;
    width: 50%;
    padding-right: 30px;
    margin-top: 30px;
    border-right: 1px solid #fff8bd;
}
.spalte-rechts {
    float: left;
    width: 50%;
    margin-top: 30px;
    padding-left: 30px;
}
.einzel-spalte {
    margin-top: 20px;
    text-align: center;
}

/* Login und Anmeldung, Impressum */
.administration  {
    background: #010200;
    background-image: none;
    background-size: auto;
}
.administration .wrapper, .index-content .wrapper {
    padding-top: 60px;
    width: 100%;
}
.administration .content, .index-content .content {
    margin: 50px 10px;
}
.formular p {
    margin-bottom: 30px;
}
.text {
    visibility: collapse;
}

/* Kalender */
#kalender-monat-wohnungen {
    border-radius: 8px;
    background: #FFFBD2;
    }
.kalender-wohnung {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}
.zurück {
    float: left;
    text-align: right;
    width: 10%;
    padding: 30px 0;
}

.anzeige {
    float: left;
    text-align: center;
    font-size: 150%;
    font-weight: bold;
    width: 80%;
    padding: 30px 0;
}
.vorwärts {
    float: left;
    text-align: left;
    width: 10%;
    padding: 30px 0;
}
.kalender-titel {
    text-align: center;
    width: 100%;
}
.kalender {
    width: 224px;
    margin: 0 auto;
}
.kalender-monat {
    width: 100%;
    float: left;
    padding: 20px 5px;
}

.kalender-titel input[type=submit] {
    background: #FFFBD2;
    font-size: 150%;
    font-weight: bold;
    border: none;
    margin: 0;
    padding: 0;
    display: inline;
}
.kalender-monat a {
    text-decoration: none;
    color: #010200;
    font-weight: bold;
}
.kalender td, .kalender th {
    height: 32px;
    width: 32px;
    text-align: center;
}
.kalender td {
    border: 4px solid #FFFBD2;
}
.legende {
    padding: 30px 0;
}
.legende-besetzt, .legende-reserviert, .legende-frei {
    height: 28px;
    width: 28px;
    border: 4px solid #FFFBD2;
    float: left;
}
.legende-frei {
    background: #FFF8BD;
    color: #FFF8BD;
}
.legende-besetzt {
    background: #EB8C96;
    color: #EB8C96;
}
.legende-reserviert {
    background: #EBBE7C;
    color: #EBBE7C;
}
.legende-text {
    float: left;
    position: relative;
    top: 5px;
    margin-right: 10px;
    font-size: 80%;
}
.kalender th {
    font-weight: normal;
}
.status-frei {
    background: #FFF8BD;
}
.status-besetzt {
    background: #EB8C96;
}
.status-reserviert {
    background: #EBBE7C;
}

/* Galerie */
.galerie {
    width: 100%;

}
.galerie-bild {
    width: 50%;
    text-align: center;
    border-radius: 10px;
    float: left;
    padding: 5px 0;
}
.galerie-bild img {
    border-radius: 10px;
    width: 130px;
    height: 130px;
}


@media only screen and (max-width:350px) {
	.galerie-bild img {
		width: 100px;
		height: 100px;
	}
}

/* Index Gast und Amie */
/***********************/

/* Schwarzes Brett */
.brett {
	width: 100%;
    background: #010200;
	border-radius: 5px;
	color:  #FFF8BD;
	margin: 0 auto;
	padding: 20px;
}
.brett h2 {
	color: #FFF8BD;
	font-family: 'Rancho', cursive;
	text-align: center;
	font-size: 300%;
	padding-bottom: 20px;
}
.brett-text {
	color: #FFF8BD;
}
.brett-text {
	font-size: 100%;
}
.brett-zusatztext {
	padding-bottom: 20px;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 100%;
}
/* Standort */
.standort, .informationen, .weiteres {
	margin-top: 50px;
	text-align: center;
}
.standort h2, .informationen h2, .weiteres h2 {
	font-family: 'Rancho', cursive;
	font-size: 300%;
}
/* Informationen */
.info-button-container {
	width: 100%;
	margin: 0 auto;
}

#infos-az, #infos-az h2 {
	text-align: left;
	font-family: 'Roboto Condensed', sans-serif;
}
.eintrag {
	border: 2px solid #010200;
    border-radius: 5px;
	margin-bottom: 10px;
}
.eintrag a {
	padding-right: 15px;
}

/* ==========================================================================
   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: 700px) {
    /* Style adjustments for viewports that meet the condition */

    nav li {
    width: 19%;
    }
    nav li a {
        display: block;
        font-size: 120%;
    }
    .menu{
      display: block;
    }
    .menu-platzhalter {
		display: none;
	}
    .top-nav a {
        font-size: 100%;
    }
	.toggle-nav {
    display: none;
	}

    h1 {
        font-size: 60px;
    }
    .index-content-start h1 {
    padding-top: 80px;
    font-size: 4em;
    }
    .index-content-start h2 {
    padding-top: 80px;
    font-size: 2em;
    }
	.index-content-start {
		margin: 0 auto;
		width: 80%;
	}
    .zurueck {
    width: 70%;
    }
    input[type=submit] {
    width: 70%;
    }
	
    header h1 {
        font-size: 5em;
        padding-top: 80px;
    }
    header {
        background-size: contain;
    }
    nav ul li p {
        display: block;
		padding-bottom: 30px;
    }
    .star {
        width: 95px;
        height: 90px;
    }

    .rahmen {
        border-width: 40px;
    }

    .content {
        width: 100%;
        max-width: 700px;
        margin: 50px auto;

    }
    .administration .content {
        width: 1024px;
    max-width: 60%;
    margin: 0 auto;
    }
	.verfuegbarkeit .content {
		 width: 1024px;
    margin: 0 auto;
	}

    .titelbild {
        max-width: 80%;
    }
    .rahmen {
    border-width: 60px;
    }
    footer a {
        font-size: 100%;
    }
    .anzeige {
        width: 50%;
    }
    .zurück {
        width: 25%;
    }
    .vorwärts {
        width: 25%;
    }

    .kalender-monat {
        width: 33%;
    }
    .kalender {
        width: 196px;
    }
    .kalender td, .kalender th {
        width: 28px;
        height: 28px;
    }
    .legende-text {
        padding-right: 30px;
    }
    .legende-frei {
        margin-left: 30px;
    }
    .galerie-bild {
        width: 33%;
    }
    .galerie-bild img {
        width: 200px;
        height: 200px;
    }
	.brett-text {
	font-size: 150%;
	}
	.info-button-container {
		width: 80%;
	}
	h2.spezial {
	font-size: 4em;
}
}


@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;
    }

}
