/*
Theme Name: Jeannette Geissmann Architektur (Ping 2019)
Theme URI: https://geissmann-arch.ch
Description: basic layout, SSL, https, masonry grid
Author: jean-claude jossen | Ping Internet Agentur
Author URI: https://jcjavm.com | https://pingag.ch
*/

/*=========================================================
1. General Template
=========================================================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Helvetica, Arial, Verdana, sans-serif;
    font-size: 12px;
    line-height: 15px;
    color: #000;
    background: #fff;
    opacity: 0;
    transition: opacity 0.5s;
}

body.show {
    opacity: 1;
}

body.noscroll {
    overflow: hidden;
}

#alobaidi-fade-plugin {
    pointer-events: none !important;
}

a:link {
    color: #000;
    text-decoration: none;
}

a:visited {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: #000;
    text-decoration: none;
}

a:active {
    outline: none;
    color: #bababa;
    text-decoration: none;
}

a:focus {
    -moz-outline-style: none;
    outline: none;
}

#left a:link {
    color: #000;
    text-decoration: none;
}

#left a:visited {
    color: #000;
    text-decoration: none;
}

#left a:hover {
    color: #000;
    text-decoration: none;
}

#left a:active {
    outline: none;
    color: #000;
    text-decoration: none;
}

#left a:focus {
    -moz-outline-style: none;
}

#left a:hover {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

a:focus {
    outline: none;
}


a {
    outline: 0;
}


img {
    border: 0px;
    max-width: 100%;
    height: auto;

}

img.download {
    vertical-align: middle;
}

img {
    border: none;
}

ul {
    list-style-type: none;
}

p,
pre {
    padding: 0 0 20px;
}

ul {
    list-style-type: none;
}

div {
    outline: 0;
}

::selection {
    background-color: #000;
    color: white;
}

header,
footer,
section,
aside,
article {
    display: block;
}

/*=========================================================
2. Headings / Text Styling
=========================================================*/

p:focus {
    border: 0px solid #ccc;
    outline: 0;
    /* Selector */
    outline: none;
}


/*=========================================================
3. Header
=========================================================*/


#top header {
    padding: 35px 0px 10px 15px;
    float: left;
}

#top:after {
    height: 0;
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
}

#top {
    /*    background-color: #fff;*/
    padding-left: 290px;
}

#address {
    display: inline-block;
    text-align: left;
}

#address p {
    display: inline-block;
}

#address p:after {
    content: '|';
    margin: 0 20px;
}

#address p:last-child:after {
    content: '';
    display: none;
}

#lefthead {
    margin: 0px 0px 0px 0px;
    padding: 0px;
    height: 50px;
    width: 200px;
    float: left;
}

#lefthead2 {
    margin: 0px 0px 0px 0px;
    padding: 0px;
    height: 50px;
    width: 400px;
    float: left;
}

aside#sidemenu {
    display: block;
    padding-left: 0px;
    padding-right: 30px;
    padding-right: 30px;
    padding-top: 0px;
    float: left;
    width: 300px;
    text-align: right;
}

aside#sidemenu .sitelogo img {
    display: inline-block;
    width: 120px;
    height: auto;
    margin-bottom: 20px;
}


#left {
    color: #000;
    text-align: right;
}

#left ul {
    list-style-type: none;
}

#left .sub-menu {
    padding: 10px 0 25px 0;
}

#left ul.borderbottom {
    border-bottom: 1px solid #ffffff;
    padding: 0 0 10px 15px;
}

#left li a {
    text-decoration: none;
}

#left li {
    margin: 0;
    padding: 0 0 4px 0;
    list-style: none;
}

#left li li {
    margin: 0;
    padding: 0 0 3px 0;
}

#left li a.selected {
    margin: 0;
    padding: 0 0 0 0px;
    color: #000;
}

#left li li a.selected {
    margin: 0;
    padding: 0;
}

#left .over:hover {
    font-weight: bold;
}

#left .menu-item a.active {
    font-weight: bold;
}

header img {
    border: 0;
    padding: 0 0 10px;
}

.menubutton {
    display: none;
}

.menubutton a {
    cursor: pointer;
}

#mobile-titel {
    padding: 0px;
    padding-bottom: 10px;
    float: left;
    margin: 0px;
    display: none;
}

