body, html{
	height: 100%;
	font-weight: 200;
	font-size: 16px;
	background-color:#22A7F0;
	background-image: url('../img/bg.png');
    /* background-repeat: repeat-x; */

}

#browser{
	position: fixed;
	bottom: 0;
	z-index:9999;
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: center;
}

#mainWrapper{
	height: 100%;
}

#header{
	position: absolute;
	top:0;
	width: 100%;
	height: 80px;
	z-index: 999999;
	background-color: #fff;
	border-bottom:1px solid #eee;
}

#smallHeader{
	position: absolute;
	top:0;
	width: 100%;
	height: 40px;
	z-index: 999999;
	background-color: #fafafa;
	border-bottom:1px solid #eee;
	line-height: 40px;
}

#mainNavWrapper{
	position: relative;
	height: inherit;
}

#mobileNavWrapper{
	position: fixed;
	top:0;
	width: 100%;
	height: 60px;
	display: none;
	background: #fff;
	border-bottom: 1px solid #eee;
}

.logo{
	width: 100px;
	height: 80px;
	float: left;
	height: inherit;
	margin-left: 50px;
	background-image: url('../img/logo.png');
}

ul#mobileNav{
	width: 100%;
	position: absolute;
	z-index: 999999;
	top: 60px;
	margin: 0;
	padding: 0;
}

.mobLogo{
	width: 75px;
	height: 60px;
	float: left;
	height: inherit;
	margin-left: 10px;
	background-image: url('../img/logomob.png');
	background-size: 75px 60px;
}

li.mobileNavItem{
	height: 40px;
	position: relative;
	display: block;
	margin:0;
	line-height: 40px;
	background: #fefefe;
	border-bottom: 1px solid #eee;
	text-align: center;
}

li.mobileNavItem a{
	position: relative;
	display: inline-table;
	height: inherit;
	margin: 0;
	padding: 0 20px;
	text-decoration: none;
	color: #333;
	box-sizing:border-box;
}

#toogleMobileNav{
	width: 40px;
	height: 40px;
	margin: 10px;
	position: absolute;
	right: 0;
	text-align: center;
	line-height: 42px;
	background-color: #fafafa;
	border: 1px solid #eee;
	border-radius: 2px;
	display: none;
	cursor: pointer;
	z-index: 1000;
}

ul#mainNav{
	position: absolute;
	top: 0;
	right: 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}

li.mainNavItem{
	position: relative;
	display: inline-table;
	margin:0;
	margin-right: -5px;
	line-height: 80px;
}

#mainNavAccedi{
	background-color: #80bd00;
	padding: 7px 12px;
	box-sizing:border-box;
	border-radius: 3px;
	color: #fff;
}

#mainNavAccedi:hover{
	background-color: #78af03;
}

li.mainNavItem a{
	position: relative;
	display: inline-table;
	height: inherit;
	margin: 0;
	padding: 0 20px;
	text-decoration: none;
	color: #333;
	box-sizing:border-box;
	transition: all 0.5s;
}

a.active{
	color: #22A7F0 !important;
}

li.mainNavItem:hover a{
	color: #22A7F0;
}

#secondNavWrapper{
	position: fixed;
	top: 0;
	width: 100%;
	height: 40px;
	z-index: 100;
	background: rgba(255, 255, 255, 1);
	border-bottom: 1px solid #eee;
	display: none;
}

ul#secondNav{
	position: relative;
	float: right;
	height: 40px;
	margin: 0 40px 0 0;
	padding: 0;
	list-style: none;
	text-align: right;
}

li.secondNavItem{
	position: relative;
	display: inline-table;
	margin:0;
	margin-right: -5px;
	font-size: 14px;
	line-height: 40px;
}

li.secondNavItem a{
	position: relative;
	display: inline-table;
	height: inherit;
	margin: 0;
	padding: 0 20px;
	text-decoration: none;
	color: #333;
	box-sizing:border-box;
	transition: all 0.5s;
}

li.secondNavItem:hover a{
	color: #22A7F0;
}

#sectionWrapper{
	position: absolute;
	top: 0px;
	width: 100%;
}

