.wrap-container {
	background-color: #fdc400;
}

.logo { width: 250px; }

.my-dark-mode {
	background-color: #666;
	border-radius: 13px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 5px;
	position: relative;
	width: 46px;
	height: 25px;
	float: right;
}

.my-dark-mode I.fa-moon {
	color: #f1c40f;
}

.my-dark-mode I.fa-sun {
	color: #f39c12;
}

.my-dark-mode .ball {
    background-color: #ccc;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    height: 21px;
    width: 21px;
    transform: translateX(0px);
    transition: transform 0.2s linear;
}

#my-dark[type='checkbox']:checked + .my-dark-mode .ball {
    transform: translateX(21px);
}

/* Stile per il bottone */
.menu-button {
	position: fixed;
	top: 20px;
	left: 20px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #fdc400;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	z-index: 1040;
	border: none;
	transition: opacity 0.3s ease;
	border: 1px solid #d1a300;
}

/* Loader Emi */
.loader { z-index:10000; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); }
.loader > IMG { width: 300px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); cursor: pointer; z-index: 10; }
.loader > I { color: #fff; position: absolute; top: 55%; left: 50%; transform: translate(-50%, -50%); cursor: pointer; z-index: 10; }

/* Menu side */

.offcanvas { border-radius: 0 10px 10px 0; width: 280px !important; }

.mioMenu {
	list-style-type: none;
	padding: 0;

	li {
		margin-bottom: 2px;
	}

	.sottomenu {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.5s ease-in-out;
		margin-left: 15px;
		list-style-type: none;
		padding: 0;
		margin-top: 0;
	}

	.sottomenu li:first-child {
		margin-top: 2px;
	}

	.sottomenu li:last-child {
		margin-bottom: 0;
	}

	.sottomenu a {
		background: none;
		border: none;
		cursor: pointer;
		font-size: 14px;
		display: flex;
		align-items: center;
		text-decoration: none;
		color: black;
		margin: 0;
		padding: 3px 5px;
		border-radius: 3px;
		transition: padding-left 0.3s ease;
	}

	.sottomenu a:hover {
		background-color: #e9ecef;
		color: #0056b3;
		text-decoration: none;
		padding-left: 15px;
	}

	> li > button, .mioMenu > li > a {
		background: none;
		border: none;
		cursor: pointer;
		font-size: 16px;
		display: flex;
		align-items: center;
		text-decoration: none;
		color: black;
		margin: 0;
		padding: 0;
	}

	.icon {
		margin-left: 5px;
		transition: transform 0.3s ease;
	}

	.open .icon {
		transform: rotate(90deg);
	}

	.toggle-menu {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%; /* oppure una larghezza fissa se preferisci */
		padding: 0.5rem 1rem;
		background-color: #f8f9fa;
		border: none;
		cursor: pointer;
		font-size: 1rem;
	}

	.toggle-menu:hover {
		background-color: #e9ecef;
	}

	.link-menu {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		padding: 0.5rem 1rem;
		background-color: #f8f9fa;
		text-decoration: none;
		color: #000;
		font-size: 1rem;
		border: none;
	}
	
	.link-menu:hover {
		background-color: #e9ecef;
		text-decoration: none;
	}
}