/* =============================================
 *
 *   FIXED RESPONSIVE NAV
 *
 *   (c) 2014 @adtileHQ
 *   http://www.adtile.me
 *   http://twitter.com/adtilehq
 *
 *   Free to use under the MIT License.
 *
 * ============================================= */

 /*
 Farbe 1 64784e
 Farbe 2 7b8c69
 Farbe 3 92a181
 */

@font-face {
    font-family: "Lato-Black";
    src: url("../fonts/Lato-Black.ttf");
}
@font-face {
    font-family: "Lato-BlackItalic";
    src: url("../fonts/Lato-BlackItalic.ttf");
}
@font-face {
    font-family: "Lato-Bold";
    src: url("../fonts/Lato-Bold.ttf");
}
@font-face {
    font-family: "Lato-BoldItalic";
    src: url("../fonts/Lato-BoldItalic.ttf");
}
@font-face {
    font-family: "Lato-Hairline";
    src: url("../fonts/Lato-Hairline.ttf");
}
@font-face {
    font-family: "Lato-HairlineItalic";
    src: url("../fonts/Lato-HairlineItalic.ttf");
}
@font-face {
    font-family: "Lato-Italic";
    src: url("../fonts/Lato-Italic.ttf");
}
@font-face {
    font-family: "Lato-Light";
    src: url("../fonts/Lato-Light.ttf");
}
@font-face {
    font-family: "Lato-LightItalic";
    src: url("../fonts/Roboto-LightItalic.ttf");
}
@font-face {
    font-family: "Lato-Regular";
    src: url("../fonts/Lato-Regular.ttf");
}

html {
    -webkit-text-size-adjust: none; /* Prevent font scaling in landscape (Schriftgröße) */
}

body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
dl,
dt,
dd,
ol,
ul,
li,
hr,
fieldset,
form,
label,
legend,
th,
td,
article,
aside,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
hgroup {
    margin: 0;
    padding: 0;
    border: 0;
}

ul {
    -webkit-margin-before: 0px;
    -webkit-margin-after: 0px;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 0px;
    -moz-margin-before: 0px;
    -moz-margin-after: 0px;
    -moz-margin-start: 0px;
    -moz-margin-end: 0px;
    -moz-padding-start: 0px;
    -ms-margin-before: 0px;
    -ms-margin-after: 0px;
    -ms-margin-start: 0px;
    -ms-margin-end: 0px;
    -ms-padding-start: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

a:active,
a:hover {
    outline: 0;
}

-webkit-viewport {
    width: device-width;
}
-moz-viewport {
    width: device-width;
}
-ms-viewport {
    width: device-width;
}
-o-viewport {
    width: device-width;
}
viewport {
    width: device-width;
}

/* ------------------------------------------
  RESPONSIVE NAV STYLES
--------------------------------------------- */

.nav-collapse ul {
    margin: 0;
    padding: 0;
    width: 100%;
    display: block;
    list-style: none;
}

.nav-collapse li {
    width: 100%;
    display: block;
}

.js .nav-collapse {
    clip: rect(0 0 0 0);
    max-height: 0;
    position: absolute;
    display: block;
    overflow: hidden;
    zoom: 1;
}

.nav-collapse.opened {
    max-height: 9999px;
}

.disable-pointer-events {
    pointer-events: none !important;
}

.nav-toggle {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

@media screen and (min-width: 640px) {
    .js .nav-collapse {
        position: relative;
    }
    .js .nav-collapse.closed {
        max-height: none;
    }
    .nav-toggle {
        display: none;
    }
}

/* ------------------------------------------
  DEMO STYLES
--------------------------------------------- */

body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    color: #37302a;
    background: #64784e;
    font: normal 100%/1.4 sans-serif;
    font-family: "Lato-Regular";
}

section {
    width: 100%;
}

h1 {
    font-family: "Lato-Black";
    font-size: 2.5em;
    line-height: 140%;
    margin-bottom: 32px;
    text-align: center;
}
h2 {
    font-family: "Lato-Black";
    font-size: 2em;
    line-height: 140%;
    margin-bottom: 24px;
    text-align: center;
}
h3 {
    font-family: "Lato-Bold";
    font-size: 1.5em;
    line-height: 140%;
    margin-bottom: 18px;
}
h4 {
    font-family: "Lato-Light";
    text-transform: uppercase;
    font-size: 1.325em;
    line-height: 140%;
    margin-bottom: 12px;
}
.text {
    width: 100%;
    font-family: "Lato-Regular";
    font-size: 1.125em;
    line-height: 150%;
}
.text p,
.text ul {
    margin-bottom: 24px;
}
.text1 {
    margin-bottom: 32px;
}
sup {
    font-size: 0.5em;
    line-height: 0px;
}

a {
    color: #92a181;
}

strong {
    font-family: "Lato-Bold";
}

.small {
    font-size: 60%;
}

#info_cookie {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #fff;
    width: 100%;
    padding: 20px;
    box-shadow: 0px 0px 2px #666;
    box-sizing: border-box;
    z-index: 9999;
}
#text_cookie {
    float: left;
    width: calc(100% - 30px);
}
#close_cookie {
    float: right;
    cursor: pointer;
    font-size: 16px;
}