#menu-mail,
#menu-phone,
#menu-toggler,
#menu-mobile {
    display: none;
}


/*=========================================================
4. Footer
=========================================================*/

#footer {
    display: none;
}

footer.footer {
    padding: 20px;
    clear: both;
    background-color: #fff;
    color: #fff;
    text-align: left;

    width: 80%;


}

footer a {
    color: #999;
    text-decoration: none;
}

.footer-segment {
    display: inline-block;
    vertical-align: top;
    width: 32%;
}

.menu-item-3515 a::after {
    background-image: url('img/instagram-icon.svg');
    display: block;
    text-align: center;
    background-repeat: no-repeat;
    background-position: center;
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;

    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.menu-item-3515 a {
    position: relative;
    transition: transform 0.3s ease;
    display: block;
    text-align: center;
    font-size: 0;
    padding: 5px 0;
    float: right;
    color: #d5caca00 !important;
    font-size: 0;
}

.menu-item-3515 a:hover::after {
    transform: translateY(-50%) scale(1.05);
}

#content3 {
    width: 290px;
    float: left;
    padding-right: 10px;
}

#middle {
    width: 274px;
    /* Account for margins + border values */
    float: left;
    padding-right: 30px;

}

#sidebar {
    width: 270px;
    float: left;
    padding: 0px;
}

#pagewrap {
    width: 100%;
}

q {
    display: inline;
}

#mobilelogo.bottomlogo {
    display: none;
}

/*=========================================================
5. Forms / Inputs / Buttons / cursors
=========================================================*/



/*=========================================================
6. Page Content
=========================================================*/

#container {
    width: 80%;
    max-width: 1600px;
    margin: 0 auto;
    background-color: #fff;
}

section:before {
    height: 0;
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
}

section#content {
    padding-bottom: 100px;
    float: left;
    width: calc(85% - 300px);

    min-height: 600px;
}

/* 26.05.26 content width
 section#content-titelseite {
    padding-bottom: 100px;
	float: left;
	width: calc(100% - 300px);
	max-width: 1200px;
	min-height: 600px;
} */

section#content-bild {
    float: left;
    width: 76%;
    padding-left: 22px;
    background-color: #fff;
    min-height: 600px;
}

section#content-bild img {

    margin-right: 5px;

}

article header {
    background: #fff;
    padding: 0;
}

/*=========================================================
7. Additional Classes
=========================================================*/

.one_half {
    width: 49% !important;
    margin-right: 2% !important;
}

.one_half.last_column {
    width: 49% !important;
    margin-right: 0px !important;
}

.one_third {
    width: 26% !important;
    margin-right: 2% !important;
}

.one_third.last_column {
    width: 32% !important;
    margin-right: 0px !important;
}

.two_third {
    width: 66% !important;
    margin-right: 2% !important;
}

.two_third.last_column {
    width: 66% !important;
    margin-right: 0px !important;
}

.one_fourth {
    width: 23.5% !important;
    margin-right: 2% !important;
}

.one_fourth.last_column {
    width: 23.5% !important;
    margin-right: 0px !important;
}

.three_fourth {
    width: 74.5% !important;
    margin-right: 2% !important;
}

.three_fourth.last_column {
    width: 74.5% !important;
    margin-right: 0px !important;
}

.one_fifth {
    width: 18.4% !important;
    margin-right: 2% !important;
}

.one_fifth.last_column {
    width: 18.4% !important;
    margin-right: 0px !important;
}

.two_fifth {
    width: 39% !important;
    margin-right: 2% !important;
}

.two_fifth.last_column {
    width: 39% !important;
    margin-right: 0px !important;
}

.three_fifth {
    width: 59% !important;
    margin-right: 2% !important;
}

.three_fifth.last_column {
    width: 59% !important;
    margin-right: 0px !important;
}

.four_fifth {
    width: 79.6% !important;
    margin-right: 2% !important;
}

.four_fifth.last_column {
    width: 79.6% !important;
    margin-right: 0px !important;
}

.one_sixth {
    width: 15% !important;
    margin-right: 2% !important;
}

.one_sixth.last_column {
    width: 15% !important;
    margin-right: 0px !important;
}



