/****Form****/

#form {
	padding-top: 14px;
}

#form input {
	width: 100%;
	height: 28px;
	float:left;
	border: 1px solid #cecece;
	background: #fefefe;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	color: #a3a1a1;
    font: italic 14px/24px 'Open Sans', sans-serif;
    padding: 0px 11px 4px;
}


#form textarea {
	width: 100%;
	height: 188px;
	background: #fefefe;
	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: #a3a1a1;
    font: italic 14px/24px 'Open Sans', sans-serif;
	border: 1px solid #cecece;
    padding: 0px 11px 4px;
}

#form  .message ._placeholder {
	padding-top: 8px;
}



#form ._placeholder {
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
	color: #a3a1a1;
    font: italic 14px/24px 'Open Sans', sans-serif;
	border: 1px solid transparent;
    padding: 0px 11px 4px;
	height: 28px !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: 48px;
	float: left;
	width: 299px;
}


#form label+label {
	margin-left: 21px;
}


#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: 7px;
	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 {
	padding-bottom: 3px;
	font-size: 0;
	line-height: 0;
	text-align: right;
	padding-top: 19px;
}

.btns a.btn {
	padding-left: 23px;
	padding-right: 23px;	
	margin: 0;
	display: inline-block;
	text-align: center;
	
}

.btns a.btn+a.btn {
	margin-left: 10px;
}






.phone {
	position: relative;
}



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

#form .success-message {
	display: none;
	opacity: 0;
	position: absolute;
	background: #fefefe;
	border: 1px solid #cecece;
	width: 100%;
	color: #666666;
	height: 48px;
	text-align: center;
	padding: 12px 10px;
	z-index: 999;
	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;	
}



#newsletter {
    padding: 3px 0px 0px;
}



#newsletter .rel {
    position: relative;
    width: 100%;
    float: left;
    overflow: visible;
    margin-bottom: 33px;
}

#newsletter .email {
    width: 100%;
    display: block;
    float: left;
}


#newsletter input {
   	border: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    float: left;
	box-shadow: none !important;
    border: 1px solid #bbafaf;
    width: 100%;
    background-color: #fff;
    color: #a3a1a1;
    font: italic 14px/20px 'Open Sans', sans-serif;
    height: 37px;
    padding: 8px 16px 9px;
    -moz-box-sizing: border-box;
 -webkit-box-sizing: border-box;
 -o-box-sizing: border-box;
 box-sizing: border-box;
 -webkit-appearance: none;
 transition: 0.5s ease;
    -o-transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
}



#newsletter a {
    margin-top: 0;
    padding-left: 20px;
    padding-right: 20px;
    cursor: pointer;
    display: block;
    float: right;

}

#newsletter a:hover {
    background-position: 0 bottom;
}


#newsletter .error, #form1 .empty {     
    height:0px;
    top: 2px;
    right: 1px;
    text-align: right;
    font-size: 10px;
    line-height: 32px;
    color: #ff0000;
    display: block;
    overflow: hidden;
    background-color: #fff;
    z-index: 999;
    padding-right: 10px;
    -webkit-transition:  0.3s ease-out; 
    -o-transition: all 0.3s ease-out; 
    transition: all 0.3s ease-out; 
    position: absolute;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    }

#newsletter label.invalid .error {
    /*display: block;*/
    height:32px;

}

#newsletter .success {
    width: 100%;
    top: 0px;
    z-index: 999;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box; 
    display: none;  
    background: #fff;
    color: #626161;
    border: 1px solid #bbafaf;
    font-style: italic;
    left: 0px;
    height: 37px;
    overflow: hidden;
    padding: 7px 10px;
    -webkit-transition:  0.3s ease-out; 
    -o-transition: all 0.3s ease-out; 
    transition: all 0.3s ease-out; 
    position: absolute;
}



