div#content_inner.kader {
    background-color: #000000;
}

#contain.kader #block_subnavi {
    display: none;
}

.kader div#block_breadcrumb {
    background-color: #000000;
}

.kader div#block_breadcrumb :not(.dropdown-menu ul li) > a, .kader div#block_breadcrumb :not(.open) > button span {
    font-size: 25px;
    color: #ffffff !important;
}

/*a:hover, a:focus {
    color: initial;
}*/

a#search_box_icon_news {
    border: none;
    background-color: #FFD100;
}

div#search_tbox_news input {
    background-color: #FFD100;
}

.kader div#block_breadcrumb img {
    width: 25px;
}

.kader-item:hover {
    cursor: pointer;
}

.kader div#page-content h1 {
    color: #ffffff;
}

.hero-search-box-main-hp.newssearch {
    position: absolute;
    top: -45px;
    right: 15px;
}

.kader ul.element-filter.element-kaderliste li {
    border: none;
    color: #ffffff;
    text-decoration: underline;
}


.form-submit-btn-jhp button {
    border-radius: 0;
    text-transform: uppercase !important;
}

.block-filter.spielplan-info-dmenus-spp.element-filter-block.element-statistik {
    /*position: unset;*/
}

ul.element-filter.element-statistik li {
    border: none;
    text-decoration: underline;
    background: none;
    padding-right: 24px;
    padding-left: 0;
}

td.aleft a {
    border-bottom: none;
}

.content-inner a {
    border-bottom: 2px solid #000000;
}

div#block_subnavi {
    display: none;
}

.block-filter.spielplan-info-dmenus-spp {
    /*position: unset;*/
}

.btn-group.bootstrap-select {
    border: 0;
    text-decoration: underline;
}

.btn-group.bootstrap-select span {
    text-decoration: underline;
}

.btn-group.bootstrap-select span {
    text-decoration: underline;
    font-style: italic;
}

.col-lg-3.col-md-12.col-sm-12.col-xs-12.block-main-right {
    display: none;
}

.col-lg-9.col-md-12.col-sm-12.col-xs-12.block-main-left {
    width: 100%;
}

.simple-table td {
    border-bottom: 1px solid #000000;
}

.spielplan-info-dmenu1-spp {
    margin: 0 !important;
}

.kader ul.element-filter li {
    font-size: 25px;
    padding: 10px;
}

h2 {
    font-weight: bold;
}

.kader ul.element-filter li.active {
    background: unset;
    color: #ffcf00;
    font-size: 25px;
}

.kader .element-item h2 {
    font-size: 59px;
    color: #ffffff;
}

.kader .kader-list {
    margin-bottom: 75px;
}

.kader-text {
    margin-top: 20px;
}

.matchslider {
    position: relative;
    overflow: hidden;
}

.match-container-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

#home_page_match_slider_last .match-container-wrapper {
    flex-direction: row-reverse;
}

.match-container {
    min-width: 100%;
    box-sizing: border-box;
}

.arrow {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 1000;
}

.left-arrow {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.right-arrow {
    right: 0;
    border-radius: 0 3px 3px 0;
}

.custom-slider {
    position: relative;
    width: 100%;
    min-height: 85vh;
    overflow: hidden;
}

.custom-slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.custom-slides {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    width: 100%;
}

.custom-slide {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
    min-height: 85vh;
}

.custom-nav-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    font-size: 7em;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
    user-select: none;
}

.custom-slider-inner {
    height: 100%;
    display: flex;
}

.custom-left-arrow {
    left: 10px;
}

.custom-right-arrow {
    right: 10px;
}

.custom-slider-text {
    color: #000000;
    background-color: #ffffff;
    margin-top: auto;
    margin-bottom: 3%;
    padding: 15px;
    min-width: 25%;
    max-width: 750px;
    margin-left: 24px;
}

.custom-slider-text span {
    font-size: 25px;
    color: #000000;
}

.custom-slider-text h1 {
    padding: 0;
}

.header-row-left img#header_mobile_logo_image {
    width: auto;
    height: 100px;
}

header#header-mobile {
    width: 100%;
    height: 100%;
    position: sticky;
    top: 0;
    z-index: 9999;
}

li.menu__item {
    border: none;
}