.section{
	position: relative;
	margin: 0;
	padding: 0;
}

#section1{
	/*background-image: url('../img/bg.png');
	background-repeat:repeat-x;*/
    
}

#section2{
	/*background-image: url('../img/bg.png');
	background-repeat:repeat-x;
	background-color: #22A7F0;*/

}

#section3{
	/*background-color: #22A7F0;*/
}

#videoWrapper{
	width:80%;
	height: auto;
	margin: 40px auto;
	background-color: #000;
}

#videoPlayer{
	width:100%;
	height: auto;
	margin: 0;
	padding: 0;
}

#flashWrapper{
	width:640px;
	height: 360px;
	margin: 0 auto;
}

#formWrapper{
	position: absolute;
    width: 80%;
    /*height: 428px;*/
    /*margin-top: -240px;*/
    margin-left: -40%;
    top: 50%;
    left: 50%;
    background: #fefefe;
    border-radius: 4px;
    padding: 40px;
    box-sizing:border-box;
}

fieldset{
	width: 99%;
	border: none;
	padding: 5px 0px 15px 0px;
	box-sizing:border-box;
	border-bottom: 1px solid #eee;
}

#set1{
	float: left;
}

#set2{
	float: right;
}

#radioWrapper{
	padding-bottom:10px;
	margin-bottom:20px;
	border-bottom: 1px solid #eee;
}

.radio{
	width: auto;
	height: 14px;
	display: inline-block;
	margin:0 6px 0 0;
	padding: 0;
}

.radioLabel{
	margin:0 20px 0 0;
	padding: 0;
	color: #000;
	font-size: 0.9em;
}

#uploadWrapper{
	position: absolute;
    width: 400px;
    margin-top: -105px;
    margin-left: -200px;
    top: 50%;
    left: 50%;
    background: #fefefe;
    border-radius: 2px;
    padding: 40px;
    box-sizing:border-box;
}

label{
    display: block;
    color: #22A7F0;
    margin-bottom: 4px;
    margin-top: 20px;
}

label.error{
	/*position: absolute;
	margin-top:-29px;
	font-size: 1em;
    font-family: 'modern_pictogramsnormal';
    color: #C0392B;*/
	
	position: absolute;
    margin-top: -10px;
    font-size: 0.8em;
    background: #D9F2FF;
    /* font-family: 'modern_pictogramsnormal'; */
    color: #C0392B;
    padding: 2px;
    border: solid 1px #E8E8E8;
	
}



.left label.error{
	/*right: 75% !important;*/	
}

input{
    display: block;
    width: 100%;
    height: 40px;
    padding-left: 10px;
    border: 1px solid #eee;
    background: #fafafa;
    box-sizing:border-box;
    font-size: 0.8em;
}

input#allegato{
	background: none;
	border: none;
	padding-left:0; 
}

.left{
	width: 49%;
	float: left;
}

.right{
	width: 49%;
	float: right;
}

.submit{
    display: block;
    width: 40%;
    height: 40px;
    padding:25px 0;
    margin: 0 auto;
    margin-top: 20px;
    border: 2px solid #52A0FF;
    border-radius: 2px;
    color: #52A0FF;
    font-size: 1em;
    line-height: 2px;
    background: none;
}

.submit:hover{
    background: #52A0FF;  
    color: #fafafa; 
}

.contentWrapper{
	width: 80%;
	margin: 80px auto;
	padding: 40px;
	box-sizing: border-box;
	text-align: left;
	background: #ffffff;
	/*background: rgba(255,255,255,0.98);*/
	border:2px solid #fafafa;
}

#buttonWrapper{
	margin:50px 0 20px 0; 
	text-align: center;
}

.bottoni{
	width: 17%;
    height: 40px;
    margin-right: 4px;
    border: 2px solid #52A0FF;
    border-radius: 2px;
    color: #52A0FF;
    font-size: 1em;
    line-height: 2px;
    background: none;
    padding: 25px 0;
    font-size: 14px;
}

.bottoni:hover{
    background: #52A0FF;  
    color: #fafafa; 
}

