/*
Theme Name: apgarant.ru
Theme URI: http://numberonedesigner.com/
Description: Makeup by <a href="http://dimox.name/">Dimox</a>
Version: 1.0
Author: Number One
Author URI: http://numberoneblogger.com/
*/

* {
	margin: 0;
	padding: 0;
}
body {
	font: 12px/18px Arial, Tahoma, Verdana, sans-serif;
	color: #2B2B2B;
	width: 100%;
	background: #2568A0 url(i/bg.gif) fixed repeat-x;
	padding: 25px 0;
}
a {
	color: #2668A1;
	outline: none;
}
a:hover {
	text-decoration: none;
}
p {padding: 8px 0}
img {border: none}
input {vertical-align: middle}
blockquote {
	margin: 10px 10px 10px 20px;
	padding: 0 12px;
	background: #F4F4F4;
	border-left: 3px solid #E5E5E5;
}
.clear {
	clear: both;
	height: 0;
	overflow: hidden;
}
.big {
	font-size: 14px;
}

#wrapper {
	width: 960px;
	margin: 0 auto;
	padding: 0 15px;
	background: #FFF url(i/corners-top.gif) no-repeat;
}


/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 155px;
	position: relative;
}
#logo {
	position: absolute;
	top: 26px;
	left: 43px;
	width: 133px;
	height: 62px;
	background: url(i/logo.gif) no-repeat;
	text-indent: -9999px;
}

#header-right {
	float: right;
	width: 330px;
	font-size: 11px;
	line-height: 14px;
	color: #8B8B8B;
	padding: 23px 0 0;
}
#header-right a {
	color: #8B8B8B;
}
#header-right span {
	margin-right: 85px;
}

#nav {
	position: absolute;
	top: 105px;
	left: 0;
	width: 100%;
	background: #24649B url(i/nav.gif) repeat-x;
}
#nav div {
	background: url(i/nav.gif) 0 -35px no-repeat;
}
#nav ul {
	height: 35px;
	padding: 0 5px;
	line-height: 35px;
	list-style: none;
	background: url(i/nav.gif) 100% -70px no-repeat;
	font-size: 14px;
}
#nav li {
	float: left;
	position: relative;
}
#nav a {
	color: #FFF;
	float: left;
	padding: 0 57px;
	text-decoration: none;
	display: block;
}
#nav a:hover {
	background: url(i/nav.gif) bottom repeat-x;
}
#nav li div {
	display: none;
	position: absolute;
	top: 35px;
	left: 0;
	padding-top: 10px;
	background: #1E5482 url(i/subnav-top.gif) no-repeat;
}
#nav li ul {
	width: 299px;
	padding: 0 11px 10px;
	height: 1%;
	background: none;
	line-height: 14px;
	font-size: 11px;
	overflow: hidden;
	background: url(i/subnav-bottom.gif) 0 100% no-repeat;
}
#nav li.jshover,
#nav li:hover {
	background: url(i/nav.gif) bottom repeat-x;
}
#nav li.jshover div,
#nav li:hover div {
	display: block;
}
#nav li li {
	float: none;
	display: inline;
}
#nav li li a {
	padding: 6px 9px;
	color: #D2DDE6;
	float: none;
	border-top: 1px solid #6288A8;
	margin-top: -1px;
	height: 1%;
}
#nav li li.first a {
	border: none;
}


#nav li li a:hover {
	background: #396991;
}



/* Content
-----------------------------------------------------------------------------*/
#container {
	width: 100%;
}
* html #container {height: 1%;}
#container:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#content {
	width: 100%;
	float: left;
	overflow: hidden;
}

#welcome {
	background: url(i/welcome.jpg) no-repeat;
	color: #2B2B2B;
	font: 14px Georgia, "Times New Roman";
	padding: 183px 33px 0;
	margin: 0 0 20px;
	height: 77px;
}
#welcome p {
	padding: 0;
	text-align: justify;
}
#welcome a {
	color: #2B2B2B;
}
#welcome p.more {
	text-align: right;
	padding-right: 40px;
}

