
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&family=Righteous&display=swap');

.article-can-edit {
	display: none !important;
}

/* ==========================================================================
   Font e colori
   ========================================================================== */

body {
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
}

h1, h2, h4, h5, h6 {
	font-family: 'Open Sans', sans-serif;
}

h3 {
	font-family: 'Righteous', sans-serif;
	font-weight: normal;
}

/* Blu del brand (menu, link, bottoni) */
a {
	color: #26aae1;
}

a:hover,
a:focus {
	color: #1a8bba;
}

.sp-megamenu-parent > li:hover > a,
.sp-megamenu-parent > li.active > a {
	color: #26aae1;
}

.btn-primary {
	background-color: #26aae1;
	border-color: #1c98cc;
}

.btn-primary:hover {
	background-color: #1a8bba;
	border-color: #177aa4;
}

/* Rosso/arancio del brand, per i sottotitoli evidenziati (es. sezione Contatti) */
.sb-accent-title {
	color: #ea3c29;
}

/* ==========================================================================
   Sezione 3: Mission, sfondo full-width (come in produzione: images/background.jpg)
   ========================================================================== */

#mission {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	background-image: url(../../../images/background.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* ==========================================================================
   Header: logo, badge 40 anni, menu
   ========================================================================== */

#sp-logo,
#sp-menu {
	align-self: flex-start;
}

#sp-logo .logo {
	align-items: flex-start;
}

.sp-megamenu-parent > li > a {
	vertical-align: top;
}

.sp-megamenu-parent > li:last-child > a {
	display: inline-flex;
	align-items: center;
	height: 90px;
}

.sp-megamenu-parent img[alt="40 Anni"] {
	height: 64px;
	width: auto;
}

.sp-megamenu-parent > li > a {
	text-transform: uppercase;
}

.menu-wrap {
	justify-content: center !important;
}

.sp-megamenu-wrapper {
	justify-content: center !important;
}



#hero-video {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.video-background {
	position: relative;
	height: 100vh;
	overflow: hidden;
	background-image: url(../../../images/preview-youtube.jpg);
	background-size: cover;
	background-position: center;
}

.video-foreground,
.video-background iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

@media (min-aspect-ratio: 16/9) {
	.video-foreground {
		height: 300%;
		top: -100%;
	}
}

@media (max-aspect-ratio: 16/9) {
	.video-foreground {
		width: 300%;
		left: -100%;
	}
}


#sp-main-body {
	padding-top: 0;
	padding-bottom: 0;
}


body:has(#hero-video) #sp-header:not(.header-sticky) {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	background: transparent;
	box-shadow: none;
}


body:has(#hero-video) #sp-header.header-sticky {
	background-color: #ffffff;
}


body:has(#hero-video) #sp-header:not(.header-sticky) .sp-megamenu-parent > li > a,
body:has(#hero-video) #sp-header:not(.header-sticky) .sp-megamenu-parent > li:hover > a,
body:has(#hero-video) #sp-header:not(.header-sticky) .sp-megamenu-parent > li.active > a,
body:has(#hero-video) #sp-header:not(.header-sticky) .social-icons a {
	color: #ffffff;
}

body:has(#hero-video) #sp-header:not(.header-sticky) .burger-icon > span {
	background-color: #ffffff;
}

.pop-whatsapp {
  z-index: 9;
  position: fixed;
  bottom: 25px;
  right: 25px;
  border-radius: 60px;
  box-shadow: 0px 0px 2px #888;
  padding: 0.5em 0.6em;
  background: #25d366;
  color: #fff;
  font-size: 30px;
}

#sp-footer a:hover, #sp-footer a:active, #sp-footer a:focus, #sp-bottom a:hover, #sp-bottom a:active, #sp-bottom a:focus {
  color: #000000;
}