/*
Theme Name: formico.ru
Theme URI: http://numberonedesigner.com/
Description: Markup by <a href="http://dimox.name/">Dimox</a>
Author: Number One
Author URI: http://numberoneblogger.com/
*/

* {
	margin: 0;
	padding: 0;
}
body {
	font: 14px/18px Arial, Tahoma, Verdana, sans-serif;
	width: 100%;
	background: #FFF url(i/top-bg.gif) repeat-x;
}
a {
	color: #242424;
	outline: none;
}
a:visited {
	color: #555;
}
a:hover {
	color: #039;
	text-decoration: none;
}
a:active {
	color: #CA4E17 !important;
}
p {margin: 0 0 18px}
img {border: none}
input {vertical-align: middle}
blockquote {
	margin: 0 0 18px 20px;
	padding: 1px 12px;
	background: #F4F4F4;
	border-left: 3px solid #E5E5E5;
}
blockquote p {
	padding: 8px 0;
	margin: 0;
}
.clear {
	clear: both;
	height: 0;
	overflow: hidden;
}
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {float: left}
img.alignleft {margin: 5px 17px 5px 0}
.alignright {float: right}
img.alignright {margin: 5px 0 5px 17px}

#wrapper {
	width: 960px;
	margin: 0 auto;
	padding: 0 0 15px;
}


/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 355px;
	position: relative;
}

#logo {
	position: absolute;
	top: 0;
	left: 0;
	width: 232px;
	height: 114px;
	background: url(i/logo.png) no-repeat;
  text-indent: -9999px;
}

#nav {
	position: absolute;
	top: 135px;
	left: 0;
	height: 30px;
	line-height: 30px;
	padding: 0 0 0 9px;
	background: #494544 url(i/nav.gif) no-repeat;
}
#nav ul {
	float: left;
	height: 30px;
	padding: 0 7px 0 0;
	list-style: none;
	background: url(i/nav.gif) 100% -30px no-repeat;
	overflow: hidden;
}
#nav li {
	float: left;
  padding: 0 2px;
	background: url(i/nav.gif) 0 -60px no-repeat;
  margin-left: -2px;
}
#nav a {
	float: left;
	color: #FFF;
	padding: 0 11px;
  text-decoration: none;
}
#nav a:hover,
#nav .current_page_item a {
	background: #5F5C5B;
}

#address1,
#address2 {
	position: absolute;
	top: 36px;
	left: 523px;
  font-size: 11px;
  line-height: 14px;
	color: #404040;
}
#address2 {
	right: 0;
	left: auto;
}
#address1 p,
#address2 p {
	margin: 0 0 9px;
}

.header {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 507px;
	height: 190px;
	padding: 0 14px 0 439px;
  background: #027DC1 url(i/header.jpg) no-repeat;
  font-size: 11px;
	color: #FFF;
}
#allOffers {
  text-align: right;
	padding: 5px 0 25px;
}
#allOffers a {
	color: #80B7D6;
}
#header ol {list-style:none; font-size: 12px;
  line-height: 18px;}
#header ol li {background:url(i/bullet3.gif) no-repeat 0 50%; padding-left:10px;} 

.header ul {
  font-size: 12px;
  line-height: 24px;
	padding: 25px 0 0 439px;
	list-style: none;
}
.header a {
	color: #FFF;
}
.header a:active {
	color: #FF0 !important;
}
.header a:visited {
	color: #FFC !important;
}

#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;
}


/* Middle
-----------------------------------------------------------------------------*/
#middle {
	width: 100%;
	padding: 10px 0 20px;
}
* html #middle {height: 1%;}
#middle:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#container {
	width: 100%;
	float: left;
	overflow: hidden;
}
#content {
	padding: 0 0 0 250px;
}

#subnav {
  background: #C0DEEF url(i/subnav.gif) no-repeat;
	margin: 0 0 7px;
}
#subnav ul {
  background: url(i/subnav.gif) 100% 100% no-repeat;
  font-size: 12px;
	padding: 10px 12px;
}
#subnav li {
	display: inline;
}
#subnav li.current_page_item {
  font-weight: bold;
}

#crumbs {
  font-size: 11px;
	margin: 7px 0 13px;
	padding: 0 9px 7px;
  border-bottom: 1px solid #C7C7C7;
}
#crumbs span {
  font-weight: bold;
}

.post {
	margin: 0 0 40px;
}
#content h1,
#content h2 {
	font: 24px/1 Arial, Tahoma;
	margin: 0 0 30px;
}
#content h1 a,
#content h2 a {
	text-decoration: none;
}
#content h1 a:hover,
#content h2 a:hover {
	text-decoration: underline;
}
#content .entry h2
#content .entry h3,
#content .entry h4,
#content .entry h5,
#content .entry h6 {
	font: 24px/1 Arial, Tahoma;
	margin: 25px 0 18px;
}
#content .entry h3 {font-size: 22px}
#content .entry h4 {font-size: 20px}
#content .entry h5 {font-size: 18px}
#content .entry h6 {font-size: 16px}
.pmeta {
  font-size: 12px;
	margin: -10px 0 18px;
}
.entry {
	text-align: justify;
}

.post ol {
	margin: 0 0 18px 35px;
}
.post ul {
	margin: 0 0 18px 23px;
}
.post ul li {
	padding: 0 0 0 13px;
  background: url(i/bullet2.gif) 0 8px no-repeat;
	list-style: none;
}
.post li ul, .post li ol {
	margin: 0;
}
.post li li {
	margin-left: 18px;
}

