@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400');
@import url('https://fonts.googleapis.com/css?family=Tangerine:400,700');
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

html, body {
    height: 100%;
}

body {
    margin: 0 auto;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    background-color: gray;
    overflow-y: scroll;
}

p {
    margin: 0;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: 'Tangerine', cursive;
    font-weight: 700;
}

h2 {
    margin-bottom: 13px;
}

#logout {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: transparent;
    color: white;
    text-transform: uppercase;
    font-family: 'Playfair Display', serif;
    font-style: normal;
    border: none;
    font-size: 18px;
}

.center_div {
    max-width: 1000px;
    margin: 0 auto;
}

#strukturbild {
    background-image: url("/media/Website/strukturbild.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    display: table;
}

#struktur_text_inner p {
    text-shadow: 2px 2px black;
}

html.customer_group_0 #strukturbild:after {
    background-image: url("/media/Website/strukturbild_unscharf.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    content: "";
    z-index: 0;
    opacity: 1;
    -webkit-transition: opacity 3000ms ease-in-out;
    -moz-transition: opacity 3000ms ease-in-out;
    -ms-transition: opacity 3000ms ease-in-out;
    -o-transition: opacity 3000ms ease-in-out;
    transition: opacity 3000ms ease-in-out;
    background-color: grey;
}

html.success #strukturbild:after {
    opacity: 0;
}

html.success #struktur_text_inner {
    display: none;
}

#struktur_text {
    display: table-cell;
    vertical-align: middle;
    color: #e1d6c3;
    height: 100%;
    width: 100%;
    padding: 0 15px;
    font-family: 'Tangerine', cursive;
    font-weight: 700;
    font-size: 84px;
}

#struktur_text_inner {
    z-index: 10;
    position: relative;
}

#struktur_text_inner span#date {
    font-size: 184px;
    line-height: 0.8;
}

#content_2 p {
    line-height: 2em;
}

#content_1 .content,
#content_2 .content,
#content_3 .content,
#content_4 .content,
#ende .content {
    position: relative;
    top: 50px;
    opacity: 0;
    transition: 500ms ease-in-out;
    transition-property: top, opacity;
}

#content_1 .content.visible,
#content_2 .content.visible,
#content_3 .content.visible,
#content_4 .content.visible,
#ende .content.visible {
    top: 0;
    opacity: 1;
}

.dark {
    background-color: #1b1916;
    height: 450px;
    display: table;
    line-height: 2em;
    margin: 0 auto;
    width: 100%;
}

#content1_text {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
    width: 100%;
    color: #f3eee2;
    padding: 0 15px;
    font-style: italic;
}

.lighter {
    color: #f3eee2;
    font-style: italic;
}

#content_3 {
    height: 150px;
    width: 100%;
    color: #f3eee2;
    padding: 80px 0;
}

.dark h1 {
    font-size: 84px;
    margin-bottom: 0;
    color: #99EB83;
}

.dark h2,
.dark h3 {
    font-size: 60px;
    margin-bottom: 0;
    color: #99EB83;
    font-style: italic;
}

.dark h1:after,
.dark h2:after,
.dark h3:after {
    background-image: url("../images/content1_stripe.png");
    background-position: center;
    background-repeat: no-repeat;
    content: "";
    width: 100%;
    height: 70px;
    display: block;
}

.dark a {
    text-decoration: none;
    color: #f3eee2;
}

#content1_text h2 {
    font-size: 40px;
    margin-bottom: 0;
    color: #99EB83;
}

#content_1 h2:after {
    background-image: url("../images/content1_stripe.png");
    background-position: center;
    background-repeat: no-repeat;
    content: "";
    width: 100%;
    height: 70px;
    display: block;
}

.dark p {
    font-size: 18px;
}

.lighter {
    background-color: #2c2c2c;
    color: #c7c2b4;
    padding: 80px 15px;
    font-size: 18px;
}