@media screen and (max-width: 880px) {

    .one_half {
        width: 100% !important;
        margin-right: 2% !important;
    }

    .one_half.last_column {
        width: 100% !important;
        margin-right: 0px !important;
    }

    .one_third {
        width: 100% !important;
        margin-right: 2% !important;
    }

    .one_third.last_column {
        width: 100% !important;
        margin-right: 0px !important;
    }

    .two_third {
        width: 100% !important;
        margin-right: 2% !important;
    }

    .two_third.last_column {
        width: 100% !important;
        margin-right: 0px !important;
    }

    .one_fourth {
        width: 45% !important;
        margin-right: 2% !important;
    }

    .one_fourth.last_column {
        width: 45% !important;
        margin-right: 0px !important;
    }

    .three_fourth {
        width: 100% !important;
        margin-right: 2% !important;
    }

    .three_fourth.last_column {
        width: 100% !important;
        margin-right: 0px !important;
    }

    .one_fifth {
        width: 45% !important;
        margin-right: 2% !important;
    }

    .one_fifth.last_column {
        width: 45% !important;
        margin-right: 0px !important;
    }

    .two_fifth {
        width: 45% !important;
        margin-right: 2% !important;
    }

    .two_fifth.last_column {
        width: 45% !important;
        margin-right: 0px !important;
    }

    .three_fifth {
        width: 45% !important;
        margin-right: 2% !important;
    }

    .three_fifth.last_column {
        width: 45% !important;
        margin-right: 0px !important;
    }

    .four_fifth {
        width: 45% !important;
        margin-right: 2% !important;
    }

    .four_fifth.last_column {
        width: 100% !important;
        margin-right: 0px !important;
    }

    .one_sixth {
        width: 45% !important;
        margin-right: 2% !important;
    }

    .one_sixth.last_column {
        width: 45% !important;
        margin-right: 0px !important;
    }
}

/*=========================================================
8. Misc
=========================================================*/

.stall p:focus {
    border: 5px solid #ccc;
    /* Selector */

}

.stall a:hover,
.stall a:active,
.stall a:focus {}

#rightcolumn {
    float: left;
    border: 0px solid #fff;
    background: #fff;
    margin: 0px;
    padding: 0px;
    width: 75%;
    color: #000;
}

#box {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 10px;
    height: 80px;
    width: 80px;
    z-index: 9000;
}

/*------------------ FLex Posts --------------------*/
.images-flex .flex-brick img {
    -webkit-filter: grayscale(100%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);

    padding: 5px;
}

.images-flex .flex-brick img {
    width: 300px;
}

.images-flex .flex-brick:nth-child(1) img,
.images-flex .flex-brick:nth-child(3) img,
.images-flex .flex-brick:nth-child(8) img,
.images-flex .flex-brick:nth-child(10) img {
    width: 200px;
}

.images-flex .flex-brick:nth-child(5) img {
    width: 200px;
    margin-top: 33px;
    margin-bottom: 33px;
}

.images-flex {
    display: flex;
    flex-wrap: wrap;
}


/*------------------ Gallery --------------------*/
.curios1 {
    width: 100%;
    background-color: #CBCECE;
    cursor: -moz-zoom-in;
    cursor: -webkit-zoom-in;
    cursor: zoom-in;
}

.curios2 {
    width: 33%;
    height: 200px;
    background-color: #B0B0B0;
    cursor: url('cursor/close.svg'), pointer !important;
}


.curios3 {
    width: 33%;
    height: 200px;
    background-color: #727272;
    cursor: url('cursor/plus.svg'), pointer !important;
}

.curios4 {
    width: 33%;
    height: 200px;
    background-color: #B0B0B2;
    cursor: url(cursor/next.svg), auto !important;
}

.gallery-icon {
    /*cursor:url(cursor/plus.png),auto;*/
    cursor: url('cursor/plus.svg'), pointer;
}

.gallery-icon img {
    /*cursor:url(cursor/plus.png),auto;*/
    cursor: url('cursor/plus.svg'), pointer;
}



.alignnone {
    cursor: url('cursor/plus.svg'), pointer;
}

.alignnone img {
    /*cursor:url(cursor/plus.png),auto;*/
    cursor: url('cursor/plus.svg'), pointer;
}



