/*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
	vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

a {
	color: #666666;
	text-decoration: none;
}
a:hover {
	color: #000000;
}
a:focus {
	outline: none;
	color: #000000;
}
/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
header {
	top: auto;
	border-bottom: 1px solid #000000;
	margin-left: auto;
	margin-right: auto;
	max-width: 1040px;
}
.logo {
	margin-top: 30px;
	margin-right: auto;
	margin-bottom: 30px;
	margin-left: auto;
	max-width: 100%;
	text-align: center;
}

#wrapper {
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 0;
	padding-top: 10px;
	padding-bottom: 10px;
	max-width: 1040px;
}

body {
	background-color: #f1f1f1;
	margin-top: 0px;
	margin-right: 0px;
	margin-left: 0px;
	margin-bottom: 0px;
}
footer {
	border-top: 1px solid #000000;
	margin-top: 20px;
	max-width: 1040px;
	margin-right: auto;
	margin-left: auto;
}
.indirizzo {
	color: #000000;
	font-family: 'Roboto',"Century Gothic", "Trebuchet MS", Arial, sans-serif;
	font-size: 13px;
	font-weight: lighter;
	width: 50%;
	float: left;
	clear: left;
	margin-left: 0px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.crediti {
	color: #000000;
	font-family: 'Roboto', "Century Gothic", "Trebuchet MS", Arial, sans-serif;
	font-size: 12px;
	font-weight: lighter;
	width: 50%;
	float: left;
	clear: none;
	margin-top: 10px;
	text-align: right;
	margin-bottom: 0px;
}
.titolo  {
	color: #000000;
	font-family:  Times,"Times New Roman", "Times Roman", Verdana, sans-serif, serif;
	font-size: 30px;
	font-weight: lighter;
}
.nomi  {
	color: #000000;
	font-family:  Times,"Times New Roman", "Times Roman", Verdana, sans-serif, serif;
	font-size: 30px;
	font-weight: lighter;
	margin-left: 35px;
}
.titolo_int  {
	color: #000000;
	font-family: Times,"Times New Roman", "Times Roman", Verdana, sans-serif, serif;
	font-size: 30px;
	font-weight: lighter;
	text-align: left;
	padding-left: 40px;
}

.fluid_container {
	/*margin-top: 20px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 20px;
	max-width: 1000px;*/
	width: 100%;
	margin-top: 20px;
	max-width: 1040px;
	margin-left: auto;
	margin-right: auto;
		}
.img_header {
	/*margin-top: 20px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 20px;
	max-width: 1000px;*/
	width: 100%;
	margin-top: 20px;
	max-width: 1040px;
	margin-left: auto;
	margin-right: auto;
		}
		
		.clear {
	height:0;
	clear:both;
	font-size:0;
}

h3 {
	font-family: 'Roboto',"Century Gothic", "Trebuchet MS", Arial, sans-serif;
	color: #000000;
	font-size: 18px;
	font-weight: lighter;
}

/* ==========================================================================
  menu
   ========================================================================== */
#nav-aux {
	height: 30px;
}
.no-rgba #nav-aux {background: #003980;}
/* Pulsanti per il toggle di navigazione e ricerca */
#toggle-navigazione {
	position: absolute;
	top: 80px;
	left: 2%;
	display: block;
	padding: 5px 5px 5px 30px;
	width: 80px;
	border-radius: 0px;
	background-color: #666666;
	color: #fff;
	font-weight: lighter;
	background-repeat: no-repeat;
	background-position: 5px center;
	background-image: url(../images/nav-ico.png);
}


#toggle-navigazione:hover {
	color: #000000;
	border-bottom-width: medium;
}
#toggle-navigazione:visited {
	color: #ffffff;
	border-bottom-width: medium;
}
/* Navigazione principale */
nav {
	position: absolute;
	top: 140px;
	left: 2%;
	z-index: 1000;
	display: none;
	width: 100%;
}
#main-nav {
	margin-left: 0;
	padding: 10px 0 18px 10px;
	border-radius: 0 0 5px 5px;
	list-style: none;
	font-family: Times, "Times New Roman", "Times Roman", Verdana, sans-serif, serif;
	font-size: 0.5em;
	text-transform: uppercase;
}
#main-nav li {
 display: list-item;
 padding-right: 15px;
}
#main-nav li a {
	display: block;
	padding: 5px 0;
	color: #666666;
	font-weight: lighter;
}
#main-nav li a:hover {
	color: #000000;
}












/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

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

