@charset "utf-8";
/* CSS Document */

html, body {
	width: 100%;
	min-width: 320px;
	height: 100%;
	color: #41565e;
}

#wrapper {
	position: relative;
	z-index: 2;
	padding-top: 84px;
}

#bg-fixed {
	position: fixed;
	z-index: 1;
	height: 100%;
	width: 100%;
	bottom: 0;
	
	background-color: #313745;
	background-image: url(/images/bg-def.jpg);
	background-size: 100%;
	background-position: center bottom;
	background-repeat: no-repeat;
}

button>i {
	margin-right: 8px;
}

.text-gray {
	color: #41565e;
}
.text-lgray {
	color: #41565e;
}
.text-blue {
	color: #00a5ce;
}
.text-green {
	color: #83b946;
}
.bg-gray {
	background-color: #41565e;
}
.bg-lgray {
	background-color: rgba(0,0,0,0.05);
}
.bg-blue {
	background-color: #00a5ce;
}
.bg-green {
	background-color: #83b946;
}

a {
	color: #00a5ce;
	text-decoration: underline;
	cursor: pointer;
	transition: all 0.2s linear;
}
a:hover {
	text-decoration: none;
	color: #0692b5;
}

select, input {
	transition: all 0.2s linear;
}
select.confirm, input.confirm {
	border-color: #84b946;
    background-color: rgba(132, 185, 70, 0.1);
}

	select[name='sesso'] {
		margin-top: 30px !important;
	}

#header {
	display: block;
	position: fixed;
	box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.3);
	z-index: 1001;
	top: 0;
	left: 0;
	width: 100vw;
	background-color: #fff;
}

#header .logo-sc {
	display: block;
	/*width: 84px;*/
	width: calc(100% - 100px);
	height: 64px;
	background-image: url("/images/logo-unimib.png");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}

.container {
	display: block;
	position: relative;
	/*padding: 20px;*/
	padding: 0;
	max-width: 1170px;
	box-sizing: border-box;
	margin: 0 auto;
}
	#header .container {
		padding: 10px 20px;
	}


#login-container {
    display: block;
    max-width: 420px;
    text-align: center;
    color: #fff;
    margin: 50px auto;
    background-color: rgba(43, 47, 59, 0.8);
	border: 1px solid rgba(255,255,255,0.15);
    padding: 30px;
}
	#login-container .logo-sc {
		display: block;
		width: 96px;
		height: 64px;
		background-image: url(/images/logo-256h.png);
		background-repeat: no-repeat;
		background-size: contain;
		background-position: left center;
		margin: 0 auto;
	}
		.login-intro {
			display: block;
			margin: 20px 0;
		}
		.login-title {
			display: block;
			margin-bottom: 10px;
			font-weight: bold;
			font-size: 20px;
			text-transform: uppercase;
		}
		#submit_login {
			width: 100%;
		}
		#login-container input, #login-container select {
			margin-bottom: 10px;
			text-transform: uppercase;
			text-align: center;
		}
		/*#login-container button {
			display: inline-block;
			width: 120px;
			vertical-align: top;
			border-top-left-radius: 0;
    		border-bottom-left-radius: 0;
		}*/
	#login_error {
		display: none;
		margin-bottom: 12px;
		color: #cc535b;
	}
.step-container {
	display: none;
}
	.step-container.opened {
		display: block;
	}

#content {
    display: none;
    position: relative;
    background-color: rgba(255,255,255,0.9);
    max-width: 640px;
    margin: 0 auto;
	padding: 10px;
}
	#content select, #content input {
		margin: 10px;
		width: calc(100% - 10px);
	}
		#content select.confirmed, #content input.confirmed {
			border: 2px solid #00b13f;
		}
		#content select.error, #content input.error {
			border: 2px solid #C40000;
		}
	.sup-title {
		display: block;
		font-size: 22px;
		font-weight: 800;
		text-transform: uppercase;
		text-align: center;
	}
	.text-block {
		display: block;
		padding: 20px 20px 0px 20px;
	}
	.text-block-content{
		display: block;
		margin: 10px 0;
	}
	.question-title {
		display: block;
		font-weight: bold;
		margin: 10px 0 20px 0;
		text-transform: uppercase;
	}
	.question-subtitle {
		display: block;
		margin-top: 10px;
		font-style: italic;
	}
	#submit_form {
		margin: 10px 30px;
		width: 280px;
	}

.title-bg {
    background-color: rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
    display: block;
    width: fit-content;
    padding: 0 10px;
    line-height: 32px;
}