#home {
    /* Verlauf */
    background: #92a181;
    background: linear-gradient(135deg, #92a181 0%, #7b8c69 100%);
    color: #fff;
    margin-top: 88px;
    width: 100%;
}

#karten,
#hochzeitsspiele {
    background: #fff;
    color: #414141;
}

#kontakt {
    background: #f5f5f5;
    color: #414141;
}

#pdf-downmload,
#kontakt.admin {
    background: #f5f5f5;
    color: #414141;
}

#impressum,
#datenschutzpage {
    background: #fff;
    margin-top: 88px;
    width: 100%;
}

footer {
    background: #64784e;
    width: 100%;
}
footer .content {
    position: relative;
    width: max-content;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px 40px;
    color: #fff;
}

#home .content,
.inhalt .content,
#impressum .content,
#datenschutzpage .content {
    position: relative;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 80px 40px;
}
#home ul {
    display: inline-block;
    width: 100%;
}
.inhalt ul {
    display: inline-block;
    width: 100%;
}
#home ul li,
.inhalt ul li {
    list-style-type: none;
    float: left;
}
#home .bild img,
.inhalt .bild img {
    display: block;
    width: 100%;
    height: auto;
}

/* Home */
#home ul li:nth-child(1) {
    width: calc(50% - 40px);
    margin-right: 40px;
}
#home ul li:nth-child(2) {
    width: calc(50% - 40px);
    margin-right: 0px;
    margin-left: 40px;
}
#home .bild {
    position: relative;
    width: 100%;
    margin-top: 10px;
}
#home .text p:last-child {
    margin-bottom: 0px;
}
#home a {
    color: #fff;
    text-decoration: none;
}
#home ul li ul li,
#home ul li ul li:nth-child(1),
#home ul li ul li:nth-child(2),
#home ul li ul li:nth-child(3) {
    width: 100%;
    margin-left: 20px;
    margin-right: 0;
}
#home ul li ul li {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 8px;
}
#home ul li ul li:last-child {
    margin-bottom: 0;
}

/* Inhalt */
.inhalt .content {
    position: relative;
}
.inhalt .bild {
    position: relative;
    width: 100%;
    margin-top: 10px;
}
.inhalt ul li:nth-child(1) {
    width: calc(50% - 40px);
    margin-right: 40px;
}
.inhalt ul li:nth-child(2) {
    width: calc(50% - 40px);
    margin-right: 0px;
    margin-left: 40px;
}
.inhalt ul li:nth-child(1) ul li,
.inhalt ul li:nth-child(2) ul li {
    width: 100%;
    margin-right: 0px;
    margin-left: 0px;
}
.inhalt ul li:nth-child(1) ul li {
    /*
    background-image: url(../img/list.png);
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: 0px 10px;
    */
    line-height: 30px;
    /* padding: 4px 0 4px 26px; */
    margin-bottom: 10px;
}
.inhalt ul li:nth-child(1) ul li:last-child {
    margin-bottom: 0px;
}
.inhalt ul li:nth-child(1) ul ul li {
    background-image: url(../img/list.png);
}
.inhalt .text p:last-child,
.inhalt .text ul:last-child {
    margin-bottom: 0px;
}

.inhalt .gallery {
    display: flow-root;
    position: relative;
    width: 100%;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
}
.inhalt .gallery li {
    float: left;
    list-style-type: none;
    margin-right: 24px;
    margin-bottom: 24px;
    overflow: hidden;
}

