body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
}

.top-bar h1 {
    margin: 0;
    margin-left: 20px; /* Move the title a bit to the right */
}

.top-bar img {
    margin-left: 50px;
    height: 30px;
}

.small-icon {
    height: 22px;
    border-radius: 50%;  /* This makes the external website icon round */
    transition: width 0.5s;
}

main {
    position: relative;
    margin-left: 200px;
    transition: margin-left 0.3s ease;
    width: calc(100% - 200px);
    height: calc(100vh - 60px);
}

#sidebar {
    background-color: #f4f4f4;
    width: 210px;
    height: calc(100vh - 60px); /* Adjusted the height calculation to add 10px more space below the top bar */
    overflow: auto;
    position: fixed;
    top: 60px; /* Adjusted the top positioning to match the increased height of the top bar */
    transition: width 0.3s ease;
}

#sidebar.collapsed {
    width: 0;
   
}

main.expanded {
    margin-left: 0;
    width: 100%;
}

.menu .submenu {
    display: none;
    list-style-type: none;
    padding: 0;
}

.menu li a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
}

.menu li a:hover {
    background-color: #ddd;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#sidebar-toggle {
    position: absolute;
    top: 12px;  /* Adjust according to your design. */
    left: 15px;  /* Adjust according to your design. */
    width: 40px; /* Adjust according to your design. */
    height: 32px;
    cursor: pointer; /* Changes the cursor when hovering over the button. */
   
}

#sidebar-toggle.button-collapsed {
    left: 10px;  /* Adjust as needed. This should be slightly more than the sidebar width when it's not collapsed. */
}