@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);

html { height: 100%; }

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

body {
	font-family: comic sans ms, 'Lato', Calibri, Arial, sans-serif;
    background-attachment: scroll;
    background-image: url("/sites/asilinidogrosseto.it/themes/asilo/images/bgLinea.png");
    background-repeat: repeat;
	font-weight: 400;
	font-size: 95%;
	color: #333;
	height: 100%;
}

.js body {
	overflow: hidden;
}

a {
	color: #555;
	text-decoration: none;
	outline: none;
}

a:hover {
	color: #000;
}

.container,
.bb-custom-wrapper,
.bb-bookblock {
	width: 100%;
	height: 100%;
}

.container {
	position: relative;
	left: 0px;
	-webkit-transition: left 0.3s ease-in-out;
	-o-transition: left 0.3s ease-in-out;
	transition: left 0.3s ease-in-out;
}

.slideRight {
	left: 240px;
}

.no-js .container {
	padding-left: 240px;
}

.menu-panel {
	background: #26a4df;
	width: 240px;
	height: 100%;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.js .menu-panel {
	position: absolute;
	left: -240px;
}

.menu-panel h3 {
	font-size: 1.8em;
	padding: 20px;
	font-weight: 300;
	color: #fff;
	box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05);
}

.menu-toc {
	list-style: none;
}

.menu-toc li a {
    background: #26a4df none repeat scroll 0 0;
    color: #fff;
    cursor: pointer;
    display: block;
    font-family: comic sans ms;
    font-size: 1.1em;
    font-weight: normal;
    padding: 10px 20px;
    text-decoration: none;
}

.menu-toc li a:hover,
.menu-toc li.menu-toc-current a{
	background: #eb5c9f;
}

.menu-panel div {
	margin-top: 20px;
}

.menu-panel div a {
	text-transform: uppercase;
	font-size: 0.7em;
	line-height: 1;
	padding: 5px 20px;
	display: block;
	border: none;
	color: #fff;
	letter-spacing: 1px;
	font-weight: 800;
	text-shadow: 0 1px rgba(255,255,255,0.2);
}

.menu-panel div a:hover {
	background: inherit;
	color: #fff;
	text-shadow: none;
}

.bb-custom-wrapper nav {
	top: 20px;
	left: 60px;
	position: absolute;
	z-index: 1000;
}

.bb-custom-wrapper nav span,
.menu-button {
	position: absolute;
	width: 32px;
	height: 32px;
	top: 0;
	left: 0;
	background: #26a4df;
	border-radius: 50%;
	color: #fff;
	line-height: 30px;
	text-align: center;
	speak: none;
	font-weight: bold;
	cursor: pointer;
}

.bb-custom-wrapper nav span:hover,
.menu-button:hover {
	background: #000;
}

.bb-custom-wrapper nav span:last-child {
	left: 40px;
}

.menu-button {
	z-index: 1000;
	left: 20px;
	top: 20px;
	text-indent: -9000px;
}

.menu-button:after {
	position: absolute;
	content: '';
	width: 50%;
	height: 2px;
	background: #fff;
	top: 50%;
	margin-top: -1px;
	left: 25%;
	box-shadow: 0 -4px #fff, 0 4px #fff;
}

.no-js .bb-custom-wrapper nav span,
.no-js .menu-button {
	display: none;
}

.js .content {
	position: absolute;
	top: 60px;
	left: 0;
	width: 100%;
	bottom: 50px;
	overflow: hidden;
	-webkit-font-smoothing: subpixel-antialiased;
}