/* Breite der Bilder in den Galerien */
.inhalt .gallery li.panorama {
    width: 100%;
}
.inhalt .gallery li.portrait {
    width: calc((100% - 72px) / 4);
}
.inhalt .gallery li.landscape {
    width: calc((100% - 24px) / 2);
}
.inhalt .gallery li.extra {
    position: relative;
}
.inhalt .gallery li:nth-child(1),
.inhalt .gallery li:nth-child(2) {
    margin-left: 0;
    margin-right: 24px;
}
.block {
    margin-bottom: 48px;
}
#karten.inhalt .gallery li:nth-child(3),
#karten.inhalt .gallery li:nth-child(5),
#pdf-downmload.inhalt .gallery li:nth-child(1),
#pdf-downmload.inhalt .gallery li:nth-child(3),
#pdf-downmload.inhalt .gallery li:nth-child(5),
#pdf-downmload.inhalt .gallery li:nth-child(7),
#hochzeitsspiele.inhalt .gallery li:nth-child(2),
#hochzeitsspiele.inhalt .gallery li:nth-child(4) {
    margin-right: 0;
}

.inhalt .gallery li img {
    display: block;
    width: 100%;
    height: auto;
}
.inhalt .gallery li.extra img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.achtung {
    display: inline-block;
    background-color: #ffff00;
    margin-bottom: 8px;
    padding: 4px;
    font-family: "Lato-Bold";
    color: #000;
}
.inhalt ul.links li {
    
    list-style-type: disc;
    width: 100%;
    margin-left: 20px;
    margin-bottom: 8px;
}
.inhalt ul.links li:last-child {
    margin-bottom: 0;
}
.inhalt ul.links li::marker {
    color: #7b8c69;
}

/* #karten > div > ul:nth-child(2) > li:nth-child(1) > div > form > div:nth-child(3) > ul > li:nth-child(1) */
div.text form div ul li {
    list-style-type: none;
    float: left;
    width: 46%;
    width: calc(50% - 24px);
}

/* footer */
footer .content a {
    text-decoration: none;
    font-size: 1em;
    line-height: 150%;
    color: #fff;
}

.margin-bottom {
    margin-bottom: 80px;
}

.top {
    display: none;
    position: fixed;
    background-size: 32px 32px;
    background-position: center center;
    bottom: 20px;
    right: 20px;
    background-color: #64784e;
    background-image: url(../img/top.svg);
    border: 1px solid #ccc;
    width: 40px;
    height: 40px;
    transition: background-color 0.2s;
}

.top a {
    display: block;
    width: 100%;
    height: 100%;
}

.top:active,
.top:hover {
    background-color: #92a181;
    transition: background-color 0.2s;
}

/* Formular */
form input {
    height: 50px;
    text-indent: 5px;
    font-size: 18px;
}
input[type=text] {
    border: 1px solid #666;
    width: 100%;
    margin-bottom: 8px;
    box-sizing: border-box;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #666;
    opacity: 0.5; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #666;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #666;
}

input[type="radio" i], input[type="checkbox" i] {
    margin: 0px 6px 0px 0px;
    height: 14px;
    line-height: 16px;
}
#datepicker {
    width: 128px;
    margin-right: 8px;
    margin-bottom: 8px;
}
input[type=submit] {
    width: 100%;
    background-color: #7b8c69;
    border: none;
    color: #fff;
    font-family: "Lato-Bold";
    cursor: pointer;
}
a.check {
    display: block;
    width: max-content;
    cursor: pointer;
    line-height: 120%;
}
#availability img {
    display: inline-block;
}

.button {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 768px;
    height: 50px;
    background-color: #7b8c69;
    color: #fff;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    font-family: "Lato-Bold";
}
.inhalt .button a {
    display: inline-block;
    width: 100%;
    height: 100%;
    color: #fff;
}
.button:hover {
    background-color: #92a181;
}

/* ------------------------------------------
  FIXED HEADER
--------------------------------------------- */

header {
    background: #64784e;
    position: fixed;
    z-index: 3;
    width: 100%;
    left: 0;
    top: 0;
    -webkit-box-shadow: 0px 2px 2px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0px 2px 2px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 0px 2px 2px 0px rgba(50, 50, 50, 0.75);
}
.logo,
.logo2 {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    text-decoration: none;
    font-weight: bold;
    line-height: 88px;
    padding-left: 40px;
    color: #fff;
    float: left;
    font-size: 32px;
}

/* ------------------------------------------
  MASK
--------------------------------------------- */

.mask {
    -webkit-transition: opacity 300ms;
    -moz-transition: opacity 300ms;
    transition: opacity 300ms;
    background: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    position: fixed;
    opacity: 0;
    z-index: 2;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
}

.android .mask {
    -webkit-transition: none;
    transition: none;
}

.js-nav-active .mask {
    visibility: visible;
    opacity: 1;
}

