#CaptchaPalliniFieldset {
	box-sizing: border-box;
	
	width: 100%;
	margin-bottom: 15px;
	padding: 0.5rem 1.0rem;
	border-radius: 0.0rem;
	border: 1px solid #AAAAAA;
}

#CaptchaPalliniLegend {
	font-weight: bold;
	padding-left: 4px;
	padding-right: 4px;
}

#CaptchaPalliniLabel {
	font-weight: normal;
}

ul#CaptchaPalliniLista {
	list-style: none;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	
	display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
	display: -moz-box;     /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;  /* TWEENER - IE 10 */
	display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
	display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
	
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-moz-box-orient: horizontal;
	-moz-box-direction: normal;
	-ms-flex-direction: row;
	-webkit-flex-direction: row;
	flex-direction: row;
	
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	
	-webkit-justify-content: flex-start;
	-moz-justify-content: flex-start;
	-ms-flex-pack: start;
	-ms-justify-content: flex-start;
	justify-content: flex-start;
}

ul#CaptchaPalliniLista li {
	width: 48px;
	height: 48px;
	margin: 8px;
	border: 2px solid transparent;
	border-radius: 4px;
}

li.CaptchaPalliniConfronto {
	cursor: pointer;
	order: 3;
}

.CaptchaPalliniPrimoElemento {
	order: 1;
}

.CaptchaPalliniElementoUguale {
	order: 2;
	width: 24px !important;
	height: 24px !important;
	margin-right: 0px !important;
	font-size: 24px;
	font-weight: bold;
	padding-top: 16px;
}

li.CaptchaPalliniConfronto:hover {
	border: 2px solid #666666 !important;
}


.CaptchaPalliniElementoSelezionato {
	border: 2px solid #000000 !important;
}

