/** popup
*****************************************************************************/

.popup {
	position:relative;
	width: 300px;
	height:480px;
	padding:0 30px;
	text-align: center;
	background-color: #f8f6f9;
	border: 0px solid #fff;
	display: inline-block;
	left: 50%;
	opacity: 0;
	position: fixed;
	text-align: justify;
	top: 40%;
	visibility: hidden;
	z-index: 999;
	-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-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	border-radius: 10px;
	-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;
	box-shadow:0 7px 13px -4px #000000;
	-webkit-box-shadow: 0 7px 13px -4px #000000;
	-moz-box-shadow: 0 7px 13px -4px #000000;
	-ms-box-shadow:0 7px 13px -4px #000000;
	-o-box-shadow:0 7px 13px -4px #000000;
}
.overlay:target+.popup {
	top: 50%;
	opacity: 1;
	visibility: visible;
}
.popup .info-popup {
	font-family: 'PT Sans', sans-serif, arial;
	font-size: 14px;
	color: #665c67;
	text-align: center;
	margin: 80px 0 20px 0;
}
.popup h4 {
	position:absolute;
	top:0px;
	left:0px;
	right:0px;
	margin:0 auto;
	background:#19aa8c;
	height: 32px;
	padding: 14px 0 0px;
	font-family: 'PT Sans', sans-serif, arial;
	font-size: 20px;
	font-weight: normal;
	text-align: center;
	color: #fff;
	text-transform: uppercase;
	-webkit-border-radius: 10px 10px 0 0;
	-moz-border-radius: 10px 10px 0 0;
	-ms-border-radius: 10px 10px 0 0;
	-o-border-radius: 10px 10px 0 0;
	border-radius: 10px 10px 0 0;
	font-style: normal;
}
.overlay {
	background-color: rgba(0, 0, 0, 0.6);
	bottom: 0;
	cursor: default;
	left: 0;
	opacity: 0;
	position: fixed;
	right: 0;
	top: 0;
	visibility: hidden;
	z-index: 1;
	-webkit-transition: opacity .5s;
	-moz-transition: opacity .5s;
	-ms-transition: opacity .5s;
	-o-transition: opacity .5s;
	transition: opacity .5s;
}
.overlay:target {
	visibility: visible;
	opacity: 1;
}
.close {
    -moz-text-decoration-color: -moz-use-text-color;
    -moz-text-decoration-line: none;
    -moz-text-decoration-style: solid;
    background-color: #f8f5f8;
    height: 20px;
    line-height: 20px;
    position: absolute;
    right: 10px;
    text-align: center;
    top: 10px;
    width: 20px;
	font-style:normal;
text-decoration:none;
}

.close:before {
	color: #a896a9;
	content: "X";
	font-size: 13px;
	font-style:normal;
	line-height: 20px;
}
.close:hover {
	text-decoration: none;
	background-color: #FFE482;
}
.popup p, .popup div {
	margin-bottom: 0px;
}
.popup label {
	height: 25px;
	font-family: 'PT Sans', sans-serif, arial;
	font-size: 12px;
	color: #665c67;
	width: 75px;
	vertical-align: middle;
	text-align: right;
	float: left;
	line-height: 30px;
	margin:0 5px 0 0;
}
.popup span {
	color: #fe2021;
}
.popup .input-E-mail, .popup .input-fio, .popup .input-phone, .popup .input-comments {
	padding: 0 0px;
	width:310px;
	float:left;
}
.popup .input-E-mail input {
	width: 200px;
	height: 28px;
	float: left;
	margin: 0 0 10px 0px;
	-moz-box-shadow: inset 2px 4px 5px #ececec;
	-webkit-box-shadow: inset 2px 4px 5px #ececec;
	box-shadow: inset 2px 4px 5px #ececec;
	padding: 0 0 0 10px;
	border: 1px solid #dcd2dc;
	color: #665C67;
	line-height: 31px;
}
.popup .input-phone input {
	width: 200px;
	height: 28px;
	float: left;
	margin: 0 0 10px 0px;
	-moz-box-shadow: inset 2px 4px 5px #ececec;
	-webkit-box-shadow: inset 2px 4px 5px #ececec;
	box-shadow: inset 2px 4px 5px #ececec;
	padding: 0 0 0 10px;
	border: 1px solid #dcd2dc;
	color: #665C67;
	line-height: 31px;
}
.popup .input-fio input {
	width: 200px;
	height: 28px;
	float: left;
	margin: 0 0 10px 0px;
	-moz-box-shadow: inset 2px 4px 5px #ececec;
	-webkit-box-shadow: inset 2px 4px 5px #ececec;
	box-shadow: inset 2px 4px 5px #ececec;
	padding: 0 0 0 10px;
	border: 1px solid #dcd2dc;
	color: #665C67;
	line-height: 31px;
}
.popup textarea {
	width: 202px;
	float: left;
	height: 90px;
	padding: 0 0 10px 10px;
	-moz-box-shadow: inset 2px 4px 5px #ececec;
	-webkit-box-shadow: inset 2px 4px 5px #ececec;
	box-shadow: inset 2px 4px 5px #ececec;
	padding: 0 0 0 0px;
	border: 1px solid #dcd2dc;
	color: #665C67;
	padding: 5px 0 0 8px;
}
.popup .input-comments {
	float: left;
}
.popup .input-button input {
	float: left;
	margin: 10px 0 0 80px;
	width: 97px;
	height: 33px;
	text-align: center;
	background: #44C3F4;
	border: none;
	cursor: pointer;
	font-family: 'PT Sans', sans-serif, arial;
	font-size: 14px;
	color: #fff;
	text-shadow: 0px 1px 0px #fff;
}
.popup .input-button input:hover {
	background: #037AA8;
	cursor: pointer;
}