/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * 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;
}

.scale { width: 100% !important; height: auto !important; }
/*
 * 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;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
@import url(http://fonts.googleapis.com/css?family=Noto+Serif:400,400italic,700,700italic);

body {font-family: 'Noto Serif', serif;font-size:12pxm;line-height:normal;color:#666;}
a, a:link, a:visited, a:active, a:hover {
	color:#666;
	text-decoration:none;
	outline:none;
	border:none;
	-webkit-transition:	all 0.3s ease-in-out;
	-moz-transition:	all 0.3s ease-in-out;
	-o-transition:		all 0.3s ease-in-out;
	-ms-transition:		all 0.3s ease-in-out;
	transition:			all 0.3s ease-in-out;
}
a:hover {color:#666;text-decoration:underline;}

/*loading*/
#preloader {
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index:99999999999;
	background: -webkit-linear-gradient(90deg, #EEE 10%, #FFF 90%);
	background:    -moz-linear-gradient(90deg, #EEE 10%, #FFF 90%);
	background:     -ms-linear-gradient(90deg, #EEE 10%, #FFF 90%); 
	background:      -o-linear-gradient(90deg, #EEE 10%, #FFF 90%);
	background:         linear-gradient(90deg, #EEE 10%, #FFF 90%); 
}
#status {width:200px;height:150px;position:absolute;left:50%;top:50%;margin:-75px 0 0 -100px;z-index:999999999999;text-align:center;color:#999; text-align:center;}
#status img {margin:0px auto 10px auto;display:block;}
#status span {font-size:12px;text-transform:uppercase;display:block;}

/*struttura*/
body {background:#f5f5f5;}
#mainContainer {width:100%;max-width:2100px;margin:0px auto;background:#FFF;padding:0px;}
#headWrapper {height:150px; overflow:hidden;padding:40px;background:#FFF; text-align:center;}
#headWrapper img {max-width:150px;width:100%;margin:0px auto;}
#container {background:#f1f1f1;overflow:hidden;}

.cycle-slideshow {width:100%; overflow:hidden;}
.cycle-slideshow .containerSlider {width:100%;height:100%;position:relative;max-width: 1300px;}

#footWrapper {background:#FFF;padding:20px;text-align:center;height:40px;overflow:hidden;}
#footWrapper p {margin:0px;padding:0px;clear:both;font-size:16px;line-height:22px;}
#footWrapper p strong {color:#c9b238;}

/*privacy*/
.privacyWrap {width:100%;max-width:1140px;padding:3% 0px 0px 0px;margin:0px auto;font-size:12px;}
.privacyWrap h1 {clear:both;margin:0px 0px 20px 0px;color:#333;}
.privacyWrap p {font-size:16px;line-height:22px;}
.privacyWrap ul {margin:20px 0px 20px 20px;}
.privacyWrap ul li {color:#666;font-size:16px;line-height:22px;line-height:22px;}

/*cookie*/
.cc-cookies {position:fixed;width:100%;left:0;top:0;padding:0.5em 5%;background:#000;background:rgba(0,0,0,0.8);color:#fff;font-size:12px;z-index:99999;text-align:center;color:#fff;font-weight:normal;}
.cc-cookies a, .cc-cookies a:hover {color:#fff;text-decoration:underline;}
.cc-cookies a:hover {text-decoration:none;}
.cc-overlay {height:100%;padding-top:25%;}
.cc-cookies-error {float:left;width:90%;text-align:center;margin: 1em 0 2em 0;background: #fff;padding: 2em 5%;border: 1px solid #ccc;font-size:16px;color:#333;}
.cc-cookies a.cc-cookie-accept, .cc-cookies-error a.cc-cookie-accept, .cc-cookies a.cc-cookie-decline, .cc-cookies-error a.cc-cookie-decline, .cc-cookies a.cc-cookie-reset { 
	display:inline-block;
	color:#fff;
	text-decoration:none;
	background: #7DAF3B;
	padding: 0.5em 0.75em;
	-o-transition: background 0.5s ease-in;
	-webkit-transition: background 0.25s ease-in;
	-moz-transition: background 0.25s ease-in;
	margin:0px 20px;
}
.cc-cookies a.cc-cookie-decline, .cc-cookies-error a.cc-cookie-decline {background:#af3b3b;margin-left:0.5em;}
.cc-cookies a.cc-cookie-reset {background:#f15b00;}
.cc-cookies a:hover.cc-cookie-accept, .cc-cookies-error a:hover.cc-cookie-accept, .cc-cookies a:hover.cc-cookie-decline, .cc-cookies-error a:hover.cc-cookie-decline, .cc-cookies a:hover.cc-cookie-reset  {
	background:#699133;
	-o-transition:background 0.5s ease-in;
	-webkit-transition: background 0.25s ease-in;
	-moz-transition: background 0.25s ease-in;
}
.cc-cookies-error a.cc-cookie-accept, .cc-cookies-error a.cc-cookie-decline {display:block;margin-top:1em;}
.cc-cookies.cc-discreet {width:auto;padding:0.5em 1em;left:auto;top:auto;}
.cc-cookies.cc-discreet a.cc-cookie-reset {background:none;text-shadow:none;padding:0;text-decoration:underline;}
.cc-cookies.cc-discreet a:hover.cc-cookie-reset {text-decoration:none;}
@media screen and (max-width: 768px) {
	.cc-cookies a.cc-cookie-accept, .cc-cookies a.cc-cookie-decline, .cc-cookies a.cc-cookie-reset {display:block;margin:1em 0;}
}
@media screen and (max-width: 480px) {
	.cc-cookies {position:relative;float:left;}
}






/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * 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;
}

/* ==========================================================================
   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,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (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;
    }
}
