@media all and (max-width: 992px) {

    .contactpanel {
        display: none;
    }

    #navbartop {
        display: none;
    }
    #logo_punkt_navbar {
        display:block;
    }
}

@media all and (min-width: 992px) {
    /* NAVBAR*/
    /*
    .navbar .nav-item .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: .3s;
    }
    .navbar .nav-item:hover .dropdown-menu {
        transition: .3s;
        opacity: 1;
        visibility: visible;
    }
    */
    .contactpanel {
        position: fixed;
        right: 0;
        top: 30%;
        z-index: 13;

    }

    .contactpanel .opener {
        position: absolute;
        /*background: #4c4c4c;*/
        background: rgba(0,0,0,.3);
        color: white;
        width: 37px;
        height: 89px;
        left: -37px;
        padding-top: 12px;
        font-size: 14px;
        border-radius: 3px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        text-align: center;
    }

    .contactpanel .content {
        white-space: nowrap;
        display: none;
        background: white;
        position: relative;
        z-index: 1;
        padding: 0;
        height: 420px;
        overflow: hidden;
        width: 320px;
        border: #e1e1e1 solid 1px;
    }

}

/*CAROUSEL */
.carousel-indicators li {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #222;
    margin: 0 5px;
}

.carousel-text-shadow {
    text-shadow: 1px 1px 1px black;
}

/* Navbar */

/*.navbar-light .navbar-nav .nav-item:hover, .navbar-light .navbar-nav .nav-item:focus {
    color: rgba(229, 58, 22, 0.7);
    border-bottom-color: rgba(229, 58, 22, 0.7);
    border-bottom-width: 4px;
}*/

.hoverclass .nav-link:hover, .hoverclass .nav-link:focus {
    color: rgba(229, 58, 22, 0.7) !important;
}

.hoverclass li {
    /*border: none;*/
}

.hoverclass li:hover, .hoverclass li:focus {
    /*color: rgba(229, 58, 22, 0.7);*/
    /*border-bottom: 3px solid rgba(229, 58, 22, 0.7);*/
}

.hoverclass .dropdown-menu {
    top: 125%;
    border: none;
    background-color: #4F4F4F;
}

.hoverclass .dropdown-menu .dropdown-item {
    background-color: #4F4F4F;
    color: white;
}

.hoverclass .dropdown-menu .dropdown-item:hover {
    background-color: #b3b3b3;
    color: rgba(229, 58, 22, 0.7);
}


/*.hoverclass li:hover, .hoverclass li:focus {
    background-color: #c7c7c7;
}*/

.hoverclass a:hover {
}

/* ---------------- SIDEBAR------------*/
.sidebar-sticky {
    position:sticky;
}

.inner {
    overflow: hidden;
    width:300px;

}

.inner img {
    transition: all 0.7s ease;
    padding: 0;
    background-color: #fff;
    /*border: 1px solid rgba(0,0,0,.3);*/
    border: 0px;
    box-shadow: 0 0;
    max-width: 100%;
    height: auto;

}

.inner:hover img,
.newsitemlink:hover img{
    transform: scale(1.2);
}

a:hover {
    text-decoration: none;
}

#btnnews:not(.collapsed) .rotate-icon {
    transform: rotate(180deg);
    color: #f04632;
}
#btnnews .rotate-icon {

    color: #4c4c4c;
}


.newsitemlink p{
    transition: bottom .2s, background .2s ;
}

newsitemlink:hover p{
    transition: bottom .2s, background .2s ;
}

.hoverbox-content,
.hoverbox-content a{
    position: relative;
    overflow: hidden;

}

.hoverbox-content a:focus,
.hoverbox-content:hover a{
    padding: 20px 0 5px 10px;
    text-decoration: none;
    text-align: left;
    background: rgba(229, 58, 22, 0.7);
    bottom: 0;
}
.hoverbox-content:hover h6 {
    text-align: left;
    padding: 0 0 10px 0;
}

.hoverbox-content h6 {
    text-align: center;
    transition: background 0.3s;
    padding: 0 0 20px 0;
}
.hoverbox-content a {
    text-decoration: none;

    background: rgba(0, 0, 0, .7);
    position: absolute;
    z-index: 2;
    bottom: -83%;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: .9881vw;
    transition: bottom .2s, background .2s ;
    line-height: 1.5;
}

/* CONTENT */
hr {
    border-top: 1px solid rgba(0,0,0,0.4);
    width: 40%;
}

/* TYPO3 content element Anpassungen */

#c85 h2{
    /*display:none;*/
}
#c459 h2{
    color: #f04632;
}

html {
    scroll-behavior: smooth;
}

:target:before {
    content: "";
    display: block;
    height: 500px;
    margin: -500px 0 0;
}