.lighter h2,
.lighter h3 {
    color: #b661b5;
    font-size: 60px;
    font-style: italic;
}

.lighter h2:after,
.lighter h3:after {
    background-image: url("../images/content2_stripe.png");
    background-position: center;
    background-repeat: no-repeat;
    content: "";
    width: 100%;
    height: 12px;
    display: block;
    margin-bottom: 20px;
}

#ende {
    background-image: url("/media/Website/content3_bg.jpg");
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 680px;
    display: table;
    position: relative;
}

#content_1 a,
#ende a {
    text-decoration: none;
    color: white;
}

#content_3 img {
    margin-top: 13px;
    border: 1px solid black;
}

#ende_text {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
    color: white;
    padding: 20px 15px;
    text-shadow: 2px 2px black;
}

#ende_text h3 {
    font-size: 84px;
}

#ende_text span#bigger {
    font-size: 184px;
}

.logo_3wm {
    position: absolute;
    bottom: 8%;
    left: 50%;
    margin-left: -39px;
}

p.impressum {
    position: absolute;
    bottom: 2%;
    left: 50%;
    margin-left: -40px;
}

/*Formular Styles*/

.form_error {
    color: #8D0209;
    text-align: center;
    margin-top: -10px;
    margin-bottom: 10px;
}

.ui-select {
    background-color: black;
    height: 40px;
    width: 445px;
}

.ui-select .ui-btn > span:not(.ui-li-count) {
    padding-left: 15px;
}

.ui-select li {
    background-color: black;
}

.ui-select .ui-shadow {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.ui-btn-corner-all,
.ui-btn.ui-corner-all,
.ui-slider-track.ui-corner-all,
.ui-flipswitch.ui-corner-all,
.ui-li-count {
    border: none;
}

.form_element.submit {
    margin-top: 5px;
}

.formularContainer {
    width: 440px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="submit"],
textarea {
    width: 440px;
    border: none;
    height: 40px;
    background-color: black;
    margin-bottom: 10px;
    color: white;
    text-align: center;
}

textarea {
    line-height: 1.3;
    font-family: sans-serif;
    font-size: 15px !important;
    height: 70px;
    max-width: 440px;
}

.desktop textarea {
    min-width: 440px;
    min-height: 40px;
}

.form_row.required.select.zusage .form_label,
.form_row.required.select.personen_anzahl .form_label,
.form_row.required.select.zu_absage .form_label {
    margin-bottom: -9px;
}

input[type="submit"] {
    background-color: transparent;
    color: white;
    text-transform: uppercase;
    width: 120px;
    font-family: 'Playfair Display', serif;
    font-style: normal;
}

.cms_widget {
    text-align: left;
}

.ui-btn-icon-notext:after, .ui-btn-icon-left:after, .ui-btn-icon-right:after {
    margin-top: -15px !important;
    background-color: rgb(44, 44, 44);
}

/*Login*/

.login_headline {
    position: relative;
    font-size: 60px;
    color: #b661b5;
}

#heading_user {
    color: #848484;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    position: relative;
    top: -5px;
    font-weight: 400;
    text-shadow: none !important;
}

#heading_pass {
    color: #848484;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    position: relative;
    top: 33px;
    font-weight: 400;
    text-shadow: none !important;
    margin-bottom: 5px;
}

#struktur_text_inner h1:after {
    background-image: url("../images/content2_stripe.png");
    background-position: center;
    background-repeat: no-repeat;
    content: "";
    width: 100%;
    height: 12px;
    display: block;
    margin-bottom: 20px;
}

form[data-role="login"] {
    background-color: #2c2c2c;
}

form[data-role="login"]

.form_label .text,
.form_element .checkbox {
    color: #848484;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: normal;
}

input[name="identity"],
input[name="credential"] {
    width: 300px;
    border: none;
    height: 30px;
    font-size: 15px;
    background-color: black;
    color: white;
    padding: 0 5px;
}

