#modal_form .telname {
	width: 100%;
	color: #fff;
}
/*Модальное окно*/

#modal_form {
	width: 300px;
	padding: 40px 20px;
	background-color: #fff;
	height: 240px;
	background: #007bff;
    border-radius: 10px;
	position: fixed;
	top: 45%;
	left: 50%;
	margin-top: -165px;
	margin-left: -150px;
	display: none;
	opacity: 0;
	z-index: 99992;
}
#overlay {
	z-index: 99991;
	position: fixed;
	background-color: #000;
	opacity: 0.8;
	-moz-opacity: 0.8;
	filter: alpha(opacity=80);
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	cursor: pointer;
	display: none;
}
#modal_form input[type="text"] {
	background-color: #fff;
	border: 1px solid #DFDFDF;
	color: #555;
	display: block;
	font-size: 1em;
	height: 45px;
	padding: 15px;
	margin-bottom: 20px;
	width: 100%;
	float: left;
}
#modal_form input[type="text"].error {
	border: 1px solid red;
}
#modal_form h3 {
	text-align: center;
	font-size: 2em;
	text-transform: uppercase;
	color: #000;
	margin: 0;
}
#modal_form .comment {
	color: #272727;
	padding-bottom: 15px;
	font-size: 14px;
	text-align: center;
	padding-top: 10px;
}
.exit {
	background: #ffffff;
	display: block !important;
	border-radius: 50%;
	right: -15px;
	top: -15px;
	position: absolute;
	opacity: 1;
	WIDTH: 33PX;
	HEIGHT: 33px;
	line-height: 30px;
	font-size: 36px;
	border: 2px solid #007bff;
	-webkit-transition: background 0.2s linear;
	-moz-transition: background 0.2s linear;
	-o-transition: background 0.2s linear;
	transition: background 0.2s linear;
    text-decoration:none;
}
.exit:after {
	display: block;
	font-size: 23px;
	content: "x";
	padding-left: 9px;
	line-height: 24px;
	cursor: pointer;
	text-decoration: none;
	font-weight: bold;
	color: #007bff;
    text-decoration:none;
	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}
.exit:hover {
	background: #007bff;
    border-color:#ffffff;
	text-decoration: none;
}
.exit:hover:after{
    color:#ffffff;
}
#modal_form .button {
	display: inline-block;
	background: #32b136;
	color: #fff;
	border: 1px solid rgb( 33, 126, 74);
	border-radius: 5px;
	margin: 0 auto;
	padding: 10px 30px;
	text-align: center;
	font-size: 18px;
	line-height: 1.3333333;
	font-weight: 400;
	white-space: nowrap;
	vertical-align: middle;
	touch-action: manipulation;
	user-select: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.08);
	width: 100%;
	font-family: Arial, Helvetica, sans-serif;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
	-webkit-transition: background-color 0.1s linear;
	-moz-transition: background-color 0.1s linear;
	-o-transition: background-color 0.1s linear;
	transition: background-color 0.1s linear;
	text-transform: uppercase;
}
#modal_form .button:hover {
	background: #1f7522;
	border: 1px solid #165218;
}
#modal_form .error {
	border: 1px solid red;
}