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

@font-face {
    font-family: "Signika-Bold";
    src: url("../fonts/Signika-Bold.ttf");
}
@font-face {
    font-family: "Signika-Light";
    src: url("../fonts/Signika-Light.ttf");
}
@font-face {
    font-family: "Signika-Medium";
    src: url("../fonts/Signika-Medium.ttf");
}
@font-face {
    font-family: "Signika-Regular";
    src: url("../fonts/Signika-Regular.ttf");
}
@font-face {
  font-family: "Signika-SemiBold";
  src: url("../fonts/Signika-SemiBold.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: 700px) {
    .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: #ce2f2e;
    font: normal 100%/1.4 sans-serif;
    font-family: "Signika-Light";
}

section {
    width: 100%;
}

h1 {
    font-family: "Signika-SemiBold";
    font-size: 2.5em;
    line-height: 140%;
    margin-bottom: 32px;
    text-align: center;
}
h2,
.endpreis {
    font-family: "Signika-SemiBold";
    font-size: 1.5em;
    line-height: 140%;
    margin-bottom: 18px;
}
h3, h4 {
    font-family: "Signika-SemiBold";
    line-height: 140%;
}
.text {
    width: 100%;
    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: #cc0000;
}

strong {
    font-family: "Signika-SemiBold";
}

.color1 {
    color: #e1131d;
}
.color2 {
    color: #ffd021;
}
.color3 {
    color: #acbf02;
}
.color4 {
    color: #05a5a0;
}

.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 {
    background: #ce2f2e;
    background: linear-gradient(135deg, #bb2222 0%, #ce2f2e 100%);
    color: #fff;
    margin-top: 88px;
    width: 100%;
}
#logo-streifen {
    background: #f5f5f5;
}
#logo-streifen img {
    display: block;
    position: relative;
    width: 60%;
    max-width: 600px;
    margin: 0 auto;
}
#tagcloud {
    background: #ce2f2e;
    background: linear-gradient(135deg, #bb2222 0%, #ce2f2e 100%);
    color: #fff;
    width: 100%;
}

#fotoboxmieten,
#fotoboxfunktionen,
#extra,
#selfiewall-statt-fotobox-mieten {
    background: #fff;
    color: #414141;
}

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

#fotoboxbedienung,
#kontakt.admin,
#uebersicht2 {
    background: #f5f5f5;
    color: #414141;
}

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

footer {
    background: #ce2f2e;
    width: 100%;
    box-shadow: -2px -2px 0px 0px rgba(50, 50, 50, 0.5);
}
footer .content {
    position: relative;
    width: max-content;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px 40px;
    color: #fff;
}

#home .content,
#tagcloud .content,
.inhalt .content,
#impressum .content,
#datenschutzpage .content,
#uebersicht .content,
#selfiewall-statt-fotobox-mieten .content {
    position: relative;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 60px 40px;
}
#tagcloud .content {
    text-align: center;
}
#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: calc(100% - 20px);
    margin-left: 20px;
    margin-right: 0;
}
#home ul li ul li,
#uebersicht ul li ul li {
    list-style-type: disc;
    margin-bottom: 8px;
}
.inhalt ul li .liste {
    margin-left: 20px;
    width: calc(100% - 20px);
}
.inhalt ul li .liste 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;
}
#selfiewall-statt-fotobox-mieten.inhalt .bild {
    margin-top: 0;
}
.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 .thumbs {
    display: flow-root;
    position: relative;
    width: 100%;
    margin-top: 24px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
}
.inhalt .thumbs li {
    float: left;
    list-style-type: none;
    margin-right: 24px;
    overflow: hidden;
}
.inhalt .thumbs li.thumb {
    width: calc((100% - 48px) / 3);
    margin-right: 24px;
    margin-bottom: 0;
}
.inhalt .thumbs.two-images li.thumb {
    width: calc((100% - 24px) / 2);
    margin-right: 24px;
    margin-bottom: 0;
}
.inhalt .thumbs li.thumb:last-child,
.inhalt .thumbs.two-images li.thumb :last-child {
    margin-right: 0;
}
.inhalt .thumbs li img {
    display: block;
    width: 100%;
    height: auto;
}
/* flex */
.container {
    width: 100%;
}
.item {
    float: left;
    margin-right: 24px;
    margin-top: 24px;
}
.item:last-child {
    margin-right: 0;
}
.item:nth-child(1) {
    width: calc((100% - 48px) / 2.125);
}
.item:nth-child(2) {
    width: calc((100% - 48px) / 3.78);
}
.item:nth-child(3) {
    width: calc((100% - 48px) / 3.78);
}
.item img {
    display: block;
    width: 100%;
    height: auto;
}

