
@media (min-width: 1400px) {
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .logo-container {
    margin-right: 10px;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .scroll-top-button {
    right: 10px;
  }
  .navbar-nav>.nav-item>.nav-link {
      font-size: 16px;
  }
  .logo-container {
      margin-right: 10px;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .scroll-top-button {
    right: 10px;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .scroll-top-button {
    right: calc((100vw - 540px) / 2);
  }
}


@media all and (max-width: 1199.98px) {
    .megamenu-wrapper .col-xl-5{
        display: none;
    }
    .navbar-nav .dropdown-menu .feature-box {
        padding: 0px 20px;
    }
    .navbar-nav .menubackground {
        margin: 0px 20px 80px 0px;
    }
}


@media all and (min-width: 992px) {
    body > #maincontent {
        min-height: calc(100vh - 507px);
    }
    .navbar .has-megamenu {
        position: static !important;
    }

    .navbar.bg-red {
        background: #c51a1b;
    }
    .bg-red .navbar-nav>.nav-item>.nav-link {
        color: #fff;
    }
    .bg-red ul{
        padding-left: 20px;
    }
    .bg-red .navbar-nav>.nav-item:not(.nav-icon) {
        text-align: left;
        white-space: nowrap;
        padding-right: 10px;
    }
    .navbar .megamenu {
        left: 0;
        right: 0;
        width: 100%;
        margin-top: 0;
    }

    .hover-opacity .feature-box {
        transition: opacity 0.2s ease;
        will-change: opacity;
    }

    .hover-opacity:hover .feature-box:not(:hover) {
        opacity: 0.3;
    }

    .feature-box {
        position: relative;
    }

    .feature-box::before {
        content: "";
        opacity: 0;
        position: absolute;
        background-color: #52ada2;
        width: 100%;
        top: -15px;
        left: -15px;
        border-radius: 2px;
        height: calc(100% + 30px);
        width: calc(100% + 30px);
        transform: scale(0.875);
        transition: transform 0.2s linear;
    }

    .feature-box:hover::before {
        opacity: 0.06;
        transform: scale(0.95);
    }
}
@media (max-width: 991px) {
    body {
        padding-top: 68px;
    }
    body.userloggedin {
        padding-top: 98px;
    }
     #maincontent {
        padding-left: 0px;
    }
    .logo-container {
        display: none;
    }
    .logo-container-responsive {
        display: block;   
    }
    nav .container {
        max-width: 100%;
        margin: 0 20px;
    }
    .navbar {
        height: 68px;
        padding: 0;   
    }
    .navbar.fixed-top .navbar-collapse,
    .navbar.sticky-top .navbar-collapse {
        overflow-y: auto;
        max-height: 90vh;
        margin-top: 10px;
    }
    .navbar-expand-lg .navbar-collapse {
        background-color: #fff;
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        padding: 0px; 
        display: flex;
        flex-direction: column;
        visibility: hidden;
        height: 0;
        overflow: hidden;
    }
    .navbar-collapse.show {
        visibility: visible;
        height: calc(100vh - 68px);
        overflow-y: auto;
    }

    .navbar-expand-lg .navbar-collapse ul {
        max-width: 720px;
        margin: auto;
        padding: 12px;
        margin-top: 0;
    }
    .navbar-toggler:focus {
        box-shadow: none;   
    }
    .navbar-nav .nav-link.dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;   
        font-size: 21px;
        padding: 15px 0;
    }
    .navbar-nav .nav-link.dropdown-toggle::after {
        margin-left: auto;           
        font-size: 18px;
        top: 0px;
        margin-right: 7px;
    }
    .nav-item.dropdown.has-megamenu::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        height: 1px;
        background: #fafafa;
    }
    #userDropdown .fa-user, .nav-item#search {
        display: none;
    }
    #userDropdown .account-text {
        display: inline;
    }
    #userDropdown.dropdown-toggle::after {
        display: inline-block;   
    }
    .navbar-nav>.nav-item.nav-icon {
        padding: 0;   
    }
    .navbar #main_nav .menu-logos{
        display: block;
    }
    #cartsymbol {
        text-align: left;
    }
    #cartsymbol .badge {
        background-color: #000;
        color: #fff;
    }
    .logo-section {
        padding: 20px 0;   
    }
    .megamenu-wrapper .logo-section {
        display: none;
    }
    .logo-bar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        justify-items: center;   
    }
    .logo-item {
        max-width: none; 
    }
    .facebook-section {
        padding: 40px 0;
        border-top: 1px solid #f2f2f2;   
    }
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        left: 0 !important;
        right: auto;
        top: auto;
        position: relative !important;
        border-radius: 0;
        border-top: 0px solid #c6191b;
        box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.3);
    }
    .dropdown-menu .colmenubackground, .dropdown-menu h5{
        display: none;
    }
    .dropdown-menu .row {
        display: block;
        padding: 0 !important;
        margin: 0 !important;
    }
    .dropdown-menu .row .col {
        padding: 0 !important;
        margin: 0 !important;
    }
    .dropdown-menu .col-md-6 {
        width: 100%;
        padding: 0 !important;
    }
    .navbar-nav .dropdown-menu .feature-box {
        padding: 0px 20px;
    }
    .navbar-nav>.nav-item.nav-icon {
        flex: 1 1 auto;
        text-align: center;
        white-space: nowrap;
        display: block;
    }
    .navbar-expand-lg .navbar-nav .user-dropdown, .navbar-expand-lg .navbar-nav .dropdown-menu {
        width: 100%;
        padding: 0;
    }
    .navbar-expand-lg .navbar-nav .user-dropdown .dropdown-header, .navbar-expand-lg .navbar-nav .user-dropdown .dropdown-divider, .navbar-expand-lg .navbar-nav .user-dropdown .text-muted {
        display: none !important;
    }
    .navbar-nav .dropdown-menu .feature-box:hover::after {
        opacity: 0;
    }
    .dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
        background-color: transparent;
        background-image: none;
    }
    .navbar-nav>.nav-item.nav-icon.intern {
        display: none;
    }
    .internmobile{
        display: block;
        position: fixed;
        background-color: #c51a1b;
        width: 100%;
        color: #fff;
        text-align: center;
        font-size: 13px;
        padding: 5px 0;
        font-weight: bold;
        z-index: 999;
        top: 68px;
    }

    .page-uid-12 #maincontent {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100%;   
    }
    
    footer .col-sm-2 {
        float: none !important;
        width: 100%;   
    }

    .news .news-list-view .article {
        padding: 25px;   
    }
    .news .news-list-view .article .news-img-wrap {
        margin: 3px 0px 5px 0;
        float: none;   
    }
    .news .news-list-view .article .news-img-wrap a {
        float: none;
        text-align: left;   
    }
    .news .news-list-view .article .news-img-wrap img {
        float: none; 
        max-width: 100%;
    }
    .news .news-list-view .article .pull-right {
        float: none;
    }

    #maincontent {
        margin: 0;
        margin-top: 25px;
        max-width: 100%;
    }
    #maincontent #maincontent_inner {
        padding: 25px;
        margin: 25px;
    }
    .page-uid-476 #maincontent {
        padding: 30px;
        margin-top: 0;   
    }
    .page-uid-476 #maincontent #maincontent_inner {
        margin: 0px;
    }
    .tx-dixeventmanager .form-group {
        flex-direction: column; /* Label über Input */
        align-items: stretch;
    }

    .tx-dixeventmanager .form-group .control-label {
        flex: 0 0 auto;
        max-width: 100%;
        text-align: left;
        margin-bottom: 0.5rem;
        padding-right: 0;
    }

    .tx-dixeventmanager .form-group > div[class*="col-md-"] {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        display: block;
        gap: 0;
    }
    .tx-dixeventmanager .form-group .col-md-offset-4 {
        margin-left: 0;
    }
    .tx-dixeventmanager .form-group .col-md-offset-8 {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 22px;
        hyphens: auto;
        -webkit-hyphens: auto;
    }
    .news .news-list-view a {
        hyphens: auto;
        -webkit-hyphens: auto;
        font-size: 20px;
        line-height: 20px;
    }
    .page-uid-476 #maincontent #maincontent_inner::before {
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        box-shadow: 0 0 0 10px rgba(159, 159, 159, 0.1);
    }
    .navbar-expand-lg .navbar-collapse ul {
        padding: 0 25px;
    }
    #carouselDefault {
        display: none;
    }
    #carouselResponsive {
        display: block;
    }
    .carousel-item img {
        height: auto !important;
        width: 100% !important;
    }
    .carousel-control-next,
    .carousel-control-prev {
        padding-bottom: 0px;
    }
    .menu-logos {
        padding: 0 25px;
    }
    .logo-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-single h1 {
        font-size: 18px;
    }
    footer .container {
        padding: 0 25px;
    }
    .news-single .article .news-img-wrap.right {
        float: none;
        width: 100%;
        margin: 0;
    }
    .row>* {
        margin-bottom: 20px;
    }
    .ce-left .ce-gallery, .ce-column {
		float: none;
	}
    iframe {
        width: 100%;
        aspect-ratio: 16 / 9;
        height: auto !important;
    }
}