/*! 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
   ========================================================================== */

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

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

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

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

















/* ==========================================================================
   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;
}


#loghi-banche{ list-style: none; margin: 0; padding: 0; margin-bottom: 30px; overflow: auto;}
#loghi-banche li{float: left; width: 193px; position: relative; float: left; height: 108px; overflow: hidden;}
#loghi-banche li:nth-child(odd){background-color: #f0f2f5;}
#loghi-banche li:nth-child(even){background-color: #f8f9fb;}
#loghi-banche li img{width: 100%;}

#loghi-banche1{ list-style: none; margin: 0; padding: 0; margin-bottom: 30px; overflow: auto;}
#loghi-banche1 li{float: left; width: 193px; position: relative; float: left; height: 108px; overflow: hidden;}
#loghi-banche1 li:nth-child(odd){background-color: #f0f2f5;}
#loghi-banche1 li:nth-child(even){background-color: #f8f9fb;}
#loghi-banche1 li img{width: 100%;}
/* ==========================================================================
   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;
    }
}

body{
	font-family: 'Raleway', sans-serif;
	font-weight: 500;
	color: #424143;
	background-color: #d7e1ed;
}
a{text-decoration: none;color: #E97C3D;}
a:hover{text-decoration: underline;color: #E97C3D;}
#container{
	width: 960px;
	position: relative;
	margin: 0 auto;
	
}






#wrapper-internal-header{
	background: transparent url('img/bg-header-home.svg') 0 -95px repeat-x;
	height: 150px;
	z-index: 3;
	position: relative;
	min-width: 960px;
}

#internal-header{
	width: 940px;
	margin: 0 auto;
	position: relative; 
/*	overflow: auto;*/
	padding-top: 29px;
  }
  

#internal-header .logo{ display: block; background: transparent url('img/logo-fondazione.svg') left center no-repeat;
	width: 190px; height: 57px;
	position: relative; margin: 13px 0 0 65px;
	background-size: contain;
	
	
}

#internal-header .logo-fondazione{ display: block; background: transparent url('img/logo-fondazione.svg') left center no-repeat;
	width: 69px; height: 70px;
	position: absolute;
	top:43px;
	left: 0;
}
#internal-header .serviceLink{
	position: absolute;
	right: 65px;
	top: 20px;
	width: 800px;
	text-align: right;
}
#internal-header .serviceLink ul{ list-style: none; padding: 0; margin: 0; }
#internal-header .serviceLink ul li{float: right; position: relative;
display: inline-block; padding-left: 10px;

}
#internal-header .serviceLink ul li a{color: #255882; text-transform: uppercase; font-size: 11px;font-weight: 600;}

#internal-slider-container{position: relative;z-index: 1; min-width: 960px; }

#internal-header #main-menu{ 
	list-style: none;
	background:none;
	padding-top: 32px;
	padding-left: 0;
	position: absolute;
	top: 0px;
	left: 360px;
	width: 600px;
	
	
	}


#internal-header #main-menu li a{ 
	display: block;
	
	width: 63px;
	height: 13px;
	padding-top: 55px;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	color: #255882;
	text-decoration: none;
	background-size: 50px 50px;
	letter-spacing: -0.7px;
	overflow: hidden;
	margin-right: 87px;
}
#internal-header #main-menu li.last a{ margin-right: 0;}


#internal-slider-container{position: relative;z-index: 1; min-width: 960px; }


.text-container-stampa{float: right; width: 475px;}

#internal-slider {width: 100%; text-align: center;
height: 362px;position: relative;margin-top: -13px;
overflow: hidden;
	
}
#internal-slider img{
	position: absolute;
	top:50%;
	left: 50%;
	display: none;
}

#spalla-dx .content{padding: 40px 30px; font-size: 15px;background-color: white;}
#spalla-dx .content h1{	color:424143;font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; font-style: italic; border-bottom: 1px solid #58585A; padding-bottom: 30px; margin-bottom: 30px;}
#spalla-dx .content h2{	color:424143;font-family: 'Raleway', serif; font-size: 24px;  padding-bottom: 0px; margin-bottom: 10px;}
#spalla-dx .content h3{	color:424143;font-family: 'Raleway', serif; font-size: 18px; padding-bottom: 0px; margin-bottom: 10px;}
#spalla-dx .content p{	text-align: justify;}