@media all {
    .featherlight {
        background-color: #fff !important;
        cursor: url(cursor/close.svg), pointer !important;
    }


    .featherlight-content {
        cursor: url(cursor/close.svg), pointer !important;

    }


    .featherlight-close {
        display: none !important;
    }


    .featherlight-next {
        cursor: url(cursor/next.svg), pointer !important;
    }

    .featherlight-previous {
        cursor: url(cursor/previous.svg), pointer !important;
    }

    .featherlight-next:hover,
    .featherlight-previous:hover {
        background: rgba(255, 255, 255, 0) !important;
    }

    .featherlight-next span,
    .featherlight-previous span {
        display: none !important;
    }
}

.featherlight-next,
.featherlight-previous {
    position: fixed !important;
}

.highlight {
    background: yellow;
}


#gallery-1 .gallery-item {
    text-align: left !important;
}


.rl-gallery .rl-gallery-item {
    float: left;
}

.gallery-item {
    float: left;
    margin: 0;
    margin-right: 10px !important;
    margin-bottom: 8px !important;
    padding: 0;
    text-align: center;
    width: auto !important;
}


.rl-basicgrid-gallery .rl-gallery-item {
    width: 23% !important;
    max-height: 200px;
    text-align: left !important;
}

.rl-basicgrid-gallery .rl-gallery-item img {
    max-width: 100%;
    display: inline-block;
    height: 100%;
    object-fit: cover;
    width: auto;
}

.rl-gallery-container {
    margin-bottom: 40px !important;
    margin: -5px;
}

.gallery {
    overflow: hidden;
}

.featherlight-previous {
    right: 60% !important;
}

.featherlight-next {
    left: 60% !important;
}

.rl-gallery .rl-gallery-link {
    cursor: url('cursor/plus.svg'), pointer !important;
    display: inline !important;
}

/* .gallery-columns-2 .gallery-item:nth-child(2n+1),
.gallery-columns-3 .gallery-item:nth-child(3n+1),
.gallery-columns-4 .gallery-item:nth-child(4n+1),
.gallery-columns-5 .gallery-item:nth-child(5n+1),
.gallery-columns-6 .gallery-item:nth-child(6n+1),
.gallery-columns-7 .gallery-item:nth-child(7n+1),
.gallery-columns-8 .gallery-item:nth-child(8n+1),
.gallery-columns-9 .gallery-item:nth-child(9n+1),
.gallery-columns-9 .gallery-item:nth-child(9n+1) {
    clear: left;
} */

.gallery br {
    display: none;
}

.space {
    margin-left: 10px;
}

/*=========================================================
9. Masonry Grid
=========================================================*/


.rfp-grids [class*="grid"] {
    padding: 0px 0px 0px 5px !important;

}

.wpupg-item {
    border-width: 0px 0px 0px 0px !important;
}

.wpupg-filter-isotope-term {
    display: block !important;
}

.current-menu-item>a,
.current-page-item>a {
    font-weight: bold;
}

a.dcjq-parent .active {
    font-weight: bold;
}


.containerF {
    position: relative;
    margin: 15px;
}

.overlayF {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: .5s ease;
    background-color: rgba(42, 42, 42, 0.95);
}

.containerF:hover .overlayF {
    opacity: 1;
}

.textF {
    color: #fff;
    position: absolute;
    padding: 25px;
}

#wpupg-grid-titelseite .telement .wpupg-item {
    width: 34.5%;
    height: auto;
}

/*
#wpupg-grid-titelseite .telement.pseudo .test {
    width: 350px;
    height: 150px;
    display: block;
}
*/

#wpupg-grid-titelseite .telement:nth-child(3n-4) .wpupg-item,
#wpupg-grid-titelseite .telement:nth-child(7n+2) .wpupg-item {
    width: 23%;
    height: auto;
}

#wpupg-grid-titelseite .telement:nth-child(1) .wpupg-item,
#wpupg-grid-titelseite .telement:nth-child(3) .wpupg-item,
#wpupg-grid-titelseite .telement:nth-child(6) .wpupg-item,
#wpupg-grid-titelseite .telement:nth-child(15) .wpupg-item,
#wpupg-grid-titelseite .telement:nth-child(19) .wpupg-item,
#wpupg-grid-titelseite .telement:nth-child(21) .wpupg-item {
    width: 23%;
    height: auto;
}

