﻿/* 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: Arial, sans-serif;
	font-size: 12px;
	color: #333;
	background: url(../images/main.jpg);
	width: 100%;
	min-width: 990px;
}

#wrap {
	position: relative;
	width: 990px;
	margin: 0 auto;
}

/* header */
.header { overflow: hidden; padding: 25px 0 0px 0;}
	.logo {float: left; }
	.logo a {text-decoration: none; color: #686868; font-family: 'roboto_condensedlight'; font-size: 16px; text-transform: uppercase;}
	.logo p {padding-top: 8px;}
	.phone {float: right; margin-top: 20px;}
		.phone p {font-size: 34px; color: #828282; font-family: 'roboto_condensedlight';}
		.phone span {display: block; text-align: center; color: #828282; font-size: 11px; text-transform: uppercase; padding: 5px 0 10px 0;}
		.phone a {display: inline-block; text-decoration: none; text-transform: uppercase; font-size: 15px; color: #f86406; font-family: 'robotobold_condensed'; padding-left: 20px; background: url(../images/phone-icon.png) no-repeat 0 50%;}
		.phone strong {font-weight: normal; border-bottom: 1px dotted #f86406; display: block;}

/* content */
.content { padding-top: 55px; }
	.info {float: left; font-family: 'roboto_condensedlight'; color: #686868; padding-top: 27px;}
		.info h1 {font-size: 25px;line-height: 120%; color: #fff; text-transform: uppercase;}
		.info p {font-size: 15px; padding-top: 15px;}

	.form-box {float: right; width: 280px;}
		.form-box h2 {font-size: 23px; color: #8b8b8b; text-align: center; font-family: 'robotocondensed'; padding-bottom: 25px; text-transform: uppercase;}
			.form-box h2 span {text-transform: uppercase; font-size: 23px; font-family: 'roboto_condensedlight';}
			.form-box h2 strong {font-weight: normal; font-size: 25px;}
			.form-box p {display: inline-block; font-size: 11px; color: #3c3b3b; margin: 0px 0 15px 115px; background: url(../images/lock.png) no-repeat 0 4px; padding-left: 25px; }
		.form-box input[type="text"] {margin: 0 0 15px 85px; width: 165px; border-radius: 25px; display: block; border: none; color: #000; font-size: 14px; height: 34px; box-shadow: 0 2px 5px #555555; padding-left: 15px;}
		.form-box input[type="submit"] {font-size: 18px; border: none; color: #fff; text-shadow: 1px 1px #bb5d03; margin-left: 95px; font-weight: bold; display: block; width: 169px; line-height: 100%; text-align: left; padding-left: 20px; height: 52px; background: url(../images/submit.png) repeat-x; cursor: pointer;}
		.form-box input[type="submit"]:hover, .popup input[type="submit"]:hover {background-position: 0 50%; text-shadow: 1px 1px #6d7415;}
		.form-box input[type="submit"]:active, .popup input[type="submit"]:active {background-position: 0 100%; text-shadow: 1px 1px #6d7415;}
		.inp-phone {margin: 0 0 15px 97px !important;}

.items {position: relative;}
	.items .box {text-align: center; position: absolute; color: #828282; font-size: 14px; font-family: 'roboto_condensedlight';}
		.items .box p {text-align: center; font-size: 22px; text-transform: uppercase; padding-top: 10px;}
	.c1 {top: -90px; left: 0px;}
	.c2 {top: 80px; left: 220px;}
	.c3 {top: 95px; right: 220px;}
	.c4 {top: 25px; right: 0px;}
	.items .block {float: left;}

.main {background: url(../images/body-bg.jpg) no-repeat 50% 0;}

/* footer */
#footer {
	position: relative;
	width: 960px;
	margin: 0 auto;
	overflow: hidden;
	padding: 30px 0 0 0;
	background: url(../images/footer-bg.png) no-repeat 50% 0;
}

.sub-mail {float: left; color: #636363; font-size: 16px; text-decoration: none;}
.sub-mail:hover {text-decoration: underline;}

.sub-logo {float: right;}

.sub-info {overflow: hidden; text-align: center;}
.sub-info span {display: block; text-align: center; padding-top: 10px; font-size: 11px; color: #565656;}
.sub-info a {display: inline-block; text-decoration: none; text-transform: uppercase; font-size: 15px; color: #f86406; font-family: 'robotobold_condensed'; padding-left: 20px; background: url(../images/phone-icon.png) no-repeat 0 50%;}
		.sub-info strong {font-weight: normal; border-bottom: 1px dotted #f86406; display: block;}

.footer_blank {	clear: both; height: 250px; }
input:focus {outline: none;}
.clear {clear: both;}

.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"] { width: 245px; display: block; padding-left: 10px; margin: 0px auto 13px; height: 40px; border-radius: 15px; border: none; color: #000; font-size: 15px; box-shadow: 0 2px 5px #555555;}
.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"]{
    font-size: 12px; border: none; color: #fff; text-shadow: 1px 1px #bb5d03; font-weight: bold; display: block; margin: 0 auto; width: 169px; height: 52px; text-align: left; background: url(../images/submit.png) repeat-x; cursor: pointer;
    margin-top: 25px; padding-left: 10px;
  }

  .popup .close {position: absolute; top: -35px; right: -35px;}