* {
	font-family: 'Lato', sans-serif;
}
body {
	color: #050505;
	font-weight: 400;
}
a {
	color: #254495;
	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: no-repeat url('../img/background-index.jpg') center center;
	background-size: cover;
}
.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, .5);
}
#draw_view,
.view {
	display: none;
}
.panel-content {
	margin: 25px 50px;
}

footer {
	font-size: 10px;
	color: #fff;
	line-height: 21px;
}
.btn-back .j-button-label,
.btn-submit .j-button-label { 
	height: 44px;
	line-height: 44px;
	text-transform: uppercase;
	text-align: center;
}
.btn-back{
	background: #999999;
	width: 150px;
	float: left;
	margin-right: 10px;
}
.btn-submit {
	float: left;
	background: #254495;
	width: 150px;
}
.j-button.btn-back:hover label,
.j-button.btn-back label,
.j-button.btn-submit:hover label,
.j-button.btn-submit label {
	color: #fff;
}
.btn-back:hover
.btn-submit:hover {
	background: #008b07;
}

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

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

.j-form-line.line-no-margin {
	margin-bottom: 0;
}
.j-field.field-no-margin-top {
	margin-top: 0;
}
.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-error-message,
.form-confirm-message {
	display: none;
}
.page-small,
.page {
	margin: auto;
	position: relative;
}
.page {
	max-width: 800px;
}
.page-small {
	max-width: 380px;
	margin-left: 250px;	
	top: 50%;
	transform: translateY(-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);	
}

.page-small-inner {
	background: #fff;
	padding: 20px;
}
header {
	height: 50px;
	position: relative;
	margin-bottom: 25px;
}
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: #000000;
}
header img {
	max-width: 340px;
	width: 100%;
}
[data-page="page"] .page-small {
    margin: 50px auto;
    width: calc(100% - 20px);
    max-width: 1000px;
    transform: none;
    top: auto;
}

@media screen and (max-width: 700px) {
.page-small {
	float: none;
	margin: auto;
}
}