/****Form****/

#form {
	padding-top: 40px;
}
#search2 input, #form input, #form textarea {
		border: none;
		/*color: #9b9b9b;*/
		color:#333333;
		display: block;
		margin: 0;
		background:#fff;
		border: none;
		outline: medium none;
		/* border: 1px solid #d2d3d2;*/
		border:1px solid #09C;
		padding: 9px 4px 10px 13px;
		width: 100%;
		position: relative;
		font-size:14px;
		line-height:20px;
		height: 39px;
		margin:5px 0px 20px;
		float: left;
		position:relative;  
		box-sizing: border-box;
		-moz-box-sizing: border-box; /*Firefox 1-3*/
		-webkit-box-sizing: border-box; /* Safari */
}
#search2 input{
	margin-top: 3px;
	margin-bottom: 22px;
}
#form span {
	color:#FF0000;
	font-weight:bold;
	font-size:18px;
	margin-right:5px;
}
#form textarea {
	overflow:auto; 
	width: 100%;
	height: 150px;
	resize:none; 
}

#form label {
	color:#3366CC;
	font-weight:bold;
	position:relative;
	display: inline-block;
	min-height: 49px;
	width: 100%;
	float: left;
	clear: left;
}
#form labelcheck {
	color:#3366CC;
	font-weight:bold;
	position:relative;
	display: inline-block;
	min-height: 49px;
	width: 50%;
	float: left;
	clear: left;
	background:#F00;
}
#form select {	
	margin:5px 0px 20px;
	line-height:15px;
	overflow:auto;
	color:#757575;
	border:1px solid #09C;
	padding: 12px 14px;
	font-size:12px;
	display:block;
/*	width: 500px;*/
	width: 100%;
}
#form checkbox {	
	margin:5px 0px 20px;
	line-height:15px;
	overflow:auto;
	color:#757575;
	border:1px solid #2d2e2e;
	padding: 12px 14px;
	font-size:12px;
	display:block;
	text-align:left;
	float:left;
	width:50%;
	background:#F00;

}

#form .regular-checkbox {
	display: none;
}

#form .regular-checkbox + label {
	background-color: #fafafa;
	border: 1px solid #cacece;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
	padding: 9px;
	border-radius: 3px;
	display: inline-block;
	position: relative;
}

#form.regular-checkbox + label:active, .regular-checkbox:checked + label:active {
	box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);
}

#form.regular-checkbox:checked + label {
	background-color: #e9ecee;
	border: 1px solid #adb8c0;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
	color: #99a1a7;
}

#form.regular-checkbox:checked + label:after {
	content: '\f046';
	font-size: 14px;
	position: absolute;
	top: 0px;
	left: 3px;
	color: #99a1a7;
}


#form label.message {
	width: 100%; 
}
#form .error, #form .empty {
	color: #000;
	display: none;
	font-size: 10px;
	line-height:14px;
	width:auto;
	position: absolute;
	z-index: 999;
	right: 8px;
	top: 2px;
}
#form .error-empty {
	display:none;
	float:left;
}

#form .link-form{padding-top: 23px; margin:0 auto; text-align:center;}
#form .button_send {
	font-size: 12px;
	color: #ffffff;
	padding: 10px 20px;
	background: -moz-linear-gradient(
	top,
	#6a993a 0%,
	#91bd64);
	background: -webkit-gradient(
	linear, left top, left bottom,
	from(#6a993a),
	to(#91bd64));
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #648f39;
	-moz-box-shadow:
	0px 1px 0px rgba(186,186,186,0.4),
	inset 0px 0px 2px rgba(189,189,189,1);
	-webkit-box-shadow:
	0px 1px 0px rgba(186,186,186,0.4),
	inset 0px 0px 2px rgba(189,189,189,1);
	box-shadow:
	0px 1px 0px rgba(186,186,186,0.4),
	inset 0px 0px 2px rgba(189,189,189,1);
	text-shadow:
	0px -1px 0px rgba(000,000,000,0.1),
	0px 1px 0px rgba(255,255,255,0);
	width:100px;
	margin-right:10px;
	float:right;
}
#form .button_back {
	font-size: 12px;
	color: #ffffff;
	padding: 10px 20px;
	background: -moz-linear-gradient(
	top,
	#6a993a 0%,
	#91bd64);
	background: -webkit-gradient(
	linear, left top, left bottom,
	from(#6a993a),
	to(#91bd64));
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #648f39;
	-moz-box-shadow:
	0px 1px 0px rgba(186,186,186,0.4),
	inset 0px 0px 2px rgba(189,189,189,1);
	-webkit-box-shadow:
	0px 1px 0px rgba(186,186,186,0.4),
	inset 0px 0px 2px rgba(189,189,189,1);
	box-shadow:
	0px 1px 0px rgba(186,186,186,0.4),
	inset 0px 0px 2px rgba(189,189,189,1);
	text-shadow:
	0px -1px 0px rgba(000,000,000,0.1),
	0px 1px 0px rgba(255,255,255,0);
	width:100px;
	margin-left:10px;
	float:left;
}


#form .success {
	display: none;
	position: absolute;
	width: 56%;
	/*border: 1px solid #e0e0e0;*/
	background: #fff;
	color: #000;
	text-align: center;
	/*padding: 20px 10px;*/
	padding-top: 45px;
	height: 137px;
	z-index: 999;
    border: 1px solid #c3c3c3;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
}


.success_wrapper {
	position: relative;	
}

@media only screen and (max-width: 995px) {

#form {
	padding-top: 20px;	
}


#form label {
		width: 100%;
	}
	#form .success {
		width: 100%;
	}




@media only screen and (max-width: 767px) {
	#form label {
		width: 100%;
	}
	#form .success {
		width: 100%;
	}
  .btns {
		padding-bottom: 0;  
  }
  
  #form textarea {
		height: 300px !important;  
  }
  
}
@media only screen and (max-width: 479px) {

 
  #form textarea {
		height: 200px !important;  
  }
}