.rancione .menu-second-level-box{
background: #F1B398; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxJSIgc3RvcC1jb2xvcj0iI2U1ZTVlNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijk1JSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top,  #F1B398 1%, #ffffff 95%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#F1B398), color-stop(95%,#ffffff)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #F1B398 1%,#ffffff 95%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #F1B398 1%,#ffffff 95%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #F1B398 1%,#ffffff 95%); /* IE10+ */
background: linear-gradient(to bottom,  #F1B398 1%,#ffffff 95%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F1B398', endColorstr='#ffffff',GradientType=0 ); /* IE6-8 */

 margin: 0; padding: 0px 0 200px 0;}
 
 .menu-second-level-box{
background: #e5e5e5; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxJSIgc3RvcC1jb2xvcj0iI2U1ZTVlNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijk1JSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
background: -moz-linear-gradient(top,  #bdcdda 1%, #ffffff 95%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#bdcdda), color-stop(95%,#ffffff)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #bdcdda 1%,#ffffff 95%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #bdcdda 1%,#ffffff 95%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #bdcdda 1%,#ffffff 95%); /* IE10+ */
background: linear-gradient(to bottom,  #bdcdda 1%,#ffffff 95%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bdcdda', endColorstr='#ffffff',GradientType=0 ); /* IE6-8 */

 margin: 0; padding: 0px 0 200px 0;}
#second-level-menu{list-style: none;margin: 0; padding: 0;}
#second-level-menu li a{display: block; padding: 20px 0px 20px 80px; color: #424143; font-size: 15px; font-weight: 500;text-transform: uppercase;}
#second-level-menu li a:hover,#second-level-menu li.active a{background-color: white; }

#bg-preview{display: none; position: absolute; width: 960px; height: 1982px; position: absolute; left: 50%;
	margin-left: -480px; z-index: 999999; opacity: 0.5;
}

/* HOME */


#wrapper-home-header{
	background: transparent url('img/bg-header-home.svg') top center repeat-x;
	height: 160px;
	z-index: 3;
	position: relative;
	min-width: 960px;
}

#home-header{
	width: 800px;
	margin: 0 auto;
	position: relative; 
/*	overflow: auto;*/
	padding-top: 10px;
	height: 150px;
  }
  
#home-header .logo{ 
display: block; 
background: transparent url('img/logo-fondazione.svg') center center no-repeat;
	width: 229px; 
	height: 69px;
	position: absolute;
	left: 0;
	top: 66px; 
	z-index: 999;
}

#home-header .logo-fondazione{ display: block; background: transparent url('img/logo-fondazione.svg') center center no-repeat;
	width: 169px; height: 70px;
	position: absolute;
	top:35px;
	left:265px;
	z-index: 999;
}

#home-header .serviceLink{
	position: absolute;
	right: 0;
	top: 11px;
	width: 600px;
	text-align: right;
	z-index: 999;
}
#home-header .serviceLink ul{ list-style: none;}
#home-header .serviceLink ul li{ float: right;position: relative; }
#home-header .serviceLink ul li a{color: #255882; text-transform: uppercase; font-size: 10px;font-weight: 600; margin-left: 16px;}

#home-slider-container{position: relative;z-index: 1; min-width: 960px; }




#home-slider {width: 100%; text-align: center;
height: 413px;position: relative;margin-top: -13px;
overflow: hidden;
	
}
#home-slider img{
	position: absolute;
	top:50%;
	left: 50%;
}

#home-slider-container #text-container span{display: block; width: 100%; text-align: center; position: absolute;top: 0;}
#home-slider-container #text-container span a{text-decoration: none; color: white;}

