/*! HTML5 Boilerplate v6.1.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;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* >>> index page <<< */

#base {
	position: relative;
}
#naso {
  width: 750px;
  position: absolute;
  z-index: 2;
  left: 0px;
  right: 0px;
  top: 0px;
  margin: 0px auto;
}
.popup {
  display: inline;
  height: 208px;
  float: left;
  z-index: 22 !important;
  position: relative;
  visibility: hidden;
}

/* >>> pag02 <<< */

main {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  text-align: center;
  padding: 0px;
  height: 425px;
  width: 750px;
  margin: auto;
  position: absolute;
  top: 0px;
  left: 0px;
  bottom: 0px;
  right: 0px;
  }
aside {
  float: left;
}
nav {
  font: 13px sans-serif;
  margin: 60px auto 0px;
  width: 90px;
}
body {
  top: auto;
}
ul {
	list-style: none;
	padding-left: 0px;
}
li {
  padding-bottom: 2px;
}
ul li a {
  text-decoration: none;
  color: black;
  padding-left: 2px;
  display: block;
}
li:hover > a {
  background-color: yellow;
}
div a {
  text-decoration: none;
}

.dropDownContent {
  transition: max-height 0.5s ease-out;
  max-height: 0px;
  overflow: hidden;
}
.dropDownContent a {
  display: block;
  color: red;
}
.show {
  transition: max-height 3.25s ease-in;
  max-height: 500px;
}
.showTitle, .dontShowTitle {
  width: 280px;
  height: 38px;
  float: right;
}
.dontShowTitle {
	display: none;
}
.contenuto {
	width: 640px;
	height: 342px;
}
.linkUnderlined {
  text-decoration: underline;
	text-decoration-color: #FF0000;
}
.moveLeftLogo {
	margin-left: -106px;
}
.moveLeftHeader {
	left: -53px;
	position: relative;
}
.moveLeftTitle {
	left: -106px;
	position: relative;
}

#init {
	display: block;
	width: 620px;
	height: 335px;
	overflow-y: hidden;
}
#stoBiografia {
	overflow-y: scroll;
	display: none;
}
#elsalbaneo {
	display: none;
	overflow-y: scroll;
	width: 650px;
	height: 550px;
  padding: 5px;
  top: 145px;
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
}
#stoMarchio {
	overflow-y: scroll;
	display: none;
}
#stoMateria {
	overflow-y: scroll;
	display: none;
}

#galCurriculum {
	overflow-y: scroll;
  display: none;
}
#scelta {
	display: none;
	overflow-y: scroll;
	width: 635px;
	height: 500px;
  padding: 0px;
  top: 120px;
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
}
#pitociu {
	display: none;
	overflow-y: scroll;
	width: 640px;
	height: 500px;
  padding: 5px;
  top: 120px;
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
}
#galCurriculum video {
	height: 520px;
	width: 700px;
}
#galCollaborazioni {
	overflow-y: scroll;
  display: none;
}
#galAutsAider {
	overflow-y: scroll;
  display: none;
}
/*
#autsAider {
	overflow-y: scroll;
	width: 685px;
	height: 500px;
  display: none;
}
*/

#proLampade {
	overflow-y: scroll;
	display: none;
}
#proFood {
	overflow-y: scroll;
	display: none;
}
#proMiks {
	overflow-y: scroll;
	display: none;
}
#proCuchi {
	overflow-y: scroll;
	display: none;
}
#storiaDeiCuchi {
	overflow-y: scroll;
	width: 720px;
	height: 500px;
	top: 120px;
	display: none;
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
}
#proOpitionals {
	overflow-y: scroll;
	display: none;
}
#marina {
	display: none;
	width: 721px;
	height: 343px;
	padding: 0px;
	top: 42px;
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
}