#wpupg-grid-titelseite .telement:nth-child(2) .wpupg-item,
#wpupg-grid-titelseite .telement:nth-child(5) .wpupg-item,
#wpupg-grid-titelseite .telement:nth-child(11) .wpupg-item {
    width: 34.5%;
    height: auto;
}


@media only screen and (min-width: 768px) {

    #wpupg-grid-titelseite {
        margin: -10px;
    }

    .imageT,
    .imageF {
        display: block;
        width: 100%;
        height: auto;
    }
}

@media only screen and (max-width: 1436px) {
    .iframe-map {
        width: 100% !important;
    }

    body.page-id-308 section#content {
        width: calc(100% - 300px);
    }
}

@media only screen and (max-width: 667px) {


    #wpupg-grid-titelseite {
        margin-left: -10px;
        height: auto !important;
    }

    #wpupg-grid-titelseite .telement .wpupg-item {
        width: calc(100% - 10px) !important;
        height: auto !important;
        visibility: visible !important;
        position: relative !important;
        top: 0 !important;
        display: flex;
        flex-direction: column;
    }


    /*
	.telement:nth-child(n+4) {
		display: none;
	}
    */

    .telement {
        margin-bottom: 10px;
        text-align: center;
    }

    .telement:first-child {
        margin-top: 30px;
    }

    .imageT {
        display: block;
        width: 70%;
        height: auto;
        order: 2;
        margin-left: auto;
        margin-right: auto;
        margin-top: 5px;
    }

    .imageF {
        display: block;
        width: 100%;
        height: auto;
    }

    .overlayF,
    .overlayF:hover {
        position: relative;
        display: block;
        opacity: 1;
        background: none;
        width: 100%;
        order: 1;
        height: auto;
    }

    .textF {
        color: #808080;
        position: relative;
        /* padding: 10px 0 20px 0; */
        padding: 4px 0 0px 0;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }

    .textF b {
        color: black;
        display: inline-block;
    }

    .containerF {
        margin-top: 15px;
        margin-bottom: 0px;
    }

    .imageT {
        object-fit: cover;
        object-position: top center;
        height: auto;
    }

}


/*=========================================================
10. Media Queries
=========================================================*/
@media only screen and (max-width: 500px) {
    .rl-basicgrid-gallery .rl-gallery-item {
        text-align: center !important;
    }

    #content .rl-basicgrid-gallery .rl-gallery-item img.vertical {
        height: 320px;
        width: 215px;
        object-fit: cover;
    }

    #content .rl-basicgrid-gallery .rl-gallery-item img.horizontal {
        width: 320px;
        height: 215px;
        object-fit: cover;
    }

}

@media only screen and (max-width: 368px) {
    #content .rl-basicgrid-gallery .rl-gallery-item img.vertical {
        height: 250px;
        width: 170px;
        object-fit: cover;
    }

    #content .rl-basicgrid-gallery .rl-gallery-item img.horizontal {
        width: 250px;
        height: 170px;
        object-fit: cover;
    }
}

@media only screen and (max-width: 420px) {

    .rl-basicgrid-gallery .rl-gallery-item img {
        width: 100%;
    }

    .rl-basicgrid-gallery .rl-gallery-item {
        width: 100% !important;
        max-height: initial;
    }

}