#home-slider-container #text-container{
	width: 960px;
	left: 50%;
	margin-left: -480px;
	font-weight: 900;
	color: white;
	top: 50%;
	margin-top: -34px;
	font-size: 56px;
	position: absolute;
	text-align: center;

	-webkit-text-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
	-moz-text-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
	text-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
	z-index: 99;
}
#slide-control{width: 960px; position: absolute; left: 50%; margin-left: -480px; top:50%; z-index: 999;}
#slide-control .prev{ display: block; position: absolute; left: 0px; top: 50%; margin-top: -40px; width: 72px; height: 108px;
	background: transparent url('img/slide-arrow.svg') center left;
}
#slide-control .next{ display: block; position: absolute; right: 0px; top: 50%; margin-top: -40px; width: 72px; height: 108px;
	background: transparent url('img/slide-arrow.svg') center right;
}


#info-container .info{display: block; position: absolute; top: 50%; left: 50%;
	width: 45px;
	height: 45px;
	margin-top: 43px;
	margin-left: -22px;
	background: transparent url('img/info-slide.svg') center center;
}


#extra-content-container{
	width:472px;
	height:326px;
	position: absolute;
	bottom: 0;
	left: 50%;
	margin-left: -236px;
	background: transparent url('img/slide-background-round.svg') center center;
	text-align: center;
	font-family: 'Playfair Display', serif;
	font-size: 18px;

}
#extra-content-container .text{
	position: absolute;
	top: 153px;
	width: 442px;
	left: 0;
	padding: 20px 20px; 
}

#extra-content-container .close{
display: block; position: absolute; top: 50%; left: 50%;
	width: 335px;
	height: 39px;
	margin-left: -167px;
	margin-top: -44px;
	background: transparent url('img/close-slide.svg') center center;
}
#main-menu{ 
	list-style: none;
	padding-top: 0px;
	padding-left: 0;
	position: absolute;
	top: 50px;
	right: 0;
	padding-left: 0px;
	padding-right: 0px;
	
	}
#main-menu li { position: relative;
	float: left;}

#main-menu li a{ 
	display: block;
	margin-right: 60px;
	margin-left: 0;
	width: 57px;
	height: 20px;
	padding-top: 58px;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 600;
	text-align: center;
	color: #255882;
	text-decoration: none;
	background-size: 55px 55px;
}
#main-menu li.last a{ margin-right: 0; }
#main-menu li a.chi-siamo {background: transparent url(img/bw/chi-siamo-icon-bn.svg) top center no-repeat;}
#main-menu li a.per-le-scuole {background: transparent url(img/bw/scuole-icon-bn.svg) top center no-repeat;}
#main-menu li a.per-le-famiglie {background: transparent url(img/bw/famiglie-icon-bn.svg) top center no-repeat;}
#main-menu li a.per-le-imprese {background: transparent url(img/bw/imprese-icon-bn.svg) top center no-repeat;}
#main-menu li a.eventi {background: transparent url(img/bw/eventi-icon-bn.svg) top center no-repeat;}
#main-menu li a.blog {background: transparent url(img/bw/blog-icon-bn.svg) top center no-repeat;}

#main-menu li a.chi-siamo:hover,#main-menu li.selected a.chi-siamo {background: transparent url(img/chi-siamo-icon.svg) top center no-repeat;}
#main-menu li a.per-le-scuole:hover,#main-menu li.selected a.per-le-scuole {background: transparent url(img/scuole-icon.svg) top center no-repeat;}
#main-menu li a.per-le-famiglie:hover,#main-menu li.selected a.per-le-famiglie {background: transparent url(img/famiglie-icon.svg) top center no-repeat;}
#main-menu li a.per-le-imprese:hover,#main-menu li.selected a.per-le-imprese {background: transparent url(img/imprese-icon.svg) top center no-repeat;}
#main-menu li a.eventi:hover,#main-menu li.selected a.eventi {background: transparent url(img/eventi-icon.svg) top center no-repeat;}
#main-menu li a.blog:hover,#main-menu li.selected a.blog {background: transparent url(img/blog-icon.svg) top center no-repeat;}


.submenu{
	width: 175px;
	list-style: none;
	opacity: 0;
	padding: 0px 0 0 0;
	margin: 0;
	/*background: transparent url('img/bg-submenu.svg') top left no-repeat;*/
	position: absolute;
	top: 160px;
	text-align: left;

}