#text {
	margin: 0 0 0 204px;
}
.post {
	margin: 0 0 40px;
}
#content h2 {
	font: 24px/1 Arial, Tahoma;
	color: #2668A1;
	background: url(i/dot.gif) 0 100% repeat-x;
	padding: 0 0 4px;
	margin: 0 0 7px;
}
#content h2 a {
	text-decoration: none;
	color: #2668A1;
}
#content h2 a:hover {
	text-decoration: underline;
}
.entry {
	text-align: justify;
}
.postmetadata {
	font-size: 10px;
	color: #989898;
	margin: 5px 0 0;
}
.postmetadata a {
	color: #989898;
}
.comments {
	text-align: right;
}
.comments a {
	background: url(i/comments.gif) 0 2px no-repeat;
	padding: 0 0 2px 23px;
}
.post ul,
.post ol {
	margin: 7px 0 7px 30px;
}
.post li {
	padding: 2px 0;
}

#content h3 {
	font-size: 16px;
	margin: 0 0 10px;
}
h3.pagetitle {
	margin: 15px 0 25px !important;
	font-weight: normal;
	text-align: center;
	font-size: 18px !important;
}

.commentlist {margin: 20px 0 40px 20px;}
.commentlist li {padding: 8px 8px 2px;}

#commentform {padding: 0 0 20px}
#author, #email, #url, #comment, #submit {
	font: 12px Arial, Tahoma;
	padding: 3px;
	width: 190px;
	border: 1px solid #ACACAC;
}
#comment {
	width: 450px;
	height: 150px;
}
#submit {
	width: 80px;
	height: 22px;
	padding: 0;
	background: #ECECEC;
	cursor: pointer;
	overflow: visible;
}

.navigation {height: 30px;}
.alignleft {float: left;}
.alignright {float: right;}



/* sidebar
-----------------------------------------------------------------------------*/
#sidebar {
	float: left;
	width: 189px;
	margin-left: -100%;
	position: relative;
	font-size: 11px;
	line-height: 14px;
}

#sidebar .block {
	background: #ECECEC url(i/block-top.gif) no-repeat;
	height: 1%;
	margin: 0 0 15px;
}
#sidebar .block-b {
	background: url(i/block-bottom.gif) 0 100% no-repeat;
	padding: 10px;
}

#search {
	width: 100%;
	overflow: hidden;
}
#search input {
	font: 11px Arial, Tahoma;
	float: left;
}
.search {
	width: 140px;
	padding: 0 4px;
	border: 1px solid #4878A2;
}
.go {
	cursor: pointer;
	border: none;
	width: 16px;
	height: 16px;
	background: url(i/go.gif) no-repeat;
	margin: 0 0 0 3px;
}

#sidebar h3 {
  font-size: 11px;
	text-transform: uppercase;
	margin: 0 0 10px;
}

.news {
  margin: 0 0 20px;
}
.news p {
	display: inline;
}
.news strong {
	position: relative;
}

#sidebar ul {
	list-style: none;
	margin: 0 0 7px;
}


#logo2 {
  display: block;
	width: 109px;
	height: 82px;
	margin: 40px auto;
	background: url(i/logo2.gif) no-repeat;
}
#logo2:hover {
	background: url(i/logo2.gif) bottom no-repeat;
}


/* Footer
-----------------------------------------------------------------------------*/
#footer {
	background: url(i/corners-bottom.gif) 0 100% no-repeat;
	margin: 0 -15px;
	padding: 0 15px;
}
.footer {
	border-top: 1px solid #CCC;
	padding: 12px 0;
	color: #9E9E9E;
	font-size: 11px;
	line-height: 14px;
}
.footer a {
	color: #9E9E9E;
}
#copyright {
	float: right;
}