html, body{
height: 100%;
}
body {
font-family: 'Didact Gothic', sans-serif;
font-size: 50%;
margin: 0;
}
span[style*="font-size: 14px"], span[style*="font-size:14px"]{
font-size: 0.9rem !important;
}
span[style*="font-size: 18px"], span[style*="font-size:18px"]{
font-size: 1.13rem !important;
}
span[style*="font-size: 24px"], span[style*="font-size:24px"]{
font-size: 1.5rem !important;
}
span[style*="font-size: 28px"], span[style*="font-size:28px"]{
font-size: 1.7rem !important;
}
span[style*="font-size: 30px"], span[style*="font-size:30px"]{
font-size: 1.9rem !important;
}
span[style*="font-size: 36px"], span[style*="font-size:36px"]{
font-size: 2.25rem !important;
}
span[style*="font-size: 48px"], span[style*="font-size:48px"]{
font-size: 3rem !important;
}
span[style*="font-size: 60px"], span[style*="font-size:60px"]{
font-size: 3.75rem !important;
}
span[style*="font-size: 72px"], span[style*="font-size:72px"]{
font-size: 4.5rem !important;
}
span[style*="font-size: 96px"], span[style*="font-size:96px"]{
font-size: 6rem !important;
}
.topbar{
height: 8vh;
width: 100%;
position: fixed;
background-color: #192630;
top:0px;
padding: 0px 10px;
z-index: 100;
}
.topbar .site-title{
height: 85%; /*modifca vittorio era 100% */
}
.containerbanner{
width: 100%;
margin: auto;
margin-top: 8vh;
height: 80%;
text-align: right;
}
.containerbanner h1{
margin: 0;
color: #fff;
font-size: 5em;
text-shadow: 2px 2px 1px #000;
vertical-align: middle;
padding-top: 10%; /*modifca vittorio era 6%  */
width: 90%;
margin:auto;
font-weight: normal;
line-height: 1em;
word-break: break-word;
}
.container{
width: 100%;
height: 100%;
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: center bottom;
transition: background 0.3s linear;
}
.divider{
text-align: center;
width: 100%;
margin-top: -60px;
}
.clear{
clear: both;
}
.portalmain{
width: 90%;
margin: 5%;
}
/* contenuti invisibili all'avvio' */
.headtitle{
display: none;
}
.content{
display: none;
}
.container{
display: none;
}
/* -- */
.content{
background-color: #fff;
padding: 2% 5%;
}
.content h2{
text-align: center;
color: #2C3755;
font-size: 3em;
font-weight: normal;
margin-bottom: 50px;
}
.content h3{
text-align: center;
color: #2C3755;
font-size: 2.5em;
font-weight: normal;
}
.content h4{
text-align: center;
color: #2C3755;
font-size: 1.5em;
font-weight: normal;
background-image: url(../images/divider.png);
background-repeat: no-repeat;
background-position: bottom center;
padding-bottom: 35px;
}
.content h5{
color: #2C3755;
font-size: 1.2em;
font-weight: normal;
text-align: center;
}
.content p{
color: #2C3755;
column-count: 2;
column-gap: 30px;
-moz-column-count: 2;
-moz-column-gap: 30px;
-webkit-column-count: 2;
-webkit-column-gap: 30px;
}
.content>div{
display: inline-block;
vertical-align: top;
width: 30%;
margin-right: 30px;
text-align: right;
font-size: 1.5em;
color: #CEB2AE;
}
.content aside{
margin-top: 30px;
}
.content aside>form{
display: block;
vertical-align: top;
width: auto;
margin: auto;
border: 1px dashed #CEB2AE;
padding: 20px;
margin-bottom: 50px;
}
.content aside>form:hover{
border: 1px dashed #2C3755;
}
.content aside h5{
margin-top: 0;
font-size: 1.5em;
}
.content input, .content textarea{
width: 95%;
border: 1px solid #ccc;
padding: 10px;
color: #2C3755;
margin-bottom: 15px;
font-family: 'Didact Gothic', sans-serif;
}
.content input[type="submit"]{
width: auto;
float: right;
color: #fff;
font-size: 2em;
text-transform: uppercase;
background-color: #2C3755;
border: none;
cursor: pointer;
margin-bottom: 0;
}
.content textarea{
height: 100px;
}
.content input[type="submit"]:hover{
background-color: #CEB2AE;
color: #fff;
}
.content p{
text-align: center;
font-size: 2em;
color: #2C3755;
display: table;
width: 100%;
word-break: break-word;
}
.content p a{
color: #CEB2AE;
}
.boxes{
text-align: center;
}
.post{
width: 90%;
text-align: center;
position: relative;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
height: 40vh;
margin: auto;
margin-bottom: 4px;
}
.post h2{
position: absolute;
bottom: 0;
width: 100%;
background-image: url(../images/bgb.png);
padding: 5% 0;
text-align: center;
font-size: 1.5em;
color: #fff;    
margin: 0;
}
.open{
height: 100%;
}
p.text{
display: none;
color: #fff;
text-align: justify;
background-image: url(../images/bgb.png);
margin: 0;
padding: 2%;
text-align: center;
font-size: 2em;
}
p.text:after{
content:"";
background-image: url(../images/go.png);
height: 30px;
width: 30px;
display: inline-block;
margin-left: 15px;
margin-bottom: -5px;
}
.open p span{
background-image: url(../images/go.png);
background-repeat: no-repeat;
height: 30px;
padding-right: 35px;
background-position: center right;
}
/* Required */

