/*------------Form------------*/
#form input {
	width: 100%;
	background-color: #fff;
	border: 1px solid #e3e3e3;
	height: 38px;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	padding: 10px 16px 10px;
	margin: 3px 0 17px;
	color: #8f8e8e;
}

#form textarea {
 	background: #fff;
	height: 198px;
	position: relative;
	color: #8f8e8e;
	width: 100%;
	resize: none;
	margin: 3px 0 23px;
	overflow: hidden;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-box-sizing: border-box;
	padding: 10px 16px 10px;
	border: 1px solid #e3e3e3;
}

#form label {
	position:relative;
	display: block;
	min-height: 70px;
	float: left;
	width: 100%;
}

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

#form .empty-message {
	color: #FF0000;
	font-size: 11px;
	line-height: 14px;
	width: auto;
	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 .empty .empty-message {
	opacity: 1;
}

.btns {
	text-align: right;
} 

.btns a.btn {
	clear: both;
	font-size: 14px;
	position: relative;
	margin-top: 4px;
	padding: 6px 5px 5px;
	text-align: center;
	height: 26px;
	color: #fff;
	display: inline-block;
	border-radius: 4px;
	text-shadow: 1px 0px 0 #DADADA;
}
.btns a.btn1 {
	background: #ee1c67;
	min-width: 72px;
}

input[type="reset"]{
	clear: both;
	font-size: 14px;
	position: relative;
	margin-top: 4px;
	padding: 6px 5px 5px;
	text-align: center;
	height: 26px;
	color: #fff;
	display: inline-block;
	border-radius: 4px;
	text-shadow: 1px 0px 0 #DADADA;
	background: #ee1c67;
	min-width: 72px;
}

input[type="submit"] {
	clear: both;
	font-size: 14px;
	position: relative;
	margin-top: 4px;
	padding: 6px 5px 5px;
	text-align: center;
	height: 26px;
	color: #fff;
	display: inline-block;
	border-radius: 4px;
	text-shadow: 1px 0px 0 #DADADA;
	background: #00bff3;
	min-width: 79px;
	
}

.btns a.btn2 {
	background: #00bff3;
	min-width: 79px;
}
.btns a.btn+a.btn {
	margin-left: 2px;
}
a.btn1:hover {
	background-color: #fe4186;
}
a.btn2:hover {
	background: #4cdffc;
}
.phone {
	position: relative;
}

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

#form .success-message {
	display: none;
	opacity: 0;
	position: absolute;
	width: 100%;
	height: 65px;
	background-color: #fff;
	border: 1px solid #ececec;
	text-align: center;
	padding: 20px 10px;
	z-index: 999;
	color: #5d5d5d;
    font: 13px/22px Arial, Helvetica, sans-serif;
	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 {
	display: block;
	opacity: 1;
}

.success_wrapper {
	position: relative;	
}




@media only screen and (max-width: 995px) {
	#form label {
		float: none !important;	
		width: 100%;
	}

	#form input {
		margin-bottom: 10px;
	}


	#form .success {
		width: 100%;
	}

	.btns {
		padding-right: 0;
	}

	#form 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 {
		height: 300px !important; 
  	}
   	#form {
 		padding-right: 0;
 	}
  
}
@media only screen and (max-width: 479px) {

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