* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin: 0; 
  padding: 60px 0 64px;
}

h1, h2 {
  font-weight: 400;
  line-height: 1.2;
}

a {
  color: #46494c !important;
  color: #2a5036 !important;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
strong{
	color: #2a5036;
}

table.table-striped > tbody > tr:nth-of-type

{
	background-color: blue;
}

table.table-striped tbody tr td
{
	background-color: #9f8f5469;
}

table.table-striped > tbody > tr:nth-of-type(odd),
table.table-striped tbody tr.dispari td
{
	background-color: #a89759;
}

.table-brand.table-hover tbody tr.dispari:hover {
	background-color: rgba(168, 151, 89, 0.22);
}

#titolo_caratteristiche_principali :hover,
#titolo_obblighi_datore_lavoro :hover,
#titolo_principali_obblighi_formativi :hover
{
	text-decoration: underline !important;	
}
.container {
  width: 100%;
  max-width: 1024px;
  padding: 0 22px;
  margin: 0 auto;
}

#container-header{
  width:30%;
}

.campo_obbligatorio{
	border-color: red;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100px;
	-webkit-box-shadow: 0px 1px 3px 0.5px rgba(200, 200, 200, 0.5);
	-moz-box-shadow: 0px 1px 3px 0.5px rgba(200, 200, 200, 0.5);
	box-shadow: 0px 1px 3px 0.5px rgba(200, 200, 200, 0.5);
	display: flex;
	align-items: center;
	background-color: white;
	z-index: 10;
}

header .logo {
	margin-top: 1.1em;
	width: auto;
	height: 5em;
}


/* FOOTER */
.footer-boutique .logo{
	width: 150px;
	height: 150px;
}

footer .footer-logo,
body .logo{
    -webkit-mask-image: radial-gradient(circle, black 90%, transparent 90%);
	mask-image: radial-gradient(circle, black 90%, transparent 90% );
}

footer{
	border-top: 1px solid #ccc;
	background-color: #99853cd9 !important;
}

footer .container {

	height: 100%;
	align-items: center;
	justify-content: space-between;
}

.copyright {
  font-size: 11px;
}

.footer-boutique {
    background: #99853cd9;
}

/* FORZIAMO BLOCCO */
.footer-top {
    display: block;
}

.footer-bottom {
    display: block;
    margin-top: 40px;
}

/* Logo */
.footer-logo {
    width: 120px;
}

/* Contatti */
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
}

.contact-item i {
    font-size: 18px;
    margin-top: 4px;
    color: #fff;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
}

.contact-item a:hover {
    color: #f5e6b3;
}

/* Divider visibile davvero */
.footer-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(245, 230, 179, 0.7);
    margin-bottom: 20px;
}

/* Copyright */
.footer-copy {
    font-size: 14px;
    opacity: 0.9;
}

/* Mobile */
@media (max-width: 768px) {

    .footer-contacts {
        align-items: center;
        text-align: center;
    }

    .contact-item {
        justify-content: center;
        text-align: center;
    }

}

.text-justify {
    text-align: justify;
}


/* FINE FOOTER*/

