* {
    margin: 0;
    padding: 0;
}
html, body {
    width: 100%;
}


body {
    display: -webkit-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-family: "Calibri";
    font-size: 1em;
    color: #fff;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

header{
    background-image: url('/typo3conf/ext/fliesenleger_sitepackage/Resources/Public/Images/header.png');
    background-repeat: no-repeat;
    background-position:top left;
    text-align: right;
    background-color: #FFF;
}

header h2 {
    position: absolute;
    color: #000;
    width: 40%;
    text-align: left;
    line-height: 1em;
    padding-top: 6%;
    left: 15%;
    font-weight: normal;
    font-size: 1.9em;
}

header img {
    width: 231px;
    height: auto;
}

#main {
    width: 100%;
}

#contentholder {
    background-image: url('/typo3conf/ext/fliesenleger_sitepackage/Resources/Public/Images/bg_header.png');
    background-repeat: no-repeat;
    background-position:top left;
    width: 80%;
    margin: 0px auto;
}

#content {
    position: absolute;
    width: 80%;
    overflow-x: hidden;
    height:auto !important;
    height:100%;
    min-height:100%;
    background: rgba(9, 24, 42, 0.85);
    z-index: -1;
}

.content_inner {
    padding-left:30px;
    padding-top: 35px;
    width: 70%;
    padding-bottom: 80px;
}

.content_inner .frame-type-text ul {
    list-style: none;
}

fieldset {
    border: none;
}

legend {
    display: none;
}

label {
    display: block;
}

input[type='text'], input[type='email'], .btn-group.submit button{
    width: 300px;
    height: 25px;
    display: inline-block;
    margin-bottom: 10px;
    padding-left: 5px;
    font-size: 1em;
    box-sizing: border-box;
    border: 1px solid #FFF;
}

input[type='checkbox'] {
    margin-bottom: 25px;
    margin-top: 20px;
}

.form-group a {
    color: #FFF;
}

.form-check label span {
    padding-left: 5px;
}

.form-check label span.required {
    padding-left: 0;
}

span.error {
    color: #02bfee;
}

textarea {
    width: 300px;
    height: 100px;
    padding: 5px;
    box-sizing: border-box;
    font-size: 1em;
    display: inline-block;
    border: 1px solid #FFF;
}

#p5 .content_inner {
    width: 100%;
    padding-left: 0;
}

#back {
    opacity: 0;
}

#back.active {
    opacity: 1;
    cursor: pointer;
}

h2 {
    margin-bottom: 20px;
}

.content_inner p {
    margin-bottom: 10px;
}

footer

#overview {
    z-index: 3;
}

#menu {
    list-style-type: none;
    position: absolute;
    bottom: 0%;
    width: 100%;
    padding-bottom: 1%;
    padding-top: 1%;
    background-color: #09182a;

}

#menu li {
    float: left;
    margin-left: 3%;
    padding-top: 10px;
}

#menu li a {
    color: #FFFFFF;
    text-decoration: none;
    background-image: url('/typo3conf/ext/fliesenleger_sitepackage/Resources/Public/Images/menu_pfeil.png');
    background-repeat:no-repeat;
    background-position:top center;
    text-transform: uppercase;
    font-size: 0.8em;
    padding-top: 15px;
}


#menu li a:hover, #menu li a.active {
    background-image: url('/typo3conf/ext/fliesenleger_sitepackage/Resources/Public/Images/menu_pfeil_active.png');
    color: #02bfee;
}

.menu-trigger {
    display: none;
    outline: none;
    background: none;
    border: none;
    text-transform: uppercase;
    color: #000;
    font-size: 16px;
    cursor: pointer;
    padding-right: 2em;
    position: absolute;
    top: 0;
    right: 10%;
    width: 200px;
    z-index: 1000;
    text-align: right;
}
.menu-trigger span.title,
.menu-trigger span.title-open {
    margin-left: 60px;
    margin-top: 2px;
    display: block; }
.menu-trigger span.title-open {
    display: none;
    color: #FFF;
}

.menu-trigger span.title {
    margin-right: 5px;
}
.menu-trigger span.icon {
    -webkit-transition: all .25s;
    transition: all .25s;
    position: absolute;
    width: 16px;
    height: 0px;
    background: #fff;
    border-radius: 1px;
    border: solid 1px #000;
    vertical-align: middle;
    right: 10px;
    top: 11px; }
