@import url(reset.css);

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

.inner { max-width: 1200px; width: 95%; margin: 0px auto; }
.contenuto { max-width: 1200px; width: 95%; margin: 0px auto; position:relative; z-index:5; padding-top: 20px; padding-bottom: 40px;}
.contenutoint { max-width: 1200px; width: 95%; margin: 0px auto; position:relative; z-index:5; padding-top: 10px; padding-bottom: 20px;}

.cf:before, .cf:after { content: " "; /* 1 */ display: table; /* 2 */ }

.cf:after { clear: both; }

.cf { *zoom: 1; }

.boxes {
	max-width: 850px;
	margin: 0 auto;
}

.boxes .box {
	width: 33%;
	float: left;
	padding: 0.5em;
	min-height: 200px;
	overflow: hidden;
	position: relative;
}

.grid {
  margin: 0 0 0px 0;
  width:100%;
}
.grid:after {
  /* Or @extend clearfix */
  content: "";
  display: table;
  clear: both;
}

[class*='col-'] {
  float: left;
  padding-right: 20px;
}
.grid [class*='col-']:last-of-type {
  padding-right: 0;
}

.col-2-3 {
  width: 66.66%;
}

.col-1-3 {
  width: 33.33%;
}

.col-1-2 {
  width: 50%;
}

.col-1-4 {
  width: 25%;
}

.col-1-5 {
  width: 20%;
}

.col-1-8 {
  width: 12.5%;
}

.col-75 {
  width: 75%;
}
.col-80 {
  width: 80%;
}
.col-88 {
  width: 87.5%;
}
.col-100 {
  width: 100%;
}


.module {
  padding: 20px;
}
.modulenav {
  padding: 6px 6px 0 6px;
}
.moduletxt {
  padding: 0 20px;
}
.moduleg {
  padding: 20px;
  background: #eee;
  position: relative;
}
.moduleg:before, .moduleg:after {
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  top: 0;
  right: 0;
  content: "";
  border: 10px solid transparent;
}
.moduleg:before {
  border-top-color: #fff;
  border-right-color: #fff;
}
.moduleg:after {
  border-bottom-color: #00AFFF;
  border-left-color: #00AFFF;
}
.modulenot {
  padding: 20px;
  background: #eee;
  position: relative;
  --notchSize: 20px;
  -webkit-clip-path: polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)));
  clip-path: polygon(0% var(--notchSize), var(--notchSize) 0%, calc(100% - var(--notchSize)) 0%, 100% var(--notchSize), 100% calc(100% - var(--notchSize)), calc(100% - var(--notchSize)) 100%, var(--notchSize) 100%, 0% calc(100% - var(--notchSize)));
}

/* Opt-in outside padding */
.grid-pad {
  padding: 20px 0 0px 20px;
}
.grid-pad [class*='col-']:last-of-type {
  padding-right: 20px;
}

html {
	font: normal 112.5%/1.4 sans-serif; /* base font size 18px with 1.65 line-height */
}

body{
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	font-family: "Segoe UI", Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif;
	color:#444;
	/* font-size: 1em; */
	/* font-style: normal; */
	/* line-height:1.4; */
	font-size-adjust: auto;
	min-height:300px;margin-top:0px;margin-bottom:0px;
	background-color: #fff;
    overflow-x: hidden;
}

.videoWrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
padding-top: 25px;
height: 0;
}
.videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.videorwd {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}
.videorwd iframe,  
.videorwd object,  
.videorwd embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

img.resp {
max-width: 100%;
max-height: 100%;
}

img.relatore {
border: 5px solid #F49901;
border-radius: 100%;
/*box-shadow: 0 5px 20px rgba(0,0,0,.5);*/
}

