/**
 * @license
 * MyFonts Webfont Build ID 3305774, 2016-11-08T09:52:50-0500
 * 
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are 
 * explicitly restricted from using the Licensed Webfonts(s).
 * 
 * You may obtain a valid license at the URLs below.
 * 
 * Webfont: Caslon540BT-Roman by Bitstream
 * URL: http://www.myfonts.com/fonts/bitstream/caslon-540/540/
 * 
 * Webfont: Caslon540BT-Italic by Bitstream
 * URL: http://www.myfonts.com/fonts/bitstream/caslon-540/540-italic/
 * 
 * 
 * License: http://www.myfonts.com/viewlicense?type=web&buildid=3305774
 * Licensed pageviews: 10,000
 * Webfonts copyright: Copyright 1990-2003 Bitstream Inc. All rights reserved.
 * 
 * © 2016 MyFonts Inc
*/


/* @import must be at top of file, otherwise CSS will not work */
@import url("//hello.myfonts.net/count/32712e");
@font-face {font-family: 'Caslon540BT-Roman';src: url('../fonts/32712E_0_0.eot');src: url('../fonts/32712E_0_0.eot?#iefix') format('embedded-opentype'),url('../fonts/32712E_0_0.woff2') format('woff2'),url('../fonts/32712E_0_0.woff') format('woff'),url('../fonts/32712E_0_0.ttf') format('truetype');}
@font-face {font-family: 'Caslon540BT-Italic';src: url('../fonts/32712E_1_0.eot');src: url('../fonts/32712E_1_0.eot?#iefix') format('embedded-opentype'),url('../fonts/32712E_1_0.woff2') format('woff2'),url('../fonts/32712E_1_0.woff') format('woff'),url('../fonts/32712E_1_0.ttf') format('truetype');}