.hidden{
	opacity: 0;
}

.visible{
	opacity: 1;
}
/* CMS */
.nscmsmenuedit>div:nth-child(2)>div {
height: 50px;
}
.nscmsmenuedit ul {
padding-top: 25px !important;
}
.nscmsmenueditctrl img{
padding-top:15px;
}
.nscmseditelement .nscmstitle, 
.nscmseditelement .nscmstext, 
.nscmseditelement .nscmssubtitle, 
.nscmseditelement .nscmslinkurl, 
.nscmseditelement .nscmslink, 
.nscmseditelement .nscmslist, 
.nscmseditelement .nscmslinkedlist,
.nscmseditelement .nscmsimagedescription,
.nscmseditelement .nscmsvideo input,
.nscmseditelement .nscmslangimagedescription,
.nscmseditelement .nscmslinkedlisturl,
.nscmseditelement .nscmshtml{
width:99%;
background-color:transparent;	
}
.nsportal form label{
vertical-align: top;
width: 20%;
}
.module_portalnews input[name="titolo"]{
margin: 0;
color: #fff;
font-size: 5em;
text-shadow: 2px 2px 1px #000;
vertical-align: middle;
padding-top: 6%;
margin: auto;
font-weight: normal;
background-color: lightblue !important;
font-family: 'Didact Gothic', sans-serif;
}
.module_portalnews input[name="titoloanteprima"]{
background-color: #000 !important;
padding: 5% 0;
text-align: center;
font-size: 1.5em;
color: #fff;
margin: 0;
font-family: 'Didact Gothic', sans-serif;
}
.module_portalnews textarea[name="descrizioneanteprima"]{
background-color: #000 !important;
padding: 5% 0;
font-size: 2em;
color: #fff;
margin: 0;
font-family: 'Didact Gothic', sans-serif;
width: 75%;
text-align: center;
}
.nsportalpath span{
height: 20px;
line-height: 20px;
vertical-align: middle;
}
.nsportalpath a{
color: #CEB2AE;
line-height: 20px;
display: inline-block;
vertical-align: middle;
}
.nsportalpath a img{
height: 20px;
line-height: 20px;
vertical-align: middle;
}
.nsportalpath a:hover{
color: #079895;
}
.module_portalnews>a:first-of-type{
display: none;
}
.nsportalnew, .nsportalback{
font-size: 1em;
text-decoration: none;
font-style: italic;
padding-left: 60px;
color: #2C3755;
background-size: 50px;
background-repeat: no-repeat;
float: none;
margin-bottom: 50px;
}
.module_portalnews nav[rel="pagination"]{
margin-top: 50px;
}
/* cookies */
.direttiva2009_136_CE{
background-image: url(../images/bgb.png);
background-color: #079895;	
border-top:2px solid #fff;
}
.direttiva2009_136_CE{
width:100%;	
line-height:40px;
text-align:center;
}
.direttiva2009_136_CE span{
width:80%;
color: #fff;	
}
.direttiva2009_136_CE input[type=button] {
width:80px;
background-color:#000;	
color:#fff;
height:25px;
cursor:pointer;
border:1px solid #fff;
}
.direttiva2009_136_CE a {
text-decoration: none;
color: #000;
}
.direttiva2009_136_CE a:hover {
text-decoration: none;
color: #fff;
}
.direttiva2009_136_CE #nscmsboxclosesimple{
width:80px;
background-color:#000;	
color:#fff;
height:25px;
line-height:25px;
cursor:pointer;
border:1px solid #fff;
margin-top:5px;	
text-align:left;
background-size: 20%;
padding-left: 5px;
background-image: url(../images/close.png);
background-position: center right 5px;
}
#nscmsboxboxsimple{
background-color: #079895;
}

/* FROALA */

.nsportal .fr-wrapper div{
background-color: transparent !important;
padding: 0 !important;
line-height: normal !important;
}
.nsportal form .fr-toolbar>div{
padding: 0;
}

/* oltre 980 */
@media only screen and (min-width: 981px){
    body{
    font-size:80%;
    }
    .container h1{
    margin: 0 auto;
    width: 50%;
    }
    #head2, #head4{
    margin-left:40%;
    }
    .content article{
    display: inline-block;
    vertical-align: top;
    width: 63%;
    margin-right: 5%;
    }
    .content aside{
    width: 28%;
    display: inline-block;
    vertical-align: top;
    margin: 0;
    margin-left: 4%;
    }
    .content p{
    font-size: 2em;
    }
    .content input[type="submit"]{
    font-size: 1em;
    }
    .post{
    width: 33%;
    height: 50vh;
    display: inline-block;
    vertical-align: top;
    }
}
 
/* oltre 1024*/
@media only screen and (min-width: 1025px){
  .classe{
  stili destinati solo a questa risoluzione o superiori...
  }
}
/* oltre 1400*/
@media only screen and (min-width: 1401px){
    body{
    font-size:100%;
    }
    .post{
    height:40vh;
    }
}
/* IPAD */
@media only screen and (max-device-width: 1024px) and (min-device-width: 768px){
  body{
  font-size:70%;
  }
}
@media only screen and (max-device-width: 1024px) and (min-device-width: 768px) and (orientation: landscape){
  body{
  font-size:70%;
  }
  .content>form{
  width:80%;
  }
}