.clearfix:after {
    clear: both;
}
.dati_footer {
	width: 100%;
	max-width: 1040px;
}
.txt_home   {
	color: #666666;
	font-family: 'Roboto',"Century Gothic", "Trebuchet MS", Arial, sans-serif;
	font-weight: 100;
	font-size: 15px;
	line-height: 22px;
	text-align: justify;
	padding-left: 40px;
	padding-right: 40px;
}
.testo   {
	color: #666666;
	font-family: 'Roboto',"Century Gothic", "Trebuchet MS", Arial, sans-serif;
	font-weight: lighter;
	font-size: 15px;
	line-height: 22px;
	text-align: justify;
	padding-left: 40px;
	padding-right: 40px;
	border-bottom-width: medium;
}
.testo_norm   {
	color: #666666;
	font-family: 'Roboto',"Century Gothic", "Trebuchet MS", Arial, sans-serif;
	font-weight: lighter;
	font-size: 12px;
	line-height: 22px;
	text-align: justify;
	padding-left: 40px;
	padding-right: 40px;
	border-bottom-width: medium;
}
.testo_norm p   {
	line-height: 22px;
	border-bottom-width: medium;
	margin-top: 0px;
	margin-bottom: 0px;
}
.linea {
	height: 3px;
	border-bottom: 1px dashed #000000;
	font-size: medium;
}
.spazio {
	height: 3px;
}
.google_map {
	margin-left: 25px;
	margin-bottom: 25px;
	width: 90%;
	height: 500px;
	margin-top: 25px;
}

.img_profes {
	margin-left: 25px;
	max-width: 100%;
	margin-top: 25px;
	margin-bottom: 25px;
}
/* ==========================================================================
   form
   ========================================================================== */

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding-top: 0px;	/*padding-left: 0px;
	padding-bottom: 0px;
	margin-left: 0px;*/
}

