#iubenda-cs-banner #iubenda-cs-title {
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
}

html {
	scroll-padding-top: 40px;
}

body, html {
	overflow-x: hidden !important;
	margin: 0;
	padding: 0;
	font-family: 'Saira', sans-serif;
	background-color: #fff;
	color: #222;
	font-size: 18px;
	scroll-behavior: smooth;
}

header {
	position: fixed;
	width: 100%;
	background-color: #fff;
	color: #023E6A;
	padding: 5px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 5;
}

main {
	margin-top: 60px;
}

nav ul {
	list-style: none;
	padding-left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

nav a {
	color: #023E6A;
	text-decoration: none;
	padding: 0 16px;
	font-weight: 600;
	transition: all .3s ease-in-out;
}

nav a:hover {
	color: #676767;
}

section {
	margin-bottom: 40px;
	padding: 40px;
	background-color: white;
}

h1, h2, h3 {
	text-align: center;
	color: #023E6A;
}

.content {
	max-width: 1300px;
	margin: auto;
	padding: 20px;
}

header .content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 18px;
}

.logo img {
	width: 360px;
}

.nav-button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.button-paga-d {
	background: #fff;
	padding: 8px 12px;
	background: #fff;
	color: #023E6A;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 600;
	transition: all .3s ease-in-out;
}

.button-paga-d:hover {
	text-decoration: underline;
}

.button-paga-m {
	display: none;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	background: #fff;
	font-size: 16px;
	padding: 4px 6px;
	color: #023E6A;
	font-weight: 600;
}

main {
	min-height: 800px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

main h1 {
	color: #fff;
	font-size: 38px;
}

main h2 {
	font-size: 26px;
	letter-spacing: 1px;
	color: #fff;
	text-transform: uppercase;
	font-weight: bold;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 60vh;
	min-height: 700px;
  overflow: hidden;
}

.slick-dotted.slick-slider {
	height: 100%;
}

.slick-list {
	height: 100%;
}

.slick-track {
	height: 100%;
}

.slick-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 20px;
}

.container-opacity {
	background: #ffffff99;
	padding: 20px 50px;
}

.loghi-partner .content {
	max-width: 1300px;
	display: grid;
	grid-template-columns: repeat(4, 200px);
	grid-template-rows: repeat(1, 1fr);
	grid-column-gap: 30px;
	grid-row-gap: 30px;
	justify-content: center;
	align-items: center;
}

.partner {
	margin: 0 auto;
}

.loghi-partner img {
	width: 100%;
	aspect-ratio: auto;
	max-width: 200px;
	max-height: 100px;
}

.loghi-partner .content .partner:nth-child(2) img {
	max-width: 250px;
}

.first-boxes .box {
	background: linear-gradient(90deg, rgba(2, 62, 106, 1) 0%, rgba(0, 97, 166, 1) 100%);
}

.first-boxes .box h4 {
	color: #fff;
	font-weight: 300;
}

#interactive-boxes {
	text-align: center;
}

#interactive-boxes h2 {
	font-size: 36px;
	margin-top: 0;
	margin-bottom: 10px;
}

#interactive-boxes h2 ~ p {
	line-height: 30px;
	max-width: 900px;
	margin: 22px auto;
}

#interactive-boxes h2 br {
	display: none;
}

.boxes {
	display: flex;
	justify-content: space-between;
	column-gap: 40px;
	margin-top: 50px;
}

.box {
	text-align: justify;
	margin-bottom: 20px;
	padding: 10px 20px;
	background: #04346510;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	flex-direction: column;
	/* cursor: pointer; */
	transition: all .3s ease-in-out;
}

.box h4 {
	margin-bottom: 20px;
	font-size: 22px;
	line-height: 34px;
	text-align: center;
	color: #023E6A;
}

.box p {
	font-size: 17px;
	margin: 5px;
	line-height: 28px;
}

#services {
	position: relative;
	text-align: center;
	margin-top: 60px;
}

#services:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg,rgba(2, 62, 106, 1) 0%, rgba(0, 97, 166, 1) 100%);
	z-index: 1;
}

#services .content {
	position: relative;
	z-index: 2;
}

.services-header {
	margin-bottom: 50px;
}

.services-header h2 {
	font-size: 36px;
	margin-top: 0;
	margin-bottom: 10px;
	color: #fff;
}

.service-description {
	display: flex;
	justify-content: center;
	gap: 20px;
	width: 700px;
	margin: 0 auto;
}

.services-header h3 {
	font-size: 22px;
	line-height: 32px;
	color: #fff;
}

.service {
	flex: 1;
	text-align: left;
	padding: 20px;
	background-color: #fff;
}

.service h4 {
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 2px;
	line-height: 34px;
}

.service p {
	text-align: justify;
	line-height: 26px;
	font-size: 16px;
}

footer {
	background-color: #676767;
	color: #fff;
	padding: 10px 20px;
	display: flex;
	justify-content: space-between;
	font-size: 16px;
}

footer .content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0px 20px;
}

footer p, footer ul {
	margin: 0;
}

