aside {
    width: 400px;
    padding: 0 50px;
}

aside .logo {
    margin:1rem auto;
}


.frame-section, .frame-bright-background {
    padding: 40px 50px 40px 75px;
    margin: 0 -10px 0 -10px;
}

.sidepanel-footer {
    margin: 15px -50px 0 -50px;
}

h1, .h1 {
    font-size: 2.8rem;
}

h2, .h2,h2.title, h2.title a  {
    font-size: 1.8rem;
}

h3, .h3 {
    font-size: 1.3rem;
}

h4, .h4, h5, .h5, h6, .h6 {
    font-size: 1rem;
}


.col-contact {
    text-align:left;
}

.col-copyright {
    text-align:center;
}

.col-impressum {
    text-align:right;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1620px;
    }
}

@media (max-width: 1440px) {

    aside {
       width: 350px;
       padding: 0 25px;
    }

    .sidepanel-footer {
        margin: 45px -25px 0 -25px;
    }

    h1, .h1 {
        font-size: 2.2rem;
    }

    h2, .h2, h2.title, h2.title a {
        font-size: 1.6rem;
    }

    h3, .h3 {
        font-size: 1.2rem;
    }


    .kachel h2, .kachel h3 {
        font-size: 1.4rem;
        padding-top: 0;
        margin: 0;
    }

    .kachel img {
        margin-bottom: 5px;
    }
}

@media (max-width: 1280px) {

    aside {
        max-width: 300px;
        padding: 0 25px;
    }

    h2, .h2 {
        font-size: 1.6rem;
    }

    .kachel h2, .kachel h3 {
        font-size: 1rem;
    }

    .nav-main, .nav-footer {
        padding: 0;
    }

    #navbarSupportedContent {
        padding: 0;
        margin: 0;
    }

    .kachel .caption {
        top: 45%;
    }

    .content-main .carousel-caption {
        right: 10%;
    }

    .nav-main, .nav-footer {
        font-size: 1rem;
    }

    section.logos {
        margin-left: -75px;
        padding: 100px 25px 60px 25px;
    }

    section.carousel {
        margin-left: -4.5rem;
        margin-right: -4.5rem;
    }

}

@media (max-width: 992px) {
    aside {
        width: 260px;
        padding: 0 10px;
    }
    .sidepanel-footer {
        margin: 45px -10px 0 -10px;
    }

    .tx-sf-event-mgt .justify-content-center {
        justify-content: left !important;
        padding-left: 25px;
    }

    .tx-sf-event-mgt .booked-out, .booked-out .alert {
        text-align: left;
        padding-left: 0;
    }

    .tx-sf-event-mgt .event-header {
        display: none;
    }


    .frame-section, .frame-bright-background {
        padding: 20px 35px;
        margin: 0 -10px 0 -10px;
    }

    nav .footer-menu {
        margin-bottom: 0.2rem;
    }

    .nav-main, .nav-footer {
        padding: 0 5px;
        font-size: 1rem;
    }

    .nav-link {
        padding: .3rem 1rem;
    }

    h3, .h3 {
        font-size: 1.1rem;
    }

    h2.title, h2.title a {
        font-size: 0.9rem;
    }

    .teaser .title, .teaser .title a {
        line-height: 1.2rem;
        padding: 8px;
    }

    .kachel img.img-round {
        width: 60%;
        height: 60%;
        border: 2px solid #fff;
    }

    .kachel h2, .kachel h3 {
        font-size: 0.7rem;
    }

    .btn.btn-primary {
        font-weight: 600;
        font-size: .9rem;
        padding: .375rem .375rem;
        border: none;
    }

    .overlay-seminar {
        bottom: 5px;
        right: 5px;
        width: 30px;
        height: 30px;
    }

    .copyright {
        bottom: 2px;
        font-size: 0.6rem;
    }

    .content-main .carousel-caption {
        left: 40%;
    }

    .content-main .carousel-caption .caption-content {
        padding: 0.5rem;
    }

    .content-main .carousel-caption .caption-content p {
        margin-bottom: 0;
    }

    section.logos {
        margin-left: -10px;
        padding: 100px 25px 60px 25px;
    }

    .carousel-caption h2 {
        font-size: 1rem;
    }

    .logo-footer {
        padding: 0 20px;
        margin-bottom: 50px;
    }

    .carousel {
        margin-left: -4.5rem;
        margin-right: -4.5rem;
    }
    .content-main .carousel-caption {
        left:40%;
        right:10%;
    }
}

