/* Contact form */

.klform {
	background:#E0E0E0;
	margin:10px;
	padding:15px;
	
	 -moz-border-radius: 3px; /* закругление для старых Mozilla Firefox */
 -webkit-border-radius: 3px; /* закругл. для старых Chrome и Safari */
 -khtml-border-radius: 3px; /* закругл.для брауз.Konquerer сист. Linux */
 border-radius: 3px; /* закругление углов для всех, кто понимает */
	
	}
	
.klform fieldset {
	border:none;}

#contact-form {
	padding:4px 0 0 0;
}
#contact-form .success {
	width:246px;
	padding:10px;
	color:#BB3E8D;
	font-family:'Open Sans Condensed', sans-serif;
	font-size:18px;
}
#contact-form textarea, #contact-form input {
	margin:0;
	font-size:14px;
	line-height:20px;
	border:1px solid #e7e7e7;
	color:#8c8c8c;
	padding:7px 14px;
	outline:none;
	position:relative;
	font-family: 'Open Sans Condensed', sans-serif;
	background:#ffffff;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	
	 -moz-border-radius: 3px; /* закругление для старых Mozilla Firefox */
 -webkit-border-radius: 3px; /* закругл. для старых Chrome и Safari */
 -khtml-border-radius: 3px; /* закругл.для брауз.Konquerer сист. Linux */
 border-radius: 3px; /* закругление углов для всех, кто понимает */
}
#contact-form input {
	width:100%;
	height:36px;
}
#contact-form textarea {
	overflow:auto;
	width:100%;
        min-width:347px;
        max-width:847px;
	height:121px;

	resize:none;
	float:left;
	margin: 0 0 0 0;
}
#contact-form .div-label {
	min-height:46px;
	overflow:hidden;
}
#contact-form label {
	display: inline-block;
        width:100%;
}
#contact-form label.message {
	display:block;
	padding-bottom:0;
}
#contact-form .button {
	margin-left:8px;
}
#contact-form .error, #contact-form .empty, #contact-form .success {
	display:none;
}
#contact-form .error, #contact-form .empty {
	text-align:left;
	color:red;
	font-size:16px;
	clear:both;
}
#contact-form .buttons2 {
	overflow:hidden;
	text-align:right;
	position:relative;
	clear:both;
	padding-top:29px;
}
#contact-form .buttons2 a {
	cursor:pointer;
	margin-top:0;
	text-align:center;
	margin-left:20px;
	color:#FDFDFD;
}
#contact-form span {
	display:block;
	margin: 0px 0 0 5px;
}
.clear {
	clear:both;
	width:100%;
	line-height:0;
	font-size:0;
}
.button {
	display:inline-block;
	padding:7px 13px 8px 13px;
	margin: 0 0 0 0;
	font-size: 14px;
	font-weight:bold;
	line-height: 20px;
	background: #4186D3;
	color:#ffffff;
	border-top:1px solid #00ADEF;
	border-left:1px solid #00ADEF;
	border-right:1px solid #00ADEF;
	-moz-transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
}
.button a{
	color:#FEFEFE;
	
}
.button:hover {
	background: #41D830;
	border-top:1px solid #FF0FF0;
	border-left:1px solid #FF0FF0;
	border-right:1px solid #FF0FF0;
	color:#ffffff;
}