@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400&display=swap');
* {box-sizing: border-box;}
body {
	font-family: 'Raleway', sans-serif;
}
::-webkit-scrollbar {width: 10px;height: 8px;}
::-webkit-scrollbar-track {background: #f1f1f1;}
::-webkit-scrollbar-thumb {background: #888;}
::-webkit-scrollbar-thumb:hover {background: #555;}
hr {width:45%;height:1px;border:0;background: #5d5d5d;}
[lang='it'] {display:none;}
BODY.lang-it [lang='it'] {
	display: inline-block;
}
BODY.lang-it [lang='en'] {
	display: none;
}
h1 {
	padding: 0 .6em;
	font-size:1.4em;
}
label {display: block;}
input, textarea {display: block; width:100%;padding:.75em;margin-bottom:1em;}
textarea {height: 7em;}
#btn_lang {
	text-align: right;
	margin-top: 1em;
}
A {text-decoration:none;color:#346ab2;}
A:hover {color:#000;}
A[target] {text-decoration:underline;}
#btn_it {margin-right:1em;}
#btn_it, #btn_en {
	margin-right: 1em;
  box-shadow: 0 0 0 16px #fff;
  background: #FFF;
  border-radius: 50%;
  display: inline-block;
	width: 32px;
	height: 32px;
}

#bg {
	position: fixed;
	top:0;bottom:0;left:0;right:0;z-index:-5;
	background-image:url('../img/sfondo.jpg');
	background-position: 50% 0;
	background-size: 120%;
	transition: background-size 2s, background-position .1s;
}
#content {
	padding:1em;
}
@media screen and (max-width:500px) {
	#content {
		padding:1em 0em;
	}
}
div.box {
	text-align: justify;
	padding: 1em;
	background-color: #fff;
	border-radius: 41px;
	margin: 2em 0;
	/* box-shadow: 0 5px 15px #0007; */
	border: 0px solid #010101;
}
.box center.logo {
	padding: 3em 0;
	margin: -.96em;
	margin-bottom:1em;
	padding-bottom:1em;
	background: #235a63;
	color:#fff;
	border-radius: 42px 42px 0 0;
	background-image: url(../img/banner1.jpg);
  background-position: center;
  background-size: cover;
}
div.box.evid {
	background: #f7ecd0;
  color: #484537;
}
li {
	margin: .5em 0;
	width:90%;
	text-align: left;
}
.map {
	padding:1em;
	border-radius:12px;
	background: #fff;
	display:inline-block;
}
.gallery {
	width: 100%;
	overflow: auto hidden;
	height: 165px;
	white-space: nowrap;
}
.gallery h3 {margin:.5em;text-align:left;}
.gallery > div {
	text-align:left;
	width:1815px;
}
#gallery2 > div {width: 735px;}
.gallery > div:nth-child(2) > a:nth-child(1) {
	margin-left: 32px;
}
.gallery A {
	height: 69px;
	overflow: hidden;
	display: inline-block;
	box-shadow: 0 1px 0px #ddd;
	transition:.3s;
}
.gallery A:hover {
	opacity:.6;
	transition: none;
	box-shadow: 0 5px 0px #1d3c85;
}
.gallery A:active {
	opacity:1;
	box-shadow: 0 8px 0px #082;
}
.gallery img{
	width:42px;
	margin:4px 12px;
}
#footer {
	background-color: #222;
	padding: 1em;
  margin: 12em auto -1.5em auto!important;
	color:#999;
	border-radius:41px 41px 0 0;
}
#footer a  {
	color:#fff;
}
#footer a:hover  {
	color:#ccc;
}
#footer a img {
	opacity:.5;
}
#footer a:hover img {
	opacity:1;
}
#footer .pre {
	background: #235a63;
	margin: -1em -1em 1em;
	padding:1em;
	color:#fff;
	border-radius:41px;
}
.big {font-size:1.2em;}
.nowi .cert {
	text-align: center;
}
.half {
	padding:1em 0;
}
@media screen and (orientation:landscape) and (min-width:600px) {
	.half {
		display:inline-block;
		width:50%;
		padding:1em;
		vertical-align: top;
	}
	#bg, #content, #footer {
		margin:-2em auto;
		max-width:900px;
	}
	#content {
		margin:0 auto;
	}
	#bg {
    box-shadow: 0 0 10px #0003;
		background-size: 80%;
	}
	.nowi .cert, .nowi .descr {
		width:70%;display:inline-block;
		vertical-align: middle;
		padding:1em;
	}
	.nowi .cert {
		width:30%;
	}
}
.lSSlideOuter .lSPager.lSpg>li {
	width:16px;
}
#fullscreen {
	top:0;bottom:0;left:0;right:0;padding:1em;position:fixed;
	background-size: contain;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center;
	margin:3em;
	box-shadow: 0 0 0 3em #fff;
	z-index:150;
}
a.btn, input[type=submit] {
	padding:.5em 1em;
	margin: 2px auto;
	background: #346ab2;
	display: inline-block;
	transition: .4s;
	color: #fff;
	border-radius: 5px;
	border:0;
}
input[type=submit] {
	width:auto;
}
a.btn:hover, input[type=submit] {
	box-shadow: 0 0 0 4px #0003;
}
.menu A {
	padding:.5em 1em;
}
.project {
	clear:both;
	margin-bottom:1em;
	font-size:.9em;
	display: inline-block;
	width: 48%;
	vertical-align: top;
	padding:1em;
}
@media screen and (max-width:650px) {
	.project {
		width:100%;
	}
}
.project h2{
	display:none;
}
.project .b2{
	min-height: 6em;
}
.project .b1 img {
	width:60%;
	max-width: 300px;
}
.project > div {
}
.project .b1 {
	text-align:center;
  min-height: 6em;
	background: center no-repeat;
	background-size: 60%;
}
.project .tag {
	font-size:.8em;font-weight:bold;color:#235a63;
	padding:1em 0;
}
.project .links {
	text-align: right;

}
.project .links A{
	padding: .5em 1em;
	display: inline-block;
	border: 1px solid #ededed;
	margin: 2px;
	border-radius: 4px;
	color: #1d3c85;
}
@media screen and (orientation:landscape) and (min-width:600px) {
	.project {
		font-size:1em;
	}
	/* .project .b1 {
		float:left;
		width:30%;
		height:20vw;
	} */
	.full .b1 {height:250px;}
}
.maxw {
	max-width: 300px;
	margin: auto;
	border: 1px solid #999;
	border-radius: 7px;
	background: #f4f4f4;
}
.full {width:100%;}
.lSAction>a {
  filter: invert(1);
}
.lslide a img{
	margin:10%;
	width:80%;
}
.btns {text-align:right;}
.nowi {
	margin:0 -1em;
  padding: .5em 1em;
	background: #f4f4f4;
}
#intro .menu {text-align:center;font-size:.8em;font-weight:bold;}
#intro [lang] {width:100%;}
#top, #top .logo, body.page #btn_lang {transition:.5s;}
body.page #top {
	margin-top: -6em;
}
body.page #top .logo {
  padding-top: 3em;
}
#top {
	max-width: 635px;
	margin: auto;
}

body.page #btn_lang {
	margin-top:-1em;
}
body.page #btn_lang A {
	box-shadow:none;
}
.nowi h3 {
	margin-top:0;
	font-size:.7em;
	color:#666;
}
div.moreinfo {display:none;}
.links a {

}
.otherlinks {
	text-align:left;
	margin:1em 0;
}
.otherlinks a{
	padding:.5em 0;
	display: block;
}
#pages {
	min-height: 55vh;
}