.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;
}
#fotoboxmieten.inhalt .gallery li:nth-child(3),
#fotoboxbedienung.inhalt .gallery li:nth-child(2),
#fotoboxbedienung.inhalt .gallery li:nth-child(4),
#fotoboxbedienung.inhalt .gallery li:nth-child(7),
#fotoboxfunktionen.inhalt .gallery li:nth-child(1),
#fotoboxfunktionen.inhalt .gallery li:nth-child(3) {
    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%);
}
.inhalt video {
    display: block;
    width: 100%;
    height: auto;
}
.achtung {
    display: inline-block;
    background-color: #ffff00;
    margin-bottom: 8px;
    padding: 4px;
    font-family: "Signika-SemiBold";
    color: #000;
}

/* #fotoboxmieten > 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);
}

/* tagcloud */
#tagcloud .content a {
    color: #fff;
    text-decoration: none;
    font-size: 1.125em;
    line-height: 200%;
    padding: 0 20px;
}

/* footer */
footer span {
    display: inline-block;
}
footer .copy {
    margin-left: 20px;
}
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: 16px;
    right: 16px;
    background-color: #ce2f2e;
    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: #bb2222;
    transition: background-color 0.2s;
}

/* Formular */
form input {
    height: 50px;
    text-indent: 5px;
    font-size: 18px;
}
input[type=text],
input[type=email] {
    border: 1px solid #666;
    width: 100%;
    margin-bottom: 8px;
    box-sizing: border-box;
    font-family: "Signika-Light";
}
input[type=time] {
    border: 1px solid #666;
    width: 100px;
    height: 32px;
    margin-bottom: 24px;
    box-sizing: border-box;
    font-family: "Signika-Light";
}
input[type=text].error,
input[type=email].error,
input[type=time].error {
    border:1px solid red;
}
input[type=text]#endpreis {
    font-family: 'Signika-SemiBold';
    width: 50px;
    border: none;    
    font-size: 1em;
    color: #333;
    padding: 0;
    text-align: right;
}
input[type=radio],input[type="checkbox"] {
    width: 16px;
}
::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: 16px;
    line-height: 16px;
}
#datepicker {
    margin-bottom: 8px;
}
.ui-datepicker  {
    width: unset;
    max-width: 300px;
}
input[type=submit] {
    width: 100%;
    background-color: #ce2f2e;
    border: none;
    color: #fff;
    font-family: "Signika-SemiBold";
    cursor: pointer;
}
input[type=submit]:hover {
    background-color: #bb2222;
}
input[type=file] {
    margin-left: -5px;
    font-family: "Signika-SemiBold";
    font-size: 1em;
    color: #fff;
}
input::file-selector-button{
    display: inline-block;
    margin-right: 5px;
    padding: 0.5em;
    border-radius: 3px;
    border: none;
    background-color: #ce2f2e;
    color: #fff;
    cursor: pointer;
}
input::file-selector-button:hover {
    background-color: #bb2222;
}
a.check {
    display: block;
    width: max-content;
    cursor: pointer;
    line-height: 120%;
}
#availability img {
    display: inline-block;
}

.paypal-headline { position: relative; margin: 20px auto; font-size:18px; font-family: "Signika-SemiBold"; text-transform: uppercase; text-align: center;}

/* payment */
#paypal-button-container {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 750px;
    z-index: 1;
}

.klein {
    font-size: 0.8em;
}

