

.component{
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	position: absolute;

	opacity: 0;
	pointer-events: none;
}
.component:first-child{
	opacity: 1;
	pointer-events: auto;
}
.component__go-next,
.survey__next{
	left: 50%;
	bottom: 30px;
	position: absolute;
	transform: translate3d(-50%, 0, 0);
}

.component__background{
	width: 100%;
	height: 100%;
	padding-top: 10px;
	background-image: url('../imgs/general/sfondo.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	position: relative;
}
#intro .component__background{
	padding-top: 0;
}
.component__background--blue{
	background-color: #062547;
}

.component__testi-container{
	padding: 0 50px;
}






/*/ SURVEY /*/
.survey input{
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
	left: 0;

	z-index: -999;
}

.survey__step{
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	position: absolute;

	opacity: 0;
	pointer-events: none;
}
.survey__step--0{
	opacity: 1;
}
.survey__next{
	left: 50%;
	bottom: 30px;
	position: absolute;
	transform: translate3d(-50%, 0, 0);
}
.survey .component__go-next{
	opacity: 0;
	pointer-events: none;
}




/*/ INTRO /*/
.intro__box-wrapper{
	width: 100%;
	height: 20vh;
	position: relative;

	margin-bottom: 5vh;
}
.intro__box-wrapper::after{
	content: '';
	width: 30px;
	height: 30px;
	background-image: url('../imgs/intro/close.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	position: absolute;
	top: 50%;
	left: 50%;

	transform: translate(-50%,-50%);
}

.intro__box-top{
	width: 50%;
	height: 100%;
	position: relative;

	float: left;
}
.intro__box-top::before{
	content: '';
	width: 100%;
	height: 100%;
	box-shadow: 0 9px 21px rgba(0,0,0,.16);
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}
.intro__box-top--white{
	background-color: #FFFFFF;
	border-radius: 0px 0px 0px 10px;
}
.intro__box-top--white::before{
	border-radius: 0px 0px 0px 10px;
}
#external_cta .intro__box-top--white{
	border-radius: 10px 0px 0px 0px;
}
#external_cta .intro__box-top--white::before{
	content: '';
	height: 5px;
	background-color: #470000;
	border-radius: 0;
	box-shadow: 0 0 0;
	position: absolute;
	top: auto;
	bottom: 0;
	left: 0;
	z-index: 0;
}
.intro__box-top--gray{
	background-color: #E9E9E9;
	border-radius: 0px 0px 10px 0px;
}
.intro__box-top--gray::before{
	border-radius: 0px 0px 10px 0px;
}
#external_cta .intro__box-top--gray{
	border-radius: 0px 10px 0px 0px;
}
#external_cta .intro__box-top--gray::before{
	content: '';
	height: 5px;
	background-color: #65A24C;
	border-radius: 0;
	box-shadow: 0 0 0;
	position: absolute;
	top: auto;
	bottom: 0;
	right: 0;
	left: auto;
	z-index: 0;
}

.intro__box-top span{
	width: 100%;
	text-align: center;
	position: absolute;
	top: 50%;

	transform: translateY(-50%);
}
.intro__box-top--white span{
	color: #CC071E;
}

.intro__logo{
	width: auto;
	height: 15px;
	position: absolute;
	top: 50%;
	left: 50%;

	transform: translate(-50%,-50%);
}
.intro__logo--2{
	height: 17px;
}

.intro__testi{
	padding: 0 20px;
}

.intro__testi--iniziativa{
	margin-top: 5vh;
}

.intro__testi-container-loghi{
	display: block;
	text-align: center;
}

.intro__testi-logo{
	width: auto;
	height: 60px;

	display: inline-block;
	margin-left: 30px;
}
.intro__testi-logo:first-child{
	margin-left: 0;
}



/*/ TUTORIAL /*/
.tutorial__steps{
	height: 15px;
	text-align: center;

	display: block;
	margin-top: 35px;
}

.tutorial__step{
	height: 100%;
	position: relative;

	display: inline-block;
	margin-left: 5px;
}
.tutorial__step:first-child{
	margin-left: 0;
}

.tutorial__step--circle{
	width: 15px;
}
.tutorial__step--line{
	width: 30px;
}

.tutorial__step--circle::after{
	content: '';
	width: 10px;
	height: 10px;
	background-color: #FFFFFF;
	border-radius: 50%;
	position: absolute;
	top: 50%;

	transform: translateY(-50%);
}

.tutorial__step--line::after{
	content: '';
	width: 100%;
	height: 1px;
	background-color: #FFFFFF;
	position: absolute;
	top: 50%;
	left: 5px;

	transform: translateY(-50%);
}

