/****Form****/

#form {
	padding-top: 18px;

}
#form input {
    -moz-box-sizing: border-box;
    background: none repeat scroll 0 0 #FFFFFF;
    border: medium none;
    color: #ABABAB;
    float: left;
    font: 14px/20px Arial,Helvetica,sans-serif;
    height: 34px;
    padding: 3px 10px;
    width: 90%;
}

#form textarea {
    -moz-box-sizing: border-box;
    background: none repeat scroll 0 0 #FFFFFF;
    border: medium none;
    color: #ABABAB;
    float: left;
    font: 14px/20px Arial,Helvetica,sans-serif;
    height: 195px;
    margin: 0;
    overflow: hidden;
    padding: 11px 9px;
    position: relative;
    resize: none;
    width: 90%;
}
#form label {
	position:relative;
	display: block;
	min-height: 50px;
	width: 100%;
	float: left;
}




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


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

.btns {
	position:relative;
	padding-top: 26px;
	text-align: right;
	padding-bottom: 4px;

}

.pagecontact .btns {7
	position:relative;
	padding-top: 8px;
	text-align: left !important;
	padding-bottom: 4px;

}



.content .btns a.btn {
	margin: 0 !important;
	cursor: pointer;
	min-width: 10px;

}

.content .btns a.btn+a.btn {
	margin-left: 2px !important;
}


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



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

#form .success {
	display: none;
	position: absolute;
	width: 270px;
	height:346px;
	background: #3d444b;
	text-align: center;
	padding: 50px 20px;
	z-index: 999;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
}


.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;
}

}

@media only screen and (max-width: 767px) {
  .map {
	margin-bottom: 25px;
}
  .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;  
  }
}