/* Tabelle, Das perfekte Hochzeitsdatum */
.table {
    display: inline-block;
    width: 100%;
}
.table-row {
    float: left;
    width: calc((100% - (16px * 3)) / 4);
    margin-right: 16px;
}
.table-row:last-child {
    margin-right: 0;
}
.table-cell {
    background-color: #f5f5f5;
    line-height: 24px;
    padding: 8px 8px 0 8px;
    box-sizing: border-box;
    margin-bottom: 8px;
}
.table-row .table-cell:first-child {
    background: none;
    padding: 0;
    margin-bottom: 0;
}
.table-row .table-cell:last-child {
    margin-bottom: 0;
}
.table-cell.a-2 { height: calc(24px * 3);}
.table-cell.a-3 { height: calc(24px * 4);}
.table-cell.a-4 { height: calc(24px * 5);}
.table-cell.a-5 { height: calc(24px * 6);}
.table-cell.a-6 { height: calc(24px * 7);}
.table-cell.a-7 { height: calc(24px * 8);}
.table-cell.a-8 { height: calc(24px * 9);}
.table-cell.a-9 { height: calc(24px * 10);}
.table-cell.a-10 { height: calc(24px * 11);}
.table-cell.a-11 { height: calc(24px * 12);}
.table-cell.a-12 { height: calc(24px * 13);}

.table-cell span {
    display: block;
}
.table-cell span.samstag {
    color: #ce2f2e;
}

#personal-text label {
    display: inline-block;
    margin-bottom: 8px;
    width: 150px;
}

#personal-text #result {
    width: 100%;
    height: 50px;
    background-color: #05a5a0;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 50px;
    text-align: center;
    font-weight: bold;
}
.button-link {
    color: #ce2f2e;
    text-decoration: underline;
    cursor: pointer;
}

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

header {
    background: #ce2f2e;
    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-family: "Signika-Regular";
    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: 700px) {
    .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: 700px) {
    .nav-collapse {
        float: right;
        width: auto;
    }
}

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

@media screen and (min-width: 700px) {
    .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: #ce2f2e;
    padding: 1em 1em;
    color: #fff;
    width: 100%;
    float: left;
    transition: background-color 0.2s;
    text-transform: uppercase;
}

.nav-collapse a span {
    text-transform: none;
}

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

@media screen and (min-width: 700px) {
    .nav-collapse a {
        /*border-left: 1px solid white;*/
        padding: 32px 32px;
        text-align: center;
        border-top: 0;
        float: left;
        margin: 0;
        font-size: 18px;
        font-family: "Signika-Regular";
        
    }
}

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

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

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

.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: 1299px) {
    .logo,
    .logo2 {
        width: 100%;
        height: 100px;
        line-height: 100px;
        padding-left: 0px;
        border-bottom: solid 1px;
        text-align: center;
    }

    .nav-collapse {
        position: relative;
        width: 700px;
        left: 50%;
        transform: translateX(-50%);
        float: none;
    }
    .nav-collapse a {
        padding: 15px 20px;
    }

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

    #home .content, .inhalt .content, #impressum .content, #datenschutzpage .content, #uebersicht .content, #selfiewall-statt-fotobox-mieten .content {
        padding: 60px 40px;
    }
}
@media (max-width: 1099px) {
    .table-row {
        float: left;
        width: calc((100% - 16px) / 2);
    }
    .table-row:nth-child(2),
    .table-row:nth-child(4) {
        margin-right: 0;
    }
    .table-row:nth-child(1),
    .table-row:nth-child(2) {
        margin-bottom: 48px;
    }
    .table-cell {
        line-height: 24px;
    }
    .table-cell.b-2 { height: calc(24px * 3);}
    .table-cell.b-3 { height: calc(24px * 4);}
    .table-cell.b-4 { height: calc(24px * 5);}
    .table-cell.b-5 { height: calc(24px * 6);}
    .table-cell.b-6 { height: calc(24px * 7);}
    .table-cell.b-7 { height: calc(24px * 8);}
    .table-cell.b-8 { height: calc(24px * 9);}
    .table-cell.b-9 { height: calc(24px * 10);}
    .table-cell.b-10 { height: calc(24px * 11);}
    .table-cell.b-11 { height: calc(24px * 12);}
    .table-cell.b-12 { height: calc(24px * 13);}
}

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

