@charset "utf-8";

/* CSS Document */
html,body{
	font-family: "arial";
	background: #fff	;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

body{
	margin:0;
	color:#666666;
}

a{
	color:#008FD3;
}

#embed_input{
	width: 330px;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

label{
	font-size: 18px;
	color: #666666;
	font-weight: normal;
}
label.res_label{
	font-size: 18px;
	float: left;
	margin-right: 10px;
}
.min label.res_label{ font-size: 16px;}
label.sublabel{
	font-size: 14px;
}

.ui-selectmenu-button.ui-state-default{
	background: #fff;
	border: 2px solid #008FD3;
	border-radius: 0px !important;
	color: #008FD3;
	margin: 0px 10px;
	position: relative;
	top: 11px;
	float: left;
	width: 180px !important;
}
	.ui-selectmenu-button.ui-state-default .ui-icon{
		background: url("../img/arrow_down.svg") no-repeat 0 0;
		margin-top: -3px;
	}

.ui-selectmenu-menu{
	background: #fff;
	border: 2px solid #008FD3;
	width: 180px;
	max-height: 340px;
	overflow: auto;
}
	.ui-selectmenu-menu .ui-widget-content{
		background: #fff;
		color: #666666;
		width: 176px !important;
		border: 0px solid;
	}
		.ui-selectmenu-menu .ui-widget-content li.ui-state-focus{
			background: #008FD3;
			color: #fff;
			border: 0px solid;
			font-weight: normal;
		}

.ui-slider{}
	.ui-slider.ui-widget-content{
		background: #fff;
		border: 2px solid #008FD3;
	}
	.ui-slider.ui-corner-all{
		border-radius: 0px;
	}
	.ui-slider.ui-slider-horizontal{
		height: 8px;
	}
		.ui-slider .ui-slider-handle{
			cursor: pointer;
			outline: none;
			border: 2px solid #008FD3;
			border-radius: 0px;
			position: relative;
			background: #fff;
			width: 32px;
			height: 32px;
			display: block;
			margin-top: -10px;
		}
			.ui-slider .ui-slider-handle:hover{
				background: #008FD3;
			}
			.ui-slider .ui-slider-handle:after{
				content:"";
				position: absolute;
				left: 9px;
				top: 9px;
				background: url("../img/grip.svg") no-repeat 0 0;
				background-size: 10px 10px;
				height: 10px;
				width: 10px;
			}
				.ui-slider .ui-slider-handle:hover:after{
					background: url("../img/grip--hover.svg") no-repeat 0 0;
					background-size: 10px 10px;
				}

.info_tooltip{
	background: #008FD3;
	width: 18px;
	height: 18px;
	border-radius: 10px;
	color: #fff;
	text-align: center;
	line-height: 18px;
	font-size: 12px;
	margin-left: -9px;
	cursor: pointer;
}
	.info_tooltip:hover{
		background: #006b9e;
	}

.info_tooltip_text{
	background: #FFF none repeat scroll 0% 0%;
	padding: 8px 10px;
	position: absolute;
	z-index: 1;
	display: none;
	border: 2px solid #FFF;
	font-size: 12px;
	line-height: 14px;
	color: #102d69;
}
	.info_tooltip_text.displayed{
		display: block;
	}
		.info_tooltip_text.displayed:after{
			content: '';
			position: absolute;
			border-style: solid;
			border-width: 8px 8px 0;
			border-color: #FFFFFF transparent;
			display: block;
			width: 0;
			z-index: 1;
			bottom: -8px;
			left: 80px;
		}

.gender_radio,
.owner_radio,
.periodicity_radio {
	color: #008FD3;
	font-size: 18px;
	display: inline-block;
	vertical-align: top;
	cursor: pointer;
	position: relative;
	padding-left:24px;
	height: 20px;
	line-height: 24px;
	margin: 0 10px;
}
	.gender_radio:before,
	.owner_radio:before,
	.periodicity_radio:before{
		content:"";
		position: absolute;
		left: 0px;
		top: 4px;
		border-radius: 15px;
		width: 17px;
		height: 17px;
		border: 2px solid #008FD3;
		background: #fff;
	}
	.gender_radio.selected:before,
	.owner_radio.selected:before,
	.periodicity_radio.selected:before{
		background: #008FD3;
	}

#Cache{
	opacity: 0;
	z-index: -1;
	background: rgba(78,143,198,0.5);
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}
	#Cache.displayed{
		-webkit-transition:opacity 0.3s ease-out;
		-ms-transition:opacity 0.3s ease-out;
		transition:opacity 0.3s ease-out;	
		opacity: 1;
		z-index: 1000;
	}