.section_bar {
    display: block;
	position: relative;
    background-color: rgba(0,0,0,0.05);
    padding: 10px;
    border-left: 14px solid #ccc;
    line-height: 20px;
	margin-bottom: 6px;
    cursor: pointer;
	transition: all 0.2s linear;
}
.section_bar:hover {
    background-color: rgba(0,0,0,0.15);
}
	.section_bar.violet {
		border-color:#82358b;
	}
	.section_bar.red {
		border-color:#be1522;
	}
	.section_bar.blue {
		border-color:#106396;
	}
	.section_bar.green {
		border-color:#83b946;
	}
	.section_bar.charm {
		border-color:#46afb9;
	}
	.section_icon:after {
		/*font-family: 'Font Awesome\ 5 Free';
		font-family: 'Font Awesome 5';
		content: '\f107';*/
		
		content: "\f107";
		font-family: 'Font Awesome\ 5 Free';
		font-weight: 900;
		
		display: block;
		position: absolute;
		z-index: 1;
		top: 8px;
		right: 8px;
		width: 16px;
		height: 16px;
		font-size: 20px;
		color: #41565e;
		
		transition: all 0.2s linear;
	}
	.opened .section_icon:after {
		transform: rotate(-180deg);
	}
	.section_bar>strong {
		display: block;
	}
	.sub_content {
		margin-top: 6px;
	}
	.sub_content_long {
		display: none;
		margin-top: 6px;
	}

canvas {
	margin-top: 20px;
}

.next-step {
	margin: 20px 10px 10px 10px;
}

.legend_container>span {
    position: relative;
    display: inline-block;
    font-size: 13px;
    margin-right: 10px;
    padding-left: 38px;
	margin-bottom: 20px;
}
	.legend_container>span:before {
		content: ' ';
		position: absolute;
		left: 0;
		display: block;
		width: 30px;
		height: 20px;
		border: 1px solid #ccc;
		text-align: center;
	}
	.legend_container>span.ifp:before {
		content: 'IFP';
		border: 1px solid rgba(131, 185, 70, 0.8);
		background-color: rgba(131, 185, 70, 0.2);
	}
	.legend_container>span.ip:before {
		content: 'IP';
		border: 1px solid rgba(16, 99, 150, 0.8);
		background-color: rgba(16, 99, 150, 0.2);
	}
	.legend_container>span.it:before {
		content: 'IT';
		border: 1px solid rgba(190, 21, 34, 0.8);
		background-color: rgba(190, 21, 34, 0.2);
	}
	.legend_container>span.liceo:before {
		content: 'IT';
		border: 1px solid rgba(130, 53, 139, 0.8);
		background-color: rgba(130, 53, 139, 0.3);
	}
	.legend_container>span.universita:before {
		content: 'IT';
		border: 1px solid #ffc107;
		background-color: #ffc107;
	}

.feedback_container {
    margin-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 8px;
}

/* language picker */
.languagepicker {
	background-color: #FFF;
	display: inline-block;
	padding: 0;
	height: 40px;
	overflow: hidden;
	transition: all .3s ease;
	margin: 0 10px 10px 0;
	vertical-align: top;
	position: absolute;
    right: 0;
    top: 20px;
	z-index: 10;
}

.languagepicker:hover {
	/* don't forget the 1px border */
	height: 187px;
}

.languagepicker a{
	color: #000;
	text-decoration: none;
}

.languagepicker li {
	display: block;
	padding: 0px 20px;
	line-height: 40px;
	border-bottom: 1px solid #EEE;
}

.languagepicker li:hover{
	background-color: #EEE;
}

.languagepicker a:first-child li {
	border: none;
	background: #FFF !important;
	padding-bottom: 24px;
}

.languagepicker li img {
	margin-right: 5px;
	margin-top: -3px;
}

.roundborders {
	border-radius: 5px;
}

.label-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    line-height: 14px;
	cursor: pointer;
}
	.label-flex input[type='checkbox'] {
		width: 24px !important;
	}

.footer-container {
	position: relative;
	width: 100%;
    background-color: #fff;
    z-index: 3;
	box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.3);
}
	.footer-container>div {
		display: flex;
		position: relative;
		margin: 0 auto;
		flex-direction: column;
		bottom: 0;
		background-color: #fff;
		z-index: 3;
	}
		.footer-container>div>.title {
			display: block;
			max-width: 640px;
			margin: 0 auto;
			padding: 10px 10px 0 10px;
			color: #999;
			text-align: center;
		}
		.footer-container>div>img {
			display: block;
			width: 100%;
			max-width: 640px;
			margin: 0 auto;
		}

/* rating */
.rating {
	direction: rtl;
	unicode-bidi: bidi-override;
	color: #bbb;
	margin-top: 8px;
}
.rating label {
	cursor: pointer;
}
.rating input {
	display: none;
}
.rating label:hover,
.rating label:hover ~ label,
.rating input:checked + label,
.rating input:checked + label ~ label {
	color: #ffc107; /* Personal color choice. Lifted from Bootstrap 4 */
}
