/****Form****/

#form {
	padding-top: 7px;

}

#form input {
	color:#83868a;
 	padding: 5px 8px ;
  	background: #ffffff; /* Old browsers */
background: -moz-linear-gradient(top, #ffffff 0%, #fafafa 25%, #f6f6f6 50%, #f1f1f1 75%, #eeeeee 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(25%,#fafafa), color-stop(50%,#f6f6f6), color-stop(75%,#f1f1f1), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffffff 0%,#fafafa 25%,#f6f6f6 50%,#f1f1f1 75%,#eeeeee 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffffff 0%,#fafafa 25%,#f6f6f6 50%,#f1f1f1 75%,#eeeeee 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #ffffff 0%,#fafafa 25%,#f6f6f6 50%,#f1f1f1 75%,#eeeeee 100%); /* IE10+ */
background: linear-gradient(to bottom, #ffffff 0%,#fafafa 25%,#f6f6f6 50%,#f1f1f1 75%,#eeeeee 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
	width: 100%;
	border: 1px solid #d6d6d6;
	height: 31px;
	float:left;
	font: 13px/21px  'Ubuntu', sans-serif;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
}

#form textarea {
	color:#83868a;
	border: 1px solid #d6d6d6;
 	padding: 5px 8px ;
	width: 100%;
	height: 268px;
	position: relative;
	resize:none;
	overflow: hidden;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	float:left;
	font: 13px/21px  'Ubuntu', sans-serif;
	margin: 0;
	background: #ffffff; /* Old browsers */
background: -moz-linear-gradient(top, #ffffff 0%, #fafafa 25%, #f6f6f6 50%, #f1f1f1 75%, #eeeeee 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(25%,#fafafa), color-stop(50%,#f6f6f6), color-stop(75%,#f1f1f1), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffffff 0%,#fafafa 25%,#f6f6f6 50%,#f1f1f1 75%,#eeeeee 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffffff 0%,#fafafa 25%,#f6f6f6 50%,#f1f1f1 75%,#eeeeee 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #ffffff 0%,#fafafa 25%,#f6f6f6 50%,#f1f1f1 75%,#eeeeee 100%); /* IE10+ */
background: linear-gradient(to bottom, #ffffff 0%,#fafafa 25%,#f6f6f6 50%,#f1f1f1 75%,#eeeeee 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
	
}
#form label {
	position:relative;
	display: block;
	min-height: 41px;
	width: 100%;
	clear: left;
	float: left;
}


.phone {
	margin-top: -1px;
	margin-bottom: 1px;
}

#form .error, #form .empty {
	color: #E02A05;
	display: none;
	font-size: 11px;
	line-height:14px;
	width:auto;
	position: absolute;
	z-index: 999;
	right: 5px;
	top: 9px;
	float:left;
}


#form .error-empty {
	display:none;
	float:left;
}

.btns {
	position:relative;
	padding-top: 27px;
	text-align: left;
	margin-bottom: 2px;
}





.content .btns a.link1 {
	margin: 0 30px 0 0 !important;
	cursor: pointer;
	text-align: center;
}


.phone {
	position: relative;
	top: 1px;
}



#form .message {
	width: 100%;
	position: relative;
}



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

#form .success {
	display: none;
	position: absolute;
	width: 100%;
	background: #fff;
	color: #b0b0b0;
	border: 1px solid #d6d6d6;
	text-align: center;
	padding: 20px 10px;
	z-index: 999;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	background: #ffffff; /* Old browsers */
background: -moz-linear-gradient(top, #ffffff 0%, #fafafa 25%, #f6f6f6 50%, #f1f1f1 75%, #eeeeee 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(25%,#fafafa), color-stop(50%,#f6f6f6), color-stop(75%,#f1f1f1), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffffff 0%,#fafafa 25%,#f6f6f6 50%,#f1f1f1 75%,#eeeeee 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffffff 0%,#fafafa 25%,#f6f6f6 50%,#f1f1f1 75%,#eeeeee 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #ffffff 0%,#fafafa 25%,#f6f6f6 50%,#f1f1f1 75%,#eeeeee 100%); /* IE10+ */
background: linear-gradient(to bottom, #ffffff 0%,#fafafa 25%,#f6f6f6 50%,#f1f1f1 75%,#eeeeee 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
}


.success_wrapper {
	position: relative;	
}

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

#form {
	padding-top: 0;	
}


#form label {
	float: none !important;	
	width: 100%;
}

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

#form label.message {
	width: 100% !important;
}

#form .success {
	width: 100%;
}

.btns {
	padding-right: 0;
}

#form label.email {
	width: 100%;
	margin: 0;
}

.map figure {
	width: 450px !important;
	float: left !important;
	margin-right: 20px !important;
}

}

@media only screen and (max-width: 767px) {
  .map {
	margin-bottom: 25px;
}

.map figure {
	width: 100% !important;
	float: none !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;  
  }
}