footer .content > div {
	width: 50%;
}

footer .content > div:nth-child(2) {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	line-height: 26px;
}

footer ul {
	list-style-type: none;
}

footer a {
	color: white;
	text-decoration: none;
}

/* Menu mobile */

.menu-icon {
	display: none;
}

.menu-btn:hover {
	background-color: #f4f4f4;
}

.menu-icon {
	cursor: pointer;
	padding: 15px;
	z-index: 1;
}

header .menu-icon .navicon {
  background: #fff;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

header .menu-icon .navicon:before,
header .menu-icon .navicon:after {
  background: #fff;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

header .menu-icon .navicon:before {
  top: 5px;
}

header .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

header .menu-btn {
  display: none;
}

header .menu-btn:checked ~ .menu {
  max-height: 240px;
}

header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
	background: #fff;
}

/* Menu mobile */

#cookie-policy {
	margin-top: 70px;
}

#cookie-policy h2, #cookie-policy h3 {
	text-align: left;
	letter-spacing: 0;
}

@media (max-width: 991px) {

	main {
    margin-top: 50px;
	}

	.button-paga-d {
		display: none;
	}

	.button-paga-m {
    display: block;
		position: fixed;
		right: 70px;
	}

	/* Menu mobile */

	.menu-icon {
		display: block;
		position: fixed;
		right: 15px;
	}

	/* Menu mobile */
	
	header {
		padding: 5px 15px;
		position: fixed;
		width: -webkit-fill-available;
		border-bottom: 1px solid #023E6A;
		z-index: 1;
	}

	header .content {
    padding: 5px 0;
	}

	.logo {
		width: 70%;
	}

	nav {
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(100%, -50%);
    background: #023E6A;
    width: 100%;
    height: 100%;
		overflow: hidden !important;
		transition: all .3s ease-in-out;
	}

	.menu-btn:checked ~ .nav-button nav {
		transform: translate(-50%, -50%);
	}

	.menu-btn:checked ~ .menu-icon {
		position: fixed;
		right: 15px;
	}

	nav ul {
		height: 100%;
    flex-direction: column;
    gap: 24px;
		font-size: 26px;
	}

	main {
		min-height: 500px;
		margin-top: 50px;
	}

	h1 {
		font-size: 38px;
	}

	h2 {
		font-size: 34px;
	}
	
	h3 {
    font-size: 20px;
    line-height: 1.4;
	}

	.content {
    padding: 15px;
	}

	section {
		padding: 0px;
	}

	main h2 {
		font-size: 26px;
    line-height: 1.4;
    text-transform: initial;
    letter-spacing: 0;
	}

	.container-opacity {
		background: #ffffffcc;
		padding: 15px;
	}

	.boxes {
		flex-direction: column;
	}

	.service-description {
    flex-direction: column;
		width: 100%;
		margin-bottom: 15px;
	}

	.loghi-partner .content {
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 20px;
	}

	.box {
		width: auto;
	}

	#interactive-boxes h2 {
    font-size: 34px;
		line-height: 1.4;
	}

	#services {
    z-index: 0;
	}

	.services-header h3 {
		font-size: 20px;
		line-height: 1.4;
	}

	.tabella {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
	}

	.tabella table {
    width: 100% !important;
	}

	.tabella th {
    font-size: 13px;
		border-right: 1px solid #222;
		padding: 2px;
	}

	.tabella td {
    font-size: 12px;
		padding: 2px;
	}

	.tabella td:nth-child(4) {
		min-width: 48px;
	}

	#footer-info ul {
    padding-left: 20px;
	}

	#footer-info ul li {
    margin-bottom: 12px;
	}

	footer .content {
    padding: 0;
    flex-direction: column-reverse;
		text-align: center;
		gap: 10px;
	}

	footer .content > div {
    width: 100%;
	}

	footer .content > div:nth-child(2) {
    justify-content: center;
    line-height: 26px;
	}

	footer ul {
    padding-left: 0;
	}

	#cookie-policy {
    margin-top: 30px;
	}

	#cookie-policy h2, #cookie-policy h3 {
    text-align: left;
    font-size: 22px;
    text-transform: initial;
    letter-spacing: 0;
	}

	.logo img {
    width: 100%;
	}

	header .menu-icon .navicon {
    background: #023E6A;
	}

	header .menu-icon .navicon:before, header .menu-icon .navicon:after {
    background: #023E6A;
	}

	header .menu-icon .navicon {
    width: 20px;
	}

	.logo a {
		display: block;
		line-height: 1;
	}

	.slider-wrapper {
    min-height: 500px;
	}

	.slider-text {
    width: 85%;
    padding: 15px;
	}

	main h1 {
    font-size: 36px;
    margin: 0;
	}

	#interactive-boxes h2 br {
		display: block;
	}

	.first-boxes .box h4 {
    font-size: 21px;
	}

	.services-header h2 {
    line-height: 1.4;
    font-size: 33px;
	}

	nav a {
    color: #fff;
		font-weight: 500;
	}

	.loghi-partner img {
		aspect-ratio: initial;
		width: initial;
	}

}