/* KMI Template Base: Version 7.0 */
@media screen and (min-width: 2560) {
    #footer-address, #header-wrapper{
        width: 2560px;
        margin: 0 auto;
    }
}
@media screen and (min-width: 1200px) {
    .flex-lg-row {
        flex-direction: row;
    }
    .frame-type-text .bodytext-wrapper{
        max-width: 1000px;
    }
}



@media screen and (max-width: 1400px) {
    :root {
        --c80-padding: 30px;
    }

    #parkraeume_karte{
        height: auto;
    }

    .map img {
        width: 100%;
        height: auto;
    }

    .map a {
        display: none;
    }

    aside.parkspaces ul.table-pls {
        height: auto;
        margin: 0 40px 10px 0;
    }

    .pl-details aside.properties-boxes {
        width: auto;
    }

    .pl-details section.properties {
        float: none;
        width: auto;
        padding-bottom: 20px;
    }
}

@media screen and (max-width: 1200px) {
    :root {
        --parking-lot-cols: 6;
    }

    .ce-textpic{
        flex-direction: column;
    }

    .col-50{
        width: 80%;
    }
    
    .ce-gallery{
        margin-bottom: 35px;
    }
    
    .ce-textpic.ce-right .ce-gallery{
        order: 0;
        margin-left: 0;
    }
    .ce-textpic.ce-right .ce-bodytext{
        margin-right: 0;
    }
}

@media screen and (max-width: 1199px) {
    .pl-details .properties {
        order: 1;
    }

    .pl-details .properties-boxes {
        order: 0;
        display: flex;
    }
    .pl-details .properties-boxes .address{
        margin-left: 30px;
    }
    .tx-kmi-pls-integration .teaser {
        width: 100%;
        min-width: auto;
    }
}

@media screen and (max-width: 1040px) {
    #kmi-logo {
        display: none;
    }
}

@media screen and (min-width: 992px) {
    .mobile-nav-toggle{
        display: none;
    }
}
@media screen and (max-width: 991px) {
    .topnav{
        display: none !important;
    }
    :root {
        --parking-lot-cols: 5;
    }

    .table-pls-ul {
        flex-wrap: wrap;
    }

    .col-50{
        width: 90%;
    }

    .footer-wrapper {
        flex-direction: column;
    }

    .footer-wrapper ul {
        margin-top: 30px;
    }

    .footer-wrapper ul li {
        margin-left: 0;
        margin-right: 15px;
    }
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.2rem;
    }

}

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

    .ce-textpic{
        flex-direction: column;
    }

    .col-50{
        width: 100%;
    }
    
    .ce-gallery{
        margin-bottom: 35px;
    }
    
    .ce-textpic.ce-right .ce-gallery{
        order: 0;
    }
}



@media screen and (max-width: 715px) {
    :root {
        --parking-lot-cols: 3;
    }

    #topnav-background,
    #subnav-wrapper {
        display: none;
    }

    #page {
        width: 100%;
        padding: 0;
    }

    #title {
        position: relative;
        bottom: auto;
    }

    #logo {
        min-width: 250px;
    }

    #logo img {
        height: auto;
        padding-top: 0;
    }

    #header-wrapper {
        height: auto;
    }

    #header {
        padding: 20px 0 20px 0;
    }

    #center-wrapper {
        float: none;
        margin: 20px 0 0 0;
    }

    #sidebar-wrapper {
        float: none;
        margin: 20px 3% 0 3%;
        width: auto;
    }

    #center {
        min-height: 0;
    }

    #sidebar-wrapper {
        float: none;
        margin: 0;
    }

    #footer-address {
        float: none;
        margin-left: 0;
    }

    aside.parkspaces {
        display: none;
    }

    .pl-details .csc-header {
        margin-left: 0;
    }

    ul.table-pls {
        margin: 0 0 30px 0;
        float: none;
        height: auto;
    }

    .home #header {
        margin: 0 2%;
    }

    .pl-details section.properties {
        margin: 0;
    }

    a[href^=tel] {
        color: inherit;
        text-decoration: underline;
    }

    .tx-powermail,
    .powermail_submit {
        width: 100%;
    }


    /* Mobile Navigation */
    #mnav-wrapper {
        background: #333333;
    }

    #mnav-wrapper>div {
        border-bottom: 1px dashed #000;
    }

    #mnav-wrapper a {
        display: block;
        font-size: 1.2em;
        text-decoration: none;
        line-height: 46px;
        padding-left: 2%;
    }

    #mnav-wrapper a:hover,
    #mnav-wrapper a.current {
        background: #3969b7;
        color: #fff;
    }

    #mnav-wrapper .arrow {
        position: absolute;
        display: block;
        right: 0;
        height: 46px;
        width: 46px;
        margin-top: -46px;
        background: url('../Img/mnav-arrow.png') no-repeat center center;
        cursor: pointer;
    }

    #mnav-wrapper li.active .arrow,
    #mnav-wrapper li.open .arrow {
        -moz-transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg)
    }

    #mnav-wrapper ul ul {
        display: none;
    }

    #mnav-wrapper li.active ul {
        display: block;
    }

    #mnav-wrapper>div>ul>li.last ul {
        padding-bottom: 0;
    }

    #mnav-wrapper li li a {
        padding-left: 6%;
    }

    /* Mobile Navigation Button */

    #mnavbtn {
        display: block;
        height: 46px;
        color: #000;
        cursor: pointer;
    }

    #mnavbtn img {
        float: left;
    }

    #mnavbtn .mnavbtn-text {
        float: left;
        line-height: 46px;
        margin-left: 0.5em;
        color: #fff;
    }

    #mnavbtn {
        display: block;
    }

    #mnav-wrapper {
        display: none;
    }

    .mnav li a {
        display: block;
        line-height: 42px;
        background: #333333;
        color: #ffffff;
        text-decoration: none;
        font-size: 1.3em;
        border-bottom: 1px dotted #fff;
        padding-left: 10px;
    }

    .mnav li.active li a {
        background: #bbb;
        border-bottom: 1px dotted #333;
        color: #333;
        padding-left: 20px;
    }

    .mnav li.active li.last a {
        border-bottom: 0;
    }

    .mnav li a.current {
        font-weight: bold;
    }

    #mnav-wrapper ul.table-pls {
        margin: 0;
        float: none;
        height: auto;
    }

    #mnav-wrapper ul.table-pls.not-current ul {
        display: none;
    }

    #mnav-wrapper .table-pls a.label {
        font-size: 1.3em;
        border-bottom: 1px dotted #fff;
        padding: 0 0 0 20px;
    }

    #mnav-wrapper ul.table-pls {
        width: 100%;
    }

    #mnav-wrapper ul.table-pls.current ul {
        display: block;
        margin-top: 0;
    }

    #mnav-wrapper .table-pls span.name {
        width: calc(100% - 35px - 55px);
    }

    #mnav-wrapper .table-pls ul a:hover {
        background: transparent;
        color: #000;
    }

}

@media screen and (max-width: 500px) {
    :root {
        --parking-lot-cols: 1;
        --parking-state-width: (100vw - var(--c80-padding) * 2) / var(--parking-lot-cols) - 14px;
    }
    .pl-details .properties-boxes {
        flex-direction: column;
    }
    .pl-details .properties-boxes .address{
        margin-left: 0;
    }

    .parkingCounter-wrap {
        width: calc(100vw - (var(--c80-padding) * 2));
    }

    .table-pl {
        margin-bottom: 10px;
    }

    .table-pl .parkingStatusMain,
    .table-pl .name {
        margin-right: 0 !important;
    }
    #logo{
        min-width: 150px;
    }
}