/* Preload */
#preload{
	position: fixed;
	z-index: 9999;
	background: #c3c4c8;
	width: 100%;
	height: 100%;
	top:0;
}
@-moz-keyframes anim1{
	50%{ opacity: 1;}
	100%{ opacity: 1; -moz-transform: rotate(-110deg); margin-top: 0px; margin-left:-15px; }
}
@-webkit-keyframes anim1{
	50% { opacity: 1; }
	100% { opacity: 1; -webkit-transform: rotate(-110deg); margin-top: 0px; margin-left:-15px;}
}
@keyframes anim1{
	50% { opacity: 1; }
	100% { opacity: 1; -webkit-transform: rotate(-110deg); transform:rotate(-110deg); margin-top: 0px; margin-left:-15px;}
}
@-moz-keyframes anim2{
	50%{ opacity: 1;}
	100%{ opacity: 1; -moz-transform: rotate(110deg); margin-top: 0px; margin-left:-15px; }
}
@-webkit-keyframes anim2{
	50% { opacity: 1; }
	100% { opacity: 1; -webkit-transform: rotate(110deg); margin-top: 0px; margin-left:-15px;}
}
@keyframes anim2{
	50% { opacity: 1; }
	100% { opacity: 1; -webkit-transform: rotate(110deg); transform:rotate(110deg); margin-top: 0px; margin-left:-15px;}
}
@-moz-keyframes anim3{
	50%{ opacity: 1;}
	100%{ opacity: 1; margin-top: 0px; margin-left:-20px; }
}
@-webkit-keyframes anim3{
	50% { opacity: 1; }
	100% { opacity: 1; margin-top: 0px; margin-left:-20px;}
}
@keyframes anim3{
	50% { opacity: 1; }
	100% { opacity: 1; margin-top: 0px; margin-left:-20px;}
}
.acquisto1{
	position: absolute;
	top: 50%;
	left: 50%;
	width: 30px;
	height: 30px;	
	margin: -130px 0 0 35px;
	background: #3dbec0;	
    opacity:0;
    -webkit-animation: anim1 0.7s ease-in infinite;
    -moz-animation: anim1 0.7s ease-in infinite;
    animation: anim1 0.7s ease-in infinite;
    -webkit-animation-delay: 0.3s; /* Chrome, Safari, Opera */
    animation-delay: 0.3s;
}
.acquisto2{
	position: absolute;
	top: 50%;
	left: 50%;	
	margin: -130px 0 0 -55px;
	border-color: transparent transparent #52aad2 transparent;
	border-style: solid;
	border-width: 0px 20px 34px 20px;
	height: 0px;
	width: 0px;
    opacity:0;
    -webkit-animation: anim2 0.7s ease-in infinite;
    -moz-animation: anim2 0.7s ease-in infinite;
    animation: anim2 0.7s ease-in infinite;
    -webkit-animation-delay: 0.6s; /* Chrome, Safari, Opera */
    animation-delay: 0.6s;
}
.acquisto3{
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;	
	margin: -145px 0 0 -30px;	
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	background: #e66642;
    opacity:0;
    -webkit-animation: anim3 0.7s ease-in infinite;
    -moz-animation: anim3 0.7s ease-in infinite;
    animation: anim3 0.7s ease-in infinite;
    -webkit-animation-delay: 0.8s; /* Chrome, Safari, Opera */
    animation-delay: 0.8s;
}
.borsa{
	width: 100px;
	height: 120px;
	position: absolute;
	z-index: 10000;
	top: 50%;
	left: 50%;
	margin: -60px 0 0 -50px;
}
.borsa-login{
	width: 100px;
	height: 120px;
	margin: 0 auto 0 -50px;
	position: absolute;
	top: -75px;
	left: 50%;
}

/* Fonts */
	@font-face {
	    font-family: 'robotoregular';
	    src: url('../fonts/Roboto-Regular-webfont.eot');
	    src: url('../fonts/Roboto-Regular-webfont.eot?#iefix') format('embedded-opentype'),
	         url('../fonts/Roboto-Regular-webfont.woff') format('woff'),
	         url('../fonts/Roboto-Regular-webfont.ttf') format('truetype'),
	         url('../fonts/Roboto-Regular-webfont.svg#robotoregular') format('svg');
		font-weight: normal;
		font-style: normal;
	}
	@font-face {
		font-family: 'robotoregular';
	    src: url('../fonts/Roboto-Bold-webfont.eot');
	    src: url('../fonts/Roboto-Bold-webfont.eot?#iefix') format('embedded-opentype'),
	         url('../fonts/Roboto-Bold-webfont.woff') format('woff'),
	         url('../fonts/Roboto-Bold-webfont.ttf') format('truetype'),
	         url('../fonts/Roboto-Bold-webfont.svg#robotoregular') format('svg');
		font-weight: bold;
		font-style: normal;
	}
	@font-face {
	    font-family: 'robotothin';
	    src: url('../fonts/Roboto-Thin-webfont.eot');
	    src: url('../fonts/Roboto-Thin-webfont.eot?#iefix') format('embedded-opentype'),
	         url('../fonts/Roboto-Thin-webfont.woff') format('woff'),
	         url('../fonts/Roboto-Thin-webfont.ttf') format('truetype'),
	         url('../fonts/Roboto-Thin-webfont.svg#robotoregular') format('svg');
	}
	
