* {
	font-family: 'Lato', sans-serif;
}
body {
	color: #050505;
	font-weight: 400;
}
a {
	color: #1C4E9E;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
.background-index {
	height: 100%;
    opacity: 1;
    overflow: hidden;
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
	background-size: cover;
	background-image: url('../img/background-index.jpg');
	background-position: center center;
	background-repeat: no-repeat;
}
.background-index:after {
	background: rgba(0,0,0,.5);
	content: ' ';
	position: fixed;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
}
.background-index:after {
    overflow: hidden;
    position: fixed;
	content: ' ';
	opacity: 0.85;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
	background-image: rgba(0, 0, 0, 0.5);
}
#draw_view,
.view {
	display: none;
}
.panel-content {
	margin: 25px 50px;
}

footer {
	font-size: 10px;
	color: #fff;
	line-height: 21px;
}

.btn-submit .j-button-label { 
	height: 44px;
	line-height: 44px;
	text-transform: uppercase;
	text-align: center;
}

.btn-submit {
	border-radius: 5px;
	color: #fff;
	background: #1C4E9E;
	width: 150px;
}

.j-button.btn-submit:hover label,
.j-button.btn-submit label {
	color: #fff;
	justify-content: center;
}
.btn-submit:hover {
	background: #1C4E9E;
}

#main form {
	max-width: 400px;
	margin: auto;
}

.form-confirm-message {
	display: none;
}

.description,
p {
	margin-bottom: 10px;
	line-height: 1.3em;
}

.versione-demo {
	position: fixed;
	top: 0;
	left: 0;
	width: 100px;
	height: 40px;
	background-color: #f00;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	z-index: 100000;
}

.form-confirm-message {
	display: none;
}
.custom-page,
.page-small,
.page {
	margin: auto;
	position: absolute;
	min-width: 300px;
}
.page {
	max-width: 700px;
}
.page-small {
	max-width: 320px;
	top: 50%;
	left: 35%;
	transform: translate(-50%, -50%);
	-webkit-box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.5);
	box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.5);	
}
@media (max-width: 768px) {
	.page-small {
		max-width: 320px;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		-webkit-box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.5);
		-moz-box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.5);
		box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.5);
	}
}
.custom-page {
	max-width: 700px;
	top: 50%;
	left: 75%;
	background-color: rgba(132, 114, 100, 0.6);;

	transform: translate(-50%, -50%);
	-webkit-box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.5);
	box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.5);
}
@media (max-width: 768px) {
	.custom-page {
		max-width: 700px;
		top: 50%;
		left: 50%;
		background-color: rgba(132, 114, 100, 0.6);;

		transform: translate(-50%, +60%);
		-webkit-box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.5);
		-moz-box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.5);
		box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.5);
	}
}

.page-small-inner {
	border-radius: 5px;
	background: #fff;
	padding: 40px 20px;
}
header img {
	height: 100px;
}
header {
	text-align: center;
	margin-bottom: 40px;
}
footer {
	text-align: right;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	height: 30px;
}
footer div {
	display: inline-block;
	margin: 8px 10px 0 10px;
}

h1,h2,h3 {
	font-weight: normal;
}
h1 {
	font-size: 26px;
	font-weight: 300;
	margin-bottom: 20px;
}
h2, h3 {
	font-weight: 300;
	margin-top: 20px;
	margin-bottom: 10px;
}
h2 {
	font-size: 22px;
}
h3 {
	font-size: 18px;
}

.j-field.j-field-checkbox label {
	color: #fff;
}
.check-in-ok svg { 
	fill: #1C4E9E;
	width: 100px;
	height: 100px;
}
.check-in-ok strong {
	color: #1C4E9E;
	display: block;
}
.check-in-ok span {
	display: block;
}
.check-in-ok {
	text-align: center;
	font-size: 22px;
	color: #1C4E9E;
}
.check-in-error {
	color: #ef0404;
	font-weight: bold;
	font-size: 22px;
	text-align: center;
}
@media screen and (max-width: 700px) {
	.page-small {
		float: none;
		margin: auto;
	}
}