.textimage-container {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    margin: 10px 0;
    justify-content: space-between;
}
.textimage-imagewrap {
    position: relative;
    width: 34%;
    display: flex;
}
.textimage-image {
    width: 100%;
    height: 100%;
}
.textimage-title {
    position: absolute;
    right: 0.7em;
    bottom: 0.7em;
    top: 0.7em;
    left: 0.7em;
    border: 1px solid #dcdcdc;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
.textimage-imagewrap.imagetitle::before {
    content: '';
    display: block;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.65+100 */
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
    height: 30%;
}
.textimage-titleinner {
    margin-right: 0.7em;
    text-transform: uppercase;
    font-size: 200%;
    color: white;
    line-height: 100%;
}
.textimage-contentwrap {
    width: 65%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #dcdcdc;
    padding: 3em 2em;
    min-height: 200px;
}
.textimage-textcontentwrap {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    width: 100%;
}
.textimage-text {
    width: 67%;
}
.textimage-content {
    width: 30%;
}
.textimage-container .ce-header {
    width: 100%;
}

@media only screen and (max-width: 1080px) {
    .textimage-container {
        flex-flow: column;
    }
    .textimage-imagewrap, .textimage-contentwrap {
        width: 100%;
    }
    .textimage-imagewrap {
        height: 35vw;
    }
}

@media only screen and (max-width: 900px) {
    .textimage-text, .textimage-content {
        width: 100%;
    }
    .textimage-content {
        margin-top: 2em;
    }
}


.imagefullwidth {
    height: 34vw;
    max-height: 700px;
    width: 100%;
}
.scrollimage {
    position: relative;
}
.scrollimage-text {
    position: absolute;
    background:rgba(0,0,0,0.55);
    bottom: 2em;
    top: 2em;
    left: 3%;
    max-width: 35%;
    min-width: 200px;
    color: white;
    display: flex;
    justify-content: center;
}
.scrollimage-text.right {
    right: 3%;
    left: inherit;
}
.scrollimage-text-inner {
    margin: 0.7em;
    display: flex;
    justify-content: center;
    flex-flow: column;
    position: relative;
    padding: 2.5em 2.5em 3.5em 2.5em;
    border: 1px solid white;
}
.scrollimage-text .textbutton {
    background: transparent;
    border: 1px solid white;
}
.scrollimage-text .textbutton:hover {
    background: white;
    color: #000;
}
.scrollimage-text .textbutton:hover a {
    color: #000;
}
.scrollimage-text a, .scrollimage-text h3 {
    color: white;
}
.scrollimage-title {
    position: absolute;
    right: 0.7em;
    bottom: 0.1em;
    font-size: 200%;
    line-height: 100%;
    text-transform: uppercase;
}
.mobileimagefullwidth.imagefullwidth {
    background-attachment: scroll !important;
}

@media only screen and (max-width: 1280px) {
    .scrollimage-text {
        max-width: 50%;
    }
}

@media only screen and (max-width: 1024px) {
    .imagefullwidth {
        height: 50vw;
        min-height: 400px;
    }
}

@media only screen and (max-width: 900px) {
    .scrollimage-text {
        max-width: 94%;
    }
    .scrollimage-text-inner {
        padding-bottom: 0em;
    }
    .scrollimage-title {
        display: none;
    }
}


/* shortcuts */
.shortcutarea {
    position: absolute;
    right: 3%;
    top: 100px;
    width: 45px;
    z-index: 3000;
}

.shortcutarea.fixed {
    position: fixed;
}

.shortcutarea .tooltip {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    text-align: center;
    height: 45px;
    line-height: 45px;
    margin-bottom: 8px;
    background: #FF4500;
    cursor: pointer;
    border: 1px solid #FFFFFF;
}

.shortcutarea a {
    color: #ffffff;
    display: block;
    height: 45px;
    line-height: 45px;
}

.shortcutarea .tooltip:hover {
    color: #FFFFFF;
    background: #E8270C;
}

.shortcutarea .tooltip:hover > span {
    color: #FFFFFF;
}

.shortcutarea .iconfont, .shortcutarea .iconfontbrands, .shortcutarea .iconfontsolid, .shortcutarea .iconfontlight {
    color: #FFFFFF;
    font-size: 20px;
    height: 45px;
    line-height: 45px;
}

.shortcut-iconimage img {
    max-width: 22px;
    max-height: 22px;
    margin: 0 auto;
}

.tooltip {
    position: relative;
    text-decoration: none;
}

.tooltip:after {
    content: attr(data-tooltip);
    position: absolute;
    top: 6px;
    right: 57px;
    background: #FF4500;
    padding: 5px 15px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    white-space: nowrap;
    display: none;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    line-height: 25px;
    height: 25px;
    font-family: 'MainFont', Verdana, sans-serif;
    font-size: 16px;
}

.tooltip:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid #FF4500;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    display: none;
    right: 47px;
    top: 16px;
}

.tooltip:hover:after, .tooltip:hover:before {
    display: block;
}

@media only screen and (max-width: 800px) {
    .shortcutarea {
        display: flex;
        width: 100%;
        justify-content: center;
        right: 0;
        top: 10px;
    }

    .shortcutarea > span {
        margin: 0 5px;
    }

    #page .shortcutarea > .top-fixed {
        display: none;
    }

    .startseite .contentarea {
        padding-top: 67px;
    }
}

.photo-gallery-itemwrap {
    display: none;
}

.paginator-content a {
    display: block;
}

.photo-gallery-item:before {
    content: "";
    display: block;
    padding-top: 100%;
}

.photo-gallery-itemouter {
    width: 16.66%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: 5px solid transparent;
    float: left;
    margin: 0;
}

.photo-gallery-item {
    transition: all 0.4s ease 0s;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
}

.no-touch .photo-gallery-itemouter:hover .photo-gallery-item {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.paginator-content {
    padding: 0;
    width: 100%;
    overflow: hidden;
    padding: 0;
}

.photo-gallery-caption {
    position: absolute;
    top: 48%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 0;
    color: #FFFFFF;
    transition: opacity 0.4s ease 0s;
    -webkit-transition: opacity 0.4s ease 0s;
    -moz-transition: opacity 0.4s ease 0s;
    z-index: 20;
    text-align: center;
}

.photo-gallery-captionarrow {
    font-size: 40px;
    margin-top: 1rem;
}

.photo-gallery-withlink::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s ease 0s;
    -webkit-transition: opacity 0.4s ease 0s;
    -moz-transition: opacity 0.4s ease 0s;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    z-index: 10;
}

.photo-gallery-withlink:hover .photo-gallery-caption, .photo-gallery-withlink:hover::before {
    opacity: 1;
}

@media only screen and (max-width: 1024px) {
    .photo-gallery-itemouter {
        width: 20%;
    }
}


@media only screen and (max-width: 800px) {
    .photo-gallery-itemouter {
        width: 25%;
    }

    .photo-gallery-caption {
        font-size: 1.6vw;
    }

    .photo-gallery-captionarrow {
        font-size: 30px;
    }
}

@media only screen and (max-width: 500px) {
    .photo-gallery-itemouter {
        width: 33.33%;
    }
}

