.overlay {
    background-color: rgba(0, 0, 0, 0.7);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 99999;
		-webkit-transition: opacity .5s;
		-moz-transition: opacity .5s;
		-ms-transition: opacity .5s;
		-o-transition: opacity .5s;
		transition: opacity .5s;
}
.popup1 {
	background: #F2F2F2;
	border: 0px solid #fff;
	display: inline-block;
	left: 50%;
	opacity: 0;
	padding: 25px;
	width: 350px;
	position: fixed;
	text-align: justify;
	top: 45%;
	visibility: hidden;
	z-index: 999999;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	-webkit-transition: opacity .5s, top .5s;
	-moz-transition: opacity .5s, top .5s;
	-ms-transition: opacity .5s, top .5s;
	-o-transition: opacity .5s, top .5s;
	transition: opacity .5s, top .5s;
	border-radius: 5px;
}

.popup1 label {
	font-size: 16px;
	font-family: 'Open sans', sans-serif;
	margin-bottom: 1px;
	text-transform: uppercase;
	text-align: center;
	color: #000000;
	font-weight: 400;
	/*text-shadow: 1px 1px 1px rgba(179, 179, 179, 1);*/
} 

.form1_style {
	background: #F2F2F2;
	border-radius: 3px;
	padding: 15px 10px 10px 10px;
	border: 1px solid rgba(171, 171, 171, 0.7);
	margin: 15px 15px 15px 15px;
	position: relative;
}
	
.popup1 .close_window {
	font-size: 16px;
	display: block;
	width: 27px;
	height: 27px;
	position: absolute;
	padding: 0px 9px 2px 9px;
	top: 7px;
	right: 7px;
	cursor: pointer;
	color: #000000;
	font-family: 'tahoma', sans-serif;
	border: 1px solid #ffffff;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-o-border-radius: 50%;
	-ms-border-radius: 50%;
	border-radius: 50%;
	text-align: center;
}
.popup1 .close_window:hover {
	color: #000000;
}
.popup1 .close_window:active {
	color: #000000;
}

.h5_but_text  {
	padding: 42px 0 0 0 !important;
	width: 540px !important;
	color: #ffffff !important;
}


.inp_form {
	width: 88%;
	margin: 0 6%;
	border-radius: 5px !important;
	border: 1px solid #C3C3C3;
	background: #F7F7F7;
	color: #717171;
	font-size: 17px;
	font-weight: normal;
	outline: 0; 
	display: block;
	padding: 6px 10px 6px 10px;
	-webkit-box-shadow: inset 2px 2px 1px 0px rgba(17, 17, 17, 0.12);
	box-shadow: inset 2px 2px 1px 0px rgba(17, 17, 17, 0.12);
	text-align: center;
}

.inp_form_but {
	border-top: none;
	border-right: none;
	border-left: none;
	cursor: pointer;
	background: #fbe630;
	color: #262202;
	border-bottom: 3px solid #E2CF29;
	padding: 15px 15px 15px 15px;
	border-radius: 4px;
	position: relative;
	display: block;
	text-align: center;
	text-decoration: none;
	margin: 30px auto 0px auto;
	width: 80%;
	font-size: 22px !important;
	line-height: 1.2;
	cursor: pointer;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	outline: 0;
	text-transform: uppercase;
	font-family: 'Open sans', sans-serif;
	font-style: normal;
	font-weight: 700;
	transition: background-color 0.15s;
}

.form1_capt {
	font-size: 28px;
	font-family: 'Open sans', sans-serif;
	text-align: center;
	margin: 0;
	padding: 0;
	color: #000000;
	font-weight: 400;
	text-shadow: 1px 1px 1px rgba(157, 157, 157, 0.7);
}

.inp_form_but:hover {
    background: #FFD600;
}

.inp_form_but:active {
    background: #FFD600;
    border-bottom: none;
    border-top: 3px solid #FFD600;
    border-left: 3px solid #FFD600;
}


.yellow_but {
	cursor: pointer;
	background: #ffffff;
	color: #333;
	padding: 14px 7px 14px 7px;
	border-radius: 4px;
	position: relative;
	display: block;
	text-align: center;
	text-decoration: none;
	margin: 15px auto 0px auto;
	width: 82%;
	line-height: normal;
	font-size: 20px;
	cursor: pointer;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	outline: 0;
	text-transform: uppercase;
	font-style: normal;
	font-weight: 400;
	transition: background-color 0.15s;
	text-decoration: none;
	box-shadow: 0px 0px 2px rgba(166, 166, 166, 0.32);
	outline: none;
	border: 1px solid #CDCDCD;
	font-family: 'Open sans', sans-serif;
}

.yellow_but:hover   {
	text-decoration: none;
	background: #FFD600;
}

.yellow_but:active {
	text-decoration: none;
}


@media screen and (max-width: 460px)  {
.popup1 {
	width: 90%;
	padding: 20px;
	height: auto;
}

.form1_capt {
	font-size: 34px;
	line-height: 1.2;
}

}