.ocdemodal{
	opacity: 0;
	z-index: -1;
	width: 400px;
	background: #fff;
	padding: 20px 25px 15px;
	border:3px solid #008FD3;
	position: absolute;
	left: 50%;
	margin-left: -200px;
	top: 140px;
	text-align: left;
}
	.ocdemodal.displayed{
		-webkit-transition:opacity 0.3s ease-out;
		-ms-transition:opacity 0.3s ease-out;
		transition:opacity 0.3s ease-out;	
		opacity: 1;
		z-index: 1001;
	}
	.modal_close{
		position: absolute;
		right: 10px;
		top: 10px;
		cursor: pointer;
	}
	.modal_title{
		font-size: 24px;
		margin-bottom: 10px;
		margin-top: 5px;
	}
	.modal_subtitle{
		font-size: 18px;
		margin: 20px 0 5px;
	}
	.share_item{
			display: inline-block;
			margin: 0 5px 0 0;
			cursor: pointer;
			height: 42px;
			width: 42px;
			background-color:#008FD3;
			cursor: pointer;
		}
			.share_item[data-type="fb"]{ background-image:url("../img/share--facebook.svg"); }
			.share_item[data-type="tw"]{ background-image:url("../img/share--bluesky.svg"); }
			.share_item[data-type="go"]{ background-image:url("../img/share--gplus.svg"); }
			.share_item[data-type="ml"]{ background-image:url("../img/share--mail.svg"); }


#HiddenLoading{
	display: none;
}

#App{
	width: 100%;
	height: 100%;
	max-width: 960px;
	max-height: 548px;
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform:translate(-50%, -50%);
	-ms-transform:translate(-50%, -50%);
	transform:translate(-50%, -50%);
	background: #A2CBED;
	text-align: center;
	overflow: hidden;
}
.min #App{
	width: 870px;
}
	.appborder{
		position: absolute;
		z-index: 100;
	}
	.border_left{
		width: 7px;
		left: 0px;
		top: 0px;
		background: #4E90C7;
		height: 100%;
	}
	.border_right{
		width: 7px;
		right: 0px;
		top: 0px;
		background: #71A6D2;
		height: 100%;
	}
	.border_bottom{
		width: 100%;
		bottom: 0px;
		left: 0px;
		height: 7px;
		background: #4E90C7;
	}
		.border_bottom:after{
			content: "";
			position: absolute;
			right: 0px;
			width: 50%;
			background: #71A6D2;
			height: 7px;
			top: 0px;
		}
	.border_top{
		width: 100%;
		top: 0px;
		left: 0px;
		height: 7px;
		background: #4E90C7;
	}
		.border_top:after{
			content: "";
			position: absolute;
			right: 0px;
			width: 50%;
			background: #71A6D2;
			height: 7px;
			top: 0px;
		}
	.app_slider{
		position: absolute;
		left: 0px;
		top: 0px;
		height: 100%;
		width: 1000%;
	}
	.survey_action,
	.conclusion_back{
		display: block;
		clear: both;
		margin: 15px 0;
		font-size: 18px;
		background: #008FD3;
		height: 41px;
		line-height: 37px;
		text-align: center;
		border: 2px solid #008FD3;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		color: #fff;
		cursor: pointer;
		width: 156px;
		-webkit-transition:opacity 0.3s ease-out;
		-ms-transition:opacity 0.3s ease-out;
		transition:opacity 0.3s ease-out;
		opacity: 1;
		z-index: 1;
		-webkit-touch-callout: none;
	    -webkit-user-select: none;
	    -khtml-user-select: none;
	    -moz-user-select: none;
	    -ms-user-select: none;
	    user-select: none;
	}
		.survey_action_label,
		.conclusion_back_label{
			z-index: 1;
			position: relative;
		}
		.no-touch .survey_action:hover,
		.no-touch .conclusion_back:hover{
			-webkit-transition:background 0.3s ease-out;
			-ms-transition:background 0.3s ease-out;
			transition:background 0.3s ease-out;
			background: #fff;
			color: #008FD3;
		}
		.survey_action.invisible,
		.conclusion_back.invisible{
			opacity: 0;
			z-index: 0;
		}
		.conclusion_back {
			width: 212px;
			margin-top: 25px;
		}