.disabilita{
    border: 1px solid #ccc !important;
    color: #ccc;
}

.disabilita:hover{
    border: 1px solid #ccc !important;
    background-color: #fff !important;
    color: #ccc;
}

/*FONTS*/
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,300,600,700);
@import url(http://fonts.googleapis.com/css?family=Josefin+Slab);

@font-face {
    font-family: 'modern_pictogramsnormal';
    src: url('../fonts/modernpics-webfont.eot');
    src: url('../fonts/modernpics-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/modernpics-webfont.woff') format('woff'),
         url('../fonts/modernpics-webfont.ttf') format('truetype'),
         url('../fonts/modernpics-webfont.svg#modern_pictogramsnormal') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'museo_slab500';
    src: url('../fonts/museoslab-500-webfont.eot');
    src: url('../fonts/museoslab-500-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/museoslab-500-webfont.woff') format('woff'),
         url('../fonts/museoslab-500-webfont.ttf') format('truetype'),
         url('../fonts/museoslab-500-webfont.svg#museo_slab500') format('svg');
    font-weight: normal;
    font-style: normal;

}

.icon{
   font-family: 'modern_pictogramsnormal';
   color: #ccc;
   font-size: 1.8em;
}

h1{
	font-weight: 300;
	text-align: center;
	margin: 0;
	padding: 0;
	font-family: 'museo_slab500', serif;
	color: #52A0FF;
}

.mainTitle{
	margin: 0 auto;
	margin-top: 40px;
	padding: 0;
}

h2{
	font-weight: 300;
	text-align: left;
	float: left;
	margin: 5px 0 0 45px;
	padding: 0;
	font-family: 'museo_slab500', serif;
	color:#52A0FF;
}

h3{
	font-weight: 300;
	margin: 25px 0 5px 0;
	padding: 0;
	font-family: 'museo_slab500', serif;
	color: #22A7F0;
}

p{
	margin: 0;
	padding: 0;
}

.bodycopy{
	text-align: left;
	color: #999;
}


.link{
	color:#52A0FF;
}

.dark{
	color: #1B4C66;
}

/*IPHONE*/
@media only screen and (min-width : 320px) and (max-width : 568px) {
	
	.left{
	width: 99%;
	float: none;
	}
	
	.right{
		width: 99%;
		float: none;
	}
	
	#header{
		height: 60px !important;
	}

	#mainNavWrapper{
		display: none !important;
	}

	#toogleMobileNav{
		display: block !important;
	}

	#mobileNavWrapper{
		display: block !important;
	}

	a.active{
		color: #22A7F0 !important;
	}

	#mobileNav{
		display: none;
	}

	#mainNav{
		display: none !important;
	}

	#secondNavWrapper{
		display: none !important;
	}

	#secondNav{
		display: none !important;
	}

	#sectionWrapper{
		top: 60 !important;
		margin-top: -20px;
	}

	#section1, #section2, #section3{
		display: block;
		position: relative !important;
		height: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	#formWrapper{
		width: 100% !important;
		height: 100% !important;
		margin: 0 !important;
		padding: 40px !important;
		position: relative !important;
		top:0 !important;
		left: 0 !important;
		border-radius: none !important;
	}

	fieldset{
		width: 100%;
		display:block;
		
	}

	label{
		font-size: 14px;
	}

	#set1 label.error{	
		right: 61px !important;	    
	}

	#set2 label.error{
		right: 61px !important;
	}

	#set3 label.error{
		right: 61px !important;
	}

	#set4 label.error{
		right: 61px !important;
	}

	.left label.error{
		/*left: 155px !important;*/	
	}

	#uploadWrapper{
		width: 100% !important;
		margin: 0 !important;
		padding: 40px !important;
		position: relative !important;
		top:0 !important;
		left: 0 !important;
		border-radius: none !important;
	}

	.contentWrapper{
		width: 100% !important;
		margin-top: 0 !important;
		padding: 40px !important;
		box-sizing:border-box;
		margin:0 auto !important;
	}

	.bottoni{
		width: 100% !important;
		margin-bottom: 10px !important; 
		display: block !important;
	}
}