/* OVERFLOW HTML */
html,
body {
	overflow-x: hidden;
	background: var(--bs-body-bg) !important;
	background-image: none !important;
	background-color: var(--bs-body-bg) !important;
}

/* ICONS */
.custom-icon {
	width:           30px;
	height:          30px;
	margin:          0 4px;
	border-radius:   50%;
	background:      var(--hrz-light-icon-btn-bgcolor);
	display:         flex;
	justify-content: center;
	align-items:     center;
	transition:      background-color .5s;
}

.custom-icon:hover {
	background: var(--hrz-light-icon-btn-bgcolor-hover);
}

.custom-icon .icon {
	width:  25px;
	height: 25px;
}

.custom-icon:hover .blue-icon {
	fill:       var(--hrz-light-icon-btn-textcolor-hover);
	color:      var(--hrz-light-icon-btn-textcolor-hover);
	transition: fill .5s, color .5s;
}

.blue-icon {
	fill:  var(--hrz-light-icon-btn-textcolor);
	color: var(--hrz-light-icon-btn-textcolor);
}

.light-text-icon {
	fill:  var(--hrz-dark-icon-btn-textcolor);
	color: var(--hrz-dark-icon-btn-textcolor);
}

.custom-icon a {
	width:           100%;
	height:          100%;
	display:         flex;
	align-items:     center;
	justify-content: center;
}

/* LINK */
a {
	color:           var(--hrz-main-link-color);
	text-decoration: underline;
	transition:      color .5s;
}

body a:hover {
	color: var(--hrz-main-link-color-hover);
}

.link-list-wrapper ul li a span {
	color: var(--hrz-main-link-color);
}

.link-list-wrapper ul li a:hover:not(.disabled) span {
	color: var(--hrz-main-link-color-hover);
}

/* BUTTONS */
.btn.btn-outline-primary {
	box-shadow: inset 0 0 0 2px var(--hrz-btn-color);
}

/* AUTO ELLIPSIS */
.autoEllipsis {
	text-overflow: ellipsis;
	overflow:      hidden;
	white-space:   nowrap;
	width:         100%;
}

/* SPLIDE ARROWS */
.splide__arrows .splide__arrow--prev {
	transform: rotate(180deg);
}

/* ICON ALIGNMENT */
svg.icon {
	text-align: left;
}

/* ACCESSIBILITY BUTTON */
.accessibility-panel-title {
	font-weight: 500;
	font-size:   1.5em;
}

/* Auto Ellipsis su più righe */
.two_lines_ellipsis {
	display:            -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow:           hidden;
	text-overflow:      ellipsis;
}

.three_lines_ellipsis {
	display:            -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow:           hidden;
	text-overflow:      ellipsis;
}

.five_lines_ellipsis {
	display:            -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow:           hidden;
	text-overflow:      ellipsis;
}

.eleven_lines_ellipsis {
	display:            -webkit-box;
	-webkit-line-clamp: 11;
	-webkit-box-orient: vertical;
	overflow:           hidden;
	text-overflow:      ellipsis;
}

.force_display_for_ellipsis {
	display: -webkit-box !important;
}

/* Trasformazioni Testuali */

.capitalize-text {
	text-transform: capitalize !important;
}

.normalize-text {
	text-transform: none !important;
}

/* Autoellipsis mobile */
@media screen and (max-width: 991px) {
	.four_lines_ellipsis_mobile {
		display: -webkit-box;
		-webkit-line-clamp: 4;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

button.splide__arrow[disabled] svg {
	fill: var(--hrz-splide-arrow-disabled-textcolor);
}

/* PAGINATION */
.splide__pagination button.splide__pagination__page {
	width:  16px;
	height: 16px;
}

.card.border-bottom-card::before {
	background-color: var(--hrz-card-bottom-bordercolor);
}

.it-carousel-wrapper .splide__pagination button {
	background-color: var(--hrz-splide-page-bullets-bgcolor);
}

.pagination .page-item .page-link {
	color: var(--hrz-pagination-link-inactive-textcolor);
}

.pagination .page-item .page-link:hover {
	color: var(--hrz-main-link-color-hover);
}

#searchPageButton {
	background-color: var(--hrz-search-button-pagination-bgcolor);
}

#searchPageButton:hover {
	background-color: var(--hrz-search-button-pagination-bgcolorhover);
	transition: all .2s;
}

/* TOOLTIP */
div.tooltip .tooltip-inner {
	background-color: var(--hrz-tooltip-bgcolor);
	color:            var(--hrz-tooltip-textcolor);
}

/* UTILITIES TRASFORM TEXT */
.ttnotransform {
	text-transform: none !important;
}

.ttuppercase {
	text-transform: uppercase !important;
}

/* Breadcrumbs */

.breadcrumb-container .breadcrumb .breadcrumb-item a {
	color: var(--hrz-main-link-color);
}

/* Services */
.service-widget {
	margin-left: 12px;
}

/* Search input in Novità section */
.searchLabel{
	color: var(--hrz-alt-main-color);
	font-weight: bold;
}
#searchPageInput, #searchPageInputAlbo, #searchPageInputCalendar{
	color: var(--hrz-alt-main-color);
}

/* Error message */
#errorMsg, #errorMsgAlbo, #errorMsgCalendar, #errorMsgPA{
	color: var(--hrz-section-1-text-color);
}
#errorMsg, #errorMsgAlbo, #errorMsgCalendar{
	margin-left: 55%;
}

.section-pagination{
	display: flex;
	justify-content: space-between;
}

/* Bg Transparent */
.transparent {
	background: transparent;
}

@media screen and (max-width: 767px){
	.section-pagination{
		display: block;
	}

}

/* Menu top variant text color */
.link-item {
	color: var(--hrz-menu-top-item-text-color) !important;
}

.link-item:hover {
	fill: var(--hrz-menu-top-item-text-color) !important;
}

.link-item .icon {
	fill: var(--hrz-menu-top-item-text-color) !important;
}

