/* reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, font, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, dd, dl, dt, li, ol, ul, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	background-position: 0 0;
	background-repeat: no-repeat;
	border: 0 none;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	padding: 0;
	text-align: left;
	vertical-align: baseline;
}
a img, :link img, :visited img { border:0 none; }
table { border-collapse: collapse; border-spacing: 0; }
ol, ul { list-style-image: none; list-style-position: outside; list-style-type: none; }
q:before, q:after, blockquote:before, blockquote:after { content:""; }

/* css begin */
html, body { height:100%; }
body {
	font-family: 'pt_serifregular';
	font-size: 12px;
	color: #000;
	background: url(../images/body-bg.jpg) no-repeat 50% 0;
	width: 100%;
	min-width: 980px;
}

#wrap {
	position: relative;
	width: 980px;
	margin: 0 auto;
}

/* header */
.header { overflow: hidden; padding: 25px 0 60px 0;}
	.logo {float: left; margin-left: 420px;}
    .logo a {color: #000; text-decoration: none;}
    .logo p {padding-top: 7px; text-align: center; font-size: 14px;}
	.phone {float: right; margin-right: 30px; text-align: center;}
		.phone p {font-size: 30px; color: #700042; padding-bottom: 5px;}
		.phone a {display: inline-block; background: url(../images/phone-icon.png) no-repeat 0 50%; color: #000; font-size: 14px; text-decoration: none; padding-left: 15px;}
		.phone span {border-bottom: 1px dashed #000;}
		.phone a:hover span {border: none;}

.container {overflow: hidden; padding-bottom: 150px;}
	.content {float: left;}
		.content h1 { font-size: 36px; font-family: 'kelson_sans_ruregular'; text-align: center; text-shadow: 0 1px #ecedf2; padding-top: 30px;}
		.content ul {padding-top: 60px;}
			.content li {text-shadow: 0 1px #ecedf2; font-size: 18px; margin-bottom: 20px; padding-left: 19px; background: url(../images/star.png) no-repeat 0 2px;}

	.form-box {float: right; background: url(../images/form-box.png) no-repeat; width: 256px; height: 298px; }
		.form-box h2 {text-align: center; font-size: 18px; padding: 33px 0 5px 0;}
		.form-box input[type="text"] {width: 206px; height: 33px; border-radius: 10px; margin-bottom: 8px !important; display: block; margin: 0 auto; border: none; padding-left: 10px; font-size: 18px; color: #000; font-family: 'pt_serifregular'; box-shadow: inset 2px 2px 5px #a4a4a4;}
		.form-box input[type="submit"] {width: 213px; line-height: 100%; height: 36px; border-radius: 10px; background: url(../images/submit.png) repeat-x; border: 3px solid #a50000; margin: 0 auto; display: block; cursor: pointer; font-size: 24px; color: #000; font-family: 'candarabold';}
		.form-box span {display: inline-block; font-size: 12px; color: #282828; padding-left: 28px; background: url(../images/lock.png) no-repeat 0 50%; margin: 13px 0 0 53px;}

.items {overflow: hidden; padding: 5px;}
	.items ul {}
		.items li {float: left;  width: 140px; height: 155px; border-radius: 10px; background: url(../images/item-bg.png); box-shadow: 0 2px 5px #817f7c; text-align: center; margin-right: 65px;}
			.items p {text-align: center; height: 57px; font-size: 13px;}
			.items img {margin-top: 10px;}
			.items span {font-size: 16px; color: #860000; font-family: 'candarabold'; display: block; text-align: center; padding: 5px 0;}
            .last {float: right !important; margin-right: 0px !important;}

/* footer */
#footer {
	position: relative;
	width: 980px;
	margin: 0 auto;
	overflow: hidden;
	padding-bottom: 20px;
}

#footer p {text-align: center; font-size: 16px; padding-top: 5px;}
#footer a {display: inline-block; vertical-align: middle; margin-left: 5px; font-size: 20px; color: #000;}
#footer a:hover {text-decoration: none;}

.footer_blank {	clear: both; height: 10px; }
input:focus {outline: none;}

.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: 1000;
    -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;
}

.popup { 
    width: 340px;
    margin: auto;
    background-color: #fff;
    display: block;
    left: 0; right: 0;
    opacity: 0;
    padding: 15px 15px 25px 15px;
    position: fixed;
    font-size: 14px;
    top: 0;
    visibility: hidden;
    z-index: 1000;
    border-radius: 5px;
/* Устанавливаем эффект перехода появления окна */ 
    -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;
}
/* Устанавливаем позицию появления окна */ 
.overlay:target+.popup {
    top: 20%;
    opacity: 1;
    visibility: visible;
}

.popup h2 { font-size: 20px; text-align: center; margin-bottom: 13px;}
.popup input[type="text"] {border: 1px solid #8EB6EF; box-shadow: 0px 0px 10px 4px rgba(195, 220, 255, 0.553); outline:none; width: 245px; display: block; border-radius: 5px; font-size: 17px; color: #000; padding-left: 10px; margin: 0px auto 13px; height: 40px;}
.popup textarea {display: none; border: 1px solid #8EB6EF; font-family: 'Tahoma'; resize: none; box-shadow: 0px 0px 10px 4px rgba(195,220,255,.55); outline:none; width: 245px; border-radius: 5px; font-size: 17px; padding-left: 10px; margin: 0px auto 13px; height: 80px;}
.popup p {text-align: center; color: #5D8AD8;}
  .popup p span {border-bottom: 1px dashed #5D8AD8; cursor: pointer;}
.popup input[type="submit"]{
    width: 185px; height: 36px; border-radius: 10px; background: url(../images/submit.png) repeat-x; border: 3px solid #700042; margin: 0 auto; display: block; cursor: pointer; font-size: 20px; color: #000; font-family: 'candarabold';
    margin-top: 25px;
  }
  input[type="submit"]:hover {background-position: 0 100%;}
  .popup .close {position: absolute; top: -35px; right: -35px;}