input[name="credential"] {
    margin-top: 20px;
    text-align: center;
}

form[data-role="login"] {
    width: 298px;
    margin: 0 auto;
    font-size: 20px;
    padding: 140px 51px 0 0;
    color: black;
    border: 1px solid white;
    margin-top: -170px;
}

form[data-role="login"] input[type="submit"] {
    width: 150px;
    height: 30px;
    font-size: 13pt;
    margin-top: 5px;
}

form[data-role="login"] .row {
    width: 350px;
    margin: 0 auto;
}

::-webkit-input-placeholder { /* Chrome */
    color: black;
}

:-ms-input-placeholder { /* IE 10+ */
    color: black;
}

::-moz-placeholder { /* Firefox 19+ */
    color: black;
    opacity: 1;
}

:-moz-placeholder { /* Firefox 4 - 18 */
    color: black;
    opacity: 1;
}

.ui-checkbox-on:after,
.ui-checkbox-off:after {
    content: '\f00c';
    font-size: 21px;
    font-weight: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 0;
    background: none;
    border-radius: 0;
    margin-top: -13px;
    margin-left: 0;
}

.ui-checkbox-off:after {
    content: '\f00d';
}

input[type='checkbox'] {
    visibility: hidden;
}

.ui-checkbox > .ui-btn {
    border-radius: 0 !important;
    border: 1px solid white !important;
    padding: 2px 5px;
}

.ui-checkbox .ui-btn.ui-checkbox-on:after,
.ui-checkbox .ui-btn.ui-checkbox-off:after {
    font-family: FontAwesome;
    font-size: 21px;
    font-weight: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 0;
    background: none;
    border-radius: 0;
    margin-top: -14px;
    margin-left: -43px;
}

.ui-checkbox .ui-btn.ui-checkbox-on:after {
    content: '\f00c';
}

.ui-checkbox .ui-btn.ui-checkbox-off:after {
    content: '\f00d';
}

.ui-checkbox {
    background: transparent;
    outline: none;
    color: inherit;
    vertical-align: middle;
}

.ui-checkbox .ui-btn:after {
    opacity: 1;
    top: 13px;
    left: 0;
    line-height: 27px;
    text-align: center;
    font-size: 22px !important;
    background-color: black !important;
    outline: 2px solid black;
    height: 27px;
    width: 27px;
    color: #fff;
}

.ui-checkbox > .ui-btn {
    border: none !important;
    overflow: visible !important;
}

.ui-checkbox .ui-btn.ui-checkbox-off:after {
    content: '';
}

.form_element .checkbox {
    margin-top: 5px;
}

.form_row .checkbox {
    margin-left: 23px;
}

.required.tooltip {
    border: 1px solid #8D0209;
}

.formularContainer input[type="text"],
.formularContainer input[type="password"],
.formularContainer input[type="number"],
.formularContainer input[type="date"],
.formularContainer input[type="email"] {
    padding-left: 5px;
}

.ui-btn.ui-corner-all {
    color: white;
    font-weight: normal;
}

option {
    background-color: black;
}

.anrede .form_label {
    margin-bottom: -10px;
}

/*Mobile anpassungen*/

.mobile .formularContainer input[type="submit"] {
    font-size: 14px !important;
}

