/* 
Theme Name: DB BahnPark
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: workonweb
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

html {
    height: -webkit-fill-available;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* mobile viewport bug fix */
    min-height: -webkit-fill-available;
    margin: 0;
}

.site-main {
    flex: 1;
}

/* Map overwrites */
#wow-dbbp-map,
._brlbs-content-blocker {
    height: calc(100svh - (126px + 32px)) !important;  /* (Header/Navigation + Footer) */
}

[data-elementor-device-mode="tablet"] #wow-dbbp-map,
[data-elementor-device-mode="tablet"] ._brlbs-content-blocker {
    height: calc(100svh - (116px + 32px)) !important;
}

[data-elementor-device-mode="mobile"] #wow-dbbp-map,
[data-elementor-device-mode="mobile"] ._brlbs-content-blocker {
    height: calc(100svh - (116px + 32px)) !important;
}

/* heigh with WP admin bar */

.admin-bar #wow-dbbp-map,
.admin-bar ._brlbs-content-blocker {
    height: calc(100svh - (126px + 32px + 32px)) !important; /* (Header/Navigation + Footer + Adminbar) */
}

.admin-bar[data-elementor-device-mode="tablet"] #wow-dbbp-map,
.admin-bar[data-elementor-device-mode="tablet"] ._brlbs-content-blocker {
    height: calc(100svh - (116px + 32px + 32px)) !important;
}

.admin-bar[data-elementor-device-mode="mobile"] #wow-dbbp-map,
.admin-bar[data-elementor-device-mode="mobile"] ._brlbs-content-blocker {
    height: calc(100svh - (116px + 32px + 46px)) !important;
}

@supports not (height: 100svh) {
    #wow-dbbp-map,
    ._brlbs-content-blocker {
        height: calc(100vh - (126px + 32px)) !important;
    }

    [data-elementor-device-mode="tablet"] #wow-dbbp-map,
    [data-elementor-device-mode="tablet"] ._brlbs-content-blocker {
        height: calc(100vh - (116px + 32px)) !important;
    }

    [data-elementor-device-mode="mobile"] #wow-dbbp-map,
    [data-elementor-device-mode="mobile"] ._brlbs-content-blocker {
        height: calc(100vh - (116px + 32px)) !important;
    }

    .admin-bar #wow-dbbp-map,
    .admin-bar ._brlbs-content-blocker {
        height: calc(100vh - (126px + 32px + 32px)) !important; 
    }

    .admin-bar[data-elementor-device-mode="tablet"] #wow-dbbp-map,
    .admin-bar[data-elementor-device-mode="tablet"] ._brlbs-content-blocker {
        height: calc(100vh - (116px + 32px + 32px)) !important;
    }

    .admin-bar[data-elementor-device-mode="mobile"] #wow-dbbp-map,
    .admin-bar[data-elementor-device-mode="mobile"] ._brlbs-content-blocker {
        height: calc(100vh - (116px + 32px + 46px)) !important;
    }
}

.BorlabsCookie ._brlbs-content-blocker ._brlbs-default {
	height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	margin: 0;
	padding: 0;
	background: #F1F1F1;
}

.BorlabsCookie ._brlbs-content-blocker a._brlbs-btn {
	border-radius: 0;
	background: red;
}

.e-n-menu-heading {
    margin-block-start: 0;
    margin-block-end: 0;
}

.e-n-menu .e-n-menu-heading .e-n-menu-title:hover,
.e-n-menu .e-n-menu-heading .e-active {
    background-color: #F1F1F1 !important;
}   

.e-n-menu .e-n-menu-heading .e-n-menu-title:hover .e-n-menu-title-text,
.e-n-menu .e-n-menu-heading .e-n-menu-title:hover .e-n-menu-dropdown-icon,
.e-n-menu .e-n-menu-heading .e-active .e-n-menu-title-text,
.e-n-menu .e-n-menu-heading .e-active .e-n-menu-dropdown-icon {
    color: #646973 !important;
}

.dbbp-sidebar,
.dbbp-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 2rem;
}

.dbbp-sidebar li a {
    color: #646973;
    font-size: 18px;
}

.dbbp-sidebar li a:hover {
    color: red;
}

.dbbp-sidebar hr {
    border: 1px solid #f1f1f1;
    margin: 1rem 0;
}

.dbbp-sidebar ul li {
    padding: .5rem 0;
}


.dbbp-sidebar ul li a {
    color: #646973;
    font-size: 14px;
}

.dbbp-sidebar ul li a:hover {
    color: red;
}

.dbbp-sidebar .current_page_item,
.dbbp-sidebar .current_page_item a {
    color: red;
}