:root {
  --bg-verde: #008A4A;
  --bg-verde-2: #1987541c;
  --bg-gray:	#AAAAAA;
  --bg-giallo: #FFCC1B;
  --bg-rosso:	#D63426;
  
  --cl-verde: 	#71BB70;
  --cl-blu:		#106E9F;
  
  --title-size: 24px;
  --title-weight: 700;
}

@font-face {
  font-family: 'Kanit';
  src: url('../../fonts/kanit-light-webfont.woff') format('woff'),
       url('../../fonts/kanit-light-webfont.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Kanit';
  src: url('../../fonts/kanit-lightitalic-webfont.woff') format('woff'),
       url('../../fonts/kanit-lightitalic-webfont.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Kanit';
  src: url('../../fonts/kanit-medium-webfont.woff') format('woff'),
       url('../../fonts/kanit-medium-webfont.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Kanit';
  src: url('../../fonts/kanit-bold-webfont.woff') format('woff'),
       url('../../fonts/kanit-bold-webfont.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Kanit';
  src: url('../../fonts/kanit-black-webfont.woff') format('woff'),
       url('../../fonts/kanit-black-webfont.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


body {
  font-family: 'Kanit', sans-serif;
}



p {
	margin:0px;
}

nav {
	margin: 15px 0px;
}

nav .logo {	
	height: 75px;
    margin-right: 10px;
}


nav .flag {	
	height: 30px;
	border-radius: 5px;
}

.lang-link:hover .flag { filter: drop-shadow(0 0 12px rgba(102, 126, 234, 0.6)); transform: scale(1.1) rotate(5deg); } 

#banner {
	position: relative;
	height: 500px;
}

#banner .container {
	position: relative;
	z-index: 999;
}

#banner #banner-title {
	position: absolute;
	padding: 5px 30px;
    font-size: 41px;
    font-weight: 700;
	bottom: 30px;
	background: var(--bg-verde);
	color: #ffffff;
}


#partnership-title {
	font-size: 24px;
    font-weight: 700;
} 

.sezione {
	margin: 30px 0px 60px;
	font-size: 18px;
    font-weight: 300;
}


.sezione .sotto-sezione {
	margin-top:40px;
	
}

.sezione h1 strong{
	font-weight: 700;
}


#accedi-div a {
	margin-top:15px;
}

.sezione .button {
	display: inline-block;
	border:0px;
	padding: 15px 30px;
	border-radius: 10px;
	font-size: 21px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.25s ease;
	position: relative;
}

/* bottoni */
.sezione .button.green {
	background: var(--bg-verde);
	border: 1px solid var(--bg-verde);
	color: #ffffff;
}


/* hover effect */
.sezione .button:hover {
	color: var(--bg-verde);
	background: #ffffff;
}


.sezione .green-title {
  color: var(--bg-verde);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--title-size);
  line-height: 24px;
  font-weight: var(--title-weight);
}

.sezione .green-title::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 16px;
  background-color: var(--bg-verde);
}



.services {
	margin-top:40px;	
}

.services .row {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border-radius: 12px;
    padding: 10px;
    margin-bottom:30px;
}

.services .row img {
	width: 100%;
	max-width: 80px;
}

.services .row:hover img {
    animation: wobble 0.5s ease;
}


@keyframes wobble {
    0%   { transform: rotate(0deg); }
    25%  { transform: rotate(-8deg); }
    50%  { transform: rotate(8deg); }
    75%  { transform: rotate(-4deg); }
    100% { transform: rotate(0deg); }
}


.services .name {
	text-transform: uppercase;
	font-size: 19px;
	line-height: 19px; 
	font-weight: 500;
}

.services .name.green {
	color: var(--cl-verde);
}

.services .name.blu {
	color: var(--cl-blu);
}

#banner-minori {
	position: relative;
	height: 500px;
	background: #fff;
	background-image: url('../images/banner-minorenni.jpg');
	background-position: center;
	background-repeat: no-repeat;
	border-top:10px solid var(--bg-verde);
	margin-top: 120px;
	margin-bottom: 60px;
	box-shadow: inset 0 10px 10px -10px rgba(0, 0, 0, 0.5);
}

#banner-minori img {
	display: none;
}


