/*.custom-selettore .hide_at_start {
    display: none;
}*/
.custom-selettore .selector {
    float: none;
}
.custom-selettore .intro {
	position:relative;
}
.custom-selettore .tabella{
	margin-top:20px;
}
.custom-selettore .tabella tr td a:hover {
	text-decoration:none;
}
.custom-selettore .tabella table{
	width:100%;
}
.custom-selettore .tabella table th {
	background-color:#FFCC00;
	color: #0048a6;
    font-size: 12px;
    text-transform: uppercase;
	border-right: 1px solid #fff !important;
	vertical-align:middle;
	font-family: "ubuntumedium";
	font-weight:normal;
}
.custom-selettore .tabella table th:last-child {
	border-right: 1px solid #dddddd !important;
}
.custom-selettore .tabella table td{
	font-size:13px;
	padding: 6px !important;
	border-top: 1px dashed #dddddd !important;
	border-right: 1px solid #dddddd !important;
	border-left: 1px solid #dddddd !important;
	border-bottom:none !important;
}
.custom-selettore .paginate_button.current > a {
    background-color: #eee;
}
.custom-selettore #results_filter > label {
    font-size: 13px;
    font-weight: normal;
}
.custom-selettore .even {
	background-color: #FAFAFA;
}
.custom-selettore .pagination .disabled a {
	opacity:0.5;
}
/*SELECTOR CSS*/
.custom-selettore .title p {
	font-size:12px;
	color: #003399;
	padding: 4px 23px 4px 7px;
	font-family: "ubuntumedium";
	position: absolute;
    top: 50%;
    -moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}
.custom-selettore .title span.selected {
    color: #ffcc00;
	text-transform: uppercase;
	font-size: 11px;
}
.custom-selettore #resetSearch {
	float:right;
	margin:0 0 20px;
	padding:0px;
	cursor:pointer;
	text-transform: uppercase;
}
.custom-selettore .data-box form {
	background-color:#CDCDCD;
    font-size: 11px;
	padding: 7px 9px 6px;
}
.custom-selettore .data-box form input {
    margin: 5px 5px 5px 2px;
}
.custom-selettore .first-row,
.custom-selettore .second-row {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}
.custom-selettore .data-box .clear{
	border-bottom:1px solid #FFF;
}
.custom-selettore .data-box {
    height: 48px;
    margin: 0 5px 20px;
    position: relative;
    width: 16.6667%;
}
.custom-selettore .data-box:first-child {
    margin-left: 0;
}
.custom-selettore .data-box.last {
    margin-right: 0;
}
.custom-selettore .data-box .number {
	background-color:#f6f6f6;
	cursor:pointer;
	border-bottom: 1px solid #e9e9e9;
}
.custom-selettore .data-box .number:last-child {
    border: medium none;
}
.custom-selettore .data-box .number:hover:not(.disabled):not(.selected) {
	background-color:#EBEBEB;
}
.custom-selettore .data-box .number .big {
	font-size: 12px;
	display: block;
	padding: 11px;
}
.custom-selettore .selector .last {
	margin-right:0!important;
}
.custom-selettore .data-box .scroll-box {
	width:120px;
	height:210px;
	overflow:auto;
	margin:0;
	padding:0;
}
.custom-selettore .data-box .scroll-box-min {
	border: 1px solid #e9e9e9;
	border-radius: 8px;
    display: none;
    margin: 0;
	left:0;
	width:100.5%; 
    overflow: auto;
    padding: 0;
    position: absolute;
    top: 200%;
    transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
    z-index: 10;
}
.custom-selettore div.filter div.filter-value-element.selected {
	background-color: #0048a6;
	color:#fff;
}
.custom-selettore div.filter div.filter-value-element.disabled {
	text-decoration: line-through;
	color: #A9A9A9;
	background-color: #fafafa;
}
.custom-selettore div#loading-background {
    background-color: rgba(0, 0, 0, 0.5);
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
	z-index:200;
}

.custom-selettore div#loading-background div#loading {
    background-image: url(../img/loading.gif);
    height: 128px;
    left: 50%;
    margin-left: -64px;
    margin-top: -64px;
    position: fixed;
    top: 50%;
    width: 128px;
}
.custom-selettore .button {
	display: inline-block;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	position: relative;
	cursor: pointer;
	border: none;
	width:100%;
	color: #003399;
	/*text-transform:uppercase;*/
	background: #ffcc00;
	-webkit-box-shadow: 0 3px 0 0 #c8a400 ;
	box-shadow: 0 3px 0 0 #c8a400 ;
	border-radius: 5px;
	/*text-shadow: 0 1px 1px rgba(0,0,0,0.3);*/
	-webkit-transition: top 50ms cubic-bezier(0.42, 0, 0.58, 1);
	-moz-transition: top 50ms cubic-bezier(0.42, 0, 0.58, 1);
	-o-transition: top 50ms cubic-bezier(0.42, 0, 0.58, 1);
	transition: top 50ms cubic-bezier(0.42, 0, 0.58, 1);
	line-height: 14px;
	min-height:45px;
	-webkit-user-select: none;  
	-moz-user-select: none;    
	-ms-user-select: none;      
	user-select: none;
}
.custom-selettore .greyBtn .button {
    background-color: #F4F4F4;
    box-shadow: 0 3px 0 0 #ddd;
    cursor: default;
}
.custom-selettore .greyBtn .button p {
    color: #A9A9A9;
    text-decoration: line-through;
    font-family: "ubunturegular";
    line-height: 14px;
}
.custom-selettore .greyBtn .button:hover {
	background: #F4F4F4;
	-webkit-box-shadow: 0 3px 0 0 #ddd ;
	box-shadow: 0 3px 0 0 #ddd ;
}
.custom-selettore .button:hover {
	background: #F5C400;
	-webkit-box-shadow: 0 3px 0 0 #c8a400 ;
	box-shadow: 0 3px 0 0 #c8a400 ;
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
	transition: none;
}

