/* = Общие стили
************************/
/*body {
	padding: 0 0 50em 0;
	margin: 0;
	font: 14px/1.8 Helvetica, Arial;
	color: #444;
	background-color: #f3f3f3;
}
*/
a {text-decoration: none;}

/* =Стили для header'а
************************/
#header {
	display: block;
	margin: 0; 
	background: #f9f9f9;
}		
.back { font:normal 3em 'Agency FB'; color: #0074A3; position:absolute; top: 10px; right: 10%;}
.back:hover {text-decoration: underline;}
#header h1 {margin: 0 0 0 2em;}
#header h1 a { display: inline-block; font: normal 3em 'Agency FB'; text-decoration: none; }
.how { color: #990000; }
.to { color: #0074A3; }
.make { color: #006600; }
.demo { font: normal 2em 'Agency FB';}

/* Main	*/
#main {
	width: 94%;
	padding: 1% 3%;
}
#main h1 { 
	text-align: center;
	font: 2.2em Helvetica, Arial; 
	margin: 20px 0 10px 0;
	padding-bottom: 15px;
	border-bottom: 2px solid #444444; 
}
.clear {
	margin-top: -1px;
	height: 1px;
	clear:both;
	zoom: 1;
}

/* Стили для формы */
.form_box {
	width: 300px;
	margin: 40px auto;
}

.form_style p {
  margin-bottom: 25px;
  position: relative;
}
.form_style .rcheck {
  margin-bottom: 10px;
}
.form_style p label {
	font-size: 13px;
	font-weight: bold;
	color: #444444;
	display: block;
  cursor: pointer;
}
.form_style .rcheck label {
	font-size: 13px;
	font-weight: normal;
	color: #444444;
	display: inline;
  vertical-align: top;
}
.form_style input[type="text"] {
	display: block;
	border: 2px solid #cfcfcf;
	font-size: 14px;
	color: #444444;
	padding: 7px 7px 8px;
	width: 250px;
}

.form_style textarea {
  	display: block;
	border: 2px solid #cfcfcf;
	color: #444444;
	padding: 7px 7px 8px;
}

.form_style input[type="checkbox"] {
  display: inline-block;
  border: 1px solid #cfcfcf;
  width: 14px;
  margin: 4px 4px 0 0;
  vertical-align: top;
}

.form_style select {
  display: inline-block;
  border: 2px solid #cfcfcf;
  margin: 4px 4px 0 0;
  height: 40px;
  border-radius: 8px;
  vertical-align: top;
  font-size: 14px;
  background: #4a69a6;
  color: #fff;
  }
  
/*ВЯ*/ 
.form_style select optgroup{
  color: black;
  }  
  
  
.form_style input[type="radio"]  {
	width: 30px;
	/*background: #4a69a6;
	background-color: #4a69a6;*/
	color: #4a69a6;
	cursor: default;





}
  



.form_style input:focus {
	outline: none;
	border-color: #07a6e6;
}
.form_style .btnsubmit {
	border: none;
        border-radius: 15px;
	width: 220px;
	text-align: center;
	background: #07a6e6;
	font-size: 13px;
	font-weight: bold;
	color: #ffffff;
	cursor: pointer;
	height: 35px;
	line-height: 28px;
	padding: 0;
}
.form_style input.rf_error {
  border-color: #d8512d;
}
.form_style .rfield_error {
  display: block;
  padding: 0px 10px;
  background-color: #d8512d;
  color: #fff;
  font-size: 12px;
  z-index: 1;
  position: absolute;
  top: 25px;
  left: auto;
  right: 32px;
  visibility: hidden;
}
.form_style .rcheck .rfield_error {
  top: 0px;
  left: 22px;
  right: auto;
}
.form_style .btnsubmit:hover {
	background: #009ac2;
}
.form_style .btnsubmit:active {
	box-shadow: inset 0 2px 2px rgba(0,0,0,0.2);
  outline: none;
}
.form_style .btnsubmit:focus {
  outline: none;
}
.form_style .btnsubmit.disabled,
.form_style .btnsubmit.disabled:hover {
	background: #afdde6;
	cursor: default;
}