@media only screen and (max-width: 894px) {


    body.page-id-308 section#content {
        width: 100% !important;
    }

    #container {
        width: 100%;
        /* padding: 0 50px; */
        padding: 0 25px;
        max-width: 100%;
        margin: 0 auto;
        background-color: #fff;
    }

    section#content-titelseite,
    section#content {
        width: 100%;
        padding-top: 70px;
        padding-bottom: 30px;
    }

    #left li li {
        margin: 0;
        padding: 0 0 3px 0;
        text-align: left;
    }

    .spaceright {
        margin-top: 30px;
        margin-left: 10px;
    }


    #left ul {
        list-style-type: none;
        padding: 0px;
    }

    #top {
        width: 100%;
        min-height: 80px;
        padding-left: 0;
        display: block;
        position: fixed;
        z-index: 100;
        background: white;
        top: 0;
        left: 0;
        /* padding: 0 50px; */
        padding: 0 25px;
        border-bottom: 1px solid rgba(42, 42, 42, 0.5);
        ;
    }

    #top #address {
        padding: 0;
        margin-top: 25px;
        margin-bottom: 0px;
        z-index: 1;
        position: relative;
    }

    #top #address p {
        display: block;
        padding-bottom: 3px;
    }

    #top #address p::after {
        display: none;
    }

    #top #address p:nth-child(3),
    #top #address p:nth-child(4),
    #top #address p:nth-child(2) span {
        display: none;
    }

    #menu-mobile {
        display: none;
        opacity: 0;
    }

    #menu-mobile.opened {
        display: block;
        opacity: 1;
    }

    #menu-mobile .sitelogo {
        position: fixed;
        bottom: 25px;
        right: 25px;
        display: block;
        margin-top: 50px;
        max-width: 120px;
        z-index: 1000;
    }

    .menu-item-3515 a::after,
    .menu-item-3515 a,
    .menu-item-3515 a:hover::after {
        display: none !important;
    }

    #menu-mobile #left {
        position: relative;
        padding: 100px 0;
        margin: 0;
        display: block;
        text-align: left;
        min-height: 100vh;
        box-sizing: border-box;
    }

    #menu-mobile #left #mob-address p {
        margin: 0;
        padding: 0;
        line-height: 1.5;
    }

    #menu-mobile #left #wpupg-grid-titelseite-filter .menu-item a {
        font-size: 15px;
        line-height: 1.5;
    }

    #menu-mobile #left #wpupg-grid-titelseite-filter {
        padding-bottom: 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(42, 42, 42, 0.5);
    }

    section#content-bild {
        float: none;
        width: 100%;
        padding: 20px;
        padding-top: 0px;
    }

    #adress {
        margin-left: 0px;
        float: none;
        width: 70%;
        padding: 0px 0px 0px 20px;
    }

    aside#sidemenu {
        display: none;
        padding: 20px;
        float: none;
        width: 100%;
    }

    #mobile-titel {
        display: block;
    }

    #menu-insta {
        z-index: 1;
        height: 35px;
        width: 35px;
        background: url(img/instagram-icon.svg) no-repeat top;
        background-size: 35px;
        position: absolute;
        right: 135px;
        /* top: 25px; */
        top: 22.5px;
        display: block;
    }

    #menu-mail {
        z-index: 1;
        height: 35px;
        width: 35px;
        background: url(img/e-mail-envelope_white.svg) no-repeat top;
        background-color: black;
        background-size: 23px 23px;
        background-position-y: 5px;
        border-radius: 20px;
        border: 1px solid black;
        position: absolute;
        right: 90px;
        /* top: 25px; */
        top: 22.5px;
        display: block;
    }

    #menu-phone {
        z-index: 1;
        height: 35px;
        width: 35px;
        background: url(img/call-answer_white.svg) no-repeat top;
        background-color: black;
        background-size: 19px 19px;
        background-position-y: 7px;
        border-radius: 20px;
        border: 1px solid black;
        position: absolute;
        right: 45px;
        /* top: 25px; */
        top: 22.5px;
        display: block;
    }

    #menu-toggler {
        z-index: 1;
        height: 35px;
        width: 35px;
        background: url(img/hamburger_white.svg) no-repeat top;
        background-color: black;
        background-size: 19px 19px;
        background-position-y: 7px;
        border-radius: 20px;
        border: 1px solid black;
        position: absolute;
        /* right: 50px; */
        right: 25px;
        /* top: 25px; */
        top: 22.5px;
        display: block;
    }

    #menu-toggler.toggled {
        background: url(img/hamburger_close_white.svg) no-repeat top;
        background-color: black;
        background-size: 19px 19px;
        background-position-y: 7px;
    }

    #sidebar {
        width: 100%;
        float: left;
        padding: 0px;
    }

    #logo {
        width: 190px;
        margin: 0;
        padding: 0;
        padding-bottom: 4px;
        border-bottom-style: solid;
        border-bottom-color: #000000;
        border-bottom-width: 4px;

    }


    .footer-segment {
        display: inline-block;
        vertical-align: top;
        width: 49%;
        padding: 0 0 20px;
    }

    .footer-segment:last-child {
        border-top: 1px solid #999;
        display: block;
        width: 100%;
        padding: 20px 0 0;
    }


    .mini {
        display: block;
        /* 20% space rechts 4
	 .menubutton: */
        width: 80%;
    }

    .menubutton {
        display: block;
        position: absolute;
        right: 20px;
        top: 40px;
        z-index: 400;
    }

    .maxi {
        display: none;
    }

    footer.footer {
        padding: 0;
    }

    .footer-segment,
    .footer-segment:last-child {
        display: block;
        vertical-align: top;
        width: 100%;
        border-bottom: 1px solid #999;
        padding: 20px;
    }

    #footer {
        display: none;
    }

    #mobilelogo.bottomlogo {
        display: block;
        max-width: 120px;
        margin-left: auto;
    }

    #content3 {
        width: 100%;
        float: none;
        padding: 0px;
    }

    #middle {
        width: 100%;
        float: left;
        padding: 0px;
    }

    .fr-window {
        display: none;
    }


    .fancybox {
        display: none;
    }

    q {
        display: none;
    }


    .gallery .gallery-item {
        width: 100% !important;
        height: auto !important;
    }


    .alignnone {
        max-width: 100%;
        height: auto;
    }


    .clear {
        clear: both;
    }

    .text-left {
        text-align: left !important;
    }

    .wpupg-filter-item.wpupg-filter-isotope-term.text-left {
        text-align: left !important;

    }

    .dcjq-parent.active {
        font-weight: bold;
    }


    .nav-m {
        display: none;
    }


    ul#menu-navigation-1.nav-m {
        -webkit-padding-start: 0px;
        font-size: 100%;
        line-height: 26px;
        padding-left: 0px;
    }


    .nav-m li {
        line-height: 200%;
        text-align: left;
        padding-right: 50px;
        margin-left: 20px;
    }

    .spaceright {
        margin-right: 50px;
    }

    #fusslogo {
        margin-top: 30px;

    }

    #fusslogo img {
        width: 135px !important;
        height: 115px !important;

    }

    #fusslogo {
        margin-left: 20px;
    }

    #fusslogo img {
        width: 135px !important;
        height: 115px !important;
    }

    /* 26.05.26 content width
      section#content {
        width: 100% !important;
        float: none !important;
        padding: 90px 20px 0 20px !important;
    }*/



}


