/* Copyright (c) DELTA X MULTIMEDIA */
/* Tutti i diritti sono riservati.  */
/* http://www.deltaxmultimedia.it   */
/* CSS Document                     */
/* Form Elements                    */

button, input, select, textarea, .field, .btn {font-family: "OpenSansRegular", Arial, helvetica, sans-serif;}


/* Custom Checkbox*/
input[type="checkbox"]
{
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
    *height: 14px; /* 3 */
    *width: 14px; /* 3 */
	
    appearance: none;
    -moz-appearance: none;
	-webkit-appearance: none;
	
}


/* The container */
.cb-container {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  cursor: pointer;
  
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;

  font-size:24px;
}


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

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

/* Style the checkmark/indicator */
.cb-container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/*----------------*/


fieldset{border:none;}

.btn
{
	display: block;
	
	margin: 0px 0px 0px 0px;
	/*padding: 8px 8px 8px 8px;*/
	width:auto;

	border:none;
	
	font-size: 12px; font-family: font-weight:500; /*text-shadow: 1px 1px 1px #8d8c84;*/
	
	-o-transition:background-color .3s;
	-ms-transition:background-color .3s;
	-moz-transition:background-color .3s;
	-webkit-transition:background-color .3s;

	transition:background-color .3s;
}


.btn:hover
{
	cursor:pointer;
}


.btn_hl,.btn_shl
{
	padding:20px 10px 20px 10px;	
	text-decoration:none;	
	font-size:14px;
	font-family:"OpenSansRegular", Arial, Verdana, Helvetica, sans-serif;
	/*text-shadow: 1px 1px 0px #000000;*/
}


.btn_shl
{
	position:absolute;
	bottom:0;
	width:100%;
	padding:20px 10px 20px 10px;	
	background: none;
	text-decoration:none;	
	font-family:"OpenSansRegular", Arial, Verdana, Helvetica, sans-serif;

}

.btn_shl:hover
{
	cursor:pointer;
}


.btn_submit
{
	padding:20px 10px 20px 10px;	
	background: #666;
	color:#fff;
	text-decoration:none;	
	font-size:14px;
	font-family:"OpenSansRegular", Arial, Verdana, Helvetica, sans-serif;
	/*text-shadow: 1px 1px 0px #000000;*/
}

.btn_submit
{
	padding:7px 20px 7px 20px;	
}

.btn_up {
    background-color: rgba(96, 167, 255, 0.2);
    /*border-radius: 2px;*/
    bottom: 30px;
    cursor: pointer;
    height: 44px;
    line-height: 42px;
    opacity: 0;
    position: fixed;
    right: 30px;
    text-align: center;
    transition: opacity 0.2s ease 0s;
    width: 44px;
	visibility:hidden;
}
.btn_up::before {
    color: #004b7d; /*b8bcc0*/
    content: "";/**/
    display: inline-block;
    font: 14px "FontAwesome";
    vertical-align: middle;
	color: #fff;
}
.btn_up.active {
	visibility:visible;
	display: inline-block;
    opacity: 1;
}

.btn_up.hide {
    opacity: 0;
	transition: opacity 0.2s ease 0s;
	visibility:hidden;
}


.btn_up:hover{
	background-color: rgba(96, 167, 255, 0.5);
	
}



#btn_up_box
{
	float:left;
	clear:left;	
	width:100%;
	visibility:hidden;
	text-align:right;
	height:60px;
	background-color:#00FF66;
}


.btn_social
{
	display: block;
	float:left;
	
	width:50px;
	height:50px;
	
	font-family:"OpenSansRegular", Arial, Verdana, Helvetica, sans-serif;
	font-size:16px;
	background-color:#eee;
	color:#000;
	text-align:center;
	line-height: 50px;
	-o-transition:.2s;
	-ms-transition:.2s;
	-moz-transition:.2s;
	-webkit-transition:.2s;
	transition:.2s;	
	
	margin-right: 10px;
}

.btn_social:hover
{

	background-color:#60a7ff;	
	color:#fff;
	cursor:pointer;
}