#banner-minori #banner-title {
	position: absolute;
	text-transform: uppercase;
	text-align: center;
	padding: 15px 60px;
    font-size: 31px;
    line-height: 34px;
    font-weight: 700;
	top: -40px;
	background: var(--bg-verde);
	color: #ffffff;
	box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
}

#banner-coniugi {
	position: relative;
	height: 500px;
	background: #fff;
	background-image: url('../images/banner-coniugi.jpg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	margin-top: 120px;
	margin-bottom: 60px;
}

#banner-coniugi #alert-new {
	position: absolute;
	top:30px;
	left:0px;
	background: var(--bg-rosso);
	color: #fff;
	text-transform: uppercase;
	padding: 7px 45px 5px 15px;
	border-radius: 0px 10px 10px 0px;
	font-size: 28px;
	line-height: 28px;
	font-style: italic;
	font-weight: 600;
}

#banner-coniugi img {
	display: none;
}

#banner-coniugi #banner-title {
	text-transform: uppercase;
	display: inline-block;
	text-align: center;
	padding: 15px 60px;
    font-size: 31px;
    line-height: 34px;
    font-weight: 700;
	background: var(--bg-verde);
	color: #ffffff;
	box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
	margin-bottom: -40px;
}

#section-faqs {
	position: relative;
	padding-top: 50px;
}


#faq-title {
    /*font-size: 41px;*/
    font-size: var(--title-size);
    font-weight: var(--title-weight);
}

#faqs-accordion {
	width: 90%;
	margin: auto;
}


#faqs-accordion .accordion-button {
	font-size: 18px;
}

#faqs-accordion .accordion-button.collapsed {
	border: 1px solid #aaa;
}

#faqs-accordion .accordion-button:not(.collapsed) { 
    background: var(--bg-giallo); 
    box-shadow: none;
}

#faqs-accordion .accordion-item {
	margin-bottom:5px;
}

#faqs-accordion .accordion-body {
	padding-bottom: 40px;
	font-size: 18px;
}

#faqs-accordion #faq-angolo {
	position: absolute;
    right: 30px;
    bottom: -30px;
}


.faq-group {
	/* font-size: var(--title-size); */
	font-size: 21px;
	font-weight: var(--title-weight);
	margin:40px 0px 20px 40px;
	color: var(--bg-verde);
}

#contatti {
	width: 90%;
	margin: auto;
}

#contatti-title {
	font-size: var(--title-size);
	text-transform: uppercase;
    font-weight: var(--title-weight);
}

#contatti .col-md-6 {
	padding:0px;
}
	
#contatti .contatto {
	border: 1px solid #aaa;
	border-radius: 10px;
	padding:30px;
	font-size: 19px;
    font-weight: 300;
    height: 100%;
}

#contatti #contatto_fe {
	margin-right: 7px;
}

#contatti #contatto_emva {
	margin-left: 7px;
}

#contatti .contatto img {
	height: 80px;
	margin-bottom: 30px;
}

footer {
	padding:40px 0px 60px 0px;
}



@media (max-width: 600px) {


	nav .logo {	
		height: 45px;
    	margin-right: 10px;
	}
	
	#banner #banner-title {
	    font-size: 31px;
	    line-height: 35px;
	}

	#section-partnership .buttons button {
		width: 100%;
		margin-bottom: 15px;
	}
	
	#banner-coniugi #banner-title {
		display: block;
		margin: 0px -12px;
		font-size: 26px;
		padding: 15px;
	}
	
	#banner-minori {
		background: #ffffff;
		border:0px;
		height: auto;
	}
	
	#banner-minori img {
		display: block;
		width: 100%;
	}
	
	
	#banner-minori .container{
		padding:0px;
	}
	
	
	#banner-minori #banner-title {
		position: relative;
		padding: 15px;
		font-size: 26px;
		top:0px;
	}
	
	#section-faqs #faq-title { 
		position: relative;
		top:0px;
	}
	
	#faqs-accordion {
		width: 100%;
	}
	
	#faq-angolo {
		display: none;
	}
	
	#accedi-div {
		text-align: center;
	}
	
	#contatti {
		width: 100%;
		margin: auto;
	}
	
	#contatti .col-md-6 {
		margin-bottom: 30px;
		padding:0px;
	}
	
	#contatti .contatto img {
		width: 80%;
		height: auto;
	}
	
	#contatti #contatto_fe {
		margin-right: 0px;
	}
	
	#contatti #contatto_emva {
		margin-left: 0px;
	}
	
}