.header-row-left {
    width: 70%;
    position: relative;
    float: left;
    background: linear-gradient(to bottom, #FFD100 50%, #000000 50%);
}

.header-row-right {
    width: 30%;
    display: flex;
    flex-direction: column;
}

.header-row-right-upper {
    height: 50px;
    background-color: #1d1d1b;
    margin-left: -1px;
}

.header-row-right-under {
    background-color: #FFD100;
    height: 50px;
    border: none;
}

.header-row-right img {
    padding: 15px;
}

.header-row-right-under .bar {
    width: 100%;
    height: 6px;
    background-color: black;
}

.header-row-right-under .mobile-menu-icon-hp a {
    background: unset;
}

.action.action--open.mobile-menu-icon-hp {
    width: 100%;
    height: 100%;
    padding: 0;
}

.header-row-right-under a.trans {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 34px;
    margin: auto;
    height: 30px;
    text-decoration: none;
}

.action.action--open.mobile-menu-icon-hp {
    width: 100%;
    height: 100%;
    display: flex;
}

.form-searchfield-new {
    display: none !important;
}

.action--open.is-open .bar:nth-child(1) {
    transform: translate(0px, 12px) rotate(45deg);
}

.action--open.is-open .bar:nth-child(2) {
    opacity: 0;
}

.header-row-right-under.menu-open {
    background-color: #FFFFFF;
}

.action--open.is-open .bar:nth-child(3) {
    transform: translate(0px, -12px) rotate(-45deg);
}

.action--open .bar {
    transition: all 0.3s ease;
}

.default-select-menu-ssp {
    display: flex;
}

.hero-search-box-main-hp.newssearch.mainmenu-mobile {
    left: 25px !important;
    top: 16px !important;
}

a#search_box_icon_menu {
    border: none;
    background-color: #ffffff;
}

@media screen and (min-width: 769px) and (max-width: 1107px) {
    .header-row.row-1 li a {
        padding: 0px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1600px) {

    .menu-text-hp {
        font-size: 20px !important;
    }

    .navbar-right .btn-link {
        font-size: 20px !important;
    }

    ul.nav.navbar-nav {
        font-size: 20px !important;
    }

    .hero-search-icon-hp a {
        display: block;
        width: 80px;
        height: 56px;
        border-radius: 33px;
    }
}

div#custom_dots {
    position: absolute;
    right: 10px;
    bottom: 1%;
}

button.custom-dot {
    padding: 0;
    margin: 0 10px;
    border: none;
    border-radius: 50%;
    width: 20PX;
    height: 20PX;
    text-indent: -999em;
    overflow: hidden;
    text-align: left;
    direction: ltr;
    cursor: pointer;
    -webkit-appearance: none;
}

@media screen and (max-width: 750px) {
    button.custom-dot {
        background: #fff9;
    }
}

button.custom-dot.active {
    background-color: #ffd100;
}
/**
MOBILE STYLES HERE
 */

/**
IPHONE SE ONLY
 */
@media screen and (max-width: 375px) and (max-height: 667px) and (orientation: portrait) {
    .custom-slider-text {
        height: 24vh!important;
    }

    div#custom_dots {
        bottom: 25vh!important;
    }
    
}

