/* === Remove input autofocus webkit === */
*:focus {outline: none;}

/* === ������ ��� ����� � ����� ������ === */

.contact_form h2, .contact_form label {font-family:Georgia, Times, "Times New Roman", serif;}
.form_hint, .required_notification {font-size: 11px;}

.conmail {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.mail2 {
	display: flex;
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-around;
}
@media(max-width: 767px){

	.mail2 {
		display: flex;
		flex-direction: column;
	}

}

.contact_form {
	
  
    
    width: 100%;
    
	
	}


/* === ������ ����� === */
.contact_form p {
    	
	margin:7px 10px 7px 10px;

}

@media (max-width: 480px) {
	.contact_form p {
		margin:0px;
		padding:0px;

 }
}


iframe {
	width: 100%;
}
/* === ������ � ������������ ������ === */
.contact_form label {
	width:210px;
	margin-top: 3px;
	display:inline-block;
	float:left;
	padding:3px;
}
@media (max-width: 480px) {
.contact_form label {
	width:150px;
	margin-top: 0px;
	display:inline-block;
	float:left;
	padding:0px;
}
}

.contact_form input {
	 
	width:220px; 
	padding:5px 8px;
}
@media (max-width: 480px) {
	.contact_form input {
	width:100%; 
	padding:5px 8px;
	height: 25px;

 }

}





.contact_form textarea {
	padding:8px; 
	width:100%;
}

@media (max-width: 480px) {
	.contact_form textarea {
	width: 100%;
    height: 50px; 
	padding:5px 8px;

 }
}


.btn_msg {
	display: flex;
	justify-content: center


}


.contact_form button {
	margin-left:10px;
}
@media (max-width: 480px) {
	.contact_form button {
		margin-left: 5px; 
		margin-bottom: 5px;
	

 }
}




	/* ����� � ������� */
	.contact_form input, .contact_form textarea { 
		border:1px solid #aaa;
		box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;
		border-radius:2px;
		padding-right:0px;
		-moz-transition: padding .25s; 
		-webkit-transition: padding .25s; 
		-o-transition: padding .25s;
		transition: padding .25s;
	}

	.contact_form input:focus, .contact_form textarea:focus {
		background: #fff; 
		border:1px solid #555; 
		box-shadow: 0 0 3px #aaa; 
		padding-right:5px;
	}

/* === HTML5  === */	
.contact_form input:required, .contact_form textarea:required {
	background: #fff no-repeat 98% center;
}
.contact_form input:required:valid, .contact_form textarea:required:valid {
	background: #fff no-repeat 98% center;
	box-shadow: 0 0 5px #5cd053;
	border-color: #28921f;
}
.contact_form input:focus:invalid, .contact_form textarea:focus:invalid {
	background: #fff no-repeat 98% center;
	box-shadow: 0 0 5px #d45252;
	border-color: #b03535
}

/* === ����� ��������� === */
.form_hint {
	background: #d45252;
	border-radius: 3px 3px 3px 3px;
	color: white;
	margin-left:8px;
	padding: 1px 6px;
	z-index: 999; /* ��������� ������ ���� ��������� */
	position: absolute; /* ���������� �����������, ���� ��������� � 2 ������ */
	display: none;
}
.form_hint::before {
	content: "\25C0";
	color:#d45252;
	position: absolute;
	top:1px;
	left:-6px;
}
.contact_form input:focus + .form_hint {display: inline;}
.contact_form input:required:valid + .form_hint {background: #28921f;}
.contact_form input:required:valid + .form_hint::before {color:#28921f;}
	
/* === ���������� ������ === */
button.submit {
	background-color: #68b12f;
	background: -webkit-gradient(linear, left top, left bottom, from(#68b12f), to(#50911e));
	background: -webkit-linear-gradient(top, #68b12f, #50911e);
	background: -moz-linear-gradient(top, #68b12f, #50911e);
	background: -ms-linear-gradient(top, #68b12f, #50911e);
	background: -o-linear-gradient(top, #68b12f, #50911e);
	background: linear-gradient(top, #68b12f, #50911e);
	border: 1px solid #509111;
	border-bottom: 1px solid #5b992b;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	box-shadow: inset 0 1px 0 0 #9fd574;
	-webkit-box-shadow: 0 1px 0 0 #9fd574 inset ;
	-moz-box-shadow: 0 1px 0 0 #9fd574 inset;
	-ms-box-shadow: 0 1px 0 0 #9fd574 inset;
	-o-box-shadow: 0 1px 0 0 #9fd574 inset;
	color: white;
	font-weight: bold;
	padding: 6px 20px;
	text-align: center;
	text-shadow: 0 -1px 0 #396715;
}



button.submit_red {
	background-color: #dd1c1c;
	background: -webkit-gradient(linear, left top, left bottom, from(#ff0000), to(#e40303));
	background: -webkit-linear-gradient(top, #ff0000, #e40303);
	background: -moz-linear-gradient(top, #ff0000, #e40303);
	background: -ms-linear-gradient(top, #ff0000, #e40303);
	background: -o-linear-gradient(top, #ff0000, #e40303);
	background: linear-gradient(top, #ff0000, #e40303);
	border: 1px solid #ff5e5e;
	border-bottom: 1px solid #ff5e5e;
	border-radius: 3px;
	-webkit-border-radius: 1px;
	-moz-border-radius: 1px;
	-ms-border-radius: 1px;
	-o-border-radius: 1px;
	box-shadow: inset 0 1px 0 0 #ff5e5e;
	-webkit-box-shadow: 0 1px 0 0 #ff5e5e inset ;
	-moz-box-shadow: 0 1px 0 0 #ff5e5e inset;
	-ms-box-shadow: 0 1px 0 0 #ff5e5e inset;
	-o-box-shadow: 0 1px 0 0 #ff5e5e inset;
	color: white;
	transition:.3s;
	-webkit-animation:email-an linear 1s infinite;
	animation:email-an linear 1s infinite;

	padding: 6px 20px;
	text-align: center;
	text-shadow: 0 -1px 0 #ff0800;
}

button.submit_red2 {
	background-color: #dd1c1c;
	background: -webkit-gradient(linear, left top, left bottom, from(#ff0000), to(#e40303));
	background: -webkit-linear-gradient(top, #ff0000, #e40303);
	background: -moz-linear-gradient(top, #ff0000, #e40303);
	background: -ms-linear-gradient(top, #ff0000, #e40303);
	background: -o-linear-gradient(top, #ff0000, #e40303);
	background: linear-gradient(top, #ff0000, #e40303);
	border: 1px solid #ff5e5e;
	border-bottom: 1px solid #ff5e5e;
	border-radius: 3px;
	-webkit-border-radius: 1px;
	-moz-border-radius: 1px;
	-ms-border-radius: 1px;
	-o-border-radius: 1px;
	box-shadow: inset 0 1px 0 0 #ff5e5e;
	-webkit-box-shadow: 0 1px 0 0 #ff5e5e inset ;
	-moz-box-shadow: 0 1px 0 0 #ff5e5e inset;
	-ms-box-shadow: 0 1px 0 0 #ff5e5e inset;
	-o-box-shadow: 0 1px 0 0 #ff5e5e inset;
	color: white;
	transition:.3s;


	padding: 6px 20px;
	text-align: center;
	text-shadow: 0 -1px 0 #ff0800;
}


@-webkit-keyframes email-an {
	0% {
	box-shadow:0 8px 10px rgba(249,92,24,0.3),0 0 0 0 rgba(249,92,24,0.2),0 0 0 0 rgba(249,92,24,0.2)
}
40% {
	box-shadow:0 8px 10px rgba(249,92,24,0.3),0 0 0 15px rgba(249,92,24,0.2),0 0 0 0 rgba(249,92,24,0.2)
}
80% {
	box-shadow:0 8px 10px rgba(249,92,24,0.3),0 0 0 30px rgba(249,92,24,0),0 0 0 26.7px rgba(249,92,24,0.067)
}
100% {
	box-shadow:0 8px 10px rgba(249,92,24,0.3),0 0 0 30px rgba(249,92,24,0),0 0 0 40px rgba(249,92,24,0.0)
}
}@keyframes email-an {
	0% {
	box-shadow:0 8px 10px rgba(249,92,24,0.3),0 0 0 0 rgba(249,92,24,0.2),0 0 0 0 rgba(249,92,24,0.2)
}
40% {
	box-shadow:0 8px 10px rgba(249,92,24,0.3),0 0 0 15px rgba(249,92,24,0.2),0 0 0 0 rgba(249,92,24,0.2)
}
80% {
	box-shadow:0 8px 10px rgba(249,92,24,0.3),0 0 0 30px rgba(249,92,24,0),0 0 0 26.7px rgba(249,92,24,0.067)
}
100% {
	box-shadow:0 8px 10px rgba(249,92,24,0.3),0 0 0 30px rgba(249,92,24,0),0 0 0 40px rgba(249,92,24,0.0)
}
}
	@media (max-width: 480px) {
		button.submit_red {
			background-color: #ff0000;
			background: -webkit-gradient(linear, left top, left bottom, from(#ff0000), to(#e40303));
			background: -webkit-linear-gradient(top, #ff0000, #e40303);
			background: -moz-linear-gradient(top, #ff0000, #e40303);
			background: -ms-linear-gradient(top, #ff0000, #e40303);
			background: -o-linear-gradient(top, #ff0000, #e40303);
			background: linear-gradient(top, #ff0000, #e40303);
			border: 1px solid #ff5e5e;
			border-bottom: 1px solid #ff5e5e;
			border-radius: 3px;
			-webkit-border-radius: 3px;
			-moz-border-radius: 3px;
			-ms-border-radius: 3px;
			-o-border-radius: 3px;
			box-shadow: inset 0 1px 0 0 #ff5e5e;
			-webkit-box-shadow: 0 1px 0 0 #ff5e5e inset ;
			-moz-box-shadow: 0 1px 0 0 #ff5e5e inset;
			-ms-box-shadow: 0 1px 0 0 #ff5e5e inset;
			-o-box-shadow: 0 1px 0 0 #ff5e5e inset;
			color: white;
			font-weight: bold;
			padding: 6px 20px;
			text-align: center;
			text-shadow: 0 -1px 0 #ff0800;
		}
}


button.submit_red:hover {
	opacity:.85;
	cursor: pointer; 
}
button.submit_red2:hover {
	opacity:.85;
	cursor: pointer; 
}
button.submit_red:active {
	border: 1px solid #db0f0f;
	box-shadow: 0 0 10px 5px #db0f0f inset; 
	-webkit-box-shadow:0 0 10px 5px #db0f0f inset ;
	-moz-box-shadow: 0 0 10px 5px #db0f0f inset;
	-ms-box-shadow: 0 0 10px 5px #db0f0f inset;
	-o-box-shadow: 0 0 10px 5px #db0f0f inset;	
}

button.submit:hover {
	opacity:.85;
	cursor: pointer; 
}
button.submit:active {
	border: 1px solid #20911e;
	box-shadow: 0 0 10px 5px #356b0b inset; 
	-webkit-box-shadow:0 0 10px 5px #356b0b inset ;
	-moz-box-shadow: 0 0 10px 5px #356b0b inset;
	-ms-box-shadow: 0 0 10px 5px #356b0b inset;
	-o-box-shadow: 0 0 10px 5px #356b0b inset;	
}