/****Form****/
@import "style.css";
/*--- contact_form ------*/
.txt_cont_form{
	margin-top: 10px;
	margin-bottom: 6px;
}

#contact-form {
	position: relative;
}
#contact-form label {
	position: relative;
	/*!*/
	display: inline-block;
	margin-bottom: 18px;
	width: 225px;
	box-shadow: none;
}
#contact-form label.message{
	width: 100%;
}
#contact-form span {display: block;}

#contact-form .name ._placeholder{
	padding-left: 13px;
}

#contact-form .email ._placeholder{
	padding-left: 22px;
}

#contact-form .phone ._placeholder{
	padding-left: 30px;
}

.name, .email{
	margin-right: 32px;
}

#contact-form ._placeholder {
	position: absolute;
	border:1px solid #eeeeee;
	/*!*/
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	cursor: text;
	padding: 8px 10px 8px 13px;
	font-size: 15px;
	line-height: 22px;
	color: #5b5b5b;
	display: block;
	width: 100% !important;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#contact-form ._placeholder.focused {
	opacity: .4;
	filter: alpha(opacity=40);
}
#contact-form ._placeholder.hidden {
	display: none;
}
#contact-form input,
#contact-form textarea {
	outline: none;
	border:1px solid #eeeeee;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 8px 10px 8px 13px;
	font-size: 15px;
	line-height: 24px;
	color: #5b5b5b;
	border:1px solid #eeeeee;
	width: 100%;
	background: #fff;
	box-shadow: none;
	-webkit-appearance: none;
	resize: none;
	height: 41px;
}
#contact-form textarea {
	width: 100%;
	height: 258px;
	margin-bottom: 0;
	overflow: hidden;
	font:15px/24px 'Roboto', sans-serif;
}
#contact-form .message {
	width: 100%;
}
#contact-form .error-message,
#contact-form .empty-message {
	height: 0;
	overflow: hidden;
	font-size: 10px;
	line-height: 20px;
	color: #609002;
	-webkit-transition: 0.3s ease-in height;
	-moz-transition: 0.3s ease-in height;
	-o-transition: 0.3s ease-in height;
	transition: 0.3s ease-in height;
	position: absolute;
	right: 3px;
	top: 0;
}
#contact-form .invalid .error-message,
#contact-form .empty .empty-message {
	height: 20px;
}
#contact-form .success-message {
	
    font-size: 15px;
    line-height: 24px;
	color: #fff;
	position: absolute;
	overflow: hidden;
	height: 0;
	left: 0;
	top: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
    width: 100%;
	background: #609002;
	z-index: 10;
	text-align: center;
	-webkit-transition: all 0.4s linear;
	-moz-transition: all 0.4s linear;
	-o-transition: all 0.4s linear;
	transition: all 0.4s linear;
}
#contact-form.success .success-message {
	height: 42px;
	width: 100%; 
	padding-left:0px;
	padding-top: 8px;
	-webkit-transition: all 0.4s linear;
	-moz-transition: all 0.4s linear;
	-o-transition: all 0.4s linear;
	transition: all 0.4s linear;
}
#contact-form a{
  font-size: 15px;
}
.btn-wrap{
	text-align: center;
	padding-top: 45px;
}

.def-btn{
	font-size: 15px;
	line-height: 28px;
	padding: 4px 21px 8px 20px;
	color: #fff;
	border:1px solid #609002;
	background: #609002;
	border-radius:5px;
}

.def-btn:hover{
	padding: 4px 21px 8px 20px;
	border:1px solid #609002;
	background: #fff;
}

.btn{
	margin-top: 24px;
}

.btn p{
    display: inline-block;
    margin: 5px 0 0 11px;
    position: absolute;
}
@media only screen and (max-width: 1199px) {
	#contact-form label {
    width: 182px;
    }
}
@media only screen and (max-width: 979px){
    #contact-form label {
    width: 100%;
    }

	#contact-form .email ._placeholder{
	padding-left: 13px;
	}

	#contact-form .phone ._placeholder{
	padding-left: 13px;
	}

	#contact-form.success .success-message{
 	height: 160px;
 	padding-top: 65px;
    }
    .name, .email {
    margin-right: 0px;
    }
}
@media only screen and (max-width: 767px) {
    #contact-form.success .success-message{
 	height: 160px;
    margin-left: 0;
    padding-top: 65px;
    width: 420px;
    }
}
@media only screen and (max-width: 479px) {
    #contact-form.success .success-message{
 	height: 160px;
    margin-left: 0;
    padding-top: 65px;
    width: 270px;
    }
    .name, .email {
    margin-right: 0px;
    }
}
@media only screen and (max-width: 320px) {
	#contact-form.success .success-message{
 	height: 160px;
    margin-left: 0;
    padding-top: 65px;
    }
}
