:root {
	--an-btn-hover-bg: white;
	--an-btn-hover-color: #333;
}
.anchor-navigator {
	display: flex;
	justify-content: center;
	padding: .5rem 0;
	height: 80px;
}

.anchor-navigator .btn {
	background-color: white;
	border-radius: 100px !important;
	font-size: 15px !important;
	font-weight: 600;
	line-height: 1.8rem !important;
	margin: 0 .5rem;
	padding: .4rem 1.5rem !important;
	text-decoration: none !important;
	transition: background-color .3s;
	text-transform: uppercase;
}
.anchor-navigator .btn:hover {
	background-color: var(--an-btn-hover-bg);
	color: var(--an-btn-hover-color);
}
/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.anchor-navigator.sticky {
	position: fixed;
	/* top: 64px; */
	width: 100%;
	z-index: 999;
	left: 0;
    background-color: #f0f0f0;
    padding: 0;
    border-bottom: 1px solid #dfdfdf;
}
.anchor-navigator.sticky .anchor-navigator__button-wrapper {
    margin: 20px 0;
}
.anchor-navigator__select-wrapper {
	width: 100%;
	display: none !important;
}

.select-hidden {
	display: none;
	visibility: hidden;
	padding-right: 10px;
}

.select {
	cursor: pointer;
	display: inline-block;
	position: relative;
	font-size: 16px;
	color: #686868;
	width: 100%;
	height: 55px;
	font-weight: 600;
}

.select-styled {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #e0e0e0;
	padding: 15px;
	-moz-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	-webkit-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;
}

.select-styled:after {
	content: "";
	/* width: 0;
	height: 0;
	border: 7px solid transparent;
	border-color: #333 transparent transparent transparent; */
	position: absolute;
	top: 24px;
    right: 15px;

    border: solid #686868;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.select-styled:hover {
	background-color: #e8e8e8;
}

.select-styled:active,
.select-styled.active {
	background-color: #e0e0e0;
}

.select-styled:active:after,
.select-styled.active:after {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.select-options {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 999;
	margin: 0;
	padding: 0;
	list-style: none;
	background-color: #e0e0e0;
}

.select-options li {
	margin: 0;
	padding: 15px;
	border-top: 1px solid #c0c0c0;
	-moz-transition: all 0.15s ease-in;
	-o-transition: all 0.15s ease-in;
	-webkit-transition: all 0.15s ease-in;
	transition: all 0.15s ease-in;
}

.select-options li:hover {
	color: #686868;
	background: #e8e8e8;
}

.select-options li[rel="hide"] {
	display: none;
}

@media screen and (max-width: 991px) {
	.anchor-navigator .anchor-navigator__button-wrapper {
		/* display: none; */
	}
}

@media screen and (min-width: 992px) {
	.anchor-navigator .anchor-navigator__select-wrapper {
		/* display: none; */
	}
}


/* Modifiche componente 2023 */

@media screen and (max-width: 991px) {
	.anchor-navigator {
		display: block;
		position: relative;
		width: 100%;
		overflow: auto;
		-ms-overflow-style: none;
		scrollbar-width: none;
		overflow: -moz-scrollbars-none;
	}
	.anchor-navigator::-webkit-scrollbar {
		width: 0;
	}
	.anchor-navigator .anchor-navigator__button-wrapper {
		display: block;
		position: absolute;
		width: max-content;
	}
}