fieldset.fieldset {
	border: solid 1px #fbfae6;
	border-radius: 10px;
	padding: 20px;
	background: linear-gradient(to right, #fff3ca47, #e1d9cd00);
	background: linear-gradient(to right, #2a503612, #e1d9cd00);
}

legend.legend {
	font-size: 1.5rem;
	font-weight: bold;
	color: #a79658;
	padding: 0 10px;
	width: auto;
	border-radius: 5px;
}

#slide-dove-siamo,
#slide-struttura,
#slide-camere, 
#slide-la-quiete, 
#slide-scuderie, 
#slide-appartamenti,
#slide-area-sosta-camper 
{
  height: 600px;
}

@media (max-width: 576px) {
	#slide-dove-siamo,
	#slide-struttura,
	#slide-camere,	
	#slide-la-quiete,
	#slide-scuderie,
	#slide-appartamenti,	
	#slide-area-sosta-camper	
	{
		height: 45vh;
	}
}

#slide-dove-siamo 			.carousel-inner,
#slide-dove-siamo 			.carousel-item, 
#slide-struttura  			.carousel-inner,
#slide-struttura  			.carousel-item,
#slide-camere	  			.carousel-inner,
#slide-camere     			.carousel-item,
#slide-la-quiete  			.carousel-inner,
#slide-la-quiete  			.carousel-item,
#slide-scuderie  			.carousel-inner,
#slide-scuderie  			.carousel-item,
#slide-appartamenti  		.carousel-inner,
#slide-appartamenti  		.carousel-item,
#slide-area-sosta-camper  	.carousel-inner,
#slide-area-sosta-camper  	.carousel-item
{
	height: 100%;
}

#slide-dove-siamo img,
#slide-struttura img,
#slide-camere img,
#slide-la-quiete img,
#slide-scuderie img,
#slide-appartamenti img,
#slide-area-sosta-camper img
{
	height: 100%;
	object-fit: cover;
}

.slide-header {
  width: 100%;
  height: 450px;
  background-image: url(img_copertina_principale.png);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  margin-bottom: 90px;
}

.slide-header .container {
  position: relative;
  height: 100%;
}

.slide-header .icona-servizio {
	width: 80px;
	height: 80px;
	background-color: white;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	background-size: 80%;
	-webkit-box-shadow: 0px 2px 5px 0px rgb(0 0 0 / 20%);
	-moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 2px 5px 0px rgb(0 0 0 / 20%);
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	bottom: -40px;
	left: 22px;
}

.slide-content h1 {
  font-size: 30px;
  margin-bottom: 0;
}

.slide-content h2 {
  font-size: 22px;
  margin-top: 10px;
}

.blocco-testo {
  margin-top: 40px;
  text-align: justify;
}

.blocco-servizi {
  display: flex;
  justify-content: space-between;
  text-align: justify;
  margin: 40px 0;
}

.blocco-servizi .box-servizio {
  width: calc( (100% - 60px ) / 3 );
}

.blocco-servizi .box-servizio2 {
  width: calc( ( ( 100% - 60px ) / 3 ) * 2 );
}

.blocco-servizi .box-servizio img {
	display: block;
	margin: 0 auto;
	width: 20em;
	height: 200px;
}

div.div_organigramma .blocco-servizi .box-servizio img {
	width: 200px;
	height: 220px;

}

p.ruolo{
	font-style: oblique;
    font-weight: 500;
    color: #0b42be;
}

a.curriculum{
    color: #0020b9;	
}

.blocco-servizi .box-servizio h5 {
  font-size: 22px;
  font-weight: bold;
  margin: 10px 0;
  text-align: center;
}

.blocco-servizi .box-servizio p {
  margin: 0;
  text-align: justify;
}


.social {
  width: 80px;
  display: flex;
  justify-content: space-between;
}

.social a {
  color: #333;
  font-size: 16px;
}

.bottom-bar {
	position: fixed;
	width: 100%;
	height: 64px;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: white;
	-webkit-box-shadow: 0 -1px 3px 0.5px rgba(200,200,200,0.5);
	-moz-box-shadow: 0 -1px 3px 0.5px rgba(200,200,200,0.5);
	box-shadow: 0 -1px 3px 0.5px rgba(200,200,200,0.5);
	z-index: 10;
}

.cta-arancio {
  background-color: #ff4600;
  color: #fff;
  height: 42px;
  line-height: 42px;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  width: 320px;
  text-decoration: none;
}

.cta-arancio:hover {
  text-decoration: none;
  background-color: #D63900;
}

.cta-verde {
  background-color: #32551f;
  color: #fff;
  height: 42px;
  line-height: 42px;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  width: 320px;
  text-decoration: none;
}

.cta-verde:hover {
  text-decoration: none;
  background-color: #587549;
}
.giustifica{
	text-align: justify;	
}

@media (max-width: 767px) {

  .slide-header {
    background-image: url(img_copertina_principale.png);
  }

  .blocco-servizi {
    flex-direction: column;
  }

  .blocco-servizi .box-servizio {
    width: 100%;
    margin-bottom: 30px;
  }

}

.titolo-grande
{
	color: rgb(0 32 185);
}
.prezzo{
  font-size: 1.1em;
  font-weight: bold;
  color: #008eff;
}
.titolo-colonna
{
	color: rgb(0 32 185);
}
.colore_viola{
  color: #6a6cda;
}

.colore_verde{
  color: #32551f;
}

.sfondo-nero{
  background-color: black;
  color: white;
}

.colore-blu{
	color: rgb(0 32 185);	
}

.p-info-contatti{
	color: white;
	font-weight: bold;
}
.mr-10{
  margin-right: 10px;
}
.colore-verde{
  color: #32551f;
}

img.articolo{
	border: double !important;
}

.nascondi{
	display: none;	 
}



@media (max-width: 767.98px) {
	.navbar-collapse {
		padding-left: 1rem;
	}
}

.navbar .navbar-brand{
	margin-right: 0;
}

.navbar-collapse,
#navbarContent,
#navbar-container,
#navbar-container .navbar .navbar-collapse,
#header-navbar,
.navbar-toggler .navbar-toggler-icon
{
	background-color: #99853cd9 !important;
	color: white;
}

body .navbar-nav .nav-link
{
    color: white;
    letter-spacing: 1px;
    text-transform: uppercase;
	text-decoration: none;
}

.navbar{
	padding: 0px !important;
}

.navbar-text{
	width:220px;
}

.custom-navbar {
    background: #99853cd9 !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 18px 0;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Effetto shrink allo scroll */
.custom-navbar.scrolled {
    padding: 10px 0;
    background: #99853cf2 !important; /* leggermente più pieno */
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
}

/* Link */
.custom-navbar .nav-link {
    position: relative;
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 12px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

/* Hover testo */
.custom-navbar .nav-link:hover {
    color: #f5e6b3 !important;
}

/* Underline animato elegante */
.custom-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #f5e6b3;
    transition: width 0.3s ease;
}

.custom-navbar .nav-link:hover::after {
    width: 100%;
}

/* Logo leggermente animato */
.custom-navbar .navbar-brand img {
    transition: transform 0.4s ease;
}

.custom-navbar .navbar-brand:hover img {
    transform: scale(1.05);
}

/* Icone contatti */
.p-info-contatti i {
    color: #ffffff;
    transition: all 0.3s ease;
}

.p-info-contatti i:hover {
    color: #f5e6b3;
    transform: scale(1.15);
}







span.material-icons{
	background: #8aa7f7;
    color: rgb(0 32 185);	
}

/*slide eventi*/
.carousel {
	max-width: 1000px;
	margin: 2rem auto;
	position: relative;
	overflow: hidden;
	border-radius: 15px;
	box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.carousel-inner {
	display: flex;
	transition: transform 0.5s ease-in-out;
}

.carousel-item {
	min-width: 100%;
	position: relative;
}

.carousel-item img {
	width: 100%;
	object-fit: cover;
	display: block;
}

.carousel-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 2rem;
	background: linear-gradient(transparent, rgba(0,0,0,0.7));
	color: white;
	text-align: center;
}

.carousel-control {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255,255,255,0.3);
	border: none;
	padding: 1rem;
	cursor: pointer;
	border-radius: 50%;
	backdrop-filter: blur(5px);
	transition: all 0.3s ease;
}

.carousel-control:hover {
	background: rgba(255,255,255,0.7);
}

.carousel-control.prev {
	left: 20px;
}

.carousel-control.next {
	right: 20px;
}

.carousel-indicators {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	left: 1.5em !important;
}

.indicator {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255,255,255,0.5);
	cursor: pointer;
	transition: all 0.3s ease;
}

.indicator.active {
	background: #fff;
	transform: scale(1.3);
}

@media (max-width: 768px) {
	.carousel-item img {
		height: 300px;
	}
	
	.carousel-caption {
		padding: 1rem;
		font-size: 0.9rem;
	}
}
/*Fine Slide*/


body {
	font-family: 'Arial', sans-serif;
	line-height: 1.6;
	margin: 0;
	padding: 0;
	background-color: #f4f4f4;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2em;
}

.event-details {
	background: white;
	padding: 2em;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
	margin-bottom: 2em;
}

.details-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2em;
	margin-top: 2em;
}