#internal-header .submenu{
	top: 150px;
}

#internal-header #submenu-chi-siamo{left: 301px; }
#internal-header #submenu-scuole{left: 447px;}
#internal-header #submenu-famiglie{left: 605px;}
#internal-header #submenu-imprese{left: 490px;}
#internal-header #submenu-eventi{left: 744px;}



.submenu li.last a{border-bottom: 0;}
.submenu li a{background-color: #96B9E5; border-bottom: 0px solid #fff; display: block;color: white;font-size: 12px; padding: 5px 13px; text-transform: uppercase;color: #004377;}
.submenu li a:hover,.submenu li.active a{ border-bottom: 0px solid #fff; background-color: #255882; color: white;}

#submenu-chi-siamo{left: 335px; }
#submenu-scuole{left: 450px;}
#submenu-famiglie{left: 568px;}
#submenu-imprese{left: 490px;}
#submenu-eventi{left: 691px;}

#content-container{width: 960px; margin: 0 auto; position: relative;overflow: auto; background-color:white;}
#content-container .form-container{padding-left: 100px;}

.menu-tree-page #spalla-sx{ background-color: #8CB9E7; padding-bottom: 50px;}
#spalla-sx{width:320px; position: relative; float: left;background-color: white;}
#spalla-dx{width: 640px; position: relative; float: left;}


/* IL PUNTO */
#spalla-dx .ilpunto-box{overflow: auto;}
#spalla-dx .ilpunto-box .content{
 float: left; position: relative;
 width: 270px;	
 margin-top: -27px;
 font-size: 12px;
 padding: 25px;
 line-height: 15px;
 height: 222px;
 overflow: hidden;
 
}
#spalla-dx .ilpunto-box .content a h3{color: #424143;}
#spalla-dx .ilpunto-box .content h3{
padding-top: 0px;
font-family: 'Playfair Display', serif;
font-size: 14px;
color: #424143;
font-weight: 700;
font-style: italic;
}

#spalla-dx .ilpunto-box .img-container{
 float: left; position: relative;
 width: 320px;	
 margin-top: -26px;
}

#spalla-dx .ilpunto-box h2.header-title span.corsivo{
	font-family: 'Playfair Display', serif;
	font-weight: 400;
	font-size: 18px;
}
#spalla-dx .ilpunto-box h2.header-title{
	background: transparent url(img/il-punto.svg) left top no-repeat;
	width: 558px;
	margin: 0;
	height: 72px;
	font-size: 21px;
	font-weight: 400;
	padding: 20px 0 0 82px;
	color: white;
}

/* PROGRAMMI  */
#spalla-dx .programmi-box {float: left;position: relative;}

#spalla-dx .programmi-box h2.header-title{
	background: transparent url(img/programmi.svg) left top no-repeat;
	width: 238px;
	margin: 0;
	height: 72px;
	font-size: 21px;
	font-weight: 400;
	padding: 20px 0 0 82px;
	color: white;
	z-index: 9;
	position: relative;
	background-size: 389px 92px;
}
#spalla-dx .programmi-box .bg-image{margin-top: -27px; position: relative; z-index: 0;}
#spalla-dx .programmi-box .link-container{
	width: 100%;
	position: absolute;
	bottom: 0;
	padding: 23px 0 0 30px;
	background: transparent url(img/bg-lanci-home.svg) top left no-repeat;
	
	
	}
#spalla-dx .programmi-box .link-container a{
	color: #404041;
	text-transform: uppercase;
	line-height: 13px;
	font-size: 18px;
	font-weight: 400;
 }
/* infographic  */
#spalla-dx .infographic-box {float: left;position: relative;}
#spalla-dx .infographic-box h2.header-title{
	background: transparent url(img/info.svg) left top no-repeat;
	width: 238px;
	margin: 0;
	height: 72px;
	font-size: 21px;
	font-weight: 400;
	padding: 20px 0 0 82px;
	color: white;
	position: relative;
	z-index: 1;
}
#spalla-dx .infographic-box .share-fb{
	display: block;
	position: absolute;
	bottom: 20px;
	right: 20px;
	background: transparent url('img/condividi.svg') right center no-repeat;
	width: 90px; 
	height: 18px;
	color: white;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 600;
	padding-top: 2px;
	
}
#spalla-dx .infographic-box .bg-image{margin-top: -27px; position: relative; z-index: 0;}