.tutorial__step--circle.active::after{
	width: 15px;
	height: 15px;
}



/*/ SURVEY 0 /*/
.survey__step-circ-line-container{
	height: 25px;
	text-align: center;

	display: block;
}

.survey__step-circ-line{
	height: 100%;
	position: relative;

	display: inline-block;
	margin-left: 10px;
}
.survey__step-circ-line:first-child{
	margin-left: 0;
}

.survey__step-circ-line--circle{
	width: 25px;
}
.survey__step-circ-line--line{
	width: 35px;
}

.survey__step-circ-line--circle::after{
	content: '';
	width: 15px;
	height: 15px;
	background-color: #FFFFFF;
	border-radius: 50%;
	position: absolute;
	top: 50%;

	transform: translateY(-50%);
}

.survey__step-circ-line--line::after{
	content: '';
	width: 100%;
	height: 1px;
	background-color: #FFFFFF;
	position: absolute;
	top: 50%;
	left: 10px;

	transform: translateY(-50%);
}

.survey__step-circ-line--circle.active::after{
	width: 25px;
	height: 25px;
}

.survey__img{
	width: 53.3vw;
	height: 74.6vw;
	background-image: url('../imgs/survey/pubblicita.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	border-radius: 20px 20px 20px 20px;

	margin: 20px auto 0 auto;
}

.survey__voto-container{
	padding: 0 30px;

	margin-top: 30px;
}
.survey__step--1 .survey__voto-container{
	margin-top: 20px;
}
.survey__voto-container p{
	text-align: left;

	margin-bottom: 0;
}

.survey__voto{
	width: 20%;
	padding-top: 20%;
	position: relative;

	display: inline-block;
	margin-left: -5px;
}
.survey__voto::before{
	content: '';
	width: 60%;
	height: 60%;
	background-image: url('../imgs/survey/star-brown.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 45% auto;
	border-radius: 50%;
	background-color: #FFFFFF;
	position: absolute;
	top: 50%;
	left: 50%;

	transform: translate(-50%,-50%);
}
.survey__voto::after{
	content: '';
	width: calc(60% + 1px);
	height: calc(60% + 1px);
	border-radius: 50%;
	background-image: url('../imgs/survey/star.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 35% auto;
	position: absolute;
	top: 50%;
	left: 50%;

	transform: translate(-50%,-50%);
	opacity: 0;
}

.survey__voto.active::after{
	background-color: #470000;
	opacity: 1;
}

.survey__voto--smile::before{
	width: 70%;
	height: 70%;
	background-image: none;
}
.survey__voto--smile::after{
	width: calc(70% + 1px);
	height: calc(70% + 1px);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 70% auto;

	opacity: 1;
}
.survey__voto--smile-1::after{
	background-image: url('../imgs/survey/smile-1.png');
}
.survey__voto--smile-2::after{
	background-image: url('../imgs/survey/smile-2.png');
}
.survey__voto--smile-3::after{
	background-image: url('../imgs/survey/smile-3.png');
}
.survey__voto--smile-4::after{
	background-image: url('../imgs/survey/smile-4.png');
}
.survey__voto--smile-5::after{
	background-image: url('../imgs/survey/smile-5.png');
}

.survey__voto--smile.active::before{
	background-color: #470000;
}
.survey__voto--smile-1.active::after{
	background-color: transparent;
	background-image: url('../imgs/survey/smile-1-white.png');
}
.survey__voto--smile-2.active::after{
	background-color: transparent;
	background-image: url('../imgs/survey/smile-2-white.png');
}
.survey__voto--smile-3.active::after{
	background-color: transparent;
	background-image: url('../imgs/survey/smile-3-white.png');
}
.survey__voto--smile-4.active::after{
	background-color: transparent;
	background-image: url('../imgs/survey/smile-4-white.png');
}
.survey__voto--smile-5.active::after{
	background-color: transparent;
	background-image: url('../imgs/survey/smile-5-white.png');
}


/*/ counter /*/
.counter__bar{
	width: 45px;
	height: calc(100% - 80px);
	background-color: #FFFFFF;
	box-shadow: 0px 29px 99px rgba(0,0,0,.16);
	border-radius: 15px;
	position: absolute;
	top: 40px;
	left: 60px;
}
#counter2 .counter__bar{
	left: 80px;
}

.counter__bar-progress{
	width: 100%;
	height: 100%;
	border-radius: 15px;
	position: absolute;
	bottom: 0;
	left: 0;

	overflow: hidden;
}
.counter__bar-progess--half{
	width: 100%;
	height: 50%;
	position: relative;
	bottom: auto;
	left: auto;
}

.counter__bar-progress-filler{
	width: 100%;
	height: 0%;
	background-color: #470000;
	border-radius: 15px;
	position: absolute;
	bottom: 0;
	left: 0;
}
#counter2 .counter__bar-progress-filler{
	min-height: 15px;
	border-radius: 15px 15px 0 0;
}

.counter__bar-progress-filled{
	width: 100%;
	height: 50%;
	background-color: #470000;
	border-radius: 0 0 15px 15px;
	position: absolute;
	bottom: 0;
	left: 0;
}

.counter__bar-donate{
	width: 245px;
	padding-right: 15px;
	border-bottom: 5px solid #470000;
	position: absolute;
	top: 30px;
	left: 0;
}

.counter__bar-donate--next{
	width: 60px;
	border-bottom: 4px solid #470000;
	padding-right: 0;
	top: 50%;
	left: auto;
	right: 45px;

	transform: translateY(-50%);
}

.counter__bar-donate-text{
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 19px;
	color: #FFFFFF;
	text-align: right;

	margin-bottom: 0;
}

.counter__bar-donate--next .counter__bar-donate-text{
	font-size: 10px;
	line-height: 13px;

	margin-right: 10px;
	margin-bottom: 10px;
}

.counter__bar-num{
	font-family: 'Roboto', sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 11px;
	color: #470000;
	position: absolute;
	left: 50%;

	transform: translateX(-50%);
	margin-bottom: 0;
}
.counter__bar-num--top{
	padding: 18px 6px;
	border-radius: 8px;
	top: 12px;

	transition: all 300ms linear;
}
.counter__bar-num--top.active{
	background-color: #FFFFFF;
	box-shadow: 0 3px 17px rgba(255,255,255,.9);
}
.counter__bar-num--center{
	top: 50%;

	transform: translate(-50%,-50%);
	transition: all 300ms linear;
}
#counter2 .counter__bar-num--center{
	padding: 18px 6px;
	border-radius: 8px;
	background-color: #FFFFFF;
	box-shadow: 0 3px 17px rgba(255,255,255,.9);
	top: calc(50% + 30px);
}
.counter__bar-num--bottom{
	font-size: 20px;
	font-weight: 700;
	line-height: 20px;
	bottom: 5px;
}
.counter__bar-num--bottom::before{
	content: '';
	width: 15px;
	height: 10px;
	background-image: url('../imgs/general/users.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 15px auto;
	position: absolute;
	top: -15px;
	left: 50%;

	transform: translateX(-50%);
}

.counter__bar-plus{
	width: 30px;
	height: 30px;
	background-color: #FFFFFF;
	border-radius: 10px;
	box-shadow: 0px 19px 83px rgba(0,0,0,.16);
	position: absolute;

	transform-origin: 50% 50%;
	transform: rotate(-5deg);
}
.counter__bar-plus--big{
	width: 50px;
	height: 50px;
}
.counter__bar-plus--small{
	width: 25px;
	height: 25px;
}
.counter__bar-plus--blue{
	background-color: #F3CD39;
}

.counter__bar-plus p{
	font-family: 'Roboto', sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 11px;
	color: #470000;
	position: absolute;
	top: 50%;
	left: 50%;

	margin-bottom: 0;
	transform: translate(-50%,-50%);
}
.counter__bar-plus--big p{
	font-size: 15px;
	line-height: 15px;
}
.counter__bar-plus--small p{
	font-size: 8px;
	line-height: 8px;
}
.counter__bar-plus--blue p{
	color: #FFFFFF;
}

.counter__testi{
	max-width: 220px;
	position: absolute;
	top: 130px;
	right: 20px;

	opacity: 0;
	transition: all 300ms linear;
}
.counter__testi.active{
	opacity: 1;
}


/*/ external cta /*/
.external-cta__social{
	width: 100%;
	position: relative;
	text-align: center;

	display: block;
	margin-top: 30px;
}

.external-cta__social::before{
	content: '';
	width: 80px;
	height: 1px;
	background-color: #707070;
	position: absolute;
	top: 0;
	left: 50%;

	transform:translateX(-50%);
}

.external-cta__social-el{
	margin-top: 30px;
	margin-left: 50px;
	display: inline-block;
}
.external-cta__social-el:first-child{
	margin-left: 0;
}

.external-cta__social-el a{
	display: block;
}

.external-cta__social-img{
	width: auto;
	height: 15px;
}