@media screen and (min-width: 640px) {
    .mask {
        display: none !important;
        opacity: 0 !important;
    }
}

/* ------------------------------------------
  NAVIGATION STYLES
--------------------------------------------- */

.fixed {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
}

.nav-collapse,
.nav-collapse * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.nav-collapse,
.nav-collapse ul {
    list-style: none;
    width: 100%;
    float: left;
}

@media screen and (min-width: 640px) {
    .nav-collapse {
        float: right;
        width: auto;
    }
}

.nav-collapse li {
    float: left;
    width: 100%;
}

@media screen and (min-width: 640px) {
    .nav-collapse li {
        width: auto;
    }
}

.nav-collapse a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    border-top: 1px solid white;
    text-decoration: none;
    background: #64784e;
    padding: 1em 1em;
    color: #fff;
    width: 100%;
    float: left;
    transition: background-color 0.2s;
}

.nav-collapse a:active,
.nav-collapse a:hover,
.nav-collapse .active a {
    background: #92a181;
    color: #fff;
    transition: background-color 0.2s;
}

@media screen and (min-width: 640px) {
    .nav-collapse a {
        /*border-left: 1px solid white;*/
        padding: 30px 30px;
        text-align: center;
        border-top: 0;
        float: left;
        margin: 0;
        font-size: 20px;
    }
}

.nav-collapse ul ul a {
    background: #92a181;
    padding-left: 2em;
}

@media screen and (min-width: 640px) {
    .nav-collapse ul ul a {
        display: none;
    }
}

/* ------------------------------------------
  NAV TOGGLE STYLES
--------------------------------------------- */

@font-face {
    font-family: "responsivenav";
    src: url("../icons/responsivenav.eot");
    src: url("../icons/responsivenav.eot?#iefix") format("embedded-opentype"),
        url("../icons/responsivenav.ttf") format("truetype"),
        url("../icons/responsivenav.woff") format("woff"),
        url("../icons/responsivenav.svg#responsivenav") format("svg");
    font-weight: normal;
    font-style: normal;
}

.nav-toggle {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-decoration: none;
    text-indent: -300px;
    position: relative;
    overflow: hidden;
    width: 60px;
    height: 55px;
    float: right;
}

.nav-toggle:before {
    color: #fff; /* Edit this to change the icon color */
    font: normal 28px/55px "responsivenav"; /* Edit font-size (28px) to change the icon size */
    text-transform: none;
    text-align: center;
    position: absolute;
    content: "\2261"; /* Hamburger icon */
    text-indent: 0;
    width: 100%;
    left: 0;
    top: 0;
}

@media (max-width: 1339px) {
    .logo,
    .logo2 {
        width: 100%;
        height: 100px;
        line-height: 100px;
        padding-left: 0px;
        border-bottom: solid 1px;
        text-align: center;
    }

    .nav-collapse {
        position: relative;
        width: 640px;
        left: 50%;
        transform: translateX(-50%);
        float: none;
    }
    .nav-collapse a {
        padding: 15px 24px;
        font-size: 18px;
    }

    #home,
    #impressum,
    #datenschutzpage {
        margin-top: 156px;
    }

    #home .content, .inhalt .content, #impressum .content, #datenschutzpage .content {
        padding: 60px 40px;
    }
}

/* Responsive */
@media (max-width: 1023px) {
    /* Tablet Hochformat */
    .text {
        width: 100%;
        max-width: 768px;
        margin-left: auto;
        margin-right: auto;
    }

    #home .content, .inhalt .content, #impressum .content, #datenschutzpage .content {
        padding: 40px 40px;
    }

    /* Home */
    #home ul {
        display: inline-block;
    }
    #home ul li {
        float: none;
    }
    #home ul li:nth-child(1) {
        width: 100%;
        margin-right: 0px;
        margin-bottom: 32px;
    }
    #home ul li:nth-child(2) {
        width: 100%;
        margin-left: 0px;
    }
    #home ul li ul li:nth-child(1) {
        margin-bottom: 8px;
    }

    #home .bild,
    #kontakt .bild {
        max-width: 768px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;
    }

    .inhalt ul li:nth-child(1) {
        width: 100%;
        margin-right: 0px;
    }
    .inhalt ul li:nth-child(2) {
        width: 100%;
        margin-left: 0px;
    }
    .inhalt ul li:nth-child(1) {
        margin-bottom: 32px;
    }

    /* Breite der Bilder in den Galerien */
    .inhalt .gallery {
        max-width: 768px;
    }
    .inhalt .gallery li.portrait {
        width: calc((100% - 24px) / 2);
    }
    .inhalt .gallery li.landscape {
        width: 100%;
    }
    .inhalt .gallery li:nth-child(1) {
        margin-bottom: 24px;
    }
    .inhalt .gallery li:nth-child(1),
    .inhalt .gallery li:nth-child(2) {
        margin-right: 0;
    }
    .inhalt .gallery li.portrait:nth-child(odd) {
        margin-right: 24px;
    }

    #hochzeitsspiele.inhalt .gallery li:nth-child(2) {
        margin-right: 24px;
    }
    #hochzeitsspiele.inhalt .gallery li:nth-child(3) {
        margin-right: 0;
    }
    .inhalt .gallery li:last-child {
        margin-bottom: 0;
    }
    .block {
        margin-bottom: 32px;
    }
}