@media (max-width: 768px) {
    .frame-section {
        padding: 40px 10px;
        margin: 0;
    }

    .frame-bright-background {
        margin: 0 -10px 0 -70px;
        padding: 40px 10px 0 85px;
    }

    .nav-main, .nav-footer {
        font-size: 0.85rem;
    }

    .nav-link {
        padding: .3rem;
    }

    .logo-footer {
        padding: 0 20px;
        margin-bottom: 0;
        font-size: 0.85rem;
    }
}

@media (min-width: 576px) {
    .my-table {
        display: table;
        width: 100%;
    }

    aside, main {
        display: table-cell;
    }

    aside {
        vertical-align: top;
    }

    .content-main .carousel-caption {
        top: 50%;
        transform: translateY(-50%);
        bottom: initial;

        -webkit-transform-style: preserve-3d;
        -moz-transform-style: preserve-3d;
        transform-style: preserve-3d;
        display: inline-block;
        text-align: left;
    }


    /* Ausrichtung Mitte horizontal und vertikal */
    .carousel-caption {
        top: 50%;
        transform: translateY(-50%);
        bottom: initial;
        -webkit-transform-style: preserve-3d;
        -moz-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }

    .my-table {
        display: table-cell;
        width: 100%;
    }

    .navbar-expand-lg .navbar-collapse {
        display: block !important;
    }

}


@media (max-width: 575.98px) {
    .frame-section, .frame-bright-background {
        padding: 10px 5px 10px 5px;
        margin: 0 -10px 0 -10px;
    }

    aside {
        width:100%;
        max-width:100%;
    }

    section.logos {
        background-size: contain;
    }
    section.logos {
        margin: 0 -15px;
        padding: 0;
        height: 250px;
    }

    .footer {
        text-align: center;
    }

    .logo-footer {
        right: 40px;
        left:unset;
        bottom: 63px;
        padding: 0 10px;
        max-width:200px;
    }

    .logo-footer img{
        width:70%;
        height:auto;
    }

    .logo-footer p {
        padding-right: 5px;
        margin-bottom:0;
        font-size: 1rem;
    }

    .col-contact {
        text-align:center;
    }

    .col-copyright {
        text-align:center;
    }

    .col-impressum {
        text-align:center;
    }
    .kachel h2, .kachel h3 {
        font-size: 1.6rem;
        margin-top:0.5rem;
    }

    .news .col-md-4{
       margin-bottom:1rem;
    }

    section.carousel {
        margin: 0;
    }

    .carousel-caption {
        width: 100%;
        max-width: 100%;
    }

    .carousel-item {
        position: relative;
    }

    .content-main .carousel-caption {
        position: relative;
        padding: 1rem;
        margin:0;
        background-color: #fff;
        left:unset;
        right:unset;
    }

    .content-main .carousel-caption h2 {
        background-color: transparent;
        color: #666;
        padding:  unset;
    }

    .navbar-brand {
        margin: 0 auto;
    }

    .navbar-toggler {
        margin-right: 10px;
    }

    .visible-mobile {
        display: block;
        padding-left: 15px;
    }

    .hidemobile {
        display: none;
    }

    .logo {
        display: none;
    }

    .frame-section {
        padding: 20px 10px;
        margin: 0;
    }

    .frame-bright-background {
        padding: 20px 10px 0 85px;
    }
}