/*
Theme Name:		Быстрые колёса
Description:	Шаблон для evakuatorbk.ru
Author:			Демаков Станислав
Author URI:		
Version:		1.0
*/

/* reset */
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset {
	margin:0;
	padding:0;
}

img, fieldset {
	border:0;
}
img {
	vertical-align:top;
}

/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
	display:block;
}

/* main */
html, body {
	width:100%;
	height:100%;
}
body {
	background:url(images/main-bg.gif) center top #fff;
	color:#4e5469;
	font-size:21px;
	font-family:Tahoma;
}
a {
	color:#5bbab0;
	text-decoration:underline;
	-webkit-transition:color 0.15s ease-out;
	-moz-transition:color 0.15s ease-out;
	-o-transition:color 0.15s ease-out;
	transition:color 0.15s ease-out;
	outline:none;
}
a:hover {
	color:#1d4b91;
	text-decoration:none;
}

h1 {
	margin:0 0 25px;
	font-size:33px;
	font-weight:normal;
}
h2 {
	margin:25px 0;
	font-size:27px;
	font-weight:normal;
}
h3 {
	margin:25px 0;
	padding-left:28px;
	font-size:23px;
	font-weight:normal;
	position:relative;
}
h3::before {
	content:'';
	display:block;
	width:14px;
	background:#4e5469;
	position:absolute;
	top:5px;
	bottom:2px;
	left:0;
}

ol, ul {
	margin:0;
	padding:0;
}
li {
	list-style:none;
}

hr {
	color:#1d4b91;
}

/* reset webkit input styles */
input::-moz-placeholder, textarea::-moz-placeholder {
	color:#4f280e;
	opacity:1 !important;
}
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
	color:#4f280e;
	opacity:1 !important;
}

input, textarea {
	color:#4f280e;
	font:16px Arial;
}

/* structure */
#main {
	width:1000px;
	height:100%;
	min-height:100%;
	margin:0 auto;
	position:relative;
	transition:width 0.15s ease-out;
}
html > body #main {
	height:auto;
}

#main-bg {
	box-shadow:0 0 32px rgba(0,0,0, 0.14);
	background:#fff;
	position:absolute;
	left:0;
	top:0;
	right:0;
	bottom:95px;
	z-index:-1;
}
#main-wrapper {
	position:relative;
	z-index:1;
}

#header {
	height:484px;
	background:url(images/header-bg.jpg) no-repeat;
	background-size:contain;
}
#header-logo {
	display:block;
	width:162px;
	height:261px;
	position:absolute;
	left:34px;
	top:0;
}
#header-slogan {
	height:100px;
	overflow:hidden;
	color:#1c57b0;
	font-size:83px;
	text-transform:uppercase;
	position:absolute;
	left:242px;
	top:13px;
	transition:all 0.15s ease-out;
}
#header-phone {
	display:block;
	height:90px;
	overflow:hidden;
	color:#ffa750 !important;
	font-size:75px;
	text-decoration:none;
	position:absolute;
	left:240px;
	top:91px;
	transition:all 0.15s ease-out;
}
a#header-call {
	width:131px;
	height:130px;
	background:url(images/call.png) no-repeat;
	background-size:contain;
	position:absolute;
	left:580px;
	top:217px;
}
#header-service {
	width:252px;
	height:61px;
	background:url(images/buttons.png) no-repeat left top;
	color:#fff;
	font-size:25px;
	line-height:61px;
	text-align:center;
	text-decoration:none;
	position:absolute;
	right:57px;
	top:446px;
	transition:all 0.15s ease-out;
}
#header-service:hover {
	text-shadow:0 0 3px rgba(0, 0, 0, 0.5);
}

#order-call-block {
	display:none;
	position:absolute;
	right:57px;
	/*top:507px;*/
	top:446px;
}
#order-call-link {
	width:252px;
	height:61px;
	background:url(images/buttons.png) no-repeat left top;
	color:#fff;
	font-size:25px;
	line-height:61px;
	text-align:center;
	text-decoration:none;
	cursor:pointer;
}
#order-call-link:hover {
	text-shadow:0 0 5px #000;
}
#order-call-block.call-block-active #order-call-link {
	text-shadow:0 0 5px #000;
}
#order-call{
	background:#fff none repeat scroll 0 0;
	border-radius:15px;
	box-shadow:1px 1px 10px 0 rgba(0, 0, 0, 0.4);
	font-size:15px;
	padding:15px;
	position:absolute;
	right:0;
	top:65px;
	width:330px;
	z-index:100;
}
#order-call-block-close {
	width:19px;
	height:19px;
	border:1px solid #ccc;
	border-radius:50%;
	background:#f5f5f5;
	color:#f00;
	font-size:15px;
	line-height:16px;
	text-align:center;
	position:absolute;
	right:10px;
	top:10px;
	cursor:pointer;
}
#order-call-block.call-block-active #order-call {
	display:block;
}
#order-call-submit {
	float:right;
	width:126px;
	margin-top:8px;
	padding:0 0 1px;
	border:none;
	background:#1d4b91;
	color:#fff;
	font-size:21px;
	text-align:center;
	cursor:pointer;
}
#order-call-name, #order-call-number {
	float:left;
	width:312px;
	height:16px;
	margin:8px 0;
	padding:5px 8px;
	border:1px solid #ccdaef;
	background:#fff;
	color:#4e5469;
	font-size:13px;
	line-height:16px;
}
#order-call-number {
	margin-bottom:0;
	width:170px;
}