.custom-selettore .pulsanteSelezionato:hover{
    background-color: #003399;
    -webkit-box-shadow: 0 3px 0 0 #001E5C;
	box-shadow: 0 3px 0 0 #001E5C;
}
.custom-selettore .button.active {
	top: 2px;
	-webkit-box-shadow: 0 3px 0 0 #c8a400 ;
	box-shadow: 0 3px 0 0 #c8a400 ;
}
.custom-selettore .button::after {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	width: 23px;
	height: 100%;
	position: absolute;
	content: "";
	top: 0;
	right: 0;
	background: url("../img/arrow-select.png");
	background-repeat: no-repeat;
	background-position: 50% 50%;
	-webkit-background-origin: content-box;
	background-origin: content-box;
	-webkit-background-clip: border-box;
	background-clip: border-box;
	-webkit-background-size: 12px auto;
	background-size: 12px auto;
	-webkit-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
	-moz-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
	-o-transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
	transition: all 300ms cubic-bezier(0.42, 0, 0.58, 1);
}
.custom-selettore .pulsanteSelezionato {
        background-color: #003399;
        color: #ffffff;
        -webkit-box-shadow: 0 3px 0 0 #001E5C;
        box-shadow: 0 3px 0 0 #001E5C;
}
.custom-selettore .pulsanteSelezionato .filterLabel {
    color: #fff;
    /*font-family: "ubuntubold";*/
	display: block;
}
/*********************/
.custom-selettore h2 {
	margin:0 0 20px;
	font-size:20px;
	text-transform:uppercase;
	color:#003399;
	position:relative;
	overflow: hidden;
}
.custom-selettore .nomargin h2 {
	margin: 0;
}
.custom-selettore h2.title::after,
.custom-selettore h2.model::after {
	background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 26px, #d4d4d4 26px, #d4d4d4 100%);
	background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 26px,#d4d4d4 26px,#d4d4d4 100%);
	background: linear-gradient(135deg, #ffffff 0%,#ffffff 26px,#d4d4d4 26px,#d4d4d4 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d4d4d4',GradientType=1 );
	content: " ";
	height: 24px;
	position: absolute;
	top: 0;
	width: 100%;
}
@media (max-width: 991px) {
	.custom-selettore .first-row,
	.custom-selettore .second-row {
		display:block;
	}
	.custom-selettore .data-box {
		float:left;
		width:23.7%;
	}
	.custom-selettore .first-row .data-box.last,
	.custom-selettore .second-row .data-box:first-child {
		margin: 0 5px 20px;
	}
	.custom-selettore .first-row .data-box:nth-child(4),
	.custom-selettore .second-row .data-box:nth-child(2) {
		margin-right:0;
	}
	.custom-selettore .first-row .data-box:nth-child(5),
	.custom-selettore .second-row .data-box:nth-child(3) {
		margin-left:0;
	}
}
@media (max-width: 610px) {
	.custom-selettore .data-box {
		width: 31.6%;
	}
	.custom-selettore .first-row .data-box:nth-child(5),
	.custom-selettore .second-row .data-box:nth-child(2) {
		margin: 0 5px 20px;
	}
	.custom-selettore .first-row .data-box:nth-child(3),
	.custom-selettore .first-row .data-box:nth-child(6),
	.custom-selettore .second-row .data-box:nth-child(3),
	.custom-selettore .second-row .data-box:nth-child(6) {
		margin: 0 0 20px 5px;
	}
	.custom-selettore .first-row .data-box:nth-child(4),
	.custom-selettore .second-row .data-box:nth-child(1),
	.custom-selettore .second-row .data-box:nth-child(4) {
		margin: 0 5px 20px 0;
	}
}
@media (max-width: 480px) {
	.custom-selettore .data-box {
		width: 48%;
	}
	.custom-selettore .data-box:nth-child(2n+1) {
		margin: 0 5px 20px 0 !important;
	}
	.custom-selettore .data-box:nth-child(2n) {
		margin: 0 0 20px 5px !important;
	}
}
@media (max-width: 320px) {
	.custom-selettore .data-box {
		width: 100%;
	}
	.custom-selettore .data-box.filter {
		margin: 0 0 20px !important;
	}
}