/* visto  */
#spalla-dx .visto-box {float: left;position: relative;}
#spalla-dx .visto-box h2.header-title{
	background: transparent url(img/visto.svg) left top no-repeat;
	width: 238px;
	margin: 0;
	height: 72px;
	font-size: 21px;
	font-weight: 400;
	padding: 20px 0 0 82px;
	color: white;
	position: relative;
	z-index: 1;
}
#spalla-dx .visto-box .bg-image{margin-top: -27px; position: relative; z-index: 0;}
#spalla-dx .visto-box .link-container{
	width: 100%;
	position: absolute;
	bottom: 0;
	padding: 24px;
	background: rgba(255, 255, 255, 0.5);
	/* Explorer 5.5 -> 7 */
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99ffffff, endColorstr=#99ffffff);
	/* Explorer 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99ffffff, endColorstr=#99ffffff)";
}

#spalla-dx .visto-box .link-container a{
	color: #404041;
	text-transform: uppercase;
	line-height: 13px;
	font-size: 18px;
	font-weight: 400;
 }
 
 
/* ebook  */
#spalla-dx .ebook-box {float: left;position: relative;}
#spalla-dx .ebook-box h2.header-title{
	background: transparent url(img/ebook.svg) left top no-repeat;
	width: 238px;
	margin: 0;
	height: 72px;
	font-size: 21px;
	font-weight: 400;
	padding: 20px 0 0 82px;
	color: white;
	position: relative;
	z-index: 1;
}
#spalla-dx .ebook-box .bg-image{margin-top: -27px; position: relative; z-index: 0;}
#spalla-dx .ebook-box .link-container{
	width: 100%;
	position: absolute;
	bottom: 0;
/*	padding: 24px;*/
	background: transparent url(img/bg-lanci-home.svg) top left no-repeat;
	height: 47px;
	padding-top: 120px;
	padding-left: 30px;
/*	background: rgba(255, 255, 255, 0.8); */
	/* Explorer 5.5 -> 7 
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99ffffff, endColorstr=#99ffffff);
	/* Explorer 8 
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99ffffff, endColorstr=#99ffffff)";
*/
}

#spalla-dx .ebook-box .link-container a{
	color: #404041;
	text-transform: uppercase;
	line-height: 13px;
	font-size: 18px;
	font-weight: 400;
 }

/* APPUNTAMENTI */
.appuntamenti-box {
float: left;
position: relative;
	
	
}
.appuntamenti-box h2.header-title{
	background: transparent url(img/appuntamenti.svg) left top no-repeat;
	width: 276px;
	margin: 0;
	height: 72px;
	font-size: 25px;
	font-weight: 400;
	padding: 20px 0 0 82px;
	color: white;
}


.appuntamenti-box .cal-desc{
	padding: 25px;
	margin-top: 20px;
}
 .appuntamenti-box .cal-desc h4{
	font-family: 'Playfair Display', serif;
	font-size: 18px;
	color: #424143;
	margin: 0;
	padding: 0;
	font-style: italic;
	}
 .appuntamenti-box .cal-desc p{
	font-size: 14px;
	color: #424143;
	margin-top: 0;
	width: 280px;
}


 .service-box{background-color: #93B8E6;padding: 20px 15px 10px 15px;}
.service-box .section {border-bottom: 1px solid white; 
	color: #255882;
	font-weight: 600;
	font-size: 12px;
	margin-bottom: 10px;
}
.service-box .section.no-border{border: 0;} 
 .service-box .section #cerca-input{ width: 285px;
	
	border: 0;
	border-top: 3px solid #424143;
	border-left: 3px solid #424143;
	height: 25px;
	margin-bottom: 20px;
	margin-top: 11px;
}


