* {
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
}

.urhere-popup .leaflet-popup-content-wrapper {
    width: 75px;
    display: flex;
    height: 25px;
    margin: 0;
//    padding: 0;
    border-radius: 0; /* Remove rounded corners for a more compact look */
    box-shadow: none; /* Remove shadow to reduce visual bulk */
    align-items: center;
}

.urhere-popup .leaflet-popup-content {
    padding: 2px; /* Reduce padding inside content */

}


.leaflet-popup-content-wrapper {
        width: 166px; 
        padding: 2px; 
    }

    
    .popup-content {
        font-family: Arial, sans-serif;
    }
    .popup-content h3 {
        margin: 0 0 5px 0;
        font-size: 13px;
        color: #333;
    }
    .popup-content p {
        margin: 2px 0;
        font-size: 11px;
        color: #666;
    }

    /* Styling for the popup tip (the small triangle at the bottom) */
    .leaflet-popup-tip {
        background: white; 
        border: none; 
    }

    /* Styling for the popup container */
    .leaflet-popup-content-wrapper {
        border-radius: 5px; 
        box-shadow: 0 3px 14px rgba(0,0,0,0.4);
    }

    /* Close button styling */
    .leaflet-popup-close-button {
        color: #666; 
    }



    .restname {
        font-weight: bold; 
        color: #000; 
        white-space: nowrap; 
        overflow: hidden; 
        text-overflow: ellipsis; 
        max-width: 100px; 
        display: inline-block; 
	background-color: #d3d3d3;
	text-align: center;	
    }


body, html {
    padding: 3px 3px 3px 3px;
    background-color: #D8DBE2;
    font-family: Ubuntu, Verdana, sans-serif;
    font-size: 11pt;
    text-align: center;
}

.derp {
    text-align: left;
    margin-left: 33px;
    margin-right: 33px;
}

.cdata {
    margin-left: 15px;
}

body.cmap {
    margin: 0; 
    display: flex;
    justify-content: center;
    align-items: top;
    min-height: 100vh; 
}

.mcontain {
    text-align: center; 
    width: 100%; 
    max-width: 750px;
    padding: 20px;
}

#map {
    width: 100%;
    height: 850px; 
    margin: 0 auto; 
}

div.main_page {
    position: relative;
    display: table;
    width: 800px;
    margin-bottom: 3px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 0px 0px 0px;
    border-width: 2px;
    border-color: #212738;
    border-style: solid;
    background-color: #FFFFFF;
    text-align: center;
}

div.page_header {
    height: 180px;
    width: 100%;
    background-color: #F5F6F7;
}

div.page_header span {
    margin: 15px 0px 0px 50px;
    font-size: 180%;
    font-weight: bold;
}

div.page_header img {
    margin: 3px 0px 0px 40px;
    border: 0px 0px 0px;
}

div.banner {
    padding: 9px 6px 9px 6px;
    background-color: #E9510E;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 112%;
    text-align: center;
    position: absolute;
    left: 40%;
    bottom: 30px;
    width: 20%;
}

div.table_of_contents {
    clear: left;
    min-width: 200px;
    margin: 3px 3px 3px 3px;
    background-color: #FFFFFF;
    text-align: left;
}

div.table_of_contents_item {
    clear: left;
    width: 100%;
    margin: 4px 0px 0px 0px;
    background-color: #FFFFFF;
    color: #000000;
    text-align: left;
}

div.table_of_contents_item a {
    margin: 6px 0px 0px 6px;
}

div.content_section {
    margin: 3px 3px 3px 3px;
    background-color: #FFFFFF;
    text-align: left;
}

div.content_section_text {
    padding: 4px 8px 4px 8px;
    color: #000000;
    font-size: 100%;
}

div.content_section_text pre {
    margin: 8px 0px 8px 0px;
    padding: 8px 8px 8px 8px;
    border-width: 1px;
    border-style: dotted;
    border-color: #000000;
    background-color: #F5F6F7;
    font-style: italic;
}

div.content_section_text p {
    margin-bottom: 6px;
}

div.content_section_text ul, div.content_section_text li {
    padding: 4px 8px 4px 16px;
}

div.section_header {
    padding: 3px 6px 3px 6px;
    background-color: #8E9CB2;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 112%;
    text-align: center;
}

div.section_header_grey {
    background-color: #9F9386;
}

.floating_element {
    position: relative;
    float: left;
}

div.table_of_contents_item a, 
div.content_section_text a {
    text-decoration: none;
    font-weight: bold;
}

div.table_of_contents_item a:link, 
div.table_of_contents_item a:visited, 
div.table_of_contents_item a:active {
    color: #000000;
}

div.table_of_contents_item a:hover {
    background-color: #000000;
    color: #FFFFFF;
}

div.content_section_text a:link, 
div.content_section_text a:visited, 
div.content_section_text a:active {
    background-color: #DCDFE6;
    color: #000000;
}

div.content_section_text a:hover {
    background-color: #000000;
    color: #DCDFE6;
}

div.validator {
    /* Empty, no styles defined */
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .container {
        padding: 10px; /* Adjust padding for smaller screens */
    }

    #map {
        height: 600px; /* Reduce the height for mobile */
	width: 385px;
    }

    /* Adjust font sizes for better readability on mobile */
    h1 {
        font-size: 1.5em; /* Smaller heading for mobile */
    }

    p {
        font-size: 1em; /* Smaller paragraph text for mobile */
    }
}
