/* ============ desktop view ============ */

.cal-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.cal-container .responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

@media all and (min-width: 1300px) {

    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.15rem;
        line-height: 1.4;
        font-weight: normal;
    }

    /*1. Ebene */
    .navbar ul li,.topnav li a {
        font-size: 1.3em;
    }

    /*2. Ebene */
    .navbar ul li .column-header {
        font-size: 1em;
    }

    /*3. Ebene */
    .navbar ul li ul li {
        font-size: 1em;
        padding: 0.2rem;
    }

}

@media all and (min-width: 992px) and  (max-width: 1299px) {
    /*1. Ebene */
    .navbar ul li {
        font-size: 1em;
    }

    /*2. Ebene */
    .navbar ul li .column-header {
        font-size: 0.95em;
    }

    /*3. Ebene */
    .navbar ul li ul li {
        font-size: 0.95em;
        padding: 0.2rem;
    }
}

@media all and (min-width: 992px) {

    /*
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }
    */
    .mobile {
        display: none;
    }

    .dropdown-hover:hover > .dropdown-menu {
        display: inline-block;
    }

    .dropdown-hover > .dropdown-toggle:active {
        /*Without this, clicking will make it sticky*/
        pointer-events: none;
    }

    .navbar .has-megamenu {
        position: static !important;
    }

    .navbar .megamenu {
        left: 0;
        right: 0;
        width: 90%;
        margin-top: 0;
    }

    .navbar {
        position: absolute;
        padding: 0;
        right: 0;
        left: 0;
        z-index: 1030;
    }

    .dropdown-hover:hover > .dropdown-menu {
        margin-top: -3px;
        margin-left: 312px;
        margin-right: -150px;
        padding: 10px 10px 10px 10px;
    }

    .dropdown-menu {
        border: none;
    }

    .sticky.navbar .logo img {
        position: absolute;
        top: 15px;
        width: 80px;
        height: auto;
    }

    /* Standard-Logo ausblenden, weißes Logo einblenden */
    .sticky.navbar .logo img.standard {
        display:none;
    }
    .sticky.navbar .logo img.white {
        display:block;
    }

}

@media (max-width: 991px) {

    .logo,#margin-news {
        display: none;
    }

    #footer .mobile {
        display: none;
    }

    .mobile img {
        width: 100px;
        height: auto;
        margin-right:20px;
    }


    #topnav, #main_nav {
        margin: 0;
    }

    .navbar-light {
        background-color: #d9efe3;
    }

    .col-megamenu {
        padding-left: 5px;
    }

    h1.title {
        border-bottom: 0px solid #666;
        font-weight: 600;
    }

    .carousel h2 {
        font-size: 1.4em;
    }

    .carousel-caption {
        width: 350px;
    }

    .carousel-caption a {
        font-weight: normal;
    }

    .desktop {
        display: none;
    }

    .navbar .logo img {
        height: 80px;
        width: auto;
        position: relative;
        top: unset;
    }

    .navbar.fixed-top .navbar-collapse, .navbar.sticky-top .navbar-collapse {
        overflow-y: auto;
        max-height: 90vh;
        margin-top: 10px;
    }

}

@media (max-width: 768px) {

    .mobile img {
        width: 55px;
        height: auto;
        margin-right:8px;
    }

    h1.title {
        font-size: 1.1em;
    }

    .maincontent h2 {
        margin-top:0;
    }

    #contentSponsor .flexslider .slides img {
        max-height: 100px;
        width: 100%;
        height: auto;
    }

    .carousel-caption span {
        display: none;
    }

    .carousel-indicators {
        display: none;
    }

    .carousel h2 {
        font-size: 1.2em;
        margin: 0;
    }

    .carousel-caption {
        right: unset;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 15px;
        border-radius: 0;
    }

    footer .address {
        background-color:#009540;
    }

    footer {
        background: transparent;
    }

    #footer .imprint {
        margin-top: 0.5em;
    }

    .news .article {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .news .article .news-img-wrap {
        margin-bottom: 15px;
    }
}

@media (max-width: 500px) {

    h1.title {
        font-size: 0.9em;
        vertical-align: middle;
    }

    .carousel-caption {
        padding: 5px;
    }

    .maincontent {
        padding: 0;
    }

    .start .news-item-block > .news-content h4 {
        font-size: 18px;
    }

    h1.title .break {
        display:block;
    }
}