.slide{
	width: 10%;
	height: 100%;
	float: left;
	padding-top: 60px;
	position: relative;
	overflow: hidden;
}
	.survey_step{
		position: absolute;
		left: 0px;
		top: 0px;
		width: 100%;
		-webkit-transition:opacity 0.3s ease-out;
		-ms-transition:opacity 0.3s ease-out;
		transition:opacity 0.3s ease-out;
		opacity: 1;
		z-index: 1;
	}
		.survey_step.invisible{
			opacity: 0;
			z-index: -1;
		}
	.slide_form{
		position: absolute;
		left: 100px;
		top: 100px;
		-webkit-transition:opacity 0.3s ease-out;
		-ms-transition:opacity 0.3s ease-out;
		transition:opacity 0.3s ease-out;
		opacity: 1;
		z-index: 1;
	}
		.min .slide_form{
			left: 72px;
		}
		.slide_form.invisible{
			opacity: 0;
			z-index: -1;
		}
		#Congratulations .slide_form,
		#ResHousehold .slide_form,
		#Conclusion .slide_form {
			left: 50px;
		} 

	.slide_title{
		position: absolute;
		right: 20px;
		top: 50px;
		margin: 0px;
		font-size: 30px;
	}
	.survey_line{
		width: 100%;
		text-align: left;
		margin: 0 0 10px;
		-webkit-transition:opacity 0.3s ease-out;
		-ms-transition:opacity 0.3s ease-out;
		transition:opacity 0.3s ease-out;
		opacity: 1;
		z-index: 1;
	}
		.survey_line.invisible{
			opacity: 0;
			z-index: -1;
		}

.res_menu{
	color: #008FD3;
	cursor: pointer;
	font-size: 18px;
	width: auto;
	text-align: center;
	float: left;
	margin: 0 10px;
	padding: 0 0 1px 0;
}
.min .res_menu{ font-size: 16px;}
	.res_menu.active{
		border-bottom: 4px solid #008FD3;
	}
	.res_menu[data-step="muni"],
	.res_menu[data-step="agegroup"] {
		margin-top: -26px;
	}