.scroller {
    background-attachment: scroll;
    background-image: url("/sites/asilinidogrosseto.it/themes/asilo/images/bgPage.png");
    background-repeat: repeat;
    border-bottom: 17px solid orange;
    border-top: 17px solid orange;
    float: left;
    padding: 10px 5%;
	 width:100%;
	 	     font-size: 1.2em;
    font-weight: 300;
    line-height: 1.6;
    padding: 5px 8%;
    text-align: justify;
	 height: 88vh;
}
.jspContainer {
    height: 88vh !important;
    overflow: hidden;
    position: relative;
}
#scroller1, #scroller1contatti{

    float: left;
    padding-right: 0px;
    width: 50%;
}
#scroller1a {
    float: left;
    padding-right: 34px;
    padding-top: 120px;
    width: 52%;
}
#contenutoScroller{
    background-attachment: scroll;
    background-image: url("/sites/asilinidogrosseto.it/themes/asilo/images/linea3.png");
    background-position: right top;
    background-repeat: repeat-y;
    float: left;
    width: 100%;
	 height: auto;

}
#grilloIndice{
    float: left;
    margin: 0;
    width: 100%;
}
#scroller2a {
    float: right;
    text-align: center;
    width: 48%;padding-top: 80px;
}
#fiocccoIndice {
    float: left;
    margin-top: 40px;
    width: 100%;
}
#indiceImg{
	width: 100%;
}
#indiceImg img{
	width: 100%;
	height: auto;
	max-width: 801px;
}
li.elencoIndice{
line-height: 35px;
}
#titolo{
    float: left;
    width: 100%;
	 padding: 5px 120px 5px 8%;
}
#contattiImg{
    float: left;
    width: 100%;
    text-align: center;
	 margin-top:100px;
}
#scroller1 h2, #scroller1contatti h2{
	box-shadow: 0 10px 0 rgba(0, 0, 0, 0.02);
    color: #333;
    float: left;
    font-size: 3em;
    font-weight: 300;
    margin: 56px 5% 40px;
    padding: 0 0 10px;
    text-align: left;
    text-shadow: 0 0 2px #fff;
    width: 58%;display: none;
}
#scroller2 h2, #scroller2contatti h2{
	box-shadow: 0 10px 0 rgba(0, 0, 0, 0.02);
    color: #333;
    float: right;
    font-size: 3em;
    font-weight: 300;
    margin: 56px 5% 40px;
    padding: 0 0 10px;
    text-align: right;
    text-shadow: 0 0 2px #fff;
    width: 58%;display: none;
}
#scroller1 #titolo img{
    float: left;
    width: 30%;
	 max-width: 109px;
}
#scroller2 #titolo img{
    float: right;
    width: 30%;
	 max-width: 141px;
}
#scroller1contatti #titolo img{
    max-width: 109px;
    width: 30%;
}
#scroller2contatti #titolo img{
    max-width: 141px;
    width: 30%;
}
#scroller2, #scroller2contatti{
    float: right;
    width: 50%;
}
#titolocontatti{
    float: left;
    padding:50px 120px 40px 8%;
    text-align: center;
    width: 100%;
}
.js .content:before,
.js .content:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 20px;
	z-index: 100;
	pointer-events: none;
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.js .content:after {
	top: auto;
	bottom: 0;
	background: -webkit-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -moz-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -o-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.content h2 {
	font-weight: 300;
	font-size: 4em;
	padding: 0 0 10px;
	color: #333;
	margin: 0 1% 40px;
	text-align: left;
	box-shadow: 0 10px 0 rgba(0,0,0,0.02);
	text-shadow: 0 0 2px #fff;
}

.no-js .content h2 {
	padding: 40px 1% 20px;
}

.content p, #slide {
margin-bottom: -5px;
	line-height: 1.6;
	font-weight: 300;
	padding: 5px 120px 5px 8%;
	text-align: justify;
}
#slide img{
	width: 100%;
	height: auto;
}
#slogan{
    background-color: #fff;
    color: #26a4df;
    font-family: comic sans ms;
    font-size: 2.5em;
    font-weight: 300;
    padding-bottom: 20px;
    padding-left: 0;
    padding-top: 0;
    position: relative;
    text-align: center;
    z-index: 0;
}
#slogan img{
    height: auto;
    margin-top: 5px;
    max-width: 342px;
    width: 100%;
}
#titoloPagina{
    color: #333;
    font-size: 2em;
    font-weight: 300;
    padding-left: 0;
    padding-top:27px;
    position: absolute;
    text-align: center;
    width: 84%;
    z-index: 100;font-family: comic sans ms;
}
#titoloPagina1{
    color: #333;
    font-size: 2em;
    font-weight: 300;
    padding-left: 0;
    padding-top:10px;
    position: absolute;
    text-align: center;
    width: 84%;
    z-index: 100;font-family: comic sans ms;
}

#aiuti-stato {
	width: 32px;
	height: 32px;
	position: absolute;
	z-index: 9999;
	left: 95%;
	top: 20px;
}

#titoloPaginaAiuti {
	color: #333;
	font-size: 2em;
	font-weight: 300;
	padding-left: 0;
	padding-top: 27px;
	text-align: center;
	width: 100%;
	z-index: 100;
	font-family: comic sans ms;
}

#aiuti-table {
	width: 100%;
	border: 1px solid #dee2e6;
	border-collapse: collapse;
}

