.risparmio{
	background-color: #ffffff;
	border: 3px solid #009879;
	padding: 0;
	margin-bottom: 30px;
	border-radius: 5px;
	box-shadow: 0 5px 7px rgba(0,0,0,0.2);
	display: inline-block;
	width: 100%;
}

.risparmio form {
	display: block;
	margin-top: 0;
}

.box-title-form{
	text-align: center;
	padding: 8px;
	font-size: 22px;
	margin-bottom: 10px;
	color: #ffffff;
	text-shadow: -1px 1px 2px rgba(0,0,0,0.1);
}

.box-title-form b{
	padding: 3px 10px;
	text-transform: uppercase;
	color: #009879;
	background-color: #ffffff;
	border-radius: 3px;
	margin-left: 10px;
	margin-right: 10px;
	text-shadow: none;
}

.box-title-form small{
	font-style: italic;
}

.title-form {
	text-align: center;
	padding: 5px;
	font-size: 20px;
	margin-bottom: 10px;
	color: #ffffff;
}

.bg-green{
	background: -webkit-radial-gradient(#005e4b, #005e4b);
  background: -o-radial-gradient(#005e4b, #005e4b);
  background: -moz-radial-gradient(#005e4b, #005e4b);
  background: radial-gradient(#005e4b, #005e4b);
	border-top:0;
	border-bottom: 0;
}

.sep-form {
	display: block;
	height: 1px;
	background-color: #ebebeb;
	margin-top: 2px;
	margin-bottom: 2px;
}

.box-footer{
	display: inline-block;
	width: 100%;
}

input, select{
	height: 50px !important;
	border-radius: 0 5px 5px 0;
}

.form-group{
	margin-bottom: 0 !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.input-group-addon {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #ffffff;
    text-align: center;
    background-color: #009879;
    border: 0;
    border-radius: 4px;
	min-width: 40px;
}

.form-control{
	border: 0;
	-webkit-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.3);
	box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.3);
}
.form-control:focus{
	border: 0;
	box-shadow: none;
	outline-width: 0;
	-webkit-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.3);
	box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.3);
}
.input-extended{
	display: inline-block;
	width: 100%;
}
#error-form p{
	font-size: 16px;
	text-align: center;
	color: #dd4b39;
	padding: 15px;
	border: 2px solid #dd4b39;
	border-radius: 5px;
	background-color: #f2dede;
}

.input-group{
	border: 2px solid rgba(0,0,0,0);
	border-radius: 6px;
}

.input-group:hover{border: 2px solid rgba(0, 94, 75, 1);}


.box-contratto span.form-control-feedback{
  position: relative;
  top: 0;
  left: -50px;
  display: inline-block;
  width: 40px !important;
  height: 40px !important;
  font-size: 21px;
  float: left;
  background-color: #ffffff;
  border: 2px solid;
  padding: 8px 8px;
  border-radius: 5px;
}

.box-contratto span.small{
	font-size: 10px;
	color: #999999;
	display: inline-block;
	line-height: 13px;
	padding-bottom: 0px;
	width: 100%;
	margin: 0 0 0 0;
	min-height: 100px;
}

span.text-contratto{
	display: block;
	margin: -30px 0 20px 40px;
}

.glyphicon-ok{
    color: #01b559;
	font-size:20px;
	height: 22px;
}

.glyphicon-remove{
    color: #dd4b39;
	font-size:20px;
	height: 22px;
}

.nonvalido{
	position: absolute;
    z-index: 5;
    text-align: right;
    right: 5px;
    top: 35px;
	color: #dd4b39 !important;
	font-size: 11px;
	font-weight: bold;
}
.form-horizontal .has-feedback .form-control-feedback{
	position: absolute;
    top: 5px;
    right: 0;
}
.container-check {
	display: block;
	position: relative;
	padding-left: 50px;
	cursor: pointer;
	font-size: 16px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	margin-bottom: 0;
	line-height: 40px;
}

/* Hide the browser's default checkbox */
.container-check input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 40px;
	width: 40px;
	background-color: #ffffff;
	border:none;
	border-radius: 3px;
	-webkit-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.3);
	box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.3);
}

/* On mouse-over, add a grey background color */
.container-check:hover input ~ .checkmark {
	background-color: #ebebeb;
}

/* When the checkbox is checked, add a blue background */
.container-check input:checked ~ .checkmark {
	background-color: #137cf4;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

/* Show the checkmark when checked */
.container-check input:checked ~ .checkmark:after {
	display: block;
}

/* Style the checkmark/indicator */
.container-check .checkmark:after {
	left: 15px;
	top: 11px;
	width: 10px;
	height: 16px;
	border: solid white;
	border-width: 0 4px 4px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

#accettazione_contratto-error,
#accettazione_espressa-error,
#accettazione_privacy-error{
	top: 0 !important;
}

.riepilogo{
	padding: 10px;
	font-size: 18px;
}
.btn-lg{
	height: 50px;
	border-radius: 5px 5px 5px 5px;
}
.label-margin{
	margin-top: 15px !important;
}
