@CHARSET "UTF-8";

/* --------------------------- classi per i form ---------------------------- */
form {
	position: relative;
	width: 100%;
	height: 100%;
	
	padding: 0 2px;
	
	border: none;
	
	display: flex;
	flex-flow: column nowrap;
	align-content: flex-start;
}

form .form_area_titolo {
	position: relative;
	padding: 0 0 0 20px;
	
	width: 100%;
	height: 40px;
	
	line-height: 40px;
	font-weight: bold;
	
	flex-grow: 0;
}

form fieldset {
	position: relative;
	width: 100%;
	height: calc(100% - 80px);
	
	margin: 0;
	padding: 0;
	
	border: none;
	
	display: flex;
	flex-flow: row nowrap;
	align-items: stretch;
	
	flex-grow: 1;
}

form fieldset .columns_layout {
	position: relative;
	height: 100%;
	
	display: flex;
	flex-flow: row wrap;
	align-content: flex-start;
	
	overflow: auto;
}

form fieldset .option_selector_container {
	position: relative;
	height: 40px;
	width: 100%;
	
	border-bottom: solid 1px;
	
	overflow: hidden;
}

form fieldset .option_selector_container .oc_title {
	position: relative;
	padding: 0 0 0 20px;
	
	height: 40px;
	line-height: 40px;
	
	/*cursor: pointer;*/
}

form fieldset .option_selector_container .oc_arrow {
	position: absolute;
	top: 0;
	right: 0;
	
	width: 40px;
	height: 40px;
	
	z-index: 10;
	/*cursor: pointer;*/
}

form fieldset .option_selector_container .oc_arrow img {
	top: 10px;
	left: 8px;
	
	margin: 0;
	margin-right: 0;
	
	-webkit-transform: translate(0, 0);
	-moz-transform: translate(0, 0);
	-o-transform: translate(0, 0);
	-ms-transform: translate(0, 0);
    transform: translate(0, 0);
}

form fieldset .option_selector_container .oc_overflow_area {
	position: absolute;
	top: 40px;
	right: 0;
	bottom: 0;
	left: 0;
	
	display: flex;
	flex-flow: row wrap;
	align-content: flex-start;
}

form fieldset .dropdown_container {
	margin: 10px 20px 0 20px;
	position: relative;
	height: 40px;
	
	flex-grow: 1;
	z-index: 100;
}

form fieldset .dropdown_container .cross_button {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	
	width: 40px;
	
	display: none;
	z-index: 30;
	cursor:pointer;
}

form fieldset .dropdown_container input.select_search {
	margin: 0;
	width: 100%;
	height: 100%;
	
	z-index: 20;
	
	text-transform: uppercase;
}

form fieldset .dropdown_container .dropdown_selection {
	position: absolute;
	top: 41px;
	right: 0;
	left: 0;
	
	height: 300px;
	
	border: solid 1px;
	border-top: none;
	
	overflow: auto;
	display: none;
	
	z-index: 10;
}

form fieldset .dropdown_container .dropdown_selection .dropdown_item {
	position: relative;
	padding: 0 5px;
	height: 30px;
	
	/*display: flex;
	flex-flow: row nowrap;
	align-items: stretch*/
	
	cursor: pointer;
}

form fieldset .dropdown_container .dropdown_selection .dropdown_item .dropdown_item_label {
	position: relative;
	height: 30px;
	
	display: inline-block;
	vertical-align: top;
	
	line-height: 30px;
	text-align: left;
	font-size: 0.9em;
	
	overflow: hidden;
}

form fieldset .checkbox_combo,
.scrolling_tcontainer .scrolling_tbody .scrolling_trow_wrapper .scrolling_trow .td_boxer .checkbox_combo,
.scrolling_tcontainer .scrolling_tbody .scrolling_trow_wrapper .row_confirm_operation .checkbox_combo {
	position: relative;
	margin: 10px 0 0 0;
	width: 80px;
	
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	
	cursor: pointer;
}

form fieldset .checkbox_combo {
	margin: 10px 0 0 20px;
}

.scrolling_tcontainer .scrolling_tbody .scrolling_trow_wrapper .scrolling_trow .td_boxer .checkbox_combo,
.scrolling_tcontainer .scrolling_tbody .scrolling_trow_wrapper .row_confirm_operation .checkbox_combo {
	margin: 0;
}

form fieldset .checkbox_combo input,
.scrolling_tcontainer .scrolling_tbody .scrolling_trow_wrapper .scrolling_trow .td_boxer .checkbox_combo input,
.scrolling_tcontainer .scrolling_tbody .scrolling_trow_wrapper .row_confirm_operation .checkbox_combo input {
	position: absolute;
	height: 0;
	width: 0;
	
	opacity: 0;
	cursor: pointer;
}

form fieldset .checkbox_combo .checkmark,
.scrolling_tcontainer .scrolling_tbody .scrolling_trow_wrapper .scrolling_trow .td_boxer .checkbox_combo .checkmark,
.scrolling_tcontainer .scrolling_tbody .scrolling_trow_wrapper .row_confirm_operation .checkbox_combo .checkmark {
	position: absolute;
	top: 10px;
	left: 5px;
	
	height: 20px;
	width: 20px;
	
	background-color: #eee;
	border: solid 1px;
}