.menu-trigger span.icon:before, .menu-trigger span.icon:after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 0px;
    position: absolute;
    -webkit-transition: all .25s;
    transition: all .25s;
    background: #000;
    border-radius: 1px;
    border: solid 1px #000;
    position: absolute;
    left: -1px; }
.menu-trigger span.icon:before {
    margin-top: -7px; }
.menu-trigger span.icon:after {
    margin-top: 5px; }
.menu-trigger.open span.title-open {
    display: block; }
.menu-trigger.open span.title {
    display: none; }
.menu-trigger.open span.icon {
    border: solid 1px transparent;
    background: transparent; }
.menu-trigger.open span.icon:before, .menu-trigger.open span.icon:after {
    margin-top: 0px;
    border: solid 1px red;
    background: red; }
.menu-trigger.open span.icon:before {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg); }
.menu-trigger.open span.icon:after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg); }

.galerie {
    opacity: 0;
    position: absolute;
    z-index: 2;
}

#galerie {
    text-align: center;
}

#galerie #overview span {
    display: inline-block;
    width: 20%;
    height: auto;
    background-color: #FFFFFF;
    cursor: pointer;
    margin-right: 7px;
    margin-bottom: 7px;
    color: #000;
    font-size: 14px;
}

#galerie img {
    display: block;
    margin: 0px auto;
    margin-top: 5px;
    margin-bottom: 5px;
}


.galerie-overview span img {
    width:100%;
    height:auto;
}

.galerie-overview {
    display:none;
}

.galerie-overview.active {
    z-index: 1000;
    display: block;
    width: 100%;
}

#galerie .galerie span {
    margin-top: 20px;
    width: 20%;
    height: auto;
    margin-right: 10px;
    display: inline-block;
    background-color: #FFFFFF;
}

.swiper-container {
    position: static;
    overflow: auto;
}

.swiper-wrapper {
    position: static;
    transform: none;
}

.swiper-slide {
    position: static;
}

@media (max-width: 1100px) {


    #contentholder {
        width: 100%;
        left: 0;
    }

    #content {
        width: 100%;
    }



    #menu {
        display: none;
        top: 0;
        width: 100%;
        padding-top: 10px;
    }

    #menu.open {
        display: block;
    }

    #menu li {
        float: none;
        margin: 0;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .menu-trigger {
        display: block;
        top: 1%;
        right: 0;
    }

    #menu li a {
        background-image: none;
        padding-left: 10px;
    }

    #menu li a:before,#menu li a:hover:before, #menu li a.active:before
    {
        content: "";
        width: 11px;
        height: 8px;
        top: 27px;
        left: 5px;
        margin-right: 5px;
        display: inline-block;
        background: url('/typo3conf/ext/fliesenleger_sitepackage/Resources/Public/Images/menu_pfeil.png') 0 0 repeat;
        -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    #menu li a:hover, #menu li a.active {
        background-image: none;
        color: #02bfee;
    }

    #menu li a:hover:before, #menu li a.active:before {
        background-image: url('/typo3conf/ext/fliesenleger_sitepackage/Resources/Public/Images/menu_pfeil_active.png');
    }





}

@media (max-width: 800px) {
    #galerie .galerie-overview span {
        width:30%;
    }

}

@media (max-width: 600px) {
    #galerie .galerie-overview span {
        width: 90%;
    }

}


@media (max-width: 500px) {

    .content_inner {
        width: 90%;
    }




}

@media (max-width: 380px) {

    .content_inner {
        padding-top: 25px;
        padding-left: 20px;
    }

    header h2{
        width: 50%;
        padding-top: 1%;
        left: 4%;
        font-size: 1.5em;
        margin-top: 18px;
    }

    header img {
        width: 191px;
        height: auto;
    }

    textarea, input {
        width: 280px;
    }


}

body[data-t3pid="4"] .content_inner {
    margin: auto;
    text-align: center;
}
body[data-t3pid="4"] .content_inner h2 {
    text-align: left;
}

.ns-gallery-album-title p {
    display:  none;
}

.nsGallery .pagination-block, .ns-gallery-album-view .pagination-block {
    display:  none;
}