@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : portrait) {
    #adress {
        float: none;
        width: 230px;

    }
}

@media all {

    #swipebox-overlay {
        background: #fff !important;
    }

    #swipebox-close {
        right: 20% !important;
        color: #000 !important;
    }


    #swipebox-bottom-bar,
    #swipebox-top-bar {
        background: #fff !important;
        opacity: .95 !important;
    }

    #swipebox-bottom-bar,
    #swipebox-top-bar {
        -webkit-transition: .5s;
        transition: .5s;
        position: absolute;
        left: 0;
        z-index: 999;
        height: 100px !important;
        width: 100%;
    }

    #swipebox-next,
    #swipebox-prev {

        height: 60px !important;
    }
}

/*=========================================================
10. Media Queries iPad
=========================================================*/

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {}

@media only screen and (min-device-width : 895px) and (max-device-width : 1200px) {

    .iframe-map {
        width: 100% !important;
    }

    #container {
        width: 98%;
        max-width: 1200px;
        margin: 0 0;
    }

    #top {
        padding-left: 255px;
    }

    aside#sidemenu {
        width: 255px;
    }

    /*
    section#content {
        width: calc(100% - 255px);
    }*/




}


a.linkicon {
    position: relative;
    padding-left: 15px;
}

a.linkicon::before {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    left: 0;
    top: 1px;
    background-image: url('img/linkicon.svg');
}


/* Mobile: 1 Spalte */
/*
@media (max-width: 600px) {
    section#content {
        width: 100% !important;
        float: none !important;
        padding: 0 10px !important;
    }

    div#wpupg-grid-titelseite .wpupg-item {
        width: 100% !important;
    }

    div#wpupg-grid-titelseite .wpupg-item img {
        width: 100% !important;
        height: auto !important;
    }
}*/