#newsletter-form #nome{
	
	border: 0;
	border-top: 3px solid #424143;
	border-left: 3px solid #424143;
	height: 25px;
	margin-bottom: 20px;
	margin-top: 11px;
	width: 285px;
	
}

#newsletter-form #email{
	
	border: 0;
	border-top: 3px solid #424143;
	border-left: 3px solid #424143;
	height: 25px;
	margin-bottom: 20px;
	margin-top: 11px;
	width: 285px;

}

#invia-newsletter{
	
	background: transparent url('img/button-bg.png') center left no-repeat; width: 74px; height: 25px; border: 0; display: block; color: white;
	position: relative;
	float: right;
	font-family:  'Raleway',sans-serif; 
	text-transform: uppercase;
	
}
#neswletter-container{overflow: auto; margin-bottom: 10px;}
 .service-box .section .mail-to{ width: 285px;
	
	background: transparent url('img/mail.svg') left center no-repeat;
	height: 18px;
	display: block;	
	padding-left: 50px;
	margin: 15px 0;
	color: #255882;
	font-weight: 700;
	padding-top: 4px;
}

.section .social-links{
	list-style: none;

	padding: 0;
	height: 34px;
	margin: 10px 0;
	
}
#internal-header #main-menu li a{
	 -webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}

#internal-header #main-menu li a.inactive:hover{
	-webkit-filter: none;
	-moz-filter:none;
-ms-filter:none;
-o-filter: none;
filter: none;
filter: none;
height: 13px;

	
}
#internal-header #main-menu li a.inactive{
	
 filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+ */
 filter: gray; /* IE6-9 */
 -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
 -webkit-transition: all 0.5s ease-in-out;
 transition: all 0.5s ease-in-out;
 -moz-transition: all 0.5s ease-in-out;
 -o-transition: all 0.5s ease-in-out;
 -ms-transition: all 0.5s ease-in-out;
 
 
height: 0;
	}

.grayscale{


}

.section .social-links li{
	float: left;
	position: relative;
	margin-right: 25px;
	/*background: transparent url('img/social.svg') top left no-repeat;*/
	
}
.section .social-links li.last{
	margin-right: 0;
}
.section .social-links li a{
 display: block;
 width: 35px;
 height: 35px;	
}

.section .social-links li a.tw{
		background: transparent url('img/social.png') -34px 0 no-repeat;
}
.section .social-links li a.in{
		background: transparent url('img/social.png') -68px 0 no-repeat;
}
.section .social-links li a.yt{
		background: transparent url('img/social.png') -102px 0 no-repeat;
}
.section .social-links li a.fb{
		background: transparent url('img/social.png') 0 0 no-repeat;
}
.footer-container{width: 960px; margin: 0 auto; position: relative;padding-left: 0px;}
#footer{background-color:#58585A;padding: 26px;color: white;font-weight: 400;min-width: 960px; }

#footer a{color: white; text-transform: uppercase;font-weight: 400; font-size: 14px;}

#menu-tree{display: none;}
/*
#first-level-tree a{color: black;}
#first-level-tree .active a{color: #255882;}
#second-level-tree a{color: black;}
#second-level-tree .active a{color: #255882;}
#second-level-tree .active ul li a{color: black;}
#second-level-tree .active ul li.active a{color: #255882;}
*/
#menu-col-1{background-color:#1c5783; float: left; position: relative; width: 160px; overflow: hidden; border-right: 0px solid white;}

#menu-col-2{background-color:#93b8e6; float: left; position: relative; width: 160px; overflow: hidden: }

#first-level-tree{ list-style: none; padding: 0; margin: 0; }

.top-fix-first-level{height: 20px;}
.top-fix-second-level{height: 20px;}