/*body {
  padding: 20px 15%;
}*/
form header {
  margin: 0 0 20px 0; 
}
form header div {
  font-size: 90%;
  color: #999;
}
form header h2 {
  margin: 0 0 5px 0;
}
form > div {
	clear: both;
	overflow: hidden;
	padding: 1px;
	margin: 0 0 10px 0;
	width: auto;
}
form > div > fieldset > div > div {
  margin: 0 0 5px 0;
}
form > div > label,
legend {
	width: 25%;
	float: left;
	padding-right: 10px;
	font-family: 'Roboto',"Century Gothic", "Trebuchet MS", Arial, sans-serif;
	color: #666666;
	font-weight: lighter;
}
form > div > div,
form > div > fieldset > div {
  width: 75%;
  float: right;
}
form > div > fieldset label {
	font-size: 90%;
}
fieldset {
	border: 0;
  padding: 0;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
textarea {
	width: 100%;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
input[type=text],
input[type=email],
input[type=url],
input[type=password] {
  width: 50%;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
textarea:focus {
  outline: 0;
  border-color: #4697e4;
}
.testo_form {
	color: #666666;
	font-family: 'Roboto',"Century Gothic", "Trebuchet MS", Arial, sans-serif;
}
.dati_form {
	margin-left: 25px;
	margin-bottom: 25px;
	margin-top: 25px;
}
.bottone {
	font-family: 'Roboto',"Century Gothic", "Trebuchet MS", Arial, sans-serif;
	color: #666666;
	padding-top: 4px;
	padding-bottom: 4px;
	font-weight: lighter;
}


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

/*@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition 
}*/

 /*@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    Style adjustments for high resolution devices 
}*/
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

/*@media print {


    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
       /* box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }*/

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

/*    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }*/

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

   /* thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
	max-width: 100% !important;
    }

    p,
    h2,
    h3 {
	orphans: 3;
	widows: 3;
	
    }


    h2,
    h3 {
	page-break-after: avoid;
	
    }
}}*/
 ul {
	margin-left: -10px;
}
.art{
	display: block;
	font-size: 13px;
}article {
	border-bottom: 1px dashed #000000;
	margin-bottom: 15px;
}
.freccia {
	width: 100%;
	height: 20px;
	text-align: right;
	vertical-align: text-top;
	margin-bottom: 5px;
}
.stampa_art {
	width: 100%;
	height: 22px;
	margin-bottom: 5px;
	border-bottom: 1px solid #666666;
	margin-top: 0px;
	text-align: right;
	background-color: #f1f1f1;
}


.link {
	
	
}
.busta {
	vertical-align: text-top;
}

/*---------------------------
pop up
---------------------------*/

.hide{ display: none;}
.close-overlay{ position: absolute; right: 1%; top: 1%; font-size: 30px; cursor: pointer;}
.trg-overlay{
	background-color: #FFFFFF;
	position: absolute;
	z-index: 600;
	padding: 15px;
	overflow: hidden;
	top: 50%;
	color: #666666;
	font-size: 13px;
	line-height: 18px;
	font-family: 'Roboto',"Century Gothic", "Trebuchet MS", Arial, sans-serif;
	font-weight: lighter;
}

.small{
	width: 40%;
	top: 0px;
}
.standard{
	width: 60%;
	top: 50%;
}
.big{
	width: 70%;
	z-index: auto;
}
.overlay{
	display: none;
	background: #000;
	left: 0px;
	right: 0px;
	z-index: 100;
	cursor: pointer;
	width: 100%;
	height: 100%;
	top: 0px;
	bottom: 0px;
	position: fixed;
	max-width: 100%;
	max-height: 100%;
}
.trg-modal-header{ border-bottom: 1px solid #d2d2d2; padding: 0px; margin: 15px 0px;}
.pdf {
	margin-right: 10px;
	margin-bottom: 30px;
	float: left;
}
.pdf2 {
	margin-right: 10px;
	margin-bottom: 70px;
	float: left;
}
.back {
	height: 20px;
	margin-top: 15px;
	margin-bottom: 15px;
	color: #000000;
	font-family: 'Roboto',"Century Gothic", "Trebuchet MS", Arial, sans-serif;
	font-weight: lighter;
	border-bottom: 1px solid #000000;
	padding-left: 25px;
	text-transform: uppercase;
	font-size: 14px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	background-color: #F1F1F1;
}
.back a {
	margin-bottom: 12px;
	color: #000000;
	text-decoration: none;
}
.back a:hover  {
	margin-bottom: 12px;
	color: #666666;
	text-decoration: none;
}
.grassetto {
	font-weight: bolder;
}

/*barra cookie*/

#cookieChoiceInfo {           /* Imposto le proprietà del banner/dialog box e caratteri del messaggio */
	background-color: #FFFFFF;     /* Lo fondo è di colore nero (#000) */
	font-size: 14px;            /* i caratteri devono essere grandi 16 pixel */
	color: #000000;                /* il colore dei caratteri è grigio chiaro (#DDD) */
	padding-top: 30px;
	padding-bottom: 30px;                /* questa proprietà modifica la trasparenza del banner/dialogbox */
	font-family: Times,"Times New Roman", "Times Roman", Verdana, sans-serif, serif;
	;
	;
	text-align: center;
s; 																line-height: 18px;
	padding-right: 20px;
}
#cookieInfoLink {
	background-color: #cccccc;     /* lo sfondo è verde (#0A0) */
	color: #F50004;                /* Il colore del testo è bianco (#FFF) */
	text-decoration: none;
	border-radius: 3px;
}
#cookieInfoLink:hover {       /* la parola hover, vicino al selettore, indica che le proprietà seguenti verranno applicate... */
	/* ... al link che conduce alla cookie policy solo quando il mouse ci passa sopra  */
	color: #000000;                /* il testo del link in questo caso diventa di un rosso più chiaro al passaggio del mouse...  */
	test-decoration: none;       /*   .... e allo stesso tempo il testo non sarà più sottolineato            */
}
#cookieChoiceDismiss {        /* Impostiamo per il link "accetto/ok/chiudi" le proprietà per renderlo... */
	/* ...visivamente come un pulsante */
	background-color: #cccccc;     /* lo sfondo è verde (#0A0) */
	color: #FFF;                /* Il colore del testo è bianco (#FFF) */
	text-decoration: none;      /* Il testo non è sottolineato         */
	font-weight: 600;           /* Il testo è in grassetto             */
	font-size: 16px;
	padding: 3px 10px;          /* Imposto lo spazio tra i caratteri e il bordo del pulsante 2pixel sopra e sotto e 10px ai lati */
	border-radius: 3px;        /* Lo sfondo del pulsante ha i bordi arrotondati con un raggio di 3 pixel */
}
#cookieChoiceDismiss:hover {  /* Passando il mouse sopra il pulsante, questo cambia colore in verde chiaro. */
	background-color: #000000;
	color: #ffffff;
}

#cookieInfoLink {
	background-color: #cccccc;     /* lo sfondo è verde (#0A0) */
	color: #F50004;                /* Il colore del testo è bianco (#FFF) */
	text-decoration: none;
	border-radius: 3px;
}
#cookieInfoLink:hover {       /* la parola hover, vicino al selettore, indica che le proprietà seguenti verranno applicate... */
	/* ... al link che conduce alla cookie policy solo quando il mouse ci passa sopra  */
	color: #000000;                /* il testo del link in questo caso diventa di un rosso più chiaro al passaggio del mouse...  */
	test-decoration: none;       /*   .... e allo stesso tempo il testo non sarà più sottolineato            */
}
.note {
    width: 100%;
    float: left;
    font-size: 11px;
    text-align: justify;
    color: #848484;
    padding-top: 10px;
    padding-bottom: 15px;
}