.button {
    width: 100%;
    height: 50px;
    font-size: 18px;
    background-color: #ce2f2e;
    border: none;
    font-family: "Signika-SemiBold";
    cursor: pointer;
    line-height: 50px;
    text-align: center;
}
.button-lieferadresse {
    width: 100%;
    height: 50px;
    font-size: 18px;
    background-color: #ce2f2e;
    border: none;
    font-family: "Signika-SemiBold";
    cursor: pointer;
    line-height: 50px;
    text-align: center;
    color: #fff;
    margin-bottom: 16px;
}
.button a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    border-bottom:none;
    width: 100%;
    height: 100%;
}
.button:hover,
.button-lieferadresse:hover {
    background-color: #bb2222;
}
.button a:hover {
    text-decoration: none;
    border-bottom:none;
}
.inhalt .top a {
    border-bottom: none;
}

.subnavi a {
    margin-right: 8px;
}
.subnavi a.current {
    text-decoration: none;
    border-bottom: none;
    color: #333;
}
#datenschutz-error,#availability-text-error {
    color:red;
}
.option-disable {
    color:#ccc;
}
#lieferart-border {
    border: solid 1px #666;
    padding: 10px;
}
#abholzeit {
    width: 64px;
    height: 24px;
}
#lieferart-border.error {
    border: solid 1px red;
}
#lieferadresse {
    margin-top: 16px;
}
#bank-transfer {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 750px;
    z-index: 1;
    height: 55px;
    min-height: 40px;
    max-height: 55px;
    border: none;
    background-color: #006;
    color: #fff;
    border-radius: 4px;
    margin-bottom: 17px;
    font-size: 20px;
    font-family: PayPalOpen-Regular, Helvetica, Arial, "Liberation Sans", sans-serif;
    text-transform: none;
    font-weight: 500;
    text-align: center;
    line-height: 55px;
    cursor: pointer;
}
#bank-transfer:hover {
    filter: opacity(0.9);
}
.hidden {
    display: none;
}

.message {
    font-family: "Signika-SemiBold";
}
p.message {
	font-family: "Signika-Light";
}
#image_preview {
	position: relative;
}
#image_preview img {
	display: block;
	max-width: 240px;
	max-height: 240px;
}
.check {
    width: 100%;
    max-width: 308px;
    background-color: #bb2222;
    border: none;
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 4px;
    font-family: "Signika-SemiBold";
    font-size: 16px;
    text-align: center;
    cursor: pointer;
}
.check:hover {
    background-color: #bb2222;
}
.success {
    display: block;
    font-family: "Signika-SemiBold";
}
.invalid {
    display: block;
    color: red;
}

/* highlighting */
@keyframes highlighting-background {
	from {
		background-color: #bb2222;
	}
	to {
		background-color: #e1131d;
	}
}

.check.highlighting {
    animation: highlighting-background 500ms;
	animation-delay: 500ms;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
	animation-direction: alternate;
}

#datepicker a.ui-datepicker-prev, #datepicker a.ui-datepicker-next {
    text-decoration: none;
    border-bottom: 0;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    border: 1px solid #c5c5c5;
    background: #f6f6f6;
    font-weight: normal;
    color: #454545;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    border: 1px solid #999;
    background: #999;
    font-weight: normal;
    color: #ffffff;
}
  /* ENDE payment */

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
}

.swiper-slide img {
    display: block;
    width: 100%;
}

/* 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, #uebersicht .content, #selfiewall-statt-fotobox-mieten .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),
    .inhalt .gallery li:nth-child(3) {
        margin-right: 0;
    }
    .inhalt .gallery li.portrait:nth-child(odd) {
        margin-right: 24px;
    }

    #fotoboxfunktionen.inhalt .gallery li:nth-child(2) {
        margin-right: 24px;
    }
    #fotoboxfunktionen.inhalt .gallery li:nth-child(3),
    #fotoboxbedienung.inhalt .gallery li:nth-child(4),
    #fotoboxbedienung.inhalt .gallery li:nth-child(6),
    #fotoboxbedienung.inhalt .gallery li:nth-child(7) {
        margin-right: 0;
    }
}

@media (max-width: 767px) {
    /* Smartphone Querformat */
    h1 {
        margin-bottom: 24px;
    }
    h2 span {
        font-family: "Signika-Regular";
    }
    h2, .endpreis {
        margin-bottom: 20px;
    }

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

