        body {
            margin: 0;
            font-family: Arial, sans-serif;
        }

        #map {
            height: 100vh;
            width: 100%;
        }


#sidebar {

    position: fixed;
    top: 0;
    left: 0; 
    width: 60px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    border-right: 1px solid #ddd; 
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
    padding-top: 80px;

}

        #sidebar.collapsed {
            transform: translateX(calc(-100% + 60px));
            width: 60px;
            padding-top: 60px;
        }

        #header {
            position: fixed;
            top: 0;
            left: 0;
            width: 60px;
            background: rgba(255, 255, 255, 0.98);
            border-left: 1px solid #ddd;
            border-bottom: 1px solid #ddd;
            z-index: 1001;
            transition: transform 0.3s ease;
            display: flex;
            align-items: center;
            padding: 10px;
            box-sizing: border-box;
        }

        #header.collapsed {
            transform: translateX(calc(-100% + 60px));
            width: 60px;
        }

        #header img {
            height: 30px;
            width: auto;
            margin-right: 10px;
            transition: height 0.3s ease;
        }

        #header.collapsed img {
            height: 30px;
            margin-right: 0;
        }

        #header h1 {
            font-size: 16px;
            margin: 0;
            color: #333;
            flex: 1;
            transition: opacity 0.3s ease;
        }

        #header.collapsed h1 {
            opacity: 0;
            width: 0;
            overflow: hidden;
        }

        #toggleSidebar {
            background: #007cba;
            color: white;
            border: none;
            padding: 8px 12px;
            cursor: pointer;
            border-radius: 4px;
            font-size: 16px;
            margin-right: auto;
            transition: all 0.3s ease;
        }

        #toggleSidebar:hover {
            background: #005a87;
        }

        .folder {
            margin: 10px;
        }

        .folder-header {
            background: #f0f0f0;
            padding: 8px;
            cursor: pointer;
            border-radius: 4px;
            font-weight: bold;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .folder-header:hover {
            background: #e0e0e0;
        }

        .folder-content {
            display: none;
            padding-left: 15px;
        }

        .layer-item {
            padding: 5px;
            cursor: pointer;
            border-bottom: 1px solid #eee;
        }

        .layer-item:hover {
            background: #f5f5f5;
        }

        .icon-only {
            display: none;
            margin: 10px auto;
            cursor: pointer;
            border-radius: 4px;
            transition: opacity 0.3s ease;
        }

        .icon-only:hover {
            opacity: 0.7;
        }

        #sidebar .folder {
            display: none;
        }

        #sidebar .icon-only {
            display: block;
        }
		

.leaflet-top.leaflet-left .leaflet-control-zoom {
    left: auto !important;
    right: 10px !important;
}


/* Sposta il controllo di zoom in alto a destra */
.leaflet-top.leaflet-left .leaflet-control-zoom {
    left: auto !important;
    right: 10px !important;
}

/* Se vuoi anche spostare il contenitore */
.leaflet-top.leaflet-left {
    left: auto !important;
    right: 10px !important;
}