/* Icone aggiuntive (flaticon) */
	@font-face {
		font-family: "Flaticon";
		src: url("../fonts/Flaticon.eot");
		src: url("../fonts/Flaticon.eot?#iefix") format("embedded-opentype"),
			url("../fonts/Flaticon.woff") format("woff"),
			url("../fonts/Flaticon.ttf") format("truetype"),
			url("../fonts/Flaticon.svg#Flaticon") format("svg");
		font-weight: normal;
		font-style: normal;
	}
	@media screen and (-webkit-min-device-pixel-ratio:0) {
		@font-face {
			font-family: "Flaticon";
			src: url("../fonts/Flaticon.svg#Flaticon") format("svg");
		}
	}
	[class^="flaticon-"]:before, [class*=" flaticon-"]:before,
	[class^="flaticon-"]:after, [class*=" flaticon-"]:after {   
		font-family: Flaticon;
		font-style: normal;
	}
	.flaticon-agenda:before { content: "\f100"; }
	.flaticon-arrows:before { content: "\f101"; }
	.flaticon-barcode:before { content: "\f102"; }
	.flaticon-calendar-times:before { content: "\f103"; }
	.flaticon-coins:before { content: "\f104"; }
	.flaticon-credit-card:before { content: "\f105"; }
	.flaticon-domain:before { content: "\f106"; }
	.flaticon-download-button:before { content: "\f107"; }
	.flaticon-favorite-heart-button:before { content: "\f108"; }
	.flaticon-globe:before { content: "\f109"; }
	.flaticon-google-drive-pdf-file:before { content: "\f10a"; }
	.flaticon-identity-card:before { content: "\f10b"; }
	.flaticon-invoice:before { content: "\f10c"; }
	.flaticon-keyboard-right-arrow-button:before { content: "\f10d"; }
	.flaticon-left-arrow-angle:before { content: "\f10e"; }
	.flaticon-mark-as-favorite-star:before { content: "\f10f"; }
	.flaticon-money:before { content: "\f110"; }
	.flaticon-money-1:before { content: "\f111"; }
	.flaticon-recycle-bin:before { content: "\f112"; }
	.flaticon-shape:before { content: "\f113"; }
	.flaticon-ticket:before { content: "\f114"; }

/* Reset */
	html{
		margin: 0; 
		padding: 0; 
		border: 0; 
		height: 100%;
	}
	body {
		font-family: robotoregular,helvetica,arial,sans-serif;
		color: #72757b; 
		background: #d2d3d7;
		overflow-x: hidden;
		min-height: 100%;
	}
	a, a:hover, a:visited, a:active, a:focus{
		color: #4f5258;
	}
	/* Testo selezionato */
	::selection {
	    background-color: #c3c4c8;
	}
	::-moz-selection {
	    background-color: #c3c4c8;   
	}