/* HEADER */
#Header{
	background: #A2CBED;
	color: #fff;
	height: 60px;
	top: 0px;
	left: 0px;
	right: 0px;
	opacity: 0;
	-webkit-transition:opacity 0.2s ease-out;
	transition:opacity 0.2s ease-out;
	z-index: 200;
	position: absolute;
}
#Header.displayed{
	opacity: 1;
}
	.filling{
		width: 100px;
		position: absolute;
		left: 0px;
		top: -7px;
		height: 67px;
		background: #74b5e4;
		-webkit-transition:width 0.5s ease-out;
		-ms-transition:width 0.5s ease-out;
		transition:width 0.5s ease-out;
	}
		.filling:after{
			border-bottom: 30px solid transparent;
		    border-left: 23px solid #74b5e4;
		    border-top: 30px solid transparent;
		    content: "";
		    height: 0;
		    left: 100%;
		    position: absolute;
		    top: 7px;
		    width: 0;
		}
	.home_link{
		position: absolute;
		left: 20px;
		top: 10px;
		color: #fff;
		font-size: 18px;
		line-height: 40px;
		cursor: pointer;
		padding-left: 80px;
	}
		.home_link:before{
			position: absolute;
			content: "";
			left: 0px;
			top: 2px;
			background: url("../img/logo.svg") no-repeat 0 0;
			background-size: 64px 33px;
			width: 64px;
			height: 33px;
		}

	.header_partner_img{
		position: absolute;
		left: 76px;
		top: 12px;
		display: none;
	}
		.cnn .header_cnn_img{
			display: block;
			width: 110px;
		}
		.figaro .header_figaro_img{
			display: block;
			width: 110px;
			left: 80px;
			top: 4px;
		}

	.languages{
		position: absolute;
		right: 200px;
		top: 20px;
	}
		.lang_link{
			display: inline-block;
			cursor: pointer;
			margin-right: 10px;
			font-size: 12px;
		}
		#Header .lang_link{ color: #dbe8f3;}
			.lang_link.selected{color: #666666;}
			#Header .lang_link.selected{ color: #fff;}

	.header_share{
		position: absolute;
		right: 40px;
		top: 20px;
		cursor: pointer;
	}
		.header_share:before{
			content: "";
			position: absolute;
			left: 100%;
			margin-left: 5px;
			top: -3px;
			background: url("../img/share.png") no-repeat 0 0;
			background-size: 24px 24px;
			width: 24px;
			height: 24px;
		}

/* CONGRATULATIONS */
#Congratulations{}
	#App[data-lang="it"] .congratulations_valid{
		line-height: 33px;
	}
	.congrat_illu_bg {
		position: absolute;
		background: url("../img/illu_home.png") no-repeat 0 0;
		background-size: 260px 312px;
		background-position: bottom left;
		width: 100%;
		height: 100%;
		left: 340px;
		bottom: 10px;
	}
		#Congratulations .congratulations_me{
			position: absolute;
			position: absolute;
			left: 770px;
			margin-left: -9px !important;
			bottom: 43px;
		}
		.congratulations_planet{
		width: 170px;
		height: 40px;
		background: transparent url("../img/planet.svg") no-repeat scroll 0px 0px / 170px auto;
		position: absolute;
		bottom: 15px;
		left: 780px;
		-webkit-transform:translate(-50%, 0);
		-ms-transform:translate(-50%, 0);
		transform:translate(-50%, 0);
		}
			.congratulations_planet:after {
				content: "";
				display: block;
				background: transparent url("../img/wave_filled.svg") repeat-x scroll 0% 0%;
				bottom: 0px;
				position: absolute;
				width: 100%;
				height: 10px;
			}
	.congratulations_title{
		font-size: 24px;
	}
	.congratulations_subtitle{
		font-size: 18px;
	}

	.congrat_waves--1 {
		position: absolute;
		left:180px;
		top:400px;
	}
	.congrat_waves--2 {
		position: absolute;
		left:510px;
		top:235px;
	}
	.congrat_waves--3 {
		position: absolute;
		left:830px;
		top:380px;
	}


/*CONCLUSION*/
#Conclusion{}
	#Conclusion .slide_form{
		left: 54px;
	}
	.conclusion_title{
		font-size: 24px;
		/*font-size: 36px;
		color: #102D69;
		line-height: 42px;*/
		width: 520px;
	}
	.conclusion_where{
		font-size: 18px;
		color: #666666;
	}
	.conclusion_select_valid{
		background: #008FD3;
		width: 44px;
		height: 32px;
		text-align: center;
		line-height: 32px;
		color: #fff;
		font-size: 18px;
		margin-left: 10px;
		display: inline-block;
		cursor: pointer;
	}
	.conclusion_share{
		z-index: 10;
		right: 40px;
	}
		.conclusion_share:after{
			border: 0px solid;
		}
			
	.conclusion_illu_bg{
		position: absolute;
		left: 0px;
		bottom: 10px;
		background: transparent url("../img/illu_home.png") no-repeat right bottom / 370px auto;
		width: 100%;
		height: 100%;
	}
	.conclusion_waves--1 {
		position: absolute;
		right: 120px;
		top: 120px;
	}
	.conclusion_waves--2 {
		position: absolute;
		top: 300px;
		left: 440px;
	}
		/*#Conclusion .household_me{
			position: absolute;
			bottom: 498px !important;
			margin-left: -17px;
			-webkit-transform:translate(-50%,0) scale(0.65);
			-ms-transform:translate(-50%,0) scale(0.65);
			transform:translate(-50%,0) scale(0.65);
		}*/

	.conclusion_bottom_mailto{
		position: absolute;
		left: 60px;
		bottom: 40px;
		text-align: left;
	}