/* Startseite new layout 
@media (min-width: 895px) {

    .page-id-23 #wpupg-grid-titelseite {
        display: flex !important;
        flex-wrap: wrap !important;
        height: auto !important;
        position: static !important;
        gap: 10px 40px !important;
        align-items: flex-start !important;
        width: 90% !important;
    }

    .page-id-23 #wpupg-grid-titelseite .telement {
        position: static !important;
        left: unset !important;
        top: unset !important;
        height: auto !important;
    }

    .page-id-23 #wpupg-grid-titelseite .telement:nth-child(4n+1) {
        width: calc(40% - 30px) !important;
    }
    .page-id-23 #wpupg-grid-titelseite .telement:nth-child(4n+2) {
        width: calc(60% - 30px) !important;
    }

    .page-id-23 #wpupg-grid-titelseite .telement:nth-child(4n+3) {
        width: calc(60% - 30px) !important;
    }
    .page-id-23 #wpupg-grid-titelseite .telement:nth-child(4n+4) {
        width: calc(40% - 30px) !important;
    }

    .page-id-23 #wpupg-grid-titelseite .telement img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-id-23 #wpupg-grid-titelseite .wpupg-item {
        position: relative !important;
        left: unset !important;
        top: unset !important;
        width: 100% !important;
        height: auto !important;
    }

}
#rl-gallery-container-1 .rl-basicmasonry-gallery {
    margin: 0px !important;
    padding: 20px 0 20px 20px;
}

.wp-block-table td,
.block-table.alignleft td{
    border: none !important;
    padding: 0 !important;
}

 @media (min-width: 895px) {



    .page-id-23 #wpupg-grid-titelseite .telement:nth-child(4n+1) .wpupg-item {
        width: calc(40% - 36px) !important;
        margin: 18px
    }

    .page-id-23 #wpupg-grid-titelseite .telement:nth-child(4n+2) .wpupg-item {
        width: calc(60% - 36px) !important;
        margin: 18px
    }

    .page-id-23 #wpupg-grid-titelseite .telement:nth-child(4n+3) .wpupg-item {
        width: calc(60% - 36px) !important;
        margin: 18px
    }

    .page-id-23 #wpupg-grid-titelseite .telement:nth-child(4n+4) .wpupg-item {
        width: calc(40% - 36px) !important;
        margin: 18px
    }
      

} */
@media only screen and (min-device-width: 1200px) and (max-device-width: 1436px) {
    body.page-id-308 section#content {
        width: calc(100% - 300px);
    }

}



@media (max-width: 895px) {
    .rl-gallery-container {
        width: 100% !important;
        margin: 0 auto;
        padding: 0;
    }

    .rl-basicmasonry-gallery,
    .rl-basicmasonry-gallery[style] {
        position: static !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .rl-basicmasonry-gallery .rl-gallery-item,
    .rl-basicmasonry-gallery .rl-gallery-item[style] {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        float: none !important;
        width: 100% !important;
        height: 260px !important;
        aspect-ratio: unset !important;
        overflow: hidden !important;
        margin: 0 !important;
    }

    .rl-basicmasonry-gallery .rl-gallery-item-content,
    .rl-basicmasonry-gallery .rl-gallery-item-content[style],
    .rl-basicmasonry-gallery .rl-gallery-link,
    .rl-basicmasonry-gallery .rl-gallery-link[style] {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 !important;
    }

    .rl-basicmasonry-gallery .rl-gallery-item img {
        width: auto !important;
        height: 100% !important;
        max-width: 100% !important;
        object-fit: contain !important;
        display: block !important;
    }

    .rl-basicmasonry-gallery .rl-gutter-sizer,
    .rl-basicmasonry-gallery .rl-grid-sizer {
        display: none !important;
    }
}

@media only screen and (max-width: 768px) {
    #menu-mobile #left #wpupg-grid-titelseite-filter {
        text-align: right;
        padding-bottom: 150px;
        height: 100dvh;
        overflow: scroll;
    }
    body.noscroll .container-mob {
     height: 100svh;
     padding-bottom: env(safe-area-inset-bottom);
   }
}
@media screen and (min-width: 768px) and (max-width: 895px) {
    section#content-titelseite, section#content {
        padding-top: 90px;
    }

    
}