/* FOOTER */
footer {
	padding:    8px 0;
	background: var(--hrz-footer-bgcolor);
	color:      var(--hrz-footer-textcolor);
}

footer a {
	color: var(--hrz-footer-link-textcolor);
}

footer a:hover {
	color: var(--hrz-footer-link-textcolor-hover);
}

footer hr {
	height:           1px;
	background-color: var(--hrz-footer-textcolor);
}

.brand-logo {
	width:        82px;
	height:       82px;
	margin-right: 16px;
}

.brand-logo img {
	width:  100%;
	height: 100%;
}

.brand-name {
	font-size: 1.5em;
	color:     var(--hrz-footer-textcolor);
}

#logo-section {
	display:         flex;
	align-items:     center;
	justify-content: end;
	height:          100%;
}

/* Footer center */
.footer-center-section {
	padding: 32px 0;
}

.footer-center-section .footer-center-menu {
	padding: 14px 14px 0;
}

.footer-section {
	padding: 0 14px;
}

.footer-center-section .footer-section-title {
	font-size: 1.125em;
}

.footer-center-section ul {
	list-style:   none;
	padding-left: 0;
}

.footer-menus ul li {
	line-height: 2;
}

#menu-footer-trasparenza ul {
	padding:       8px 0;
	display:       flex;
	margin-bottom: 0;
}

#menu-footer-trasparenza ul li {
	margin:    0 8px;
	font-size: 0.875em;
}

#menu-footer-trasparenza ul li:first-child {
	margin-left: 0;
}

#footer-social-section > .d-flex {
	justify-content: end;
}

#footer-social-section ul {
	padding:       8px 16px;
	margin-bottom: 0;
	display:       flex;
}

.custom-html ul li {
	font-size: 1em;
}

#privacy-policy-section p {
	margin-bottom: 0;
	padding:       0 8px;
}

/* Footer bottom */
.footer-bottom-section {
	padding-bottom: 8px;
}

.footer-bottom-section .row {
	padding: 0 8px;
}

#copyright-icon {
	font-size: 0.875em;
}

/* Scroll to top button */
#scrollToTop {
	position:           fixed;
	cursor:             pointer;
	bottom:             20px;
	right:              20px;
	padding:            10px 12px;
	z-index:            9990;
	display:            none;

	background:         var(--hrz-scroll-to-top-bgcolor);
	color:              var(--hrz-scroll-to-top-textcolor);
	border:             2px solid var(--hrz-scroll-to-top-bgcolor);
	-webkit-box-shadow: 2px 2px 5px 1px var(--hrz-scroll-to-top-shadowcolor);
	box-shadow:         2px 2px 5px 1px var(--hrz-scroll-to-top-shadowcolor);
}

#scrollToTop:hover {
	border-color: var(--hrz-scroll-to-top-bgcolor-hover);
	background:   var(--hrz-scroll-to-top-bgcolor-hover);
}

footer .brand-container {
	padding-top: 12px;
}

footer .brand-logo svg {
	fill: var(--hrz-footer-textcolor);
	margin-top: -35px;
}

.footerLogo {
	border-radius: 4px;
	width: 230px;
	height: 70px;
}

.footerLogoPNRR {
	background-color: white;
	border-radius: 4px;
	margin-left: 10px;
}

/* Gestisce l'allineamento interno delle sezioni al restringimento del footer */
@media screen and (max-width: 991px) {
	#footer-social-section .d-flex,
	#menu-footer-trasparenza .d-flex {
		justify-content: center;
	}

	.footerLogo {
		width: 172px;
		height: 52px;
	}
}

@media screen and (min-width: 992px) {
	footer > div > .container {
		padding-left:  18px;
		padding-right: 18px;
	}
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
	footer .brand-container .brand-name {
		max-width: 19rem;
	}
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
	footer .brand-container .brand-name {
		max-width: 30rem;
	}
}

@media screen and (min-width: 1400px){
	footer .brand-container .brand-name {
		max-width: 38rem;
	}
}