@media (max-width: 699px) {
    /* Menü zum Aufklappen */
    header {
        position: absolute;
        height: 60px;
    }
    .nav-toggle {
        height: 60px;
        margin-top: -60px;
    }
    .nav-toggle:before {
        font: normal 28px / 60px "responsivenav";
    }
    .logo,
    .logo2 {
        background-position: 30px center;
        height: 60px;
        line-height: 60px;
        font-size: 24px;
        border-bottom: none;
    }

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

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

    .text, h4 {
        font-size: 1em;
    }

    input[type=file] {
        font-size: 0.875em;
    }

    .table-row {
        width: 100%;
        margin-right: 0;
    }
    .table-row:nth-child(1),
    .table-row:nth-child(2),
    .table-row:nth-child(3) {
        margin-bottom: 36px;
        margin-right: 0;
    }
    .table-cell {
        line-height: 20px;
        max-width: 240px;
    }
    .table-cell.c-2 { height: calc(20px * 3);}
    .table-cell.c-3 { height: calc(20px * 4);}
    .table-cell.c-4 { height: calc(20px * 5);}
    .table-cell.c-5 { height: calc(20px * 6);}
    .table-cell.c-6 { height: calc(20px * 7);}
    .table-cell.c-7 { height: calc(20px * 8);}
    .table-cell.c-8 { height: calc(20px * 9);}
    .table-cell.c-9 { height: calc(20px * 10);}
    .table-cell.c-10 { height: calc(20px * 11);}
    .table-cell.c-11 { height: calc(20px * 12);}
    .table-cell.c-12 { height: calc(20px * 13);}

    footer .content {
        text-align: center;
        font-size: 14px;
    }

    footer .copy {
        display: block;
        margin-left: 0px;
        margin-top: 16px;
    }
}

@media (max-width: 499px) {
    #bank-transfer {
        height: 45px;
        line-height: 45px;
        font-size: 16px;
    }
}

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

    h1 {
        font-size: 1.375em;
        line-height: 130%;
        margin-bottom: 16px;
    }
    h2, .endpreis {
        font-size: 1.125em;
        line-height: 130%;
        margin-bottom: 12px;
    }
    input[type=text]#endpreis {
        font-size: 1.125em;
    }
    .text p, .text ul {
        margin-bottom: 16px;
    }
    .text1 {
        margin-bottom: 16px;
    }

    input[type=text], input[type=email] {
        font-size: 16px;
        height: 40px;
        margin-bottom: 4px;
    }
    
    input[type=text]#endpreis {
        width: 40px;
        height: auto;
    }
    .logo,
    .logo2 {
        height: 60px;
        line-height: 60px;
        font-size: 22px;
        text-align: left;
        margin-left: 16px;
        width: calc(100% - 16px);
    }

    .nav-collapse a {
        padding: 12px 16px;
    }

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

    #home .content,
    .inhalt .content,
    #impressum .content,
    #datenschutzpage .content,
    #uebersicht .content,
    #selfiewall-statt-fotobox-mieten .content {
        padding: 24px 16px;
    }

    .inhalt .thumbs li.thumb {
        width: calc((100% - 24px) / 3);
        margin-right: 12px;
    }
    .inhalt .thumbs.two-images li.thumb {
        width: calc((100% - 12px) / 2);
        margin-right: 12px;
    }
    .inhalt .thumbs li.thumb:last-child,
    .inhalt .thumbs.two-images li.thumb :last-child {
        margin-right: 0;
    }

    .item:nth-child(1),
    .item:nth-child(2),
    .item:nth-child(3) {
        width: 100%;
        margin-right: 0;
    }

    .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: 24px;
    }

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

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

    .inhalt ul li .liste li {
        margin-bottom: 4px;
    }

    input[type=text]#freitext {
        font-size: 14px;
    }
    #personal-text #result {
        height: 40px;
        font-size: 13px;
        line-height: 40px;
        font-weight: 600;
    }

    .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;
    }
    #fotoboxfunktionen.inhalt .gallery li:nth-child(2) {
        margin-right: 0;
    }

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

    input[type="radio" i], input[type="checkbox" i] {
        margin: 0px 2px 0px 0px;
        height: 10px;
        line-height: 16px;
    }

    .paypal-headline { font-size: 16px;} 
}

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

    .logo,
    .logo2 {
        font-size: 18px;
    }
    .endpreis {
        font-size: 1.125em;
    }
    #endpreis {
        width: 48px;
    }
    input[type=submit] {
        font-size: 14px;
    }
}