#parent_popup {
  display: none;
  position: absolute;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
}
#popup {
	width: 350px;
	border: 3px solid #ddd;
	position: relative;
	border-radius: 10px;
	z-index: 2000;
	padding: 20px;
	margin-top: 5%;
	margin-right: auto;
	margin-bottom: 50px;
	margin-left: auto;
	font-family: "Noto Sans", Arial, Helvetica, sans-serif;
	font-size: 10pt;
	color: #000;
	text-decoration: none;
	background-color: #FFE2C6;
}
@media (max-width: 500px) {

#popup {
	margin-top: 30px;
	width: 200px;
	text-align: center;	
}
}
#popup a{
	color: #006;
	text-decoration: underline;
}
#popup a:hover{
	color: #006;
	text-decoration: none;
}
#background {
	position: fixed;
	z-index: 1000;
	left:0;
	top:0;
	background-color: #000;
	opacity: 0.8;
	width: 100%;
	height: 100%;
}
/* кнопка закрытия */
.close {
	height: 25px;
	position: absolute;
	right: -22px;
	cursor: pointer;
	top: -22px;
	width: 25px;
	border-radius: 15px;
	box-shadow: 1px 1px 3px #000;
	background-image: url(img/fon/close_pop.png);
	background-repeat: no-repeat;
	z-index: 3000;
}
.close:hover {
	background-color: rgba(255,0,0,0.8);
}
.zag_form {
	font-size: 12pt;
	color: #C00;
	width: 100%;
	text-align: center;
	display: block;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.forma_pole {
	width: 100%;
	height: 20px;
}
.forma_pole_min {
	width: 50px;
	height: 20px;
	text-align: center;
}
.forma_pole_big {
	width: 100%;
	height: 20px;
	margin-bottom: 15px;
}
.forma_pole_text {
	width: 100%;
	max-width: 100%;
	min-width: 100%;
	height: 60px;
	min-height: 60px;
	margin-bottom: 15px;
}
.forma_cap_block {
	width: 155px;
	height: 20px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 15px;
}
.forma_cap {
	width: 70px;
	float: left;
	height: 20px;
}
.marker_cap {
	width: 10px;
	float: left;
	height: 20px;
	text-align: left;
}
.forma_cap_pole {
	width: 70px;
	float: left;
	height: 14px;
	text-align: center;
}

.formabutton {
	font-family: "Noto Sans", Arial, Helvetica, sans-serif;
	font-size: 12pt;
	color: #FFF;
	text-decoration: none;
	border-radius: 5px;
	padding-top: 1px;
	padding-right: 7px;
	padding-bottom: 1px;
	padding-left: 8px;
	background-color: #3A3A3A;
	cursor: pointer;
	margin-right: auto;
	outline:none;
	display: block;
	margin-left: auto;
}
.formabutton:hover{
	text-decoration: none;
	background-color: #aa9986;
	outline:none;
}
.formabutton_block {
	text-align: center;
	display: block;
	width: 100%;
	font-size: 14pt;
	font-weight: bold;
}
.formabutton_green {
	font-family: "Noto Sans", Arial, Helvetica, sans-serif;
	font-size: 12pt;
	color: #FFF;
	text-decoration: none;
	border-radius: 5px;
	padding-top: 1px;
	padding-right: 10px;
	padding-bottom: 1px;
	padding-left: 10px;
	background-color: #090;
	cursor: pointer;
	outline:none;
	display: inline-block;
	text-align: center;
	vertical-align: top;
	margin-right: 40px;
}
.formabutton_green:hover{
	text-decoration: none;
	background-color: #34D893;
	outline:none;
}
.formabutton_red {
	font-family: "Noto Sans", Arial, Helvetica, sans-serif;
	font-size: 12pt;
	color: #FFF;
	text-decoration: none;
	border-radius: 5px;
	padding-top: 1px;
	padding-right: 10px;
	padding-bottom: 1px;
	padding-left: 10px;
	background-color: #F00;
	cursor: pointer;
	outline:none;
	display: inline-block;
	text-align: center;
	vertical-align: top;
}
.formabutton_red:hover{
	text-decoration: none;
	background-color: #FD8D57;
	outline:none;
}