/* Classi generiche */
	.width100{ width:100%; }
	.width50{ width:50%; }
	.width33{ width:33.3%; }
	.width25{ width:25%; }
	.margin0{ margin:0 !important; }
	.marginbottom0{ margin-bottom:0 !important;}
	.marginbottom20{margin-bottom: 20px !important;}
	.margintop0{ margin-top:0 !important;}	
	.margintop20{margin-top: 20px !important;}
	.padding0{ padding:0; }
	.bordertop0{border-top:0 !important;}
	.fontx2{ font-size:2em; }
	.fontx4{ font-size:4em; }
	.dblock{display:block;}
	/* Testo colore */
	.colorscuro, .text-primary{ color:#4f5258; }
	.text-default{ color:#95979c;}
	.text-success{ color:#3abec0; }
	.text-info{ color:#52aad2; }
	.text-warning{ color:#ebc95e; }
	.text-danger{ color:#e66642; }
	/* Labels */
	.label-primary{ background-color: #4f5258;}
	.label-default{ background-color: #95979c;}
	.label-success{ background-color: #3abec0;}
	.label-info{ background-color: #52aad2;}
	.label-warning{ background-color: #ebc95e;}
	.label-danger{ background-color: #e66642;}
	/* Background */
	.bg-bianco{ background: #fff !important; }
	.bg-grigiomedio{ background: #c3c4c8 !important; }

/* Forms */
	form{margin-bottom:0;}
	fieldset {border:0; padding:0; margin-top:0;}
	fieldset div{margin:5px 0 5px 0;}
	legend {
		width:100%; 
		margin:0; 
		display:none;
	}
	.form-horizontal .control-label {
		color: #4f5258;
		font-weight: bold;
	}
	@media (min-width: 768px){
		.form-horizontal .control-label {
			margin-bottom: 0;
			text-align: right;
			padding: 15px 0;
		}
		.campi-inline{
			padding-top: 10px;
			padding-bottom: 10px;
		}
	}
	select,input,textarea{
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		font-size: 1.25em; 
		padding: 10px 20px; 
		background: #fff;
		border:1px solid #fff;
	}
	textarea{
		width:100%;
	}
	.form-control:focus,
	input:focus,
	textarea:focus,
	select:focus{
		outline: none;
		border-color: #95979c;
		box-shadow: none;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
	}
	*:focus{
    	outline: 0 !important;
	}
	input.radiocheck {
		width:20px; 
		border:0px;
		margin:0 0 0 0; 
		padding:0px; 
		background:none;
	}
	.form-control{
		font-size: 1.125em;
	    width: 100%;
		height: auto;
		padding: 13px 15px;
		border: 1px solid #fff;
		-webkit-box-shadow: none;
		box-shadow: none;
	}
	
	/* Input sfondo trasparente */
	.transparent-input, .transparent-input[readonly] {
		background-color: rgba(0, 0, 0, 0) !important;
		border: none !important;
    	color: #4f5258 !important;
	}
	
	/* Input con validazione */
	.has-success .form-control, .has-success .form-control:focus {
		border-color: #3abec0;
		-webkit-box-shadow: none;
		box-shadow: none;
	}	
	.has-error .form-control, .has-error .form-control:focus {
		border-color: #e66642;
		-webkit-box-shadow: none;
		box-shadow: none;
	}
	.has-error .checkbox, .has-error .checkbox-inline, .has-error .control-label, .has-error .help-block, .has-error .radio, .has-error .radio-inline, .has-error.checkbox label, .has-error.checkbox-inline label, .has-error.radio label, .has-error.radio-inline label{
		color: #e66642;
	}	
	
	/* Disabled */
	.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
		background-color: #e0e1e3;
		color: #b6b7ba;
		border-color: #e0e1e3;
		opacity: 1;
	}
	
	/* Testo centrato tipo "oppure al login" */
	.form-text-center{
		text-align: center;
		font-style: italic; 
		padding-top: 1em;
		padding-bottom: 1em;
		clear:both;
	}
	
	/* Placeholder */
	.form-control::-webkit-input-placeholder { color: #b6b7ba; }
	.form-control:-moz-placeholder { color: #b6b7ba; }
	.form-control::-moz-placeholder { color: #b6b7ba; }
	.form-control:-ms-input-placeholder { color: #b6b7ba; }
	
	/* Rimuove stili autocompletamento Chrome */
	input:-webkit-autofill,	input:-webkit-autofill:hover, input:-webkit-autofill:focus,	input:-webkit-autofill:active,
	textarea:-webkit-autofill, textarea:-webkit-autofill:hover, textarea:-webkit-autofill:focus, textarea:-webkit-autofill:active,
	select:-webkit-autofill, select:-webkit-autofill:hover, select:-webkit-autofill:focus, select:-webkit-autofill:active {
	    transition: background-color 5000s ease-in-out 0s;
	    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
    	-webkit-text-fill-color: #4f5258 !important;
	}
	input:-webkit-autofill:hover, input:-webkit-autofill:focus,	input:-webkit-autofill:active,
	textarea:-webkit-autofill:hover, textarea:-webkit-autofill:focus, textarea:-webkit-autofill:active,
	select:-webkit-autofill:hover, select:-webkit-autofill:focus, select:-webkit-autofill:active{
    	/*border: 1px solid #fff !important;*/
	}
	input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill{
    	color: rgb(79, 82, 88);
	}
	
	/* Scritte aggiuntive prima e dopo input */
	.input-group-addon {
	    color: #95979c;
	    background-color: #d2d3d7;
	    border: 0;
	    border-radius: 3px;
	}
	.has-error .input-group-addon {
		color: #fff;
		background-color: #e66642;
	}
	.has-success .input-group-addon {
		color: #fff;
		background-color: #3abec0;
	}
	
	/* Buttons */
	.btn{
		cursor:pointer;
		text-transform: uppercase;
		display: inline;
		float: left;
		padding: 15px 20px;
		border: 0;
		/*width: auto; */
		overflow :visible; 
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px; 
		margin-right: 1px;
		-webkit-transition: all 300ms ease-in-out;
	    -moz-transition: all 300ms ease-in-out;
	    -o-transition: all 300ms ease-in-out;
	    transition: all 300ms ease-in-out;		
	}
	a.btn, a.btn:hover, a.btn:visited, a.btn:active, a.btn:focus {
		color: #fff;
	}	
	.btn > span{
		display: block;
		white-space: nowrap; 
		margin: 0;   
		font-size: 1em;
	}
	.tasti-finali .btn > span{
		display: inline;
	}
	.tasti-verticale .btn{
		width: 100%;
		margin-bottom: 5px;
	}
	.tasti-verticale div{
		padding: 0;
	}
	@media (min-width: 768px) {
		.tasti-verticale div:nth-child(2n+1) {
			padding-right: 5px !important;
		}
	}
	
	/* Btn default */
	.btn-default,
	.btn-default.disabled.focus, .btn-default.disabled:focus, .btn-default.disabled:hover, .btn-default[disabled].focus, .btn-default[disabled]:focus, .btn-default[disabled]:hover, fieldset[disabled] .btn-default.focus, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default:hover{
		color: #fff;
		background: #95979c;
		border-bottom: 3px solid #808186;	
	}
	.btn-default:hover,
	.btn-default:focus,
	.btn-default:active,
	.btn-default.active.focus, .btn-default.active:focus, .btn-default.active:hover, .btn-default:active.focus, .btn-default:active:focus, .btn-default:active:hover, .open>.dropdown-toggle.btn-default.focus, .open>.dropdown-toggle.btn-default:focus, .open>.dropdown-toggle.btn-default:hover{	
		background: #7f8085;
		border-color: #6d6e72;
		color: #fff;
	}
	.btn-sm{
		padding: 7px 7px;
	}
	
	/* Btn info */
	.btn-info,
	.btn-info.disabled.focus, .btn-info.disabled:focus, .btn-info.disabled:hover, .btn-info[disabled].focus, .btn-info[disabled]:focus, .btn-info[disabled]:hover, fieldset[disabled] .btn-info.focus, fieldset[disabled] .btn-info:focus, fieldset[disabled] .btn-info:hover{
		color: #fff;
		background: #52aad2;
		border-bottom: 3px solid #4591b4;	
	}
	.btn-info:hover,
	.btn-info:focus,
	.btn-info:active,
	.btn-info.active.focus, .btn-info.active:focus, .btn-info.active:hover, .btn-info:active.focus, .btn-info:active:focus, .btn-info:active:hover, .open>.dropdown-toggle.btn-info.focus, .open>.dropdown-toggle.btn-info:focus, .open>.dropdown-toggle.btn-info:hover {
		background: #4691b3;
		border-color: #3b7b99;
		color: #fff;
	}	
	
	/* Btn success */
	.btn-success,
	.btn-success.disabled.focus, .btn-success.disabled:focus, .btn-success.disabled:hover, .btn-success[disabled].focus, .btn-success[disabled]:focus, .btn-success[disabled]:hover, fieldset[disabled] .btn-success.focus, fieldset[disabled] .btn-success:focus, fieldset[disabled] .btn-success:hover{
		color: #fff;
		background: #3abec0;
		border-bottom: 3px solid #389ea2;	
	}
	.btn-success:hover,
	.btn-success:focus,
	.btn-success:active,
	.btn-success.active.focus, .btn-success.active:focus, .btn-success.active:hover, .btn-success:active.focus, .btn-success:active:focus, .btn-success:active:hover, .open>.dropdown-toggle.btn-success.focus, .open>.dropdown-toggle.btn-success:focus, .open>.dropdown-toggle.btn-success:hover {	
		background: #31a2a3;
		border-color: #278182;
		color: #fff;
	}
	
	/* Btn warning */
	.btn-warning,
	.btn-warning.disabled.focus, .btn-warning.disabled:focus, .btn-warning.disabled:hover, .btn-warning[disabled].focus, .btn-warning[disabled]:focus, .btn-warning[disabled]:hover, fieldset[disabled] .btn-warning.focus, fieldset[disabled] .btn-warning:focus, fieldset[disabled] .btn-warning:hover{
		color: #fff;
		background: #ebc95e;
		border-bottom: 3px solid #c8ab50;	
	}
	.btn-warning:hover,
	.btn-warning:focus,
	.btn-warning:active,
	.btn-warning.active.focus, .btn-warning.active:focus, .btn-warning.active:hover, .btn-warning:active.focus, .btn-warning:active:focus, .btn-warning:active:hover, .open>.dropdown-toggle.btn-warning.focus, .open>.dropdown-toggle.btn-warning:focus, .open>.dropdown-toggle.btn-warning:hover {	
		background: #c8ab50;
		border-color: #aa9244;
		color: #fff;
	}	
	
	/* Btn danger */
	.btn-danger,
	.btn-danger.disabled.focus, .btn-danger.disabled:focus, .btn-danger.disabled:hover, .btn-danger[disabled].focus, .btn-danger[disabled]:focus, .btn-danger[disabled]:hover, fieldset[disabled] .btn-danger.focus, fieldset[disabled] .btn-danger:focus, fieldset[disabled] .btn-danger:hover{
		color: #fff;
		background: #e66642;
		border-bottom: 3px solid #c5573a;	
	}
	.btn-danger:hover,
	.btn-danger:focus,
	.btn-danger:active,
	.btn-danger.active.focus, .btn-danger.active:focus, .btn-danger.active:hover, .btn-danger:active.focus, .btn-danger:active:focus, .btn-danger:active:hover, .open>.dropdown-toggle.btn-danger.focus, .open>.dropdown-toggle.btn-danger:focus, .open>.dropdown-toggle.btn-danger:hover {
		background: #c45738;
		border-color: #a84a31;
		color: #fff;
	}
	
	/* Btn facebook */
	.btn-facebook,
	.btn-facebook.disabled.focus, .btn-facebook.disabled:focus, .btn-facebook.disabled:hover, .btn-facebook[disabled].focus, .btn-facebook[disabled]:focus, .btn-facebook[disabled]:hover, fieldset[disabled] .btn-facebook.focus, fieldset[disabled] .btn-facebook:focus, fieldset[disabled] .btn-facebook:hover{
		color: #fff;
		background: #486ebb url('/images/facebook-logo.png') no-repeat 10px 50%;
		background-size: 30px 30px;
		border-bottom: 3px solid #3b5998;	
		text-align: left;
		padding-left: 50px;
	}
	.btn-facebook:hover,
	.btn-facebook:focus,
	.btn-facebook:active,
	.btn-facebook.active.focus, .btn-facebook.active:focus, .btn-facebook.active:hover, .btn-facebook:active.focus, .btn-facebook:active:focus, .btn-facebook:active:hover, .open>.dropdown-toggle.btn-facebook.focus, .open>.dropdown-toggle.btn-facebook:focus, .open>.dropdown-toggle.btn-facebook:hover {	
		background: #3b5998 url('/images/facebook-logo.png') no-repeat 10px 50%;
		border-color: #2b4271;
		background-size: 30px 30px;
		color: #fff;
	}	
	.btn-facebook img{height: 30px;}
	
	.tasti-finali .btn{
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;	
		border-right: 1px solid #808186;
		margin-right: 0;
	} 
	.tasti-finali .btn:first-child{	
		-webkit-border-bottom-left-radius: 3px;
		-moz-border-radius-bottomleft: 3px;
		border-bottom-left-radius: 3px;
	}
	.tasti-finali .btn:last-child{	
		-webkit-border-bottom-right-radius: 3px;
		-moz-border-radius-bottomright: 3px;
		border-bottom-right-radius: 3px;
		border-right: 0;
	}
	.tasti-finali{
		clear: both; 
		width: auto; 
		overflow: hidden;
		background: #e0e1e3;
		-webkit-border-bottom-right-radius: 3px;
		-webkit-border-bottom-left-radius: 3px;
		-moz-border-radius-bottomright: 3px;
		-moz-border-radius-bottomleft: 3px;
		border-bottom-right-radius: 3px;
		border-bottom-left-radius: 3px;
	}
			
	/* Input numbers + - */
	/*.input-group-input-number{
		width: 96px;
	}
	.input-group-input-number .input-number{
		width: 20px;
		text-align: center;
		padding-left: 0;
		padding-right: 0;
	}*/
	.btn-meno{
		text-align: center;
		padding-left: 0;
		padding-right: 0;
		padding-top:0;
		
    margin: 0 auto;
    float: none;
	}
	.btn-piu{
		text-align: center;
		padding-right: 0;
		padding-left: 0;
		padding-bottom: 0;
		
    margin: 0 auto;
    float: none;
	}
	.input-piu-meno, .input-senza-piu-meno{
		width: 30px;
		text-align: center;
		padding-left: 0;
		padding-right: 0;
		margin: 0 auto;
	}
	.td-piu-meno{
		width: 30px;
	}
	.container-piu-meno{
		display: inline-block;
		margin: 0 auto;
	}
    @media only screen and (min-width : 992px) { /* Tablets horizontal */
		.btn-meno{ 
			float: right;
			padding-right: 10px; 
			padding-top: 13px;
		}
		.btn-piu{ 
			float: right;
			padding-left: 10px;
			padding-bottom: 13px;
		}
		.input-piu-meno{
			float: right;
		}
		.input-senza-piu-meno{
			float: none;
		}
		.td-piu-meno{
			width: auto;
		}
    }
	
/* Tables */
	.table{
		color: #4f5258;
	}
	.table>thead>tr>td{
		border-top: 0;
	}
	.table>thead>tr>th{
		border-bottom: 0;
	}
	.table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>th{
		color: #4f5258;
	}
	.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
		vertical-align: middle;
		border-top: 1px solid #d2d3d7;
		padding: 10px;
	}
	.table>tbody>tr>td.padding0, 
	.table>tbody>tr>th.padding0, 
	.table>tfoot>tr>td.padding0, 
	.table>tfoot>tr>th.padding0, 
	.table>thead>tr>td.padding0,
	.table>thead>tr>th.padding0 {
		padding: 0;
	}
	
	.table-hover>tbody>tr:hover {
		background-color: #fff;
	}
	.table>tbody>tr>td.padding0{
		padding: 0;
	}
	.table .btn .glyphicon{
		font-size: 2em;
	}
	.table .btn-link:hover,
	.table .btn-link:focus{
		text-decoration: none;
		color: #4f5258;
	}
	.link-nounderline,
	.link-nounderline:hover,
	.link-nounderline:focus,
	.link-nounderline:active{
		text-decoration: none;
	}
	.table .link-text{
		text-decoration: underline;
	}
	.table a:focus .link-text,
	.table a:active .link-text,
	.table a:hover .link-text{
		font-weight: bold;
	}
	td.importo, th.importo{
		text-align: center;
	}
	.table>tbody>tr.danger>td, .table>tbody>tr.danger>th, .table>tbody>tr>td.danger, .table>tbody>tr>th.danger, .table>tfoot>tr.danger>td, .table>tfoot>tr.danger>th, .table>tfoot>tr>td.danger, .table>tfoot>tr>th.danger, .table>thead>tr.danger>td, .table>thead>tr.danger>th, .table>thead>tr>td.danger, .table>thead>tr>th.danger,
    .table-hover>tbody>tr.danger:hover>td, .table-hover>tbody>tr.danger:hover>th, .table-hover>tbody>tr:hover>.danger, .table-hover>tbody>tr>td.danger:hover, .table-hover>tbody>tr>th.danger:hover {
    	color: #fff;
    	background-color: #e66642;
	}
	@media only screen and (min-width : 992px) { /* Tablets horizontal */
		td.importo, th.importo{
			text-align: right;
		}
	}
	#riga-totale td{
		background: #fff;
		font-size: 1.5em;
	}
	@media (min-width: 768px) {/* Small devices (tablets, 768px and up) */
		.td1-riga-codice-sconto{
			width: 300px;
		}
	}
	.td2-riga-codice-sconto{
		width: 1%;
	}

/* Tabs */
	.nav-tabs.nav-justified>li>a{
		border-bottom: 0;
		border-color: #d2d3d7;
	}
	.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
		color: #4f5258;
		cursor: default;
		background-color: #edeef0;
		border-bottom: 0;
		border-color: #d2d3d7;
	}
	.nav-tabs.nav-justified>.active>a, .nav-tabs.nav-justified>.active>a:focus, .nav-tabs.nav-justified>.active>a:hover{
		border-bottom: 0;
		border-color: #d2d3d7;
	}
	.nav-tabs>li>a{
		background: #c3c4c8;
		color: #95979c;
		border-bottom: 0;
		border-color: #d2d3d7;
	}
	.nav-tabs.nav-justified>li:first-child>a,
	.nav-tabs.nav-justified>li:first-child>a:hover,
	.nav-tabs.nav-justified>li:first-child>a:focus{
		border-left: 0;
	}
	.nav-tabs.nav-justified>li:last-child>a,
	.nav-tabs.nav-justified>li:last-child>a:focus,
	.nav-tabs.nav-justified>li:last-child>a:hover{
		border-right: 0;
	}
	.nav-tabs>li>a:hover,.nav-tabs>li>a:focus{
		background-color: #fff;
		color: #4f5258;
		border-bottom: 0;
		border-color: #d2d3d7;
	}
	@media (max-width: 768px) {
		.nav-justified > li {
			display: table-cell;
			width: 1%;
		}
		.nav-justified > li > a  {
			border-bottom: 0;
			border-radius: 4px 4px 0 0 !important;
			margin-bottom: 0 !important;
			padding: 10px 7px;
		}
	}
	
/* Alerts */
.alert{
	color: #fff;
	border: 0;
}
.alert-success{
	background: #3abec0;
}
.alert-danger{
	background: #e66642;
}

/* Panels */
	.panel{
		color: #4f5258;
		border: 0;
		background-color: #edeef0;
		-webkit-border-radius: 3px;
		border-radius: 3px;
		-moz-border-radius: 3px;
		-webkit-box-shadow: none;
    	box-shadow: none;
	}
	.panel-title{
		font-size: 1em;
	}
	.panel-default{
		
	}
	.panel-default>.panel-heading {
		color: #4f5258;
	    background-color: transparent;
	    border-color: #d2d3d7;
	}
	
/* List groups */
	a.list-group-item, button.list-group-item {
	    color: #4f5258;
	}
	.list-group-item {
	    padding: 10px 15px;
	    margin-bottom: -1px;
	    background-color: transparent;
	    border: 1px solid #d2d3d7;
	}
	.list-group-item.active, 
	.list-group-item.active:focus, 
	.list-group-item.active:hover{
		background: #3abec0;
	    border-color: #3abec0;
	}
	
/* Datepicker */
	.bootstrap-datetimepicker-widget table td.active, 
	.bootstrap-datetimepicker-widget table td.active:hover {
		background-color: #3abec0;
		color: #fff;
		text-shadow: none;
	}
	.bootstrap-datetimepicker-widget table td.active.today:before {
		border-bottom-color: #fff;
	}
	.bootstrap-datetimepicker-widget table td.today:before {
		border-bottom-color: #3abec0;
	}
	.bootstrap-datetimepicker-widget table td.disabled, .bootstrap-datetimepicker-widget table td.disabled:hover {
		color: #c3c4c8;
	}
	.bootstrap-datetimepicker-widget table td.new {
		color: #95979c;
	}
	.bootstrap-datetimepicker-widget table th.disabled, .bootstrap-datetimepicker-widget table th.disabled:hover {
		color: #c3c4c8;
	}

/* Confirm, alerts e modal */
	.bootbox .modal-content, .modal .modal-content {
		background-color: #edeef0;
		color: #4f5258;
		border: 0px;
	}
	.bootbox .close, .modal .close {
		font-size: 39px;
		font-weight: normal;
		color: #4f5258;
		text-shadow: none;
		filter: none;
		opacity: 1;
	}
	.bootbox .modal-title, .modal .modal-title{
		font-size: 1em;
		font-weight: bold;
		color: #4f5258;		
	}
	.bootbox .modal-header, .modal .modal-header{
	    border-bottom: 1px solid #e5e5e5;
	}
	.bootbox .modal-footer, .modal .modal-footer{
		padding: 0;
	    border-top: 1px solid #e5e5e5;
	}
	.bootbox .modal-footer .btn+.btn, .modal .modal-footer .btn+.btn {
		margin-bottom: 0;
		margin-left: 0;
	}
	.bootbox .btn, .modal .btn{
		margin-right: 0;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
	}
	.bootbox .btn:first-child, .modal .btn:first-child{
		-webkit-border-bottom-left-radius: 3px;
		-moz-border-radius-bottomleft: 3px;
		border-bottom-left-radius: 3px;
	}
	.bootbox .btn:last-child, .modal .btn:last-child{
		-webkit-border-bottom-right-radius: 3px;
		-moz-border-radius-bottomright: 3px;
		border-bottom-right-radius: 3px;
	
	}
	.modal-backdrop {
		background-color: #4f5258;
	}
	@media (min-width: 768px){
		.modal-dialog {
			margin: 100px auto;
		}
	}

/* Login */
	.sez.form-signin-container {
		margin-top: 50px;
		padding-top: 40px;
		margin-bottom: 20px;
		z-index: 1;
	}
	.form-signin .form-signin-heading,
	.form-signin .checkbox {
		margin-bottom: 10px;
	}
	.pin-link{
		position: relative;
		z-index: 1;
	}
	@media (min-width: 768px) {/* Small devices (tablets, 768px and up) */
		.form-signin-container {
			margin-left: auto;
			margin-right: auto;
			width: 500px;
		}
	}
	/* Slider login */
	.slider-signin{
		width: 100%;
		font-size: 3.4em;
		line-height: 1.2em;
		padding: 40px 20px;
		background: rgba(195,196,200,1);/* Old Browsers */
		background: -moz-linear-gradient(top, rgba(195,196,200,1) 0%, rgba(195,196,200,1) 49%, rgba(210,211,215,1) 100%); /* FF3.6+ */
		background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(195,196,200,1)), color-stop(49%, rgba(195,196,200,1)), color-stop(100%, rgba(210,211,215,1)));/* Chrome, Safari4+ */
		background: -webkit-linear-gradient(top, rgba(195,196,200,1) 0%, rgba(195,196,200,1) 49%, rgba(210,211,215,1) 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top, rgba(195,196,200,1) 0%, rgba(195,196,200,1) 49%, rgba(210,211,215,1) 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top, rgba(195,196,200,1) 0%, rgba(195,196,200,1) 49%, rgba(210,211,215,1) 100%); /* IE 10+ */
		background: linear-gradient(to bottom, rgba(195,196,200,1) 0%, rgba(195,196,200,1) 49%, rgba(210,211,215,1) 100%);/* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c3c4c8', endColorstr='#d2d3d7', GradientType=0 );/* IE6-9 */
	}
	.slider-signin div{
		color: #808186;
		text-align: center;
		font-family: robotothin;
		margin: 0;
	}
	@media (min-width: 768px) {/* Small devices (tablets, 768px and up) */
		.slider-signin{
/*			position: absolute;
			z-index: 0;*/
			bottom: 0;
			font-size: 4.8em;
		}
	}
	@media (min-width: 1440px) {
		.slider-signin{
			padding: 100px 20px;
		}
	}
	@media (min-width: 1920px) {
		.slider-signin{
			padding: 150px 20px;
		}
	}

/* Navbar */
	.navbar{
		margin-bottom: 70px;
		border: 0;
		background-color: #4f5258;
	}
	.navbar-brand {
		float: none;
		padding: 0;
		height: auto;
	}
	.navbar-brand>img {
		width: auto;
	}
	#barratop .navbar-header{
		float: none;
	}	
	/* Hamburgher menù icona */
	.navbar-toggle {
		float: left;
		width: 70px;
		height: 70px;
		padding: 20px;
		margin: 0;
		border: 0;
		border-radius: 0;
		background-color: transparent;
	}
	.navbar-default .navbar-toggle .icon-bar {
		background-color: #fff;	
		width: 30px;
		height: 3px;
		border-radius: 0;
		margin-bottom: 5px;
		-webkit-transition: all .25s ease-in-out;
		-moz-transition: all .25s ease-in-out;
	    -o-transition: all .25s ease-in-out;
		transition: all .25s ease-in-out;
	}
	.navbar-default .navbar-toggle .icon-bar:last-child{
		margin-bottom: 0;
	}
	.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus, .navbar-default .icon-list div {
		background-color: transparent;
		-webkit-transition: all .25s ease-in-out;
		-moz-transition: all .25s ease-in-out;
	    -o-transition: all .25s ease-in-out;
	    transition: all .25s ease-in-out;
	}
	.navbar-default .icon-list div, .navbar-default .icon-esc div{
		height: 80px;
		padding: 31px 30px;
		margin: 0px;
	}
	.navbar-default .icon-esc .icon-bar{
		background-color: #fff;
	}
	.navbar-default .navbar-toggle.icon-esc{
		background: #2c3139;
	}
	.icon-esc .icon-bar1{
		-ms-transform: translate(0px,8px) rotate(45deg);
		-webkit-transform:translate(0px,8px) rotate(45deg);
		-moz-transform:translate(0px,8px) rotate(45deg);
		-o-transform:translate(0px,8px) rotate(45deg);
		transform:translate(0px,8px) rotate(45deg);
	}
	.icon-esc .icon-bar2{
		opacity: 0;
	}
	.icon-esc .icon-bar3{
		-ms-transform: translate(0px,-8px) rotate(-45deg);
		-webkit-transform: translate(0px,-8px) rotate(-45deg);
		-moz-transform: translate(0px,-8px) rotate(-45deg);
		-o-transform: translate(0px,-8px) rotate(-45deg);
		transform: translate(0px,-8px) rotate(-45deg);
	}
	/* Links barra top */
	a.barralink{
		display:block;
		text-align: center;
		color: #f4f4f4;
		height: 70px;
		padding: 24px 18px;
		border-left: 1px solid #61646a;
	}
	a.barralink:hover, a.barralink:focus{
		background: #61646a;
		color: #f4f4f4;
		text-decoration: none;
	}
	a.barralink .glyphicon{
		font-size: 1.3em;
		vertical-align: top;
	}
	#barralink-user, #barralink-cart, #barralink-logout{
		float: right;
	}
	#barratop .badge{
		font-size: 9px;
		color: #fff;
		background: #3abec0;
		min-width: 15px;
		margin: -20px 0 0 -7px;
		position: relative;
		padding: 3px;
		border-radius: 7px;
	}
	.testo-carrello{
		color: #3abec0;
	}	
	@media screen and (min-width: 321px) { /* > di iphone4 */
		#barratop{
		    font-size: 1.15em;
		}
	}
	@media (min-width: 768px) {/* Small devices (tablets, 768px and up) */
		#barratop .container-fluid{
			padding: 0;
		}
		#barralink-user{
			float: left;
		}
	}
	
/* Container principale */
@media (min-width: 768px) {/* Small devices (tablets, 768px and up) */
	.container-principale{
		min-height: 100vh;
	}
}
	
/* Sidebar menu offcanvas */
	@media screen and (max-width: 767px) {
		.row-offcanvas {
			position: relative;
			-webkit-transition: all .25s ease-out;
			-o-transition: all .25s ease-out;
			transition: all .25s ease-out;
		}
		.row-offcanvas-right { right: 0; }
		.row-offcanvas-left { left: 0; }
		.row-offcanvas-right .sidebar-offcanvas {
			right: -75%; /* 6 columns */
		}
		.row-offcanvas-left .sidebar-offcanvas {
			left: -75%; /* 6 columns */
		}
		.row-offcanvas-right.active {
			right: 75%; /* 6 columns */
		}
		.row-offcanvas-left.active {
			left: 75%; /* 6 columns */
		}
		.sidebar-offcanvas {
			position: absolute;
			top: 0;
			width: 75%; /* 6 columns */
		}
	}
	#sidebar {
		background: #2c3139;
		/*min-height: 100vh;*/
		padding-right: 0;
		/*position: fixed;*/
	}
	#container-menu{
	/*	position: fixed;
		margin: 0;
		padding: 0;*/
	}
	#sidebar .nav {
		width: 100%;
	}
	#sidebar .navbar-brand{
		display: block;
		text-align: center;
		padding: 0 20px;
	}
	#sidebar .navbar-brand>img {
		width: auto;
		-webkit-border-radius: 50%;
		-moz-border-radius: 50%;
		border-radius: 50%;
		border: 2px solid #808186;
		margin: 90px auto 20px auto;
	}
	#sidebar .navbar-brand .svg-container{
		margin: 90px auto 20px auto;
	}
	#sidebar .navbar-brand .svg-container svg{
		width: 100px;
	}
	@media (min-width: 768px) {/* Small devices (tablets, 768px and up) */

		#sidebar .navbar-brand .svg-container svg{
			
		}
		#sidebar {
			min-height: 100vh;
		}
	}
	@media (min-width : 992px) { /* Tablets horizontal, desktop */
		#sidebar .navbar-brand .svg-container{
			margin: 110px auto 40px auto;
		}
		#sidebar .navbar-brand .svg-container svg{
			width: 110px;
		}
	}	
	@media (min-width : 1200px) { /* Large desktop */
		#sidebar .navbar-brand .svg-container svg{
			width: 140px;
		}
	}
	#sidebar a{
		color: #808186;
		text-transform: uppercase;
		border-bottom: 1px solid #3d424a;
		display: table;
		width: 100%;
	}
	#sidebar a:hover,
	#sidebar a:hover{
		color: #fff;
		background: transparent;
	}
	#sidebar a.active,
	#sidebar a.active:active,
	#sidebar a.active:hover,
	#sidebar a.active:focus{
		color: #4f5258;
		background: #d2d3d7;
	}
	#sidebar a span{
		font-size: 1.7em;
		/*margin-right: .7em;*/
		vertical-align: middle;
		display:table-cell;
		margin-right: 0;
		width: 1.7em;
		vertical-align: middle;
	}
	#sidebar .nav a div{
		display: table-cell; 
		vertical-align:middle;
	}
	@media (min-width: 768px) {/* Small devices (tablets, 768px and up) */
		#sidebar {
			padding-left: 0;
		}
	}
	
