.contattaci{
	background-color: #ffffff;
	border: 3px solid #0043b5;
	margin-bottom: 30px;
	border-radius: 5px;
	box-shadow: 0 5px 7px rgba(0,0,0,0.2);
	padding: 0 15px;
}

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

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

.box-title-form b{
	padding: 3px 10px;
	text-transform: uppercase;
	color: #0043b5;
	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;
	color: #ffffff;
	margin: 0 -15px 10px -15px;
}

.bg-green{
	background-color: #0043b5 !important;
}

.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 !important;
}

.alt-row{
	background-color: #f5f5f5;
	padding: 5px 0;
	margin-top: 5px !important;
	margin-bottom: 5px !important;
}

.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);
}

#error-form p{
	font-size: 16px;
	text-align: center;
	color: #dd4b39;
	padding: 15px;
	border: 2px solid #dd4b39;
	border-radius: 5px;
	background-color: #f2dede;
}

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

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

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

.fa-check{
    color: #51af3d;
	font-size:20px;
	height: 22px;
	position: absolute;
    z-index: 99;
    top: 0;
    right: 15px;
}

.fa-remove{
    color: #dd4b39;
	font-size:20px;
	height: 22px;
	position: absolute;
    z-index: 99;
    top: 0;
    right: 15px;
}

.nonvalido{
	position: absolute;
    z-index: 5;
    text-align: right;
    right: 15px;
    top: 35px;
	color: #dd4b39 !important;
	font-size: 11px;
	font-weight: bold;
}
.form-horizontal .has-feedback .form-control-feedback{
	position: absolute;
    top: 5px;
    right: 0;
}

.check-box{
	display: inline-block;
	width: 50px !important;
	height: 50px !important;
	border-radius: 5px;
}

input[type=checkbox] {
	width: 50px !important;
	height: 50px !important;
	margin: 0;
}

input[type=checkbox]:checked,
input[type=checkbox]:focus{
	width: 50px !important;
	height: 50px !important;
	margin: 0;
}


label.css-label {
	position: relative;
	left: 20px;
	bottom: 17px;
}

#contratto-error{
	position: absolute;
    top: 140px;
    right: 20px;
}




#messaggi,
#avviso {
  	display: none;
}
.css-label-messaggi,
.css-label-avviso{
	background-image: url('../img/csscheckbox.png?v=0.01');
  	background-position: top;
  	width: 50px;
  	height: 50px;
  	background-repeat: no-repeat;
	float: left;
}
#messaggi:checked + .css-label-messaggi,
#avviso:checked + .css-label-avviso{
  	background-position: bottom;
}

.add_service_text{
	font-weight: bold;
	display: inline-block;
	margin-top: 15px !important;
	margin-left: 5px;
	font-size:14px;
}
@media(min-width:768px){
	.add_service_text{
		font-weight: bold;
		display: inline-block;
		margin-top: 15px !important;
		margin-left: 20px;
		font-size:16px;
	}
}


.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;
}

.form-group-custom,
.form-group-custom-2{
	display: inline-block;
    width: 100%;
    background: #e3f1f9;
    padding: 10px;
    margin-left: 0;
    min-height: 70px;
	border-radius: 5px;
}


@media(min-width:992px){
	.form-group-custom,
	.form-group-custom-2{
		margin-left: 10px;
	}

	.form-group-custom-2{
		margin-left: -10px;
	}
}

.loader-attivazione{
	top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgba(255,255,255);
    position: fixed;
	text-align: center;
}
.loader-attivazione img{
	position: relative;
    top: 20%;
}
