/****Form****/

#form {
	padding-top: 7px;
}
#form label.phone{
	margin-bottom: 2px;
}

#form input {
	outline: none;
	width: 100%;
	background: #fff;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	font: 13px/22px Arial, Helvetica, sans-serif;
	color: #949393;
	font-style: normal;
	border: none;
    padding: 11px 11px 11px 17px;
    -webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);
	box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);
}


#form textarea {
	outline: none;
	border: none;
	width: 100%;
	height: 220px;
	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 */
	margin: 0;
	font: 13px/22px Arial, Helvetica, sans-serif;
	color: #949393;
	font-style: normal;
	border: none;
    padding: 11px 11px 11px 17px;
    -webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);
	-moz-box-shadow:    0px 1px 3px 0px rgba(0, 0, 0, 0.2);
	box-shadow:         0px 1px 3px 0px rgba(0, 0, 0, 0.2);

}

	



#form ._placeholder {
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
	font: 13px/22px Arial, Helvetica, sans-serif;
	color: #949393;
	font-style: normal;
	border: 1px solid transparent;
    padding: 10px 16px 10px;
	height: 42px !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 {
	display: none;
}

#form ._placeholder.focused {
	opacity: 0.3;
}


#form .message ._placeholder {
	height: 100% !important;
}
#form label {
	position:relative;
	display: block;
	min-height: 60px;
	clear: left;
	width: 100%;
}



#form label.message {
	width: 100%;
	margin-left: 0;
}




#form .error-message, #form .empty-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 .message .error-message, #form .message .empty-message {
	bottom: -16px;
}*/




#form .invalid .error-message, #form .empty .empty-message {
	opacity: 1;
}

#form .btns {
	margin-bottom: 2px;
	text-align: right;
	padding-top: 24px;
	text-align: right;
}
	


.btns a.btn {
	display: inline-block;
	padding: 12px 23px 14px 22px;
	font: bold 14px/22px Arial, Helvetica, sans-serif;
	background: url(../images/menu_hover.jpg) repeat 0 0;
	color: #fff;
	border-radius: 3px;
	transition: 0.3s;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	cursor: pointer;
	}
	.btns a.btn:hover{
		background: #989898;
		text-decoration: none;
		}
.phone {
	position: relative;
}

.message br {
	height: 0;
	line-height: 0;
}

#form .success-message {
	display: none;
	opacity: 0;
	position: absolute;
	border: 1px solid #dfe1e0;
	background: #fff;
	width: 100%;
	height: 102px;
	text-align: center;
	padding: 38px 10px;
	z-index: 999;
	color: #959ba0;
	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;	
}

