/* TRIGGER MOBILE */


.menu-btn {
    position: absolute;
    z-index: 999999;
    top: -163px;
    right: -40px;
    font-size: 27px;
    color: #786664;
    background: #fff;
}

@media screen and (max-width: 768px) {
    .trigger i {
        left: 50%;
    }
}


/* HOVER MOBILE */

@media screen and (max-width: 1280px) {
    .frontpage-box .hover {
        /*opacity: 0.6!important*/
    }
    .frontpage-box .hover .hover-content {
        opacity: 1!important;
    }
}


/* OVERLAY MOBILE */

@media screen and (max-width: 1024px) {
    .col-sm-4.frontpage-box .hover .hover-content {
        top: 25%;
        left: 24%;
    }
    .overlay h2,
    .overlay-portrait h2 {
        font-size: 2rem;
    }
    .overlay.trachtenlexikon {
        position: absolute;
        padding: 27px 48px;
        background: #786664;
        opacity: 0.9;
    }
    .overlay-portrait {
        position: absolute;
        bottom: 15%;
        left: 60%;
        width: 35%;
    }
    .overlay-portrait a.white {
        margin-left: 15px;
        position: relative;
        top: 15px;
    }
}

@media screen and (max-width: 786px) {
    .overlay-portrait {
        position: absolute;
        bottom: 21%;
        left: 59%;
    }
    .virt-tour i.fa.fa-chevron-right {
        position: relative;
        left: 131px;
        top: -45px;
        font-size: 40px;
        color: #9ab33b;
    }
}

@media screen and (max-width: 766px) {
    .overlay-portrait {
        position: absolute;
        bottom: 35%;
        left: 20%;
        width: 70%;
    }

    .onlyMobile {
        display: block;
    }
    
    .reset {
    padding: 2.5px 0px !important;
}
    
    .frontpage-box .hover {
    position: absolute;
    top: 3px!important;
    bottom: 3px!important;
    left: 0px!important;
    right: 0px!important;
    background-color: #000;
    opacity: 0;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
}


/* HEADER MOBILE */

@media screen and (max-width: 533px) {
    h1 {
        font-size: 26px;
    }
    .rectangle {
        opacity: 1;
        padding: 0px 17px 13px 21px;
        background: #786664;
        position: relative;
        left: 0;
        color: #fff;
        margin-top: 0px;
        padding-top: 10px;
    }
    .popout {
        margin-top: 20px;
        padding-top: 10px;
        /*height: 1110px;*/
        background-image: none;
    }
    .popout img {
        margin-bottom: 15px;
    }

    footer .row {
        padding: 0 30px;
        margin: 0;
    }
}

/* SUBSITE MOBILE */

@media screen and (max-width: 975px) {
    .subsite .text {
    text-align: center;
    margin-top: 2%;
}
}

@media screen and (max-width: 990px) {
    .slogan{
        display: none;
    }
}

/* ADDITIONAL CSS FILES */


/*! Pushy - v1.1.0 - 2017-1-30
* Pushy is a responsive off-canvas navigation menu using CSS transforms & transitions.
* https://github.com/christophery/pushy/
* by Christopher Yee */


/* Menu Appearance */

.menu-btn {
    position: absolute;
    z-index: 999999;
    border: 0;
    margin-top: 15px;
}

.pushy {
    position: fixed;
    width: 200px;
    height: 100%;
    top: 0;
    z-index: 9999;
    background: #786664;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-box-shadow: -2px 2px 5px 0px rgba(0,0,0,0.44);
-moz-box-shadow: -2px 2px 5px 0px rgba(0,0,0,0.44);
box-shadow: -2px 2px 5px 0px rgba(0,0,0,0.44);
    /* enables momentum scrolling in iOS overflow elements */
}


.pushy li {list-style: none;}


.pushy-content {
    position: relative;
    top: 40px;
}

.pushy a {
    display: block;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
}

.pushy a:hover {
    color: #FFF;
}

.pushy ul:first-child {
    margin-top: 10px;
}

.pushy.pushy-left {
    left: 0;
}

.pushy.pushy-right {
    right: 0;
}

.pushy-content {
    visibility: hidden;
}


/* Menu Movement */

.pushy-left {
    -webkit-transform: translate3d(-200px, 0, 0);
    -ms-transform: translate3d(-200px, 0, 0);
    transform: translate3d(-200px, 0, 0);
}

.pushy-open-left #container,
.pushy-open-left .push {
    -webkit-transform: translate3d(200px, 0, 0);
    -ms-transform: translate3d(200px, 0, 0);
    transform: translate3d(200px, 0, 0);
}

.pushy-right {
    -webkit-transform: translate3d(200px, 0, 0);
    -ms-transform: translate3d(200px, 0, 0);
    transform: translate3d(200px, 0, 0);
}

.pushy-open-right #container,
.pushy-open-right .push {
    -webkit-transform: translate3d(-200px, 0, 0);
    -ms-transform: translate3d(-200px, 0, 0);
    transform: translate3d(-200px, 0, 0);
}

.pushy-open-left .pushy,
.pushy-open-right .pushy {
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.pushy-open-left .pushy-content,
.pushy-open-right .pushy-content {
    visibility: visible;
}


/* Menu Transitions */

#container,
.pushy,
.push {
    transition: transform 0.2s cubic-bezier(0.16, 0.68, 0.43, 0.99);
}

.pushy-content {
    transition: visibility 0.2s cubic-bezier(0.16, 0.68, 0.43, 0.99);
}


/* Site Overlay */

.site-overlay {
    display: none;
}

.pushy-open-left .site-overlay,
.pushy-open-right .site-overlay {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9998;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-animation: fade 500ms;
    animation: fade 500ms;
}

@keyframes fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/* Submenu Appearance */

.pushy-submenu {
    /* Submenu Buttons */
    /* Submenu Icon */
}

.pushy-submenu ul {
    padding-left: 15px;
    transition: max-height 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.pushy-submenu ul .pushy-link {
    transition: opacity 0.2s ease-in-out;
}

.pushy-submenu button {
    width: 100%;
    color: #b3b3b1;
    padding: 15px 30px;
    text-align: left;
    background: transparent;
    border: 0;
}

.pushy-submenu button:hover {
    color: #FFF;
}

.pushy-submenu > a,
.pushy-submenu > button {
    position: relative;
}

.pushy-submenu > a::after,
.pushy-submenu > button::after {
    content: '';
    display: block;
    height: 11px;
    width: 8px;
    position: absolute;
    top: 50%;
    right: 15px;
    background: url("../img/arrow.svg") no-repeat;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    transition: transform 0.2s;
}


/* Submenu Movement */

.pushy-submenu-closed ul {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
}

.pushy-submenu-closed .pushy-link {
    opacity: 0;
}

.pushy-submenu-open {
    /* Submenu Icon */
}

.pushy-submenu-open ul {
    max-height: 1000px;
    visibility: visible;
}

.pushy-submenu-open .pushy-link {
    opacity: 1;
}

.pushy-submenu-open a::after,
.pushy-submenu-open button::after {
    -webkit-transform: translateY(-50%) rotate(90deg);
    -ms-transform: translateY(-50%) rotate(90deg);
    transform: translateY(-50%) rotate(90deg);
}

/* Custom classes */
@media(max-width: 767.98px){
    .mt-sm-2{
        margin-top: 3rem;
    }
}