/* On mouse-over, add a grey background color */
form fieldset .checkbox_combo:hover input ~ .checkmark,
.scrolling_tcontainer .scrolling_tbody .scrolling_trow_wrapper .scrolling_trow .td_boxer .checkbox_combo:hover input ~ .checkmark,
.scrolling_tcontainer .scrolling_tbody .scrolling_trow_wrapper .row_confirm_operation .checkbox_combo:hover input ~ .checkmark {
	background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
form fieldset .checkbox_combo input:checked ~ .checkmark,
.scrolling_tcontainer .scrolling_tbody .scrolling_trow_wrapper .scrolling_trow .td_boxer .checkbox_combo input:checked ~ .checkmark,
.scrolling_tcontainer .scrolling_tbody .scrolling_trow_wrapper .row_confirm_operation .checkbox_combo input:checked ~ .checkmark {
	background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
form fieldset .checkbox_combo .checkmark:after,
.scrolling_tcontainer .scrolling_tbody .scrolling_trow_wrapper .scrolling_trow .td_boxer .checkbox_combo .checkmark:after,
.scrolling_tcontainer .scrolling_tbody .scrolling_trow_wrapper .row_confirm_operation .checkbox_combo .checkmark:after {
	position: absolute;
	top: 1px;
	left: 5px;
	
	width: 5px;
	height: 10px;
	
	border: solid white;
	border-width: 0 3px 3px 0;
	
	content: "";
	display: none;
  
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

/* Show the checkmark when checked */
form fieldset .checkbox_combo input:checked ~ .checkmark:after,
.scrolling_tcontainer .scrolling_tbody .scrolling_trow_wrapper .scrolling_trow .td_boxer .checkbox_combo input:checked ~ .checkmark:after,
.scrolling_tcontainer .scrolling_tbody .scrolling_trow_wrapper .row_confirm_operation .checkbox_combo input:checked ~ .checkmark:after {
 	display: block;
}

form fieldset .checkbox_combo img,
.scrolling_tcontainer .scrolling_tbody .scrolling_trow_wrapper .scrolling_trow .td_boxer .checkbox_combo img,
.scrolling_tcontainer .scrolling_tbody .scrolling_trow_wrapper .row_confirm_operation .checkbox_combo img {
	left: 70%;
	
	-webkit-transform: translate(-70%, -50%);
	-moz-transform: translate(-70%, -50%);
	-o-transform: translate(-70%, -50%);
	-ms-transform: translate(-70%, -50%);
    transform: translate(-70%, -50%);
}

form fieldset .link_container {
	position: relative;
	margin: 10px 0 0 0;
	width: 40px;
	height: 40px;
	
	cursor: pointer;
}

form fieldset #range_wrapper {
	position: relative;
	width: 90%;
	height: 40px;
	
	line-height: 40px;
	
	border: solid 1px;
}

form fieldset #range_wrapper .range {
	position: relative;
	display: inline-block;
	vertical-align: top;
	
	width: 85%;
	margin: 10px 0px;
	
	border: none;
}

form fieldset #range_wrapper #mostra_percentuale {
	position: relative;
	display: inline-block;
	vertical-align: top;
	
	margin-left: 5%;
	
	width: 40px;
	height: inherit;
	
	line-height: inherit;
}

.form_buttons_row {
	position: relative;
	margin: 0;
	padding: 0;

	height: 40px;
	
	display: flex;
	flex-flow: row nowrap;
	align-items: stretch;
	justify-content: flex-end;
	
	flex-grow: 0;
}

.form_buttons_row button {
	width: 150px;
	
	border-left: solid 2px #fff;
}

/*.form_buttons_column {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	
	width: 150px;
	
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
}

.form_buttons_column button {
	height: calc(49% - 1px);
}*/

input,
select,
textarea,
label,
.form_disclaimer {
	position: relative;
	margin: 10px 20px 0 20px;
}

input,
select,
textarea,
.form_disclaimer {
	border: solid 1px;
	font-size: 0.9em;
	
	flex-grow: 1;
}

textarea {
	height: 100px;
	line-height: 20px;
}

input.uppercase {
	text-transform: uppercase;
}

input.lowercase {
	text-transform: lowercase;
}

input {
	padding: 0 0 0 10px;
}

input,
select,
label {
	height: 40px;
	line-height: 40px;
}

.form_disclaimer {
	line-height: 40px;
	
	border-top: none;
	border-right: none;
	border-left: none;
}

button {
	position: relative;
	padding-left: 40px;
	
	font-weight: bold;
	text-align: left;
	
	border: none;
	
	z-index: 10;
	cursor: pointer;
}

button img {
	position: absolute;
	top: 50%;
	left: 10px;
	
	margin: 0;
	
	-webkit-transform: translate(0%, -50%);
	-moz-transform: translate(0%, -50%);
	-o-transform: translate(0%, -50%);
	-ms-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
}

input.ricerca_testo {
	margin: 10px 10px 0 10px;
	width: calc(100% - 20px);
	
	border-bottom: none;
	
	order: 1;
}

/*
 * --------- risposte del form ---------
 */
 .attivita_eseguita_con_successo {
	position: relative;
	height: 40px;
	
	margin: 0 20px;
	
	line-height: 40px;
	text-align: center;
}

.attivita_eseguita_con_successo:first-of-type {
	margin: 100px 0 0 0;
}
