/*! HTML5 Boilerplate v4.3.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
   ========================================================================== */
@import url("../spriteSite.css");
* {outline: none!important;}

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
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: #E7302A; text-decoration: none!important;}

a:hover,
a:focus,
a:active {color: darken(#E7302A, 10%);}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/* inline reset */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,picture,ruby,section,summary,time,mark,audio,video {border:0; font-size:100%; font:inherit; vertical-align:baseline; margin:0; padding:0;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,picture,section {display:block;}body {line-height:1;}ol,ul {list-style:none;}blockquote,q {quotes:none;}blockquote:before,blockquote:after,q:before,q:after {content:none;}table {border-collapse:collapse; border-spacing:0;}

/* COMMON */
.page-ctr .sprite{background-image: url("../../gfx/spr/spriteSite.png");}
.page-ctr .desktopHide{display: none;}
.page-ctr .mobileOnly{display: none;}
.page-ctr{position: relative; width: 100%;}
.page-ctr .wrapper-cnt,
.seo{position: relative; margin: 0 auto; width: 1130px;}
.respImage{max-width: 100%; display: block; height: auto; width:100%;}
.over-lightbox{display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: url("../../gfx/bkg/ovrlyr-pop.png") 0 0 repeat; z-index: 98;}


/* Page content */
.page-cnt{position: relative; padding: 0 0 35px; background: #fff;}

.page-cnt table {border-collapse: collapse; border-spacing: 0; margin: 0em 0 1em; text-align: left;}
.page-cnt table td,
.page-cnt table th {border: 1px solid #000; padding: 8px}

/* Link back home */
.backHome{display: block; padding: 25px 0 15px; font-size:14px; line-height:1em; font-family:'Gotham 4r','Gotham A','Gotham B','Gotham-Book',Arial,Helvetica,sans-serif; font-weight:400; font-style:normal; font-weight:normal; color: #000; text-decoration: none;}


/*LIGHTBOX*/
.lightbox { position: fixed; left: 0; top: 0; z-index: 9999; display: none;  background: #4c4c4c;}
/*type*/
.lightbox.newsletter-lightbox{width: 722px; height: 408px;}
.lightbox.video-lightbox{width:918px; height:516px}
.lightbox .close-lightbox{position: absolute; top: -40px; right: -40px;}
.lightbox-CTR{display:none}
/*LIGHTBOX END*/

/* Modulo share on socials -begin- */
.shareOn{position: absolute; z-index: 1;}
.shareOn .ico-share{cursor: pointer;}
.shareOn aside{display: none; position: absolute; top: 0; right: 0; padding: 0 10px; width: 120px; height: 36px; background: #000;}
.shareOn aside .close{display: block; position: absolute; top: -10px; right: -8px; background: url("../../gfx/ico/ico-close-shareOn.png") 0 0 no-repeat; width: 23px; height: 24px;}
.shareOn aside p{float: left; font-size: 12px; line-height: 36px; font-family:'Gotham 3r','Gotham A','Gotham B','Gotham-Light',Arial,Helvetica,sans-serif; font-weight:300; font-style:normal; font-weight:normal; color: #fff;}
.shareOn aside ul{float: left; margin: 8px 0 0;}
.shareOn aside ul li{float: left; margin: 0 0 0 6px;}
.shareOn aside ul li img {width: 22px; height: 18px;}

.sprite.ico-share.ico-share-wht {background: transparent url("../../img/ico-share-article-wh.png") no-repeat center center;}
.sprite.ico-share.ico-share-blk {background: transparent url("../../img/ico-share-article-bk.png") no-repeat center center;}

.sprite.ico-share.ico-share-wht,
.sprite.ico-share.ico-share-blk {
    background-size: 44px 44px;
    height: 44px;
    width: 44px;
}

.service-loader {
    background: rgba(0,0,0,0.8) url("../../gfx/loading.gif") no-repeat center center;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
}

.preloader {
    font-family: "Gotham 4r", "Gotham A", "Gotham B", "gotham-book", Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
}

/* Modulo share on socials -end- */



/* NON RESPONSIVE OLDER IE BROWSERS - begin */
/* IE7 only */

/* IE8+ */
@media all\0 {

}

/* ripristino per IE9+ */
@media all and (monochrome:0) {}
/* NON RESPONSIVE OLDER IE BROWSERS - end */


/* SCREEN MEDIA QUERIES FOR RESPONSIVE BROWSERS - begin */

@media only screen and (min-width:1024px) and (max-width:1129px){/* TABLET 1024 Medium screen, non-retina - landscape */
    /* COMMON */
    .page-ctr .wrapper-cnt,
    .seo{width: 998px;}
}


@media only screen and (min-width:768px) and (max-width:1023px) {/* TABLET 768 Medium screen, non-retina - portrait */
    /* COMMON */
    .page-ctr .mobileOnly{display: block;}
    .page-ctr .tabletHide{display: none;}
    .page-ctr .wrapper-cnt,
    .seo{width: 96%;}
}


@media only screen and (max-width:767px) {/* SMARTPHONE 320 Small screen, non-retina, portrait */
    /* COMMON */
    .page-ctr .mobileOnly{display: block;}
    .page-ctr .mobileHide{display: none;}
    .page-ctr .wrapper-cnt,
    .seo{width: 95%;}

    /* Popup newsletter */
    #popNewsletter-ctr{margin: 0 0 0 -140px; width: 280px; height: 380px; overflow: scroll;}
    #popNewsletter-ctr .popNewsletter-cnt h3{padding: 50px 0 20px; font-size: 19px;}
    #popNewsletter-ctr .popNewsletter-cnt input[type="text"]{width: 80%;}
    #popNewsletter-ctr .popNewsletter-cnt .privacy{margin: 10px auto 20px; width: 80%;}
    #popNewsletter-ctr .popNewsletter-cnt .privacy label{width: 88%;}
    /* Iscrizione Newsletter -end- */


}


@media only screen and (min-width:360px) and (max-width:767px) and (orientation: portrait){

}


@media only screen and (max-width:767px) and (orientation:landscape) {/* SMARTPHONE 480 Small screen, non-retina, landscape */
    /* Popup newsletter */
    #popNewsletter-ctr{margin: 0 0 0 -210px; width: 420px;}
}


@media only screen and (min-width:640px) and (max-width:767px) and (orientation:landscape){
    /* COMMON */

}

/* SCREEN MEDIA QUERIES FOR RESPONSIVE BROWSERS - end */











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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

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

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

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

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

.cleared:after {clear:both; visibility:hidden; display:block; content:"."; height:0;}
.cleared {clear:both; height:1%;}

/* ==========================================================================
   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 required HTTP connection: h5bp.com/r
   ========================================================================== */

@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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .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;
    }
}