#content {
	padding:77px 33px 33px;
	background:url(images/content-bg.gif) center top;
}
#content p {
	margin:0 0 21px;
}
#content p.mark {
	padding-left:28px;
	position:relative;
}
#content p.mark::before {
	content:'';
	display:block;
	width:14px;
	background:#c4e0dd;
	position:absolute;
	top:5px;
	bottom:2px;
	left:0;
}

#content ul, #content ol {
	margin:21px 0;
}
#content ul li {
	margin:0 0 32px;
	padding:4px 0 4px 54px;
	background:url(images/li.png) no-repeat;
}
#content ol li {
	list-style:decimal inside;
}


#expand { height:95px; }
#footer {
	width:100%;
	height:95px;
	text-align:center;
	position:absolute;
	bottom:0;
	left:0;
	z-index:0;
}
#footer #copyright {
	padding:25px 0 5px;
	color:#ccc;
	font-weight:bold;
	font-size:17px;
}
#footer #copyright span {
	color:#bbb;
}
#footer #footer-slogan {
	color:#555;
	font-size:15px;
}

/* additional */
.clear {
	clear:both;
	height:0;
	overflow:hidden;
}
.red {
	color:#f00;
}

table.price {
	width:1000px;
	margin-left:-33px;
	border-collapse:collapse;
	color:#4e5469;
}
table.price td, 
table.price th {
	padding:15px 33px;
	vertical-align:middle;
}
table.price th {
	background:#ffebd7;
	font-size:25px;
	font-weight:normal;
	line-height:21px;
}
table.price td.td-title {
	background:#c4e0dd;
	font-size:25px;
	font-weight:normal;
}
table.price tr:nth-child(odd) td {
	background:rgba(231, 231, 231, .24);
}

#form-head {
	width:860px;
	height:94px;
	margin:50px 0 26px -33px;
	padding-left:140px;
	background:#ccdaef;
	font-size:25px;
	font-weight:normal;
	line-height:94px;
	position:relative;
}
#form-head img {
	position:absolute;
	top:-14px;
	left:28px;
}
#form {
	width:934px;
}
.form-title {
	height:22px;
	padding-left:9px;
	font-size:13px;
}
.form-textarea, 
.form-input {
	border:1px solid #ccdaef;
	background:#fff;
	color:#4e5469;
	font-size:13px;
}
.form-textarea {
	padding:8px;
	width:916px !important;
	height:73px !important;
}
.form-input {
	width:202px;
	height:16px;
	padding:5px 8px;
}
.form-block {
	float:left;
	width:266px;
	margin-top:21px;
}
#form-submit {
	float:right;
	width:136px;
	margin-top:45px;
	padding:0 0 1px;
	border:none;
	background:#1d4b91;
	color:#fff;
	font-size:21px;
	cursor:pointer;
}

.size-thumbnail, 
.size-medium, 
.size-large, 
.size-full {
	max-width:100% !important;
	height:auto !important;
	box-shadow:0 0 8px rgba(0,0,0, 0.35);
}
.size-thumbnail {
	border-radius:10px;
}

@media (max-width:1040px) {
	#main {
		width:800px;
	}
	#header {
		height:387px;
	}
	#header-slogan {
		height:82px;
		font-size:68px;
		left:204px;
		top:0;
	}
	#header-phone {
		left:201px;
		top:70px;
	}
	a#header-call {
		left:491px;
		top:175px;
	}
	#header-service {
		top:355px;
	}
}
@media (max-width:840px) {
	#main {
		width:600px;
	}
	#header {
		height:330px;
	}
	#header-slogan {
		height:66px;
		font-size:55px;
		left:150px;
	}
	#header-phone {
		height:62px;
		font-size:51px;
		left:148px;
		top:65px;
	}
	a#header-call {
		width:81px;
		height:80px;
		left:345px;
		top:145px;
	}
	#header-service {
		top:310px;
		right:174px;
	}
}
@media (max-width:640px) {
	#main {
		width:400px;
	}
	#header-slogan {
		height:auto;
		text-align:center;
		left:85px;
	}
	#header-phone {
		font-size:48px;
		left:11px;
		top:215px;
	}
	a#header-call {
		width:35px;
		height:35px;
		left:356px;
		top:229px;
	}
	#header-service {
		right:74px;
	}
}