#aiuti-table th{
	border: 1px solid #dee2e6;
	padding: 0.75rem;
}
#aiuti-table td{
	border: 1px solid #dee2e6;
	padding: 0.75rem;
}

@media screen and (max-width: 1024px){
#scroller1 h2, #scroller2 h2 {
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0.02);
    color: #333;
    float: left;
    font-size: 1.5em;
    font-weight: 300;
    margin: 36px 0 40px 5%;
    padding: 0 0 10px;
    text-align: left;
    text-shadow: 0 0 2px #fff;
    width: 47%;
}
#scroller1 #titolo img {
    float: left;
    width: 40%;
}
#titoloPagina{
    color: #26a4df;
    float: right;
    font-size: 1.5em;
    font-weight: 300;
    padding-left: 6.5%;
    padding-top: 2%;
    position: relative;
    text-align: left;
    width: 90%;
    z-index: 100;
}

	}
@media screen and (max-width: 800px){
	.no-js .menu-panel {
		display: none;
	}

	.no-js .container {
		padding: 0;
	}
	#home1 img {
    height: auto !important;
    width: 100% !important;
	}
}

@media screen and (max-width: 400px){
	.menu-panel,
	.content {
		font-size: 75%;
	}

	#menu-container {
		height: 60px;
		position: relative;
	}
	.bb-custom-wrapper nav {
		top: 15px;
		left: 60px;
		z-index: 1000;
	}

	.menu-button {
		top: 15px;
	}

	.scroller {
		padding-top: 20px !important;
		overflow: hidden;
	}
	#scroller1 #contenutoScroller {
		margin-top: 15px;
	}
	#scroller1 #titolo img {
		margin-top: 10px;
	    width: 50% !important;
	}
	#scroller2 #titolo img {
	    width: 50% !important;
	}
	#titolo {
		width: 230px !important;
	}

	#slide, .content p {
		padding: 18px !important;
	}

	#scroller1a {
		padding-right: 0;
	}

	#aiuti-stato {
		left: 85%;
	}

	#home1 img {
    height: auto !important;
    width: 100% !important;
	}

	#aiutiStatoPage #titoloPaginaAiuti img {
		width: 20%;
	}
}

@media all and (max-width: 1025px){
	#home1_inner{
		padding:6vh 0;
	}

	.js .content {
	    bottom: 2px;
	    left: 0;
	    overflow: hidden;
	    position: absolute;
	    top: 60px;
	    width: 100%;
	}
	.jspContainer {
	    height: 100vh !important;
	    overflow: hidden;
	    position: relative;
	}
	.scroller {
	    background-attachment: scroll;
	    background-image: url("/sites/asilinidogrosseto.it/themes/asilo/images/bgPage.png");
	    background-repeat: repeat;
	    border-bottom: 17px solid orange;
	    border-top: 17px solid orange;
	    float: left;
	    font-size: 1.2em;
	    font-weight: 300;
	    height: 96vh;
	    line-height: 1.6;
	    padding: 5px 1%;
	    text-align: justify;
	    width: 100%;
	}
	.content p, #slide {
	    font-weight: 300;
	    line-height: 1.6;
	    margin-bottom: -5px;
	    padding: 5px 70px 5px 8%;
	    text-align: justify;
	}
	#titoloPagina {
	    color: #26a4df;
	    float: left;
	    font-size: 1.5em;
	    font-weight: 300;
	    padding-left: 10%;
	    padding-top: 2%;
	    position: relative;
	    text-align: center;
	    width: 90%;
	    z-index: 100;
	}
	#scroller1 #titolo img {
	    float: left;
	    max-width: 79px;
	    width: 30%;
	}
	#titolo {
	    float: left;
	    margin-top: -56px;
	    padding: 5px 120px 5px 8%;
	    width: 100%;
	}
	#scroller2 #titolo img {
	    float: right;
	    margin-top: 10px;
	    max-width: 91px;
	    width: 30%;
	}

	.jspPane {
	    height: 100vh;
	    left: 0 !important;
	    position: absolute;
	    width: 100% !important;
	}
	.scroller {
	    font-size: 0.9em;
	}
	#indiceImg img{
	    height: auto;
	    width: 98%;
	}
	#indiceImg{
		 width: 100%;
	}

	li.elencoIndice {
	    line-height: 28px;
	    margin-left: 30px;
	}
	#scroller2 #titolo{
		padding-right: 65px;
	}
}