@media screen and (max-width: 1250px) {

    .container-matches{
        margin-top: 10px;
    }

    .custom-slider{
        background-color: white;
        height: auto;
        min-height: auto;
        margin-bottom: -1px;

    }

    #leaderboard-wrapper-mobile{
        background-color: #fff!important;
    }

    .top-part-main-hp{
        min-height: unset!important;
    }
    
    .custom-slide{
        min-height: 60vh;
    }

    .custom-slider-text {
        height: 17vh;
        background-color: rgb(255, 255, 255, 0.6);
    }

    div#custom_dots {
        bottom: 19vh;
    }
    
    /* Mobile menu secondary */
    .secondary-menu-mobile.open {
        width: 100%;
    }

    .mobile-menu-icon-hp {
        margin: 0px 0px 0px 0px;
        position: relative;
    }

    .quarter-button {
        width: 30px;
        height: 30px;
        position: absolute;
        cursor: pointer;
        bottom: 10px;
        left: 66%;
        transition: background-color 0.3s ease;
    }

    .quarter-button::before,
    .quarter-button::after {
        content: "";
        position: absolute;
        width: 15px;
        height: 15px;
        transition: background-color 0.3s ease;
    }

    .quarter-button::before {
        top: 0;
        left: 0;
        background-color: #FFD100;
    }

    .quarter-button::after {
        bottom: 0;
        right: 0;
        background-color: #FFD100;
    }

    .quarter-button .top-right,
    .quarter-button .bottom-left {
        position: absolute;
        width: 15px;
        height: 15px;
        transition: background-color 0.3s ease;
    }

    .quarter-button .top-right {
        top: 0;
        right: 0;
        background-color: black;
    }

    .quarter-button .bottom-left {
        bottom: 0;
        left: 0;
        background-color: black;
    }

    .secondary-menu-mobile {
        overflow: hidden;
        height: 0;
        transition: height 0.3s ease;
        background-color: #000000;
        color: #fff;
    }

    .secondary-menu-mobile-inner {
        height: 100%;
    }

    .secondary-menu-mobile.open {
        height: auto;
        overflow: visible;
        transition: all 0.3s;
        margin-bottom: -130px;
    }

    .secondary-menu-mobile.open {
        position: fixed;
        top: 22%;
        z-index: 9999;
        max-width: 100%;
    }

    .quarter-button.active::before {
        background-color: black;
    }

    .quarter-button.active::after {
        background-color: black;
    }

    .quarter-button.active .top-right {
        background-color: #FFD100;
    }

    .quarter-button.active .bottom-left {
        background-color: #FFD100;
    }

    /* Main menu items */
    .mobile-menu-item {
        padding: 10px 0;
    }

    .mobile-menu-link {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: #000000;
        font-size: 30px;
    }

    a.mobile-menu-link:hover {
        color: #000;
    }

    a.mobile-menu-link.active {
        text-decoration: underline;
    }

    /* Submenu level 3 */
    .mobile-subsubmenu {
        list-style-type: none;
        padding: 0;
        margin: 0;
        padding-left: 40px; /* Further indent level 3 submenu */
    }

    .mobile-subsubmenu-item {
        padding: 8px 0;
    }

    .fullwidth-button {
        padding-bottom: 30px;
        text-align: center;
        padding-top: 40px;
        font-size: 25px;
    }

    .mobile-subsubmenu-link {
        text-decoration: none;
        color: #FFD100;
        font-size: 20px; /* Smaller font size for level 3 */
    }

    /* Active state styling */
    .mobile-menu-link.active + .mobile-submenu {
        display: block;
    }

    .mobile-submenu-link.active + .mobile-subsubmenu {
        display: block;
    }

    /* Menu icon styling */
    .mobile-menu-icon {
        margin-right: 10px;
        width: 20px;
        height: 20px;
        background-size: cover;
    }

    /* Submenu container */
    .mobile-submenu {
        list-style-type: none;
        margin: 10px 0 0;
        padding: 0 0 0 20px;
        background-color: #000;
    }

    /* Submenu items */
    .mobile-submenu-item {
        padding: 8px 0;
    }

    /* Submenu links */
    .mobile-submenu-link {
        text-decoration: none;
        color: #FFD100;
        font-size: 20px;
        padding-left: 12px;
    }

    a.mobile-submenu-link.active, a.mobile-subsubmenu-link {
        color: #fff;
    }

    a.mobile-submenu-link.active {
        text-decoration-line: underline;
    }

    ul.mobile-subsubmenu-3 a.mobile-subsubmenu-link {
        color: #ffffff !important;
    }

    div#search_tbox_menu.mainmenu {
        left: 20px;
        z-index: 9999;
    }

    div#search_tbox_menu.mainmenu input {
        background-color: #fff;
        padding-left: 60px;
        border-radius: 50px;
    }

    .mainmenu-mobile .hero-search-icon-hp {
        z-index: 99999;
        position: absolute;
    }

    /* Initially hide the menu content */
    #resultate-menu-inner {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    /* Active state styling */
    .mobile-menu-link.active + .mobile-submenu {
        display: block; /* Show submenu when active */
    }

    /* Class to apply when the menu is open */
    #resultate-menu-inner.open {
        max-height: 100%; /* Adjust the height as needed */
        height: auto;
        padding: 0 25px;
    }
}

@media screen and (max-width: 1024px) {

    .news-pager span, .news-pager a {
        margin-right: 5px !important;
    }

    .simple-table td {
        font-size: 13px !important;
    }

    .two-column-buttons a {
        display: block;
        width: 50%;
        float: left;
        padding: 30px 0;
        text-align: center;
        font-size: 20px;
    }

    .default-select-menu-ssp.nomobile, .default-select-menu-ssp.no-mob-m {
        display: none !important;
    }

    .leaderboard_wrapper.leadrboard_pos_a {
        display: none !important;
    }

    .leaderboard_wrapper_mobile.leadrboard_pos_a_mobile {
        display: none;
    }

    div#resultate-menu-inner tr {
        display: flex;
    }

    div#resultate-menu-inner td {
        padding-left: 30px;
    }
}