#first-level-tree li a{display: block;padding: 20px 30px 20px 20px; color: white; text-transform: uppercase;font-size: 12px; border-bottom: 0px solid white;
	
	 transition: background .25s ease-in-out;
   -moz-transition: background .25s ease-in-out;
   -webkit-transition: background .25s ease-in-out;
   background-position: 85% 50%;
	
}
#first-level-tree li a:hover,#first-level-tree li.active a{background-color: white; color:#1c5783; background: white url('img/blu-arrow.svg') 90% 50% no-repeat;}
.menu-internal-container{ overflow: auto;position: relative; background-color: #1C5783;}

.internal-head-image-container{height: 286px; overflow: hidden; position: relative;}
.internal-head-image-container img{position: absolute; left: 50%; top: 50%; display: none;}
#second-level-tree{  list-style: none; padding: 0; margin: 0;}
#second-level-tree li a{display: block;padding: 10px 30px 10px 20px; color: #004377; text-transform: uppercase;font-size: 12px; border-bottom: 0px solid #424143;
	
	
   transition: background .25s ease-in-out;
   -moz-transition: background .25s ease-in-out;
   -webkit-transition: background .25s ease-in-out;
   background-position: 90% 40%;
	
}



#second-level-tree li > a:hover,#second-level-tree li.active > a{ background: transparent url('img/blu-arrow.svg') 90% 50% no-repeat;}

#second-level-tree li.fork > a:hover,#second-level-tree li.active.fork > a{ background: transparent url('img/gray-arrow.svg') 90% 50% no-repeat;}

#second-level-tree li ul{list-style: none; padding: 0; margin: 0;}

#second-level-tree li.active ul li a,#second-level-tree li ul li a{display: block; background-color: #58585a;color: #d0d1d2; background-image: none; border-bottom: 1px solid #7f8083;  padding: 10px 35px 10px 25px;
	 transition: background .25s ease-in-out;
   -moz-transition: background .25s ease-in-out;
   -webkit-transition: background .25s ease-in-out;
   background-position: 85% 50%;
}

#content-container.menu-tree-page{margin-top: -20px;}

#second-level-tree li.active ul li a:hover,#second-level-tree li.active ul li.active a{color: white;  ;background: #58585a url('img/white-arrow.svg') 90% 50% no-repeat;}




/* IL PUNTO */
/*#spalla-dx .eventi-box:first-child{margin-top: 11px;} */
#spalla-dx .eventi-box:first-child .content h3{margin-top: 20px; }

#spalla-dx .eventi-box{overflow: hidden; position: relative;height: 320px;}
#spalla-dx .eventi-box .content p{ text-align: left;}
#spalla-dx .eventi-box .content{
	background: transparent;
 float: left; position: relative;
 width: 270px;	
 font-size: 14px;
 padding: 25px;
 line-height: 15px;
 height: 270px;
 
}
#spalla-dx .eventi-box .content a h3{color: white; font-weight: 900; text-transform: uppercase;font-size: 22px; line-height: 23px;}
#spalla-dx .eventi-box .content h3{
padding-top: 0px;
font-size: 14px;
color: white;
font-weight: 700;
margin-top: 0;
}

#spalla-dx .eventi-box .img-container{
 float: left; position: relative;
 width: 320px;	

}

#spalla-dx .eventi-box h2.header-title span.corsivo{
	font-family: 'Playfair Display', serif;
	font-weight: 400;
	font-size: 18px;
}
#spalla-dx .eventi-box h2.header-title{
	background: transparent url(img/il-punto.svg) left top no-repeat;
	width: 558px;
	margin: 0;
	height: 72px;
	font-size: 21px;
	font-weight: 400;
	padding: 20px 0 0 82px;
	color: white;
}

#spalla-dx .eventi-box.sinistra{background-color: #d57f2b; color: white;}
#spalla-dx .eventi-box.destra{background-color: #004377;color: white;}
#spalla-dx .eventi-box a{color: white;}
#spalla-dx .eventi-box a.scopri{position: absolute; bottom: 20px; right: 20px; text-transform: uppercase;}

#spalla-sx #home-calendar{background-color: white;}
#spalla-sx #home-calendar h2.header-title{
	background: transparent url(img/appuntamenti-new.svg) left top no-repeat;
	width: 238px;
	margin: 0;
	height: 72px;
	font-size: 21px;
	font-weight: 400;
	padding: 20px 0 0 82px;
	color: white;
	position: relative;
	z-index: 1;
}


.img-container-stampa {width: 80px; float: left; position: relative; margin-right: 20px;}
#spalla-dx .text-container-stampa a{ color: #3f3e3e;}