@media screen and (max-width: 800px) {
    h1, h3 {
        font-size: 100px;
        margin-bottom: 13px;
    }

    #struktur_text span#date {
        font-size: 120px;
    }

    #ende_text span#bigger {
        font-size: 100px;
    }

    #content1_text h1 {
        font-size: 60px;
        margin-top: 40px;
        line-height: 0.9;
    }

    #content1_text {
        padding-bottom: 30px;
    }

    .lighter h2,
    .lighter h3,
    #content_3 h2,
    #content_3 h3 {
        font-size: 40px;
        text-align:center;
    }

    #content_1,
    #content_2,
    #content_3 {
        margin: 0 auto;
        overflow: hidden;
    }

    #content_3 {
        padding: 30px 0;
    }

    .lighter {
        padding: 20px 15px;
        font-size: 14px;
    }

    #ende {
        height: 340px;
    }

    input[type="text"],
    input[type="number"],
    input[type="date"],
    input[type="datetime"],
    input[type="email"] {
        width: 100%;
        font-size: 15px !important;
    }

    .formularContainer {
        width: 300px;
        margin: 0 auto;
        text-align: center;
        font-size: 14px;
    }

    form[data-role="login"] {
        width: 230px;
        padding-left: 35px;
    }

    form[data-role="login"] .row {
        width: 0;
        margin: 0;
        margin-left: 20px
    }

    input[name="identity"],
    input[name="credential"] {
        width: 200px;
    }

    .form_row .checkbox {
        margin-left: 47px;
    }

    form[data-role="login"] input[type="submit"] {
        margin-left: 28px;
        font-size: 15px;
    }

    .form_element .submit input[type="submit"] {
        margin: 0;
    }

    #strukturbild {
        background-image: url("/media/Website/strukturbild_mobil.jpg");
    }

    html.customer_group_0 #strukturbild:after {
        background-image: url("/media/Website/strukturbild_mobil_unscharf.jpg");
    }

    .formularContainer input[type="submit"] {
        font-size: 16px !important;
    }

    #ende_text {
        text-shadow: 1px 1px black;
    }

    #struktur_text_inner p {
        text-shadow: 1px 1px black;
    }

    #ende_text_inner {
        line-height: 4em;
    }

    .dark p {
        font-size: 14px;
    }

    .ui-select {
        width: 300px;
    }

    .ui-select .ui-btn > span:not(.ui-li-count) {
        padding-left: 10px;
        font-weight: normal;
    }

    #logout {
        font-size: 13px;
        z-index: 30;
    }

    select {
        line-height: 1.3;
    }

    .ui-btn-icon-notext:after, .ui-btn-icon-left:after, .ui-btn-icon-right:after {
        margin-top: -10px !important;
    }

    #content_2 .content,
    #content_3 .content {
        width: 100% !important;
    }

    #content_3 h3 {
        line-height: 0.3;
        margin-top: 40px;
    }

}

/*galerie*/
a.gallery_item {
    display: inline-block;
    width: calc(100% / 4);
    border: 10px solid transparent;
    position: relative;
}

a.gallery_item:before {
    content: '';
    opacity: 0;
    position: absolute;
    top: 7px;
    right: 7px;
    bottom: 7px;
    left: 7px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.5);
}

a.gallery_item:hover:before {
    opacity: 1;
    transition: opacity 0.3s linear;
}

a.gallery_item:after {
    content: '';
    padding-top: 100%;
    display: block;
}

a.gallery_item .image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center center;
    border: 7px solid white;
    -webkit-box-shadow: 0 0 20px -5px #000000;
    box-shadow: 0 0 20px -5px #000000;
}

a.gallery_item .description p {
    color: white;
    font-family: Oswald, sans-serif;
    font-weight: 500;
    text-align: center;
    font-size: 18px;
}

a.gallery_item .description {
    position: absolute;
    width: calc(100% - 14px);
    visibility: hidden;
    opacity: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    left: 7px;
}

a.gallery_item:hover > .description {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s linear;
}

html.mobile a.gallery_item {
    width: 90%;
}

html.mobile a.gallery_item .description {
    bottom: 50px;
    opacity: 0;

}

html.mobile a.gallery_item .description.visible {
    margin-top: 39%;
    opacity: 1;
    visibility: visible;
    text-shadow: 1px 1px 2px black;
}

html.mobile .gallery .item {
    width: calc(100% / 3);
}

html.mobile .gallery.kachel {
    margin: 0;
    margin-top: 15px;
}

.gallery_over a {
    color: white;
    text-transform: uppercase;
    width: 120px;
    font-family: 'Playfair Display', serif;
    font-style: normal;
}