/* Principale */
	.corpo{
		color: #95979c;
		padding: 70px 20px 20px 20px;
	}
	@media (min-width: 768px) {/* Small devices (tablets, 768px and up) */
		.corpo{
			padding: 70px 40px 40px 40px;
		}
	}
	.corpo h1{
		color: #4f5258;
		font-family: robotothin;
		font-size: 3.8em;
		margin: 0.3em 0;
	}
	@media (min-width: 768px) {/* Small devices (tablets, 768px and up) */
		.corpo h1{
			font-size: 5em;
		}
	}
	.corpo h3{
		color: #4f5258;
		font-size: 1em;
		font-weight: bold;
	}
	.sez{
		position: relative;
		background: #edeef0;
		margin-bottom: 40px;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px; 
	}
	.sez-radiusdown{
		position: relative;
		background: #edeef0;
		margin-bottom: 40px;
		-webkit-border-bottom-left-radius: 3px;
		-webkit-border-bottom-right-radius: 3px;
		-moz-border-radius-bottomleft: 3px;
		-moz-border-radius-bottomright: 3px;
		border-bottom-left-radius: 3px;
		border-bottom-right-radius: 3px;
	}
	.sez-padding{
		padding: 20px;
	}
	.sez h2, .sez h6{
		margin: 0;
		-webkit-border-top-left-radius: 3px;
		-webkit-border-top-right-radius: 3px;
		-moz-border-radius-topleft: 3px;
		-moz-border-radius-topright: 3px;
		border-top-left-radius: 3px;
		border-top-right-radius: 3px;
	}