.btn_social:last-child
{
	margin-right: 0px;
}



.facebook:hover
{
	background-color:#4080ff;
	color:#fff;
}




/*.btn_social_contacts
{
	width:20px;
	height:20px;
	padding:14px;
	margin:2px;

}

.btn_social_contacts:hover
{
	background-color:#a92f3a;	
	color:#FFF;
	cursor:pointer;
}*/


.field {
	position: relative;
	margin-top:12px;
  	/*color:#333;*/
	
	font-family: "OpenSansRegular", Arial, Verdana, Helvetica, sans-serif;
	
	box-sizing:border-box;
	
}

.field:first-child
{
	margin-top:0px;
}

.field input, .field textarea, .field select{

	width: 100%;

	opacity: 0.6;
	
	padding: 8px 10px 7px 36px;
	
	border: 1px solid #ccc;
	
	background-color: #f6f6f6;
	
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out; 
	
	box-sizing:border-box;

	color:#000;
}


.field select{

	font-family: "OpenSansRegular", Arial, helvetica, sans-serif;
	font-style:italic;
	padding: 8px 10px 7px 32px;
	color:#666;
}

.field .fa-user, .field .fa-envelope,.field .fa-pencil, .fa-comment-o , .fa-building { 
	position: absolute;
	top: 14px;
	left: 0px;
	/*  cursor:default;*/
}

.field input:focus, .field textarea:focus, .field select:focus
{
	opacity: 1;
	border: 1px solid #60a7ff;
	/*-webkit-box-shadow: 0px 0px 3px 2px rgba(255,153,0,0.20);
	-moz-box-shadow: 0px 0px 3px 2px rgba(255,153,0,0.20);
	box-shadow: 0px 0px 3px 2px rgba(255,153,0,0.20);*/
	background-color: transparent;
	color:#333;
}

::-webkit-input-placeholder { font-style:italic; }
::-moz-placeholder { font-style:italic; } 
:-ms-input-placeholder { font-style:italic; }
input:-moz-placeholder { font-style:italic; }



.field textarea{
	width: 100%;
	height:260px;
	min-height:34px !important;
	resize: none;
}


.form_button{
	display: block;
	width:229px;
	height:34px;
	line-height:30px;
	padding: 0px 10px 0px 10px;
	letter-spacing:0px;
	border: 1px solid #bebdb2;
	
	
	
	/*text-shadow: 1px 1px 1px #666;*/
	/*border: solid thin #882d13;*/
	background-color:#2964a0;
	
	-moz-border-radius:4px;
	-o-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:6px;
	
	transition-property: background-color;         /*standard*/
	transition-duration: 0.4s;
	transition-timing-function: ease;
	
	-webkit-transition-property: background-color;  /*safari*/
	-webkit-transition-duration: 0.4s;
	-webkit-transition-timing-function: ease;
	
	-moz-transition-property: background-color;    /*firefox*/
	-moz-transition-duration: 0.4s;
	-moz-transition-timing-function: ease;
	
	
	-o-transition:.5s;
	-ms-transition:.5s;
	-moz-transition:.5s;
	-webkit-transition:.5s;
	/* ...and now for the proper property */
	transition:.5s;
}

.form_button:hover {

	background: #ff9900;
	
	text-decoration:none;
	text-align:center;
	cursor: pointer;

}


.form_button:active {

	background: #eae1a8;
	text-decoration:none;
	text-align:center;
}


.frmMailError
{
	display: inline-block;
	margin-bottom:12px;
	width:100%;
	padding:8px;
	box-sizing:border-box;
	border:1px solid #ffd2cf;
	background-color:#fff0f0;
	color:#cc0000;
}



.error { 

    display: block; 
	margin-top:4px;
    color: red; 
    font-style: italic; 
} 

#result { 
    display:none; 
    font-size:15px; 
    color:#333333; 
}


#mailError { 
    display:none; 
    font-size:15px; 
    color:#333333; 
}


.proportional
{
	width:100%;
} 