#spalla-dx .text-container-stampa h2{ font-size: 17px; margin-bottom: 5px; font-weight: 700;}
#spalla-dx .text-container-stampa p{margin-top: 0;}
#spalla-dx .stampa-item {clear: both; margin-bottom: 40px;}
span.contatti{}

span.contatti a{color: #3f3e3e;}

#content-container.transparent{background-color: #D7E1ED;}

#footer #disc{ font-size: 10px; position: relative; float: right; width: 500px;text-align: right; margin-top: 6px;}
#footer  .footer-container ul{width: 440px; padding: 0; margin: 0; position: relative; float: left;}
#footer  .footer-container{padding-bottom: 30px;}

form#login{width: 376px; margin:90px auto 400px auto;position: relative; 
}
form.custom-form{  }
form.custom-form .row{ overflow: auto; margin: 20px 0;}
form.custom-form .label-container{position: relative; float: left; width: 110px;padding-top: 5px;}
form.custom-form .field-container{ position: relative; float: left; width: 256px;}
form.custom-form .field-container input{border: 0;width: 256px; height: 25px;border-top: 3px solid #424143;border-left: 3px solid #424143; }

#toggle-lang{background: url("img/form-button.png") no-repeat scroll left center transparent;
    color: white;
    display: inline-block;
    font-size: 13px;
    height: 21px;
    padding-left: 15px;
    padding-right: 10px;
    padding-top: 4px;
}

.en-version{}

form.custom-form .row .text-container .login-button{
 background: url("img/form-button.png") no-repeat scroll left center transparent;
    color: white;
    display: inline-block;
    font-size: 13px;
    height: 21px;
    padding-left: 15px;
    padding-right: 10px;
    padding-top: 4px;
}

form.custom-form .row .text-container.right .login-button{float: right;}


#calendario-spalla{ width: 300px; margin: 0 auto;margin-top: 0px;}

#mappa .node-first{display: block; text-transform: uppercase; font-size: 22px;margin-top:40px; border-bottom: 0px solid #ccc; margin-bottom: 10px; color: #255882;}
#mappa ul li a.map-node{display: block; text-transform: uppercase; font-size: 18px; border-bottom: 0; margin-bottom: 5px;}
#mappa ul li ul {margin-top: 10px;padding-top: 0;}
#mappa ul li ul li a.map-node{display: block; text-transform: uppercase; font-size: 14px;  margin-bottom: 2px;text-transform: none; border-bottom: 0; }
#mappa ul li ul li ul li a.map-node{display: block;  font-size: 12px;  border-bottom: 0; text-transform: none;}

#result{list-style: none; padding: 0; margin: 0;}
#result li{ margin: 10px 0;}

#image-map {position: relative; z-index: 999;}

#nav-tree {display: none;}

#fb-share{position: relative; padding: 30px;}

#loading{display: block; width: 100%; height: 100%; text-align: center; position: fixed; top: 0; left: 0;z-index: 9999999; background: white;}
#loading img{ top: 40%; left: 50%; position: absolute;}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999;
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
    overflow: auto;
}

.popup {
    opacity: 0.85;
    top: 25%;
    left: 0;
    right: 0;
    font-size: 14px;
    margin: auto;
    width: 85%;
    min-width: 320px;
    max-width: 600px;
    position: absolute;
    padding: 50px 20px;
    border: 1px solid #383838;
    background: #fefefe;
    z-index: 1000;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    font: 14px/18px 'Tahoma', Arial, sans-serif;
    -webkit-box-shadow: 0 15px 20px rgb(0 0 0 / 22%), 0 19px 60px rgb(0 0 0 / 30%);
    -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -ms-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    box-shadow: 0 15px 20px rgb(0 0 0 / 22%), 0 19px 60px rgb(0 0 0 / 30%);
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
}

#overlay .close {
    opacity: 1!important;
    top: 10px;
    right: 10px;
    width: 45px;
    height: 32px;
    position: absolute;
    border: none;
    cursor: pointer;
    outline: none;
    color: #000000!important;
}