/****Form****/

#form, #formCambioPass {
    padding: 20px;
}

#form input, #formCambioPass input {
	width: 100%;
	height: 31px;
	float:left;
	border: 1px solid #c5c5c5;
	background: #181717;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	color: #D9D9D9;
    font: 14px/20px 'Open Sans', sans-serif;
    padding: 5px 18px 6px;
}


#form textarea, #formCambioPass textarea {
	width: 100%;
	height: 221px;
	background: #fefefe;
	position: relative;
	resize:none;
	overflow: hidden;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	float:left;
	margin: 0;
	color: #D9D9D9;
    font: 14px/20px 'Open Sans', sans-serif;
	border: 1px solid #f1efef;
    padding: 5px 18px 6px;
}

#form  .message ._placeholder, #formCambioPass .message ._placeholder {
	padding-top: 8px;
}



#form ._placeholder, #formCambioPass ._placeholder {
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
	color: #666;
    font: 14px/20px 'Open Sans', sans-serif;
	border: 1px solid transparent;
    padding: 5px 18px 6px;
	height: 31px !important;
	width: 100% !important;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	left: 0;
	cursor: text !important;
	display: block;
}

#form ._placeholder.hidden, #formCambioPass ._placeholder.hidden {
	display: none;
}

#form ._placeholder.focused, #formCambioPass ._placeholder.focused {
	opacity: 0.3;
}


#form .message ._placeholder, #formCambioPass .message ._placeholder {
	height: 100% !important;
}

#form label.labelCaptcha {
	width: 135px;
	min-height: 0px;
}

#form label, #formCambioPass label {
	position:relative;
	display: block;
	min-height: 40px;
	float: left;
	width: 220px;
}


#form label+label, #formCambioPass label+label {
	margin-left: 20px;
}


#form label.message, #formCambioPass label.message {
	width: 100%;
	margin-left: 0;
}


#form .error-message, #form .empty-message, #form .minimo-message, #formCambioPass .error-message, 
#formCambioPass .empty-message, #formCambioPass .minimo-message {
	color: #E02A05;
	font-size: 11px;
	line-height:14px;
	width:auto;
	position: absolute;
	z-index: 999;
	top: 10px;
	opacity: 0;
	right: 5px;
	float:left;
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
}

#form .invalid .error-message, #form .nocoinciden .nocoinciden-message, #form .empty .empty-message, #formCambioPass .minimo .minimo-message, 
#formCambioPass .invalid .error-message, #formCambioPass .nocoinciden .nocoinciden-message, #formCambioPass .empty .empty-message, #formCambioPass .minimo .minimo-message {
	opacity: 1;
}

#form .error-message2, #form .nocoinciden-message2, #form .empty-message2, #form .minimo-message2,
#formCambioPass .error-message2, #formCambioPass .nocoinciden-message2, #formCambioPass .empty-message2, #formCambioPass .minimo-message2  {
	color: #E02A05;
	font-size: 11px;
	line-height:14px;
	width:auto;
	position: absolute;
	z-index: 999;
	top: 28px;
	opacity: 0;
	right: 5px;
	float:left;
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
}

#form .invalid .error-message2, #form .nocoinciden .nocoinciden-message2, #form .empty .empty-message2, #form .minimo .minimo-message2,
#formCambioPass .invalid .error-message2, #formCambioPass .nocoinciden .nocoinciden-message2, #formCambioPass .empty .empty-message2, #formCambioPass .minimo .minimo-message2 {
	opacity: 1;
}

#form .error-message3, #formCambioPass .error-message3 {
	display: none;
	opacity: 0;
	width: 100%;
	color: #FF9781;
	font-size: 14px;
	line-height: 20px;
	height: 20px;
	text-align: center;
	padding: 0px 10px;
	z-index: 999;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
}

#form.error .error-message3, #formCambioPass.error .error-message3 {
	display: block;
	opacity: 1;
}


.btns {
	font-size: 0;
	line-height: 0;
	text-align: right;
	padding-top: 43px;
}

.btns a.btn {
	padding-left: 15px;
	padding-right: 15px;	margin: 0;
	display: inline-block;
	text-align: center;
	
}

.btns a.btn+a.btn {
	margin-left: 10px;
}






.phone {
	position: relative;
}



.message br {
	height: 0;
	line-height: 0;
}

#form .success-message, #formCambioPass .success-message {
	display: none;
	opacity: 0;
	position: absolute;
	background: #fefefe;
	border: 1px solid #f1efef;
	width: 100%;
	color: #666666;
	font-size: 14px;
	line-height: 40px;
	height: 40px;
	text-align: center;
	padding: 0px 10px;
	z-index: 999;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
}

#form.success .success-message, #formCambioPass.success .success-message {
	display: block;
	opacity: 1;
}

.success_wrapper {
	position: relative;	
}

@media only screen and (max-width: 995px) {

	#form, #formCambioPass {
	}
	
	
	#form label, #formCambioPass label {
		float: none !important;	
		width: 100%;
		margin-left: 0 !important;
	}
	
	#form input, #formCambioPass input {
		margin-bottom: 10px;
	}
	
	
	#form .success-message, #formCambioPass .success-message {
		width: 100%;
	}
	
	.btns {
		padding-right: 0;
	}
	
	#form label.email, #formCambioPass label.email {
		width: 100%;
		margin: 0;
	}
	
	.map figure {
		float: left !important;
		margin-right: 0px !important;
	}

}

@media only screen and (max-width: 767px) {

  .map figure {
		width: 100% !important;
		float: none !important;
		display: block !important;
		margin-right: 0px !important;
  }
  .btns {
		padding-bottom: 0;  
  }
  
  #form textarea, #formCambioPass textarea {
		height: 300px !important; 
  }

   #form, #formCambioPass {
 	padding-right: 10px;
 }
  
}
@media only screen and (max-width: 479px) {

  #form textarea, #formCambioPass textarea {
		height: 200px !important;  
  }
}