@font-face {
	font-family: 'CAME';
	src:url("../fonts/Came-Type2.0.ttf") format("truetype"), 	/* Safari, Android, iOS */
		url("../fonts/Came-Type2.0.woff") format("woff"),		/* Modern Browsers */
		url("../fonts/Came-Type2.0.otf") format("otf");
	font-display: swap;
}


body {
	background-color: #FFF;
	box-sizing: border-box;
	color: #000;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 14px;
	-webkit-font-smoothing: antialiased;
}

body.en :lang(it), 
body.en :lang(es),
body.it :lang(en), 
body.it :lang(es),
body.es :lang(en), 
body.es :lang(it) {
	display: none;
}

* {box-sizing: border-box;}

/*-------------------------------- TEXT STYLE ---------------------------------*/

h1 {
	color: #009fe3;
	font-size: 3em;
	margin-bottom: 40px;
}

h2 {
	color: #009fe3;
	font-size: 2em;
	margin: 30px 0 10px 0;
}

h3 {
	color: #000;
	font-size: 1.8em;
	margin: 40px 0 20px 0;
}

h4 {
	color: #333;
	font-size: 2.2em;
	margin-bottom: 40px;
}

p {
	font-size: 1.1em;
	line-height: 1.4em;
	margin-bottom: 12px;
	text-align: justify;
}

p.center {
	font-weight: bold;
	text-align: center;
}

a,
a:visited {
	color: #009FE3;
	font-weight: normal;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}
.optional {font-style: italic;}
.blue {color: #009fe3;}

/*--------------------------------- HEADER ------------------------------------*/

header {
	margin: 20px auto;
	width: 75%;
}


header .lang_select {
	display: block;
	float: right;
	overflow: auto;
	margin-bottom: 20px; 
}

header .lang_select .flag {
	cursor: pointer;
	float: left;
	font-weight: bold;
	font-size: 0.8em;
	line-height: 2em;
	margin-right: 10px;
	text-decoration: none;
	/* width: 80px; */
}

header .lang_select .flag img {
	display: none;
	margin-right: 3px;
	width: 27px;
}

header .image {
	display: block;
	margin: 0 0 20px 0;
	max-width: 500px;
	width: 100%;
}

header .image img {
	width: 100%;
}


.article {
	margin: 30px auto;
	width: 60%;
}



/* ---------------------------------- FORM ------------------------------------*/

form {
	width: 75%;
	margin: 30px auto;
	clear: both;
	background: #EFEFEF;
	padding: 30px;
}

label {
	clear: both;
	display: block;
	margin-bottom: 5px;
	overflow: auto;
	color: #000;
	font-size: 1em;
	font-weight: bold;
}

p.desc {
	color: #333;
	font-size: 0.95em;
	weight: normal;
}

input,
select,
textarea {
	width: calc(100% - 18px);
	padding: 9px;
	margin-bottom: 25px;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1em;
	color: #000;
	border-radius: 3px;
	-ms-box-sizing:content-box;
	-moz-box-sizing:content-box;
	-webkit-box-sizing:content-box; 
	box-sizing:content-box;
}

input[disabled] {
    background-color: #CCC;
}

input[type=checkbox] {
  	width: 0;
  	height: 0;
  	display: none;
  	opacity: 0;
}

input[type=checkbox] + label {
    display: inline-block;
    padding: 0 0 5px 30px;
    position: relative;
    cursor: pointer;
	vertical-align: middle;
}

input[type=checkbox] + label:before {
	background: #FFF;
	position: absolute;
    display: inline-block;
  	left: 0;
  	width: 18px;
  	height: 18px;
 	border: 1px solid grey;
	color: #849fbb;
	font-family: "FontAwesome";
  	font-size: 13px;
  	text-align: center;
	line-height: 1.5em;
  	-webkit-transition: border-color .2s ease-in, background-color .2s ease-in;
  	-moz-transition: border-color .2s ease-in, background-color .2s ease-in;
  	-o-transition: border-color .2s ease-in, background-color .2s ease-in;
  	-ms-transition: border-color .2s ease-in, background-color .2s ease-in;
  	transition: border-color .2s ease-in, background-color .2s ease-in; 
}

input[type=checkbox] + label:hover:before {
   	background-color: #CCC; 
}

input[type=checkbox]:checked + label:before {
  	content: "\f00c";
  	color: #FFF;
  	background-color: #00B5FF;
}

input[type=checkbox]:not(:checked) + label:before {
  	content: "";
}

.checkboxes {
	display: block;
	overflow: auto;
	margin-bottom: 20px;
}

.checkbox {
	float: left;
	width: 33%;
	display: block;
}

.checkbox label {
	color: #000;
	font-weight: normal;
}

.consent label {
    color: #000;
	font-weight: normal;
	float: left;
	display: block;
	width: calc(100% - 24px);
	margin-top: 0;
}

.fileuploader {margin-bottom: 25px;}
textarea {height: 100px;}


/*----------------------------------- SUMBIT ---------------------------------------*/

.submit {
	font-size: 1.2em;
	font-weight: bold;
	background-color: #29A1DA;
	color: #FFF;
	border: none;
	cursor: pointer;
	width: calc(100% - 18px);
	padding: 9px;
	margin: 20px 0 0 0;
	font-family:Helvetica, Arial, sans-serif;
	border-radius: 3px;
	-ms-box-sizing:content-box;
	-moz-box-sizing:content-box;
	-webkit-box-sizing:content-box; 
	box-sizing:content-box;
	-webkit-appearance: none;
	-moz-appearance: none;
}


/*----------------------------------- FOOTER ---------------------------------------*/
		
footer {
	width: 50%;
	overflow: auto;
	margin: 20px auto;
}

footer .social .socialmedia {
	width: 27px;
	height: 27px;
	margin: 0 2px 10px 2px;
	float: left;
}


/*----------------------------------- LIGHTBOX ---------------------------------------*/

.featherlight .featherlight-content {
	width: 50%;
	height: 50%;
	z-index: 100;
}

.featherlight .featherlight-inner {
	padding: 20px;
	width: calc(100% - 40px);
	height: calc(100% - 40px);
	line-height: 1.2em;
	-webkit-overflow-scrolling: touch;
}

/*--------------------------------- RESPONSIVE ------------------------------------*/	

@media only screen and (max-width: 800px) {
	header .image img,
	.article,
	form,
	.featherlight .featherlight-content {
		width: 75%;
	}
}


@media only screen and (max-width: 600px) {
	header .image img,
	.article,
	form,
	.featherlight .featherlight-content {width: 90%;}
}