#contNews {
	color: #CDCDCD;
	overflow-y: scroll;
	display: none;
}
#rugiada44 {
	overflow-y: scroll;
	width: 740px;
	height: 721px;
	display: none;
	padding: 0px;
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
}
#rugiada44 img {
	margin-bottom: 5px;
}
#archeocuco {
	overflow-y: scroll;
	width: 740px;
	height: 721px;
	display: none;
	padding: 0px;
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
}
#archeocuco img {
	margin-bottom: 5px;
}
#arcicuco {
	overflow-y: scroll;
	width: 740px;
	height: 721px;
	display: none;
	padding: 0px;
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
}
#arcicuco img {
	margin-bottom: 5px;
}
#nove17 {
	overflow-y: scroll;
	width: 740px;
	height: 650px;
	display: none;
	padding: 0px;
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
}
#nove17 img {
	margin-bottom: 5px;
}
#game1 {
	overflow-y: scroll;
	width: 740px;
	height: 721px;
	display: none;
	padding: 0px;
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
  background-color:#000000
}
#game1 img {
	margin-bottom: 5px;
}
#game2 {
	overflow-y: scroll;
	width: 740px;
	height: 600px;
	display: none;
	padding: 0px;
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
}
#game2 img {
	margin-bottom: 5px;
}
#apostoli {
	overflow-y: scroll;
	width: 740px;
	height: 650px;
	display: none;
	padding: 0px;
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
}
#apostoli img {
	margin-bottom: 5px;
}
#salvador {
	overflow-y: scroll;
	width: 740px;
	height: 650px;
	display: none;
	padding: 0px;
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
}
#salvador img {
	margin-bottom: 5px;
}
#margherita {
	overflow-y: scroll;
	width: 740px;
	height: 650px;
	display: none;
	padding: 0px;
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
}
#margherita img {
	margin-bottom: 5px;
}
#carciofo {
	overflow-y: scroll;
	width: 740px;
	height: 650px;
	display: none;
	padding: 0px;
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
}
#carciofo img {
	margin-bottom: 5px;
}
#coniglio {
	overflow-y: scroll;
	width: 740px;
	height: 650px;
	display: none;
	padding: 0px;
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
}
#coniglio img {
	margin-bottom: 5px;
}
#lampone {
	overflow-y: scroll;
	width: 740px;
	height: 650px;
	display: none;
	padding: 0px;
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
}
#lampone img {
	margin-bottom: 5px;
}
#heureca {
	overflow-y: scroll;
	width: 740px;
	height: 650px;
	display: none;
	padding: 0px;
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
}
#heureca img {
	margin-bottom: 5px;
}
#elena {
	overflow-y: scroll;
	width: 740px;
	height: 650px;
	display: none;
	padding: 0px;
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
}
#elena img {
	margin-bottom: 5px;
}
#franco {
	overflow-y: scroll;
	width: 740px;
	height: 650px;
	display: none;
	padding: 0px;
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
}
#franco img {
	margin-bottom: 5px;
}
#francesca {
	overflow-y: scroll;
	width: 740px;
	height: 650px;
	display: none;
	padding: 0px;
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
}
#francesca img {
	margin-bottom: 5px;
}
/* >->->-    Modifiche a FancyBox    -<-<-< */

/* imposta il colore del background a nero 30%*/
.fancybox-is-open .fancybox-bg {
	background:black !important;
	opacity:.3 !important;
}

/* abbassa la slide sotto l'header*/
.fancybox-slide--image .fancybox-content{
	top: 42px !important;
}
.fancybox-slide--video {
	top: 72px !important;
}

/* Add shadow around image, but hide it while zooming */
.fancybox-image, .fancybox-video {
  box-shadow: rgba(50, 50, 50, 1.0) 10px 10px 20px 5px;
  transition: box-shadow .2s;
}
.fancybox-is-scaling .fancybox-image, .fancybox-is-scaling .fancybox-video {
  box-shadow: none;
}

/*

   Styles for animated modal
   =========================

*/

/* Start state /
.animated-modal {
  max-width: 550px;
  border-radius: 4px;
  overflow: hidden;
  
  transform: translateY(-750px);
  transition: all .7s;
}

.animated-modal #img01 {
  transform: translateY(-600px);
  opacity: 0;
  
  transition-property: transform, opacity;
  transition-duration: .8s;
}
.animated-modal #img02 {
  transform: translateY(-1200px);
  opacity: 0;
  
  transition-property: transform, opacity;
  transition-duration: .8s;
}
.animated-modal #img03 {
  transform: translateY(-1800px);
  opacity: 0;
  
  transition-property: transform, opacity;
  transition-duration: .8s;
}
.animated-modal #img04 {
  transform: translateY(-2400px);
  opacity: 0;
  
  transition-property: transform, opacity;
  transition-duration: .8s;
}

/* Final state /
.fancybox-slide--current .animated-modal,
.fancybox-slide--current .animated-modal img {
  transform: translateY(0);
  opacity: 1;
}

/* Reveal content with different delays /
.fancybox-slide--current .animated-modal #img01 {
  transition-delay: .9s;
}

.fancybox-slide--current .animated-modal #img02 {
  transition-delay: .6s;
}
.fancybox-slide--current .animated-modal #img03 {
  transition-delay: .3s;
}
.fancybox-slide--current .animated-modal #img04 {
  transition-delay: .1s;
}

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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

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

/*
 * 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;
    white-space: inherit;
}

/*
 * 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:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        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 {
        white-space: pre-wrap !important;
    }
    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;
    }

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

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