/****Form****/

.form {
	padding-top: 6px;
	position: relative;
}

.form input {
	width: 100%;
	height: 51px;
	float:left;
	background: #fff;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	color: #bbbaba;
    font: 14px/23px 'Arial', Helvetica, sans-serif;
	border: 0px solid #314550;
    padding: 16px 25px 12px;

}


.form textarea {
	width: 100%;
	height: 411px;
	background: #fff;
	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: #bbbaba;
    font: 14px/23px 'Arial', Helvetica, sans-serif;
	border: 0px solid #314550;
    padding: 16px 25px 12px;	
}



.form ._placeholder {
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
	color: #bbbaba;
    font: 14px/23px 'Arial', Helvetica, sans-serif;
	border: 0px solid transparent;
    padding: 16px 30px 12px;
	height: 40px !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;
	left: 0;
	cursor: text !important;
	display: block;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color: #bbbaba;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #bbbaba;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #bbbaba;
}
:-moz-placeholder { /* Firefox 18- */
  color: #bbbaba;
}

input:focus::-webkit-input-placeholder{
	opacity: 0.3;
}
input:focus::-moz-placeholder{
	opacity: 0.3;
}
input:focus:-ms-input-placeholder{
	opacity: 0.3;
}
input:focus:-moz-placeholder {
	opacity: 0.3;
}

.form ._placeholder.hidden {
	display: none;
}

input:required + label::after { content: "*"; }

.form ._placeholder.focused {
	opacity: 0.3;
}


.form .message ._placeholder {
	height: 100% !important;
}
.form label {
	position:relative;
	display: block;
	min-height: 82px;
	float: left;
	width: 370px;
}

.form label+label {
	margin-left: 30px;
}



.form label.message {
	width: 100%;
	margin-left: 0;
}




.form .error-message, .form .empty-message {
	color: #E02A05;
	font-size: 12px;
	line-height: 12px;
	width:auto;
	position: absolute;
	z-index: 999;
	top: 20px;
	opacity: 0;
	right: 5px;
	float:left;
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
}

/*.form .message .error-message, .form .message .empty-message {
	bottom: -16px;
}*/




.form .invalid .error-message, .form .empty .empty-message {
	opacity: 1;
}

.btns {
	font-size: 0;
	line-height: 0;
	text-align: right;
	padding-top: 42px;
}

.form .btns input {
	font-family: 'Open Sans', sans-serif;
	text-transform: uppercase;
	font-size: 15px;
	line-height: 23px;
	font-weight: 600;
	color: #fff;
	text-align: center;
	display: inline-block;
	width: 95px;
	height: 50px;
	margin-top: 40px;
	margin-bottom: -33px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	padding: 14px 0px;
	background-color: #3498db;
}

.form .btns input:hover {
	color: #363f45;
}

.form .btns input {
	display: inline-block;
	margin-left: 18px;
	padding-top: 16px;
	font-size: 14px;
	line-height: 18px;
}





.phone {
	position: relative;
}



.message br {
	height: 0;
	line-height: 0;
}

.form .success-message {
	display: none;
	opacity: 0;
	position: absolute;
	background: #3498db;
	color: #fff;
	width: 100%;
    border-radius: 0px !important;
	height: 80px;
	text-align: center;
	padding: 25px 10px;
	z-index: 999;
	border: 1px solid transparent;
	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;
}

@media only screen and (max-width: 1199px) {
.form label {
	float: none !important;	
	width: 100%;
	margin-left: 0 !important;
}
}

@media only screen and (max-width: 995px) {

.form {
}

.form .success-message {
}



.form input {
	margin-bottom: 10px;
}


.form .success-message {
	width: 100%;
}

.btns {
	padding-right: 0;
}

.form label.email {
	width: 100%;
	margin: 0;
}

.map figure {
	float: left !important;
	margin-right: 0px !important;
}

.form input, .form textarea, .form .success-message {
	
}

}

@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;  
  }
  .btns a{
  	margin-bottom: 0;
  }
}