h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1.2;
	margin-top: 0;
	text-rendering: optimizeLegibility;
	color: #444;
}
h1.big {font-weight:normal;font-size:3.75em;line-height:1.066666666666667em;font-family:'Segoe UI Light',Segoe,Tahoma,Arial;margin-bottom:.5em;color:#F67F04;}
h1.medium {font-weight:normal;font-size:2.25em;line-height:1.066666666666667em;font-family:'Segoe UI Light',Segoe,Tahoma,Arial;margin-bottom:.5em;color:#F67F04;}
h1{
	font-size:1.875em;line-height:1em;font-family:'Segoe UI Light',Segoe,Tahoma,Arial;margin-bottom:.5em; color:#F67F04;
}
h2{
	font-size:1.25em;line-height:1.2em;font-family:'Segoe UI Light',Segoe,Tahoma,Arial;margin-bottom:.5em; color:#7291BC;
}
h2.big{
	font-size:1.875em;line-height:1em;font-family:'Segoe UI Light',Segoe,Tahoma,Arial;margin-bottom:.5em; color:#7291BC;
}
h2.medium{
	font-size:1.575em;line-height:1em;font-family:'Segoe UI Light',Segoe,Tahoma,Arial;margin-bottom:.5em; color:#7291BC;
}
h3{
	font-size:1em;line-height:1.25em;margin-bottom:.5em;font-family:'Segoe UI Light',Segoe,Tahoma,Arial;margin-bottom:.5em;
}
h4{
	font-weight:bold;font-size:1.25em;line-height:1.2em;margin-bottom:.5em;font-family:'Segoe UI Light',Segoe,Tahoma,Arial;margin-bottom:.5em;
}
h5{
	font-size:1.15em;line-height:1.2em;margin-bottom:.5em;font-family:'Segoe UI Light',Segoe,Tahoma,Arial;margin-bottom:.5em;
}
h1 span{
	font-size:80%;line-height:0.9em;display: inline-block;padding-top: 0.2em;
}

p{margin:0;font-size:1em;line-height:1.4;margin-bottom:1.5em}
a,a:link,a:visited,a:active{text-decoration:none;color:#0080FF}
a.testo {display:inline-block; background:#1d577c; color: floralwhite; padding:0 4px; transition: all 0.5s; transition-timing-function: ease-in-out}
a.testo:hover {color:#1d577c; background:#fff; text-decoration:none; outline: 1px solid #1d577c;}
a.testob {display:block;}
/*a:hover{text-decoration:underline;color:#0081ff}*/
a.button,button{display:block;font-size:1em;line-height:2.5em;color:#fff;border:1px solid #fff;cursor:pointer;text-decoration:none;text-align:center}
a.buttonc,buttonc{display:block;font-size:1em;line-height:2.5em;background-color:#F49901;color:#fff;border:none;cursor:pointer;text-decoration:none;text-align:center}
a.buttonc:hover,buttonc:hover{background-color:transparent}
a.buttonsm,buttonsm{font-size:0.9em;line-height:2.2em;}
.orange{background-color:#F49901}
.orange:hover{background-color:#F45701}
.blue{background-color:#0054a6}
.blue:hover{background-color:#0081ff}
.purple1{background-color:#673090}
.purple1:hover{background-color:#5e2984}
.purple2{background-color:#442359}
.purple2:hover{background-color:#3f1e52}
.purple3{background-color:#562379}
.purple3:hover{background-color:#4f1d70}
.purple4{background-color:#68217a}
.purple4:hover{background-color:#571069}
.orange1{background-color:#dc3c00}
.orange1:hover{background-color:#cb2b00}
.blue1{background-color:#031070!important}
.blue1:hover{background-color:#00005f!important}
.green1{background-color:#007233}
.green1:hover{background-color:#006122}
.grey{background-color:#eee;color:#303131!important}
.grey:hover{background-color:#ddd}

.centravert {  
min-height: 6.5em;  
display: table-cell;  
vertical-align: middle;  
}  

.centvert {
    position: relative;
            top: 50%;
            transform: translateY(-50%);
    padding-left:20px;
}

@font-face {
	font-family: "Ampersand";
	src: local("Georgia"), local("Garamond"), local("Palatino"), local("Book Antiqua");
	unicode-range: U+0026;
}

@font-face {
	font-family: "Ampersand";
	src: local("Georgia");
	unicode-range: U+270C;
}

.ampersand {
	font-family: Ampersand, Verdana, sans-serif;
}

.breakword {
	word-wrap: break-word;
}

.homepage-social>div{display:inline-block;vertical-align:top;margin-right:10px}
.homepage-social>div>a{padding:0 37px}
.homepage-social>ul{display:inline-block}
.homepage-social>ul>li{display:inline-block;margin-right:4px}
.homepage-social>ul>li:last-child{margin-right:0}
.homepage-social>ul>li>a{display:block;width:40px;height:40px;background-image:url('../img/global-sprite.png');background-repeat:no-repeat}
.homepage-social .homepage-social-blog{background-position:0 -138px}
.homepage-social .homepage-social-blog:hover{background-position:0 -178px}
.homepage-social .homepage-social-facebook{background-position:0 -218px}
.homepage-social .homepage-social-facebook:hover{background-position:0 -258px}
.homepage-social .homepage-social-twitter{background-position:0 -298px}
.homepage-social .homepage-social-twitter:hover{background-position:0 -338px}
.homepage-social .homepage-social-youtube{background-position:0 -458px}
.homepage-social .homepage-social-youtube:hover{background-position:0 -498px}
.homepage-social .homepage-social-linkedin{background-position:0 -378px}
.homepage-social .homepage-social-linkedin:hover{background-position:0 -418px}

.sfondo {
background: url('../img/nav2018-banner.jpg');
background-repeat: no-repeat;
background-position: center center;
background-color: #fff;
background-size: cover;
}

.sfondo2 {
background: url('../img/location.jpg');
background-repeat: no-repeat;
background-position: center center;
background-color: #fff;
background-size: cover;
}

.bg-cover {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}

header{
z-index: 10;
overflow:hidden;
transition: all 1s;
width:100%;
background-color: #fff;
}
header.nasc{ 
top: -100%;
position: absolute;
}
header.small{ 
position: fixed;
height: 100px;
box-shadow: 0 3px 6px rgba(0,0,0,0.3);
top: 0;
transition: all 1s;
}
header.small .grid div {
height:100px;
transition: all 1s;
}
header.small .grid div.col-1-3:not(:last-child) {
position: relative;
}
header.small .grid img {
max-height:98px;
transition: all 1s;
position: absolute;
top:50%;left: 50%;
transform: translate(-50%,-50%);
}
header.small .grid img:first-child {
position: absolute;
top:50%;left: 0;
transform: translateY(-50%);
}
header.small .button {
display: inline-block;
top:50%;
transform: translateY(-50%);
}
header.smaller{ 
position: fixed;
height: 50px;
box-shadow: 0 3px 6px rgba(0,0,0,0.3);
top: 0;
transition: all 1s;
}
header.smaller .grid div {
height:50px;
transition: all 1s;
}
header.smaller .grid div.col-1-3:not(:last-child) {
position: relative;
}
header.smaller .grid img {
max-height:48px;
transition: all 1s;
position: absolute;
top:50%;left: 50%;
transform: translate(-50%,-50%);
}
header.smaller .grid img:first-child {
position: absolute;
top:50%;left: 0;
transform: translateY(-50%);
}
header.smaller .button {
display: inline-block;
top:50%;
transform: translateY(-50%);
}

.banner {
	min-height: 100vh;
	position: relative;
	width:100%;
}

.banner div {
	position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 50%;
    min-height: 40vh;
    text-align: center;
    background-color: rgba(0,175,255,.7);
    padding: 1em;
}

.banner2 {
	min-height: 70vh;
	position: relative;
	width:100%;
}
.banner2 div {
	position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
.separatore {background: #00BCF2; position: relative; height: 16px; margin-top: 40px;}

.separatore:after {
	position: absolute;
	content: '';
	width: 0; 
	height: 0; 
	border-left: 30px solid transparent;
	border-right: 30px solid transparent;
	border-top: 40px solid #00BCF2;
    left: 50%;
    transform: translateX(-50%);
}

a[name] {
  padding-top: 80px;
  margin-top: -80px;
  display: inline-block; /* required for webkit browsers */
}

.menulink ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.menulink li {
    padding: 8px;
    margin-bottom: 7px;
    background-color :#0072c6;
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.menulink li a {
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: 1em;
}
.menulink li:hover {
    background-color: #00bcf2;
}

.ac-container {
    max-width: 100%;
}

.ac-container label {
    position: relative;
    z-index: 20;
    display: block;
    cursor: pointer;
    height: 40px;
    line-height: 40px;
    background: linear-gradient(rgba(244,153,1,1) 0%, rgba(238,121,6,1) 100%); color: #fff;
    box-shadow: 0 0 0 1px rgba(155,155,155,0.3),1px 0 0 rgba(255,255,255,0.9) inset,0 2px 2px rgba(0,0,0,0.1);
    text-transform: uppercase; text-align: center; font-size: 100%;
    background: #f1f2f3;
    color: #444;
    text-shadow: 0 1px 1px rgba(255,255,255,0.6);
    box-shadow: 0 0 0 1px rgba(155,155,155,0.3),0 2px 2px rgba(0,0,0,0.1);
}


.ac-container label:hover {
    background: #fff;
    color: #444;
}

.ac-container input:checked + label,.ac-container input:checked + label:hover {
    background: linear-gradient(rgba(244,153,1,1) 0%, rgba(238,121,6,1) 100%); color: #fff;
    box-shadow: 0 0 0 1px rgba(155,155,155,0.3),1px 0 0 rgba(255,255,255,0.9) inset,0 2px 2px rgba(0,0,0,0.1);
    height: 40px;
    line-height: 40px;
    text-transform: uppercase; text-align: center; font-size: 100%;
}

.ac-container input {
    display: none;
}

.ac-container article {
    background: rgba(255,255,255,0.5);
    margin-top: -1px;
    overflow: hidden;
    max-height: 0;
    position: relative;
    z-index: 10;
    transition: max-height 0.3s ease-in-out,box-shadow 0.6s linear;
}

.ac-container article p {
    font-style: normal;
    color: #444;
    font-size :0.96em;
    padding: 20px;
}

.ac-container input:checked ~ article {
    transition: max-height 0.5s ease-in-out,box-shadow 0.1s linear;
    box-shadow: 0 0 0 1px rgba(155,155,155,0.3);
}

.ac-container input:checked ~ article.ac-small {
    max-height: 140px;
}

.ac-container input:checked ~ article.ac-medium {
    max-height: 180px;
}

.ac-container input:checked ~ article.ac-large {
    max-height: 280px;
}

.ac-container input:checked ~ article.ac-max {
    max-height: 800px;
}

div.videi { position: relative; overflow: hidden; width: 100%; left: 50%; transform: translateX(-50%);}
div.didas { position: absolute; width: 100%; font-size: 1.1em; line-height: 0.9; bottom: 0; left: -100%; background-color: rgba(0,0,0,0.7); color: aliceblue; padding: 8px; transition: left 0.5s; white-space: normal; font-variant: small-caps;}
div.videi:hover div.didas { left: 0;}

@-webkit-keyframes downwardprompt {
  to {
    -webkit-transform: translateY(2rem);
            transform: translateY(2rem);
    opacity: 0;
  }
}
@keyframes downwardprompt {
  to {
    -webkit-transform: translateY(2rem);
            transform: translateY(2rem);
    opacity: 0;
  }
}
.freccia {
  display: block;
  text-decoration: none;
  font-size: 2rem;
  color: #1d577c;
  opacity: 1;
  position: absolute;
  top, bottom: 1.5rem;
  width: 100%;
  text-align: center;
  -webkit-transition: .3s;
  transition: .3s;
  -webkit-animation: downwardprompt 2s 1s;
  animation: downwardprompt 2.5s 1s infinite;
}
.frecciaw {
  display: block;
  text-decoration: none;
  font-size: 2rem;
  color: #fff;
  opacity: 1;
  position: absolute;
  top, bottom: 1.5rem;
  width: 100%;
  text-align: center;
  -webkit-transition: .3s;
  transition: .3s;
  -webkit-animation: downwardprompt 3s 1s infinite;
  animation: downwardprompt 3s 1s infinite;
    text-decoration: none;
}

.block{
    min-height: 200px;
    width: 100%;
    position: relative;
    background: linear-gradient(to right, rgba(244,153,1,1) 0%, rgba(238,121,6,1) 100%);
}
.block2{
    min-height: 200px;
    width: 100%;
    position: relative;
    background: linear-gradient(to right, rgba(29,87,124,1) 0%, rgba(11,19,32,1) 100%);
}

.modal {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .8);
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s, visibility .2s;
}

.modal.is-visible {
	opacity: 1;
	visibility: visible;
}

.modal .content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	width: 70vw;
	padding: 0 .5em 1em .5em;
	background-color: #FFF;
    text-align: center;
}

body.overflow-hidden {
  overflow: hidden;
}

.daespandere {display: none}
.espandi {cursor: pointer}

.colora {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  transition: all .3s ease-in-out;
}
.colora:hover {
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
}

@media screen and (max-width: 66em) {
    body {
        font-size:80%;
    }
div.videi { width: 100%;}
.banner div {
    width: 80%;
}
.bg-cover {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: scroll;
  z-index: 1;
}
header.small{ 
position: fixed;
height: 50px;
box-shadow: 0 3px 6px rgba(0,0,0,0.3);
top: 0;
transition: all 1s;
}
header.small .grid div {
height:50px;
transition: all 1s;
}
header.small .grid div.col-1-3:not(:last-child) {
position: relative;
}
header.small .grid img {
max-height:48px;
transition: all 1s;
position: absolute;
top:50%;left: 50%;
transform: translate(-50%,-50%);
}
header.small .grid img:first-child {
position: absolute;
top:50%;left: 0;
transform: translateY(-50%);
}
header.small .button {
display: inline-block;
top:50%;
transform: translateY(-50%);
}
}
 
@media screen and (max-width: 36em) {
    body {
        font-size:70%;
    }
	[class*='col-'] {
		float: none;
		width: 100%;
        margin-bottom: 1em;
	}
    [class*='col-']:last-child {
        margin-bottom: 0;
	}
    h2.centvert {font-size: 120%;}
    h2.centvert + a {font-size: 70%;}
    .inner [class*='col-']:first-child {
		display: none;
	}
    .inner [class*='col-'] {
        float: left;
		width:50%;
	}
.banner div {
    width: 90%;
}
}