#content h3 {
	font-size: 18px;
	font-weight: normal;
	margin: 0 0 10px;
}
div.pagetitle {
	margin: 5px 0 20px;
	text-align: center;
	font-size: 18px;
}

.navigation {
	width: 100%;
	overflow: hidden;
	margin: 0 0 20px;
	padding: 5px 0;
}
.navigation.comm {
	padding: 0;
	margin: -10px 0 10px;
}

#links td {
  font-size: 11px;
  line-height: 14px;
	padding: 0 14px 12px 0;
	vertical-align: top;
}

.ddfmwrap {
	margin: 0 !important;
}
.ddfm .fmtext,
.ddfm .fmtextarea,
.ddfm .fmverify {
  border: 1px solid #989898;
}
.ddfm label {
  font-size: 12px !important;
}
.ddfm .submit {
	height: 33px;
	overflow: hidden;
  background: url(i/submit.png) 100% 0 no-repeat;
	padding: 0 20px 0 0;
	position: relative;
	left: -25px;
}
.ddfm .submit input {
	border: none;
	background: none;
	padding: 33px 0 0;
  font-size: 12px;
  font-weight: bold;
	width: 60px;
	cursor: pointer;
}
.ddfm .credits {
  font-size: 11px !important;
	margin: 30px 20px 0 0 !important;
	width: auto !important;
}


/* Sidebar
-----------------------------------------------------------------------------*/
#sidebar {
	float: left;
	width: 230px;
	margin-left: -100%;
	position: relative;
	padding: 0 10px 0 0;
  font-size: 12px;
}

.sbg {
	padding: 0 0 11px;
}
.section1 {
  background: #E5E5E5 url(i/section1.gif) no-repeat;
	margin: 0 0 10px;
}
.section1 .sbg {
  background: url(i/section1.gif) 100% 100% no-repeat;
}

.section2 {
  background: #D3D3D3 url(i/section2.gif) no-repeat;
	margin: 0 0 10px;
}
.section2 .sbg {
  background: url(i/section2.gif) 100% 100% no-repeat;
}

.section3 {
  background: #DBE9F0 url(i/section3.gif) no-repeat;
	margin: 0 0 10px;
}
.section3 .sbg {
  background: url(i/section3.gif) 100% 100% no-repeat;
}
.sbg h3 {
  font-size: 12px;
  text-transform: uppercase;
	padding: 7px 11px 19px;
}
.sbg li {
	list-style: none;
	padding: 0 11px 19px;
}
.all {
  text-align: right;
	padding: 0 11px;
}
.all a {
  background: url(i/bullet.gif) 0 6px no-repeat;
	padding: 0 0 0 9px;
}

#nav2 {
	margin: 0 0 -5px;
}
#nav2 li {
  background: url(i/bullet.gif) 11px 18px no-repeat;
	padding: 12px 11px 7px 21px;
  text-transform: uppercase;
	position: relative;
}
#nav2 li a {
  text-decoration: none;
}
#nav2 li a:hover {
  text-decoration: underline;
}
#nav2 li li {
	padding: 0;
	background: none;
  text-transform: none;
}
#nav2 li li a {
  text-decoration: underline;
}
#nav2 li li a:hover {
  text-decoration: none;
}
#nav2 li.current_page_ancestor,
#nav2 li.current_page_item {
	background: #B7B7B7 url(i/nav2-current.gif) no-repeat;
	padding: 13px 0 0;
}
#nav2 li.current_page_ancestor a,
#nav2 li.current_page_item a {
	display: block;
	color: #FFF;
	background: #027DC1 url(i/arrow.gif) 100% 0 no-repeat;
	padding: 1px 0 0 22px;
  margin: 0 -10px 2px 0;
}
#nav2 li.current_page_ancestor li a,
#nav2 li.current_page_item li a {
	display: inline;
	color: #242424;
	background: none;
	padding: 0;
	margin: 0;
}
#nav2 li.current_page_ancestor ul,
#nav2 li.current_page_item ul {
	background: url(i/nav2-current.gif) 100% 100% no-repeat;
	padding: 0 22px 8px;
}

#nav2 li li.current_page_item {
	background: none;
	padding: 0;
	margin: 0;
}
#nav2 li li.current_page_item a {
	color: #00527F;
  text-decoration: none;
}
#nav2 li.current_page_ancestor li a:hover,
#nav2 li.current_page_item li a:hover {
	color: #039;
}
#nav2 li.current_page_ancestor li.current_page_parent {
	background: none;
	padding: 0;
}
#nav2 li.current_page_ancestor li.current_page_parent a {
	color: #00527F;
  text-decoration: none;
}
#nav2 li.current_page_ancestor li.current_page_ancestor {
	background: none;
	padding: 0;
}


/* Footer
-----------------------------------------------------------------------------*/
#footer {
  background: #E3E3E3 url(i/footer.png) no-repeat;
}
.footer {
  background: url(i/footer.png) 100% 100% no-repeat;
  font-size: 11px;
	color: #717171;
	padding: 19px 21px;
}
#bnav {
	float: right;
  font-size: 12px;
}
#bnav li {
	display: inline;
  padding-left: 14px;
}
#bnav a {
	color: #494544;
}