html,
body {font-family:'Caslon540BT-Roman'; color:#fff; min-height:100%; font-size:14px; line-height:18px; -webkit-font-feature-settings: "kern" 1; -webkit-font-smoothing: antialiased; text-rendering:optimizeLegibility; padding:0px; text-align:center; margin:0px auto;}

/* COOKIE */
#cookie {position:absolute; bottom:0px; width:calc(100% - 20px); color:#fff; padding:10px; background:#000; border-top:2px solid #fff; display:block;}
#cookie a {color:#fff; text-decoration:underline;}
#cookie a:hover {color:#fff; text-decoration:none;}
#cookie button {color:#000; padding:5px; background:#fff; border:2px solid #fff; cursor:pointer; transition:all 0.2s ease;}
#cookie button:hover {color:#fff; background:#000; border:2px solid #fff;}

/* GENERICI */
body.bg {background:#fff;}
#bodycontent {position:relative; width:850px !important; min-height:100%; height:auto !important; text-align:center; padding:0px; margin:0px auto; border-left:2px solid #000; border-right:2px solid #000;}
#bodycontenthome {min-width:850px !important; width:70% !important; border-left:2px solid #000; border-right:2px solid #000; position:relative; min-height:100%; height:auto !important; text-align:center; padding:0px; margin:0px auto;}
.table {width:100%; height:100%; margin:0px; display:table;}
.tablecell {height:100%; text-align:center; vertical-align:middle; display:table-cell;}
.fancybox-skin {padding:5px !important; border-color:#000 !important;}
form {margin: 0px;  padding: 0px;}
img { border: none; font:11px;vertical-align:bottom;}
p {margin: 0px;  padding: 0px; margin-bottom: 1em;}
a:link {color: #000; text-decoration: none;}
a:visited {color: #000; text-decoration: none;}
a:hover {color: #000; text-decoration: underline;}
a:active {color: #000; text-decoration: none;}
/*a {outline:none;}*/
.clear {clear: both; height: 0px;}
a.button {padding: 5px 15px; margin: 0px; background: #5ac7ed; color: #fff; font-weight: bold; text-transform: uppercase; display: inline-block;}
a.button:hover {background: #398b5e;}
.red {color: #e2001a;}
#error {color: #e2001a; font-weight:bold;}
.nostyle {list-style:none; padding:0px; margin:0px;}

/* HEADER */
.livello {padding:0px;}
#header {position:relative; text-align:left; border-top:2px solid #000;}
#header.sub {background:#000;}
#header-logo {position:absolute; top:5px; left:-47px;}
#header-logo a {display:block;}
#header.sub .sezioni {text-align:right;}
#header.sub .sezioni a {padding:10px 10px 10px 0px; margin-left:15px; display:inline-block;}
#header.sub .sezioni a:first-child {margin-left:0px;}
#header-menu-top {text-align: left; font-size: 12px; line-height: 12px;}
#header-menu-top ul {list-style:none; width:100%; padding:0px; margin:0px; display:inline-block;}
#header-menu-top ul li {float:left; width:calc(100% / 3); text-align:center; margin:0px;}
#header-menu-top ul li a {font-size:16px; font-weight:700; padding:15px; display:block;}

/* sezioni */
#header ul:not(.submenu):not(.lang) {width:calc(100% + 1px); display:table;}
#header ul:not(.submenu):not(.lang) .sezione {float:left; width:calc(100% / 3 - 1.5px); text-align:center;}
#header ul:not(.submenu):not(.lang) .sezione:first-child {border-left:2px solid #000;}
#header ul:not(.submenu):not(.lang) .sezione:last-child {border-right:2px solid #000;}
#header ul:not(.submenu):not(.lang) .sezione .titolo {width:100%; display:block;}
/*#header ul:not(.submenu):not(.lang) .sezione .titolo a {font-family: 'Caslon540BT-Italic'; font-size:19px; color: #fff; line-height:20px; font-weight: normal; text-decoration: none; padding:15px; background:#000; display:block; transition:all 0.2s ease;}
#header ul:not(.submenu):not(.lang) .sezione .titolo a.attivo,
#header ul:not(.submenu):not(.lang) .sezione .titolo a:hover {color: #000; text-decoration: none; background: #fff;}
#header ul:not(.submenu):not(.lang) .sezione .titolo a.attivo {color: #000; text-decoration: none; background: #fff;}*/
#header ul:not(.submenu):not(.lang) .sezione a {font-family: 'Caslon540BT-Italic'; font-size:19px; color: #fff; line-height:20px; font-weight: 400; padding:15px; background:#000; display:block; transition:all 0.2s ease;}
#header ul:not(.submenu):not(.lang) .sezione a.attivo,
#header ul:not(.submenu):not(.lang) .sezione a:hover {color: #000; text-decoration: none; background: #fff;}
#header ul:not(.submenu):not(.lang) .sezione a.attivo {color: #000; text-decoration: none; background: #fff;}
ul.lang li {text-align:center; display: none;}
/* in homepage */
.sez #header ul:not(.submenu):not(.lang) {width:100%; margin:0px auto !important; display:table;}
.sez #header ul:not(.submenu):not(.lang) .sezione {float:left; width:calc(100% / 3); text-align:center;}
.sez #header ul:not(.submenu):not(.lang) .sezione:first-child {border-left:none;}
.sez #header ul:not(.submenu):not(.lang) .sezione:last-child {border-right:none;}
.sez #header ul:not(.submenu):not(.lang) .sezione:first-child,
.sez #header ul:not(.submenu):not(.lang) .sezione:last-child {width:283px;}
.sez #header ul:not(.submenu):not(.lang) .sezione:nth-child(2) {width:284px;}
/* submenu */
.submenu {position:absolute; top:48px; right:-2px; width:250px; border:2px solid #000; display:none; z-index:10;}
.submenu li {background:#fff;}
.submenu li a {font-family: 'Caslon540BT-Italic'; text-decoration: none; font-size:19px; line-height:20px; color:#000; padding:15px; background:#fff; border-top:1px solid #000; display:block; transition:all 0.2s ease;}
.submenu li a:hover {color:#fff; background:#000; text-decoration:none;}
.submenu li:first-child a {border:none;}
/* menu mobile */
.c-hamburger {position:absolute; top:-2px; right:-67px; width:65px; height:52px; padding:0px; margin:0px 0px 0px auto; font-size:0px; text-indent:-9999px; appearance:none; box-shadow:none; border-radius:none; border:none; cursor:pointer; background:#000; display:block; overflow:hidden;}
.c-hamburger:focus {outline:none;}
.c-hamburger > span {position:absolute; top:25px; left:17px; width:30px; height:2px; background:#fff; display:block;}
.c-hamburger > span::before,
.c-hamburger > span::after {content:""; position:absolute; display:block; left:0px; width:30px; height:2px; background:#fff;}
.c-hamburger > span::before {top:-8px;}
.c-hamburger > span::after {bottom:-8px;}
.c-hamburger--htx > span {transition:background 0s 0.3s;}
.c-hamburger--htx > span::before,
.c-hamburger--htx > span::after {transition-duration:0.3s, 0.3s; transition-delay:0.3s, 0s;}
.c-hamburger--htx > span::before {transition-property:top, transform;}
.c-hamburger--htx > span::after {transition-property:bottom, transform;}
.c-hamburger--htx.is-active > span {background:none;}
.c-hamburger--htx.is-active > span::before {top:0; transform:rotate(45deg);}
.c-hamburger--htx.is-active > span::after {bottom:0; transform:rotate(-45deg);}
.c-hamburger--htx.is-active > span::before,
.c-hamburger--htx.is-active > span::after {transition-delay:0s, 0.3s;}
/* language */
.lang {position:absolute; top:50px; right:-67px; width:65px;}
.lang a {font-size:14px; line-height:18px; color:#000; padding:8px 0px; background:#fff; display:block;}

/* HOMEPAGE */
#corpohome {position:relative; min-height:calc(100vh - 68px); background:none; border-top:2px solid #000;}
#corpohome ul {width:100%; display:table;}
#corpohome ul .sezione {position:relative; float:left; width:calc(33% - 2px); min-height:calc(100vh - 68px); text-align:center; border-right:2px solid #000; transition:all 0.2s ease 0s;}
#corpohome ul .sezione:last-child {border-right:none; width:34%;}
#corpohome ul .sezione:hover {background:rgba(255,255,255,0.7);}
#corpohome ul .sezione a {display:block;}
#corpohome ul .sezione .titolo {position:absolute; top:0px; left:0px; width:100%; font-family: 'Caslon540BT-Italic'; font-size:19px; color: #fff; line-height:20px; font-weight: 400; padding:15px 0px; display:block; background:#000; transition:all 0.2s ease;}
#corpohome ul .sezione:hover .titolo {color:#000; background:#fff !important;}
#corpohome ul .sezione .icona {height:calc(100vh - 68px);}

/* submenu */
#corpohome .submenu {position:absolute; top:48px; right:-2px; width:250px; border:2px solid #000; display:none; z-index:10; text-align: left;}
/* language */
#corpohome .lang {position:absolute; top:50px; right:-65px; width:65px;}
#corpohome .lang a {font-size:14px; line-height:18px; color:#000; padding:8px 0px; background:#fff; display:block;}

/* SEZIONI */
#corpo {position:relative; font-style:normal; color:#000 !important; text-align:left; background:#fff; clear:both;}
#corpo .schede {font-style:normal; padding:30px; border-bottom:2px solid #000;}
#corpo .schede span {font-family:Arial,Helvetica,sans-serif; font-weight:700;}
#corpo .schede a {font-size:14px; line-height:16px; color:#000; text-decoration:underline;}
#corpo .schede a.attivo,
#corpo .schede a:hover {text-decoration:none;}
#corpo .scheda a {color:#000;text-decoration:underline;}
#corpo .schede a:hover {text-decoration:none;}
#corpo .scheda .testi {padding:30px; border-bottom:2px solid #000;}
#corpo .scheda .testi .titolo {font-size:18px; line-height:22px; font-weight:normal; font-style:normal; margin-bottom:5px;}
#corpo .scheda .testi .titolo span {font-family:Arial,Helvetica,sans-serif; font-weight:700;}
#corpo .scheda .testi .testo {}
#corpo .scheda .allegati {border-bottom:2px solid #000;}
#corpo .scheda .immagini img,
#corpo .scheda .immagini .dida {border-bottom:2px solid #000;}
#corpo .scheda .immagini .dida {padding:30px;}
#corpo .scheda .video {height:473px; overflow:hidden;}
#corpo .scheda .allegati,
#corpo .scheda .links {padding:30px;}
#corpo .scheda .allegati a,
#corpo .scheda .links a {color:#000; text-decoration:none;}
#corpo .scheda .allegati a:hover,
#corpo .scheda .links a:hover {text-decoration:underline;}

/* CHI SIAMO */
#corpo.chisiamo .scheda .testi:last-child {border:none;}

/* CONTATTI */
#corpo.contatti .scheda .testi:last-child {border:none; margin-bottom: 0;}
#corpo.contatti .scheda .testi .titcont {margin-bottom: 1em; font-weight: 700; font-family: Helvetica, Arial;}
#corpo.contatti .scheda .testi strong, #corpo.contatti .scheda .testi strong {font-family: Helvetica, Arial;}
#map {border-bottom:2px solid #000;}

/* FOOTER */
#footer {position:relative; width:100%; font-family:"Caslon540BT-Roman"; font-size:11px; color:#fff; line-height:12px; text-align:left; margin:0px; background:#000; border:none; clear:both;}
#footer #footercontent {padding: 10px 10px 20px 10px;}
#footer .testi {float:left; width:50%;}
#footer .testi p {margin-bottom: 0px;}
#footer .testi a {color: #fff;}
#footer .testi a:hover {color: #fff;}
#footer .social {float:left; width:50%; text-align:right;}
#footer .social ul {float:right; display:table;}
#footer .social ul li {float:left; margin-left:10px;}
#footer .social ul li:first-child {margin-left:0px;}