/*
Theme Name: STS
Theme URI: http://blacklink.free-lance.ru/
Description: The STS WordPress theme
Version: 1.0
Author: Pavel Vrubel
Author URI: http://blacklink.free-lance.ru/
Tags: blue, two columns
*/

/* Reset
----------------------------------------------- */
html{color:#000;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}
body{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}select,input,button,textarea{font:99% arial,helvetica,clean,sans-serif;}table{font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}

/* Global
----------------------------------------------- */
body {
	background:url(images/bg.png) repeat-x;
	color: #1a1a1a;
	font-size: 11px;
	font-family: Tahoma, Geneva, sans-serif;
}
a {
	color: #005ab0;
}
a:hover {
color:#0074E2;
}
a:focus { outline: none; }
strong {
	font-weight: bold;
}
.linklove {display:none} 
table.tables, table.tables tr td
{
border-color: #000;
}

h1, h2, h3 {
		font-family: Tahoma, Geneva, sans-serif;
		font-size:17px;
}
h4{
	font-size: 22px;
	color: #005ab0;
	padding-left: 28px;
	padding-right: 28px;
	padding-top: 9px;
	margin-bottom: 10px;
		text-transform: uppercase;
}
h3 {
	font-size: 20px;
		font-weight: bold;
}
/* Structure
----------------------------------------------- */
#top {
	width: 964px;
	margin: 0 auto;
	margin-bottom: 2px;
}
a#logo {
	display: block;
	height: 64px;
	width: 364px;
	position: absolute;
	margin-top: -140px;
	margin-left: -20px;
	text-decoration: none;
}
.mainmenu {
	height: 45px;
	padding-top: 19px;
	margin-left: 11px;
	font-size: 12px;
	font-weight: bold;
	width: 776px;
	float: left;
  text-transform: uppercase;
}
.mainmenu li {
	float: left;
	display: block;
	padding-left: 20px;
	padding-right: 20px;
	border-right: 1px solid #9a9a9a;
	margin-top: 15px;
}
.mainmenu a {
	float: left;
	text-decoration: none;
	color: #fff;
}
.mainmenu a:hover {
	color: #C0EBFD;
}
.mainmenu .current_page_item a{
	color: #fff;
}
.mainmenu .current_page_item a:hover{
	color: #fff;
}
.mainmenu li:last-child, .mainmenu li.last-child{
	border-right: none;
}
.menu{
	font-size: 12px;
	font-weight: bold;
}
.menu li{
	display: block;
			margin-bottom: 3px;
}
.menu li a{
	display: block;
	text-decoration: none;
	color: #1a1a1a;
	padding-left: 50px;
	padding-top: 9px;
	padding-bottom: 9px;
		background:url(images/menu-li.png) no-repeat 0 50%;
	padding-right: 20px;
}
.menu li a:hover{
	text-decoration: underline;
	color: #1a1a1a;
}
.menu li li{
	background:url(images/menu-li-li.png) no-repeat;
	border-bottom: 1px #C7C7C7 dotted;
	margin-left: 29px;
}
.menu li ul{
	margin-top: 3px;
	margin-bottom: 3px;
		display: none;
}
.menu li li a{
	display: block;
	text-decoration: none;
	color: #727272;
	padding-top: 5px;
	padding-left: 21px;
	background: none;
	padding-right: 20px;
 	background:url(images/menu-li-li.png) no-repeat;
}
.menu .current_page_item a{
	color: #d3393b;
	text-transform: uppercase;
}
.menu .current_page_item li a{
	color: #727272;
	text-transform: none;
}
.menu .current_page_item li a:hover{
	color: #1a1a1a;
}
.menu .current_page_item ul, .menu .current_page_parent ul{
	display: block;
}
.menu li li:last-child, .menu li li.last-child{
	border-bottom: none;
}
.footermenu{
	margin-left: 21px;
}
.footermenu li{
	float: left;
	text-transform: uppercase;
	padding-left: 9px;
	padding-right: 9px;
}
.footermenu li a{
	text-decoration: none;
	color: #191919;
}
.footermenu li a:hover{
	color: #666;
}
#nav {
	float: left;
	margin-top: 26px;
  width: 145px;
}
#nav li{
display: block;
	float: left;
	background:url(images/nav.png) no-repeat;
	width: 27px;
	height: 27px;
	margin-right: 21px;
}
#nav li a{
display: block;
	width: 27px;
	height: 27px;
}
#nav li#map{
	background-position: 0 -27px;
}
#nav li#suggestion{
	background-position: 0 -54px;
}
#header {
	height: 298px;
	background:url(images/header.jpg) no-repeat center;
	float: none;
	clear: both;
}
#contacts {
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	width: 922px;
	margin: 0 auto;
	padding-left: 42px;
	padding-top: 159px;
}
#contacts p{
	margin-bottom: 9px;
}
#phone {
	background:url(images/phone.png) no-repeat;
	width: 330px;
	height: 65px;
	display: block;
	margin-top: 3px;
}
#contacts a{
	color: #fff;
	text-decoration: none;
}
#base {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	margin-top: 26px;
}
.sidebar {
	width: 231px;
	vertical-align: top;
}
.sidebar h3{
	height: 36px;
	color: #fff;
	background:url(images/sidebar-h3.jpg) no-repeat;
	padding-left: 18px;
	padding-top: 10px;
	margin-bottom: 3px;
		text-transform: uppercase;
}
#content {
	vertical-align: top;
}
#banner-1 {
	display: block;
	height: 104px;
	width: 231px;
	background:url(images/banner-1.png) no-repeat;
}
#banner-2 {
	display: block;
	height: 117px;
	width: 231px;
	background:url(images/banner-2.png) no-repeat;
	margin-top: 10px;
	margin-bottom: 11px;
}
#banner-3 {
	display: block;
	height: 318px;
	width: 231px;
	background:url(images/pereezd.png) no-repeat;
	margin-top: 10px;
	margin-bottom: 11px;
}
.entry {
	padding-left: 28px;
	padding-right: 28px;
	line-height: 140%;
}
.entry p{
	margin-top: 9px;
	margin-bottom: 9px;
}
.entry li{
	margin-top: 2px;
	margin-bottom: 2px;
	padding-left: 21px;
	background:url(images/li.png) no-repeat 3px 7px;
}
#news {
	background: #E5E5E5;
		padding-top: 7px;
	padding-bottom: 7px;
}
#news li{
	padding-top: 7px;
	padding-bottom: 7px;
	margin-left: 18px;
	margin-right: 20px;
	line-height: 125%;
	padding-left: 11px;
	background:url(images/news-li.png) no-repeat 0px 10px;
}
#news li a{
	color: #1a1a1a;
}
#news li a:hover{
	color: #666;
}
#footer h3{
	color: #005ab0;
		padding-left: 28px;
	padding-right: 28px;
				padding-top: 23px;
}
#city-list {
			padding-left: 28px;
			padding-top: 8px;
			font-weight: bold;
			padding-bottom: 37px;
}
#city-list li{
	float: left;
	padding-right: 7px;
}
#city-list a{
		color: #1a1a1a;
}
#city-list a:hover{
	color: #666;
}
.bottom {
	height: 54px;
	border-top: 3px solid #DBDBDB;
	background: #EAEAEA;
	color: #707070;
	padding-left: 3px;
}
/* Images */
p img {
	padding: 0;
	max-width: 100%;
	}
/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}

/* Lists */

/* Form Elements */
#searchform {
	height: 38px;
	background:url(images/day/search.jpg) no-repeat;
	margin-left: 40px;
	margin-top: 10px;
	}

#sidebar #searchform #s {
	padding-top: 7px;
	width: 190px;
	border: none;
	background: none;
	margin-left: 50px;
	font-size: 13px;
	padding-bottom: 7px;
	}

#sidebar #searchsubmit {
	display: none;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}

/* Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}

/* Sidebar */


/* Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}

.clear {
	clear: both;
	font-size: 1px;
	height: 0px;
}
.screen-reader-text {
     position: absolute;
     left: -1000em;
}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}

/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you.
	It won't be a stylish marriage, I can't afford a carriage.
	But you'll look sweet upon the seat of a bicycle built for two." */