/* Footer */
	.foot, .foot a{
		color: #95979c;
		padding: 20px 0;
		text-align: center;
	}
	.foot-copyright, .foot-credits{
		font-size: .85em;
	}
	@media (min-width: 768px) {/* Small devices (tablets, 768px and up) */
		.foot-copyright{
			text-align: left;
			float: left;
		}
		.foot-credits{
			text-align: right;
			float: right;
		}
	}
/* Footer pagine esterne (non loggati) */
	@media (min-width: 768px) {/* Small devices (tablets, 768px and up) */
		#footer_pagesterne{
			position: absolute;
			bottom: 0;
			/*z-index: 1;*/
			padding: 20px;
		}
	}

/* Alerts personalizzati */
	#alert-container{
		position:fixed;
		bottom:20px;
		right:20px;
		width: 31.623931623931625%;
		z-index:9999;
	}
	.alert-siteland{
		moz-box-shadow:0px 2px 8px rgba(0, 0, 0, 0.7);
		-webkit-box-shadow:0px 2px 8px rgba(0, 0, 0, 0.7);
		box-shadow:0px 2px 8px rgba(0, 0, 0, 0.7);
		margin:5px 0 0 0;
	}
	/* Landscape phone to portrait tablet */
	@media (max-width: 768px) {
		#alert-container{
			right:0;
			width:100%;
		}
		.alert-siteland{
			width:auto;
			margin-left:20px;
			margin-right:20px;
		}
	}

	/* Css per pagina verifica.php [16/04/2020 - Gianmarco]*/

	.descrizione_pagina_verifica {
		position:absolute;
		width:50%;
	}
	.indicatore_username{
		position:relative;
		text-align: right;
	}

	@media (max-width: 768px) {/* Small devices (tablets, 768px and up) */
		.descrizione_pagina_verifica {
			position:unset;
			width:100%
		}
		.indicatore_username{
			position:unset;
			text-align: left;
		}
	}

	.checkbox_privacy {
		margin-bottom: 5%!important;
	}
	.attivita_iscrizioni {
		cursor: pointer;
	}

	/* lost-credentials2.php */
	.p-username-dimenticato {
		padding-top: 1%;
	}

	/* Css lotteria degli scontrini */
	.img-lotteria-scontrini {
		background-image: url(../images/lotteria_scontrini_small.png);	
		background-repeat: no-repeat!important;
		background-position: center;
		background-repeat: space;
		background-color: #3abec0;
		background-size: auto;
		width: 100%;
		height: 250px;
		padding-top: 0;
	}
	@media (min-width: 901px) {
		.img-lotteria-scontrini {
			background-image: url(../images/lotteria_scontrini.png);
		}
	}

	/* Css completamento dati per autodichiarazione */		
	.select_dati_autodichiarazione {
		width: -webkit-fill-available
	}
	.opzione_comuni {
		background-color: white;
		padding-top: 5px;
		padding-bottom: 5px;
	}
	#lista_comuni {
		background-color: white;
	}
	#search-box, #cerca_comune_nascita, #cerca_comune_residenza {
		width: -webkit-fill-available;
	}
	.notifica_pagina_registrazione {
		text-align: center;
		font-weight: bold;
		color: #de0000;
	}
	.separatore {
		height: 20px;
    	background-color: #d2d3d7
	}
	.posti_esauriti {
		color: red;
		text-align: right;
		margin-right: 10%;
		margin-bottom: 0px;
	}

	.select_assenza{
		margin-left: 1%;
		margin-right: 1%;
	}

	#select_turni, #select_lezione_recupero {
		margin-top: 2%;
	}

	.btn-assenze{
		color:#52bdbf!important;
	}

	.row-assenza {
		background-color: #fdf5e6
	}