.menu {
    z-index: 1000;
}

.btn-group a.btn {
    border: 2px solid #035e26;
    border-radius: 5px;
}

.flex-d.btn-group {
    display: flex;
    justify-content: space-between;
}

.flex-d.btn-group a[type="button"] a {
    flex: 1;
    min-width: 0;
    margin: 2px;
    font-size: .875em;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;

}

.main-content {
    flex: 1;
}

.footer {
    margin-top: auto;
}


.content {
    flex: 1;
}

.dropdown-menu {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 12px 10px;
    letter-spacing: 1px;
    font-size: .875em;
    font-weight: 400;
    background: white;
    color: #464646
}

.dropdown-menu a:hover {
    color: black;
    background: #f2f2f2;
}

.footer {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;

}

@media (max-width: 768px) {
    .flex-d.btn-group {
        flex-direction: column;
    }

    .flex-d.btn-group a[type="button"] {
        flex: none;
        width: 100%;
        margin: 5px 0;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }
}

#map {
    width: 100%;
    height: 50vh;
}

.leaflet-container {
    width: 100%;
    height: 600px;
    max-height: 600px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
    position: relative;
}

#specialbigmap {
    height: 800px;
}

.django-leaflet-raw-textarea {
    width: 100%;
}

.asteriskField {
    display: none;
}

#deleteConfirmationModal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 10px;
    border: 1px solid #888;
    border-radius: 5px;
    width: 300px;
    text-align: center;
}

.modal-actions {
    text-align: center;
    background-color: #ffffff;
    padding: 10px;
}

.center {
    padding: 70px 0;
    text-align: center;
}

nav {
    float: right;
    margin-top: 10px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    display: inline-block;
    position: relative;
    margin-right: 20px;
}

li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

li:hover>ul {
    display: block;
}

.header nav ul ul {
    display: none;
    min-width: auto;
    left: 0;
}

.header nav ul li {
    transition: background-color 0.3s, color 0.3s;
}

.header nav ul li:hover>ul {
    display: block;
    min-width: auto;
    left: 0;
}

.header nav ul li {
    color: #000;
}

.header nav ul li:hover {
    background-color: #f0f0f0;
    color: #000;
}

.header nav ul ul {
    text-align: left;
}

.header nav ul ul a {
    white-space: nowrap;
}

.header nav ul ul li {
    transition: background-color 0.3s;
}

.header nav ul ul li:hover {
    background-color: #f0f0f0;
}

.header nav ul ul li:hover a {
    color: #000;
}

.header a {
    text-decoration: none;
    color: #333;
}

.header-logo {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 5px 10px;
    color: #fff;
    margin-right: 20px;
    cursor: pointer;
    background: linear-gradient(135deg, #3e543c 0%, #b2c3ab 100%);
    /* border: 2px solid #000; */
    transition: background-color 0.3s, color 0.3s;
    border-radius: 10px;
}



#menu-toggle {
    cursor: pointer;
}

@media (min-width: 768px) {
    #menu-toggle {
        pointer-events: none;
    }

    #menu-toggle:hover+#subMenu,
    #subMenu:hover {
        display: block !important;
    }
}

#menu-toggle.active {
    background-color: #FFFFFF;
    color: #000;
}

#subMenu.active {
    display: block;
}




.header {
    background: #FFF;
    /* background: linear-gradient(135deg, #3e543c 0%, #b2c3ab 100%); */
    color: #FFFFFF;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.sub-header {
    background-color: #655560;
    color: white;
    padding: 5px;
    text-align: center;
}

.container {
    max-width: 992px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

@media (min-width: 992px) {
    .container {
        padding: 0;
    }
}

.button-container {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
}

.number-scale {
    position: absolute;
    top: 17px;
    color: white;
    font-size: 10px;
    font-family: Arial;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.bg-gradient-primary-to-secondary {
    background: #3e543c;
    background: linear-gradient(135deg, #3e543c 0%, #b2c3ab 100%);
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    position: relative;
    /* Ensure dropdown positioning */
}

nav ul li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    /* Adjust text color */
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #f0f0f0;
    /* Adjust hover background color */
}

nav ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    /* Adjust dropdown background color */
    display: none;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    /* Adjust dropdown shadow */
}

nav ul ul li {
    width: 100%;
}

nav ul ul li a {
    padding: 10px 40px;
    /* Adjust padding */
    color: #333;
    /* Adjust text color */
}

nav ul li:hover>ul {
    display: block;
}