@media (max-width: 767px) {
    /* Smartphone Querformat */

    body {
        font-size: 0.875em;
    }

    h1 {
        margin-bottom: 24px;
    }
    h2 {
        font-size: 1.8em;
        margin-bottom: 24px;
    }
    h2 span {
        font-family: "Lato-Regular";
    }
    h3 {
        margin-bottom: 20px;
    }
    h4 {
        font-size: 1.25em;
        margin-bottom: 16px;
    }

    .margin-bottom {
        margin-bottom: 64px;
    }
    .text1 {
        margin-bottom: 24px;
    }
}

@media (max-width: 639px) {
    header {
        position: absolute;
        height: 80px;
    }
    .nav-toggle {
        height: 80px;
        margin-top: -80px;
    }
    .nav-toggle:before {
        top: 15px;
    }
    .logo,
    .logo2 {
        background-position: 30px center;
        height: 80px;
        line-height: 80px;
        font-size: 22px;
        border-bottom: none;
    }

    .nav-collapse {
        width: 100%;
        left: 0;
        transform: translateX(-0%);
        float: none;
    }
    .nav-collapse a {
        padding: 15px 30px;
        font-size: 18px;
    }

    #home,
    #impressum,
    #datenschutzpage {
        margin-top: 80px;
    }
}

@media (max-width: 479px) {
    /* Smartphone Hochformat */

    h1 {
        font-size: 1.5em;
        line-height: 130%;
        margin-bottom: 24px;
    }
    h2 {
        font-size: 1.35em;
        line-height: 130%;
        margin-bottom: 24px;
    }
    h3 {
        font-size: 1.25em;
        line-height: 130%;
        margin-bottom: 20px;
    }
    h4 {
        font-size: 1.125em;
        line-height: 130%;
        margin-bottom: 16px;
    }

    .logo,
    .logo2 {
        position: absolute;
        top: 50%;
        height: unset;
        line-height: 30px;
        font-size: 20px;
        text-align: left;
        margin-left: 20px;
        width: calc(100% - 80px);
        transform: translateY(-50%);
    }

    .nav-toggle {
        margin-top: 0;
    }

    .nav-collapse a {
        padding: 15px 20px;
    }

    #home,
    #impressum,
    #datenschutzpage {
        margin-top: 80px;
    }

    #home .content,
    .inhalt .content,
    #impressum .content,
    #datenschutzpage .content {
        padding: 30px 20px;
    }

    .inhalt .gallery {
        margin-top: 30px;
    }

    footer .content {
        padding: 20px 20px;
        width: auto;
    }
    footer .content a {
        line-height: 200%;
    }
    #home ul li:nth-child(1) {
        width: 100%;
        margin-right: 0px;
        margin-bottom: 32px;
    }

    .inhalt ul li:nth-child(1) {
        margin-bottom: 24px;
    }

    .margin-bottom {
        margin-bottom: 40px;
    }

    /* Breite der Bilder in den Galerien */
    .inhalt .gallery li.portrait {
        width: 100%;
    }
    .inhalt .gallery li.portrait:nth-child(odd) {
        margin-right: 0;
    }
    #hochzeitsspiele.inhalt .gallery li:nth-child(2) {
        margin-right: 0;
    }

    input[type=submit] {
        font-size: 16px;
    }
}

@media (max-width: 325px) {
    /* Smartphone Hochformat schmal */

    .logo,
    .logo2 {
        font-size: 18px;
    }
}

.inhalt a {
    text-decoration: none;
    color: #7b8c69;
    border-bottom: 1px solid #7b8c69;
}
footer a,
#home a {
    border-bottom: 1px solid #fff;
}