.detail-item {
	text-align: center;
	padding: 1em;
}

.detail-item img {
	width: 50px;
	height: 50px;
	margin-bottom: 1em;
}

.speaker {
	display: flex;
	align-items: center;
	gap: 2em;
	margin-top: 2em;
}

.speaker img {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	object-fit: cover;
}

.register-btn {
	display: inline-block;
	background-color: #e74c3c;
	color: white;
	padding: 1em 2em;
	text-decoration: none;
	border-radius: 5px;
	margin-top: 1em;
	transition: background-color 0.3s;
}

.register-btn:hover {
	background-color: #c0392b;
}

@media (max-width: 768px) {
	.speaker {
		flex-direction: column;
		text-align: center;
	}
}

/*HERO*/
.hero {

	inset: 0;	
    position: relative;
    height: 100vh; /* Altezza viewport piena */
    width: 100%;
    background: url('images/panoramica hp.jpeg') no-repeat center center/cover; /* immagine full screen */
    margin: 0;
    padding: 0;
	
}

/* Overlay scuro elegante */
.hero-overlay {
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: brightness(0.8);
}
/* Testo centrato */
.hero .container {
    z-index: 2;
}

/* Logo leggermente animato */
.hero .logo {
    transition: transform 0.5s ease;
}

.hero .logo:hover {
    transform: scale(1.05);
}

/* Rimuove scroll extra dovuto al body margin */
body, html {
    margin: 0;
    padding: 0;
}


/* Contenuto hero centrato */
.hero-content {
    z-index: 2;
    animation: fadeInUp 1.2s ease forwards;
}

/* Animazione fade in e slight up */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Parallax effetto scorrimento */
.hero {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Testo */
.hero h1, .hero p {
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* Responsive mobile */
@media (max-width: 768px) {
    .hero .logo {
        width: 180px;
        height: auto;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
}

.lang-content {
    display: none;
}

.lang-content.active {
    display: block;
}


#lang-floating {
    position: fixed;
    top: 60px;
    right: 20px;
    z-index: 9999;
    background: rgb(42 80 54);
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.lang-btn {
    cursor: pointer;
    display: inline-block;
    margin-left: 5px;
    padding: 3px 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-weight: bold;
    font-size: 24px;
}

.lang-btn:hover {
    transform: scale(1.2);
}

.lang-btn.active {
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
    transform: scale(1.2);
}