/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

* {outline: none;}

html,
button,
input,
select,
textarea {
    color: #222;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-size: 1em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

img {
    vertical-align: middle;
    border: none;
}
p {
    margin:0px 0px 15px 0px;
}
a {
    text-decoration: none;
}
ul {
    margin:0px;
    padding:0px;
    list-style: none;
}
.fl {
    float: left;
}
.fr {
    float: right;
}

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

textarea {
    resize: none;
}

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

/* ==========================================================================
HACK per modificare checkbox e radio button
========================================================================== */

.check_modified input[type='radio'], /* Nasconde checkbox e radio button */
.check_modified input[type='checkbox'] {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
}
.check_modified input[type='radio'] + label {
    margin: 0;/* Azzera i margini */
    padding: 2px 0 0px 24px; /* Crea spazio con il padding sinistro per ospitare l'immagine di sfondo */
    cursor: pointer; /* Imposta il cursore */
    background-image: url('../img/check_start.png'); /* Imposta lo sfondo iniziale per checkbox e radio button */
    background-position: left top;
    background-repeat: no-repeat;
    display: block;
}
.check_modified input[type='checkbox'] + label {
    margin: 0;/* Azzera i margini */
    padding: 2px 0 0px 24px; /* Crea spazio con il padding sinistro per ospitare l'immagine di sfondo */
    cursor: pointer; /* Imposta il cursore */
    background-image: url('../img/radio_start.png'); /* Imposta lo sfondo iniziale per checkbox e radio button */
    background-position: left top;
    background-repeat: no-repeat;
    display: block;
}
.check_modified input[type='radio']:hover + label { /*Modifica lo sfondo del radio button quando viene attivato */
    background-image: url('../img/radio_selected.png');
}

.check_modified input[type='checkbox']:hover + label { /*Modifica lo sfondo del checkbox quando viene attivato */
    background-image: url('../img/check_selected.png');
}
.check_modified input[type='radio']:checked + label { /*Modifica lo sfondo del radio button quando viene attivato */
    background-image: url('../img/radio_selected.png');
}

.check_modified input[type='checkbox']:checked + label { /*Modifica lo sfondo del checkbox quando viene attivato */
    background-image: url('../img/check_selected.png');
}

/* ==========================================================================
HACK per display inline-block
   ========================================================================== */
* html .inl-b { display:inline; }  /* hack per IE 6 */
* + html .inl-b { display:inline; }  /* hack per IE 7 */

/* ==========================================================================
Box Cookies Policy Style
   ========================================================================== */
.cc-cookies{position: static;}/* default fixed top lef*/   
.cookiePolicy{}/*in caso di box "cookies" fisso, definire uno spazio dal top*/

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.privacy_txt{max-width: 980px; width: 94%; text-align: justify; line-height: 18px; font-size: 14px; margin: auto; padding: 20px 0;}



body, html { width: 100%; height: 100%; font-family: 'Lato', sans-serif; color: #666; }

header { width:100%; height: 10%; background: #fff; text-align: center; }
header img { display: inline-block; vertical-align: middle; max-height: 95%; }
.pdf { width:100%; height: 90%; }








/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {

}

@media screen and (max-width: 480px) {
    .cc-cookies { position: fixed;}
}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

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

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
HACK per centrare in verticale
   ========================================================================== */
/* The ghost, nudged to maintain perfect centering */
.center1:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

/* The element to be centered, can
   also be of any width and height */ 
.center2 {
  display: inline-block;
  vertical-align: middle;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

    h2,
    h3 {
        page-break-after: avoid;
    }
}