/*
Theme Name: RealCommerce
Theme URI: http://realcommerce.ru
Description:  3-column theme
Version: 0.0001
*/

html, body {font-size: 12px; font-family: Arial, Helvetica, sans-serif; background: #FFFFFF url(images/bg.jpg) top left repeat-x; color: #333333; margin: 0; padding: 0;}

small {font-family: Arial, Helvetica, Sans-Serif; font-size: 0.9em; line-height: 1.5em;}
h1, h2, h3 {font-family: Arial, Helvetica, sans-serif; font-weight: bold;}
h1 {font-size: 4em; text-align: center;}
h2 {font-size: 1.6em;}
h3 {font-size: 1.3em; margin: 0; padding: 0;}
h5 {font-size: 16px; margin: 0; padding: 0; font-weight: normal;}

a:link, a:visited {color: #333333; text-decoration: none;}
p a:link, p a:visited {color: #0087CC; text-decoration: none;}
a:hover, p a:hover{color: #666666; text-decoration: underline;}

p {margin: 0 0 10px 0;}

.wrapper {width: 1000px; margin: 0px auto;}

/* Header */
#header{height: 162px; width: 1000px; float: left;}
#logo {width: 550px; height: 101px; float: left;}
#logo img{float: left;}
#headright {width: 410px; height: 101px; float: left; text-align: right; background: url(images/headrightbg.jpg) top right no-repeat;}
#headright ul {float: right; width: 260px; height: 45px; list-style: none; margin: 25px 0 0 0; padding: 0;}
#headright li {padding: 0 50px 0 0; background: url(images/rss.gif) right no-repeat;}
/* End Header */

/* Search */
#searchwrap {height: 28px; float: right; margin: 0; padding: 0px 5px 0px 5px;}
#searchwrap input{float: left; vertical-align: middle; background: none; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px;}
#searchwrap #s{border: none; padding: 5px 0px 5px 0px; margin: 0; width: 215px;}
/* End Search */

/* Page Navigation */
#pages {width: 1000px; height: 31px; float: left;}
#page {bottom: 0;right: 0; z-index: 999; list-style: none; float: left; margin: 0;padding: 0;}
#page li {float: left; margin-right: 5px; background: url(images/pagebg.gif) no-repeat right top; font-size: 12px;}
#page li.current_page_item {background-position: right bottom;}
#page li a {float: left; display: block; height: 22px; padding: 9px 14px 0; background: url(images/pagebg2.gif) no-repeat left top; color: #333333; text-decoration: none;}
#page li.current_page_item a {background-position: left bottom; color: #333333;}
#page li:hover, #page li.sfhover {background-position: right -31px;}
#page li.current_page_item:hover, #page li.sfhover.current_page_item {background-position: right bottom;}
#page li:hover a, #page li.sfhover a {background-position: left -31px; color: #666666;}
#page li.current_page_item a{color: #C7CBC0;}
#page li.current_page_item:hover a, #page li.sfhover.current_page_item a {background-position: left bottom;}
#page li #page_home.current_page_item {background-position: right top;}
#page li #page_home.current_page_item a {background-position: left top; color: #FFFFFF;}
#page li ul {clear: left; position: absolute; left: -999em; z-index: 999; width: 161px; margin-top: 31px; margin-left: 0px; _margin-top: 0; /* IE6 only */ border: 1px solid #E7E7E7; border-top: 0; border-bottom: 0; list-style: none; line-height: 1; padding-left: 0px;}
* + html #page li ul {margin-top: 0;}
#page li li {margin: 0; font-size: .9167em; text-transform: none;}
#page li ul ul {margin: -31px 0 0 161px;}
#page li:hover ul ul, #page li.sfhover ul ul {left: -999em;}
#page li:hover ul, #page li li:hover ul, #page li.sfhover ul, #page li li.sfhover ul {left: auto;}
#page li li li {font-size: 1em;}
#page li:hover li a, #page li.sfhover li a {float: none; width: 133px; height: auto; padding: 9px 14px; border-bottom: 1px solid #E7E7E7; background: #E1E1E1; color: #333333;}
#page li:hover li a:hover, #page li.sfhover li a:hover {background: #DBDBDB;}
/* End Page Navigation */

/* Category Navigation */
#navigation {width: 1000px; height: 22px; float: left;}
#nav {bottom: 0; right: 0; z-index: 999; list-style: none; float: left; margin: 0; padding: 0;}
#nav li {float: left; margin-right: -2px; background: url(images/navbg.gif) no-repeat right top; font-size: 12px;}
#nav li a {float: left; display: block; height: 22px; padding: 7px 14px 0; background: url(images/navbg2.gif) no-repeat left top; color: #333333; text-decoration: none;}
#nav li.current-cat a {color: #333333;}
#nav li:hover a, #nav li.sfhover a {color: #666666; background: url(images/navbg2on.jpg) no-repeat left top;}
#nav li.current-cat a{color: #6a6;}
/*#nav li.current-cat:hover a, #nav li.sfhover.current-cat a {color: #C7CBC0;}*/
#nav li #nav_home.current-cat {background-position: right top;}
#nav li #nav_home.current-cat a {background-position: left top; color: #FFFFFF;}
#nav li ul {clear: left; position: absolute; left: -999em; z-index: 999; width: 161px; margin-top: 29px; margin-left: 0px; _margin-top: 0; /* IE6 only */ border: 1px solid #E7E7E7; border-top: 0; border-bottom: 0; list-style: none; line-height: 1; padding-left: 0px;}
* + html #nav li ul {margin-top: 0;}
#nav li li {margin: 0; font-size: .9167em; text-transform: none;}
#nav li ul ul {margin: -31px 0 0 161px;}
#nav li:hover ul ul, #nav li.sfhover ul ul {left: -999em;}
#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul {left: auto;}
#nav li li li {font-size: 1em;}
#nav li:hover li a, #nav li.sfhover li a {float: none; width: 133px; height: auto; padding: 9px 14px; border-bottom: 1px solid #E7E7E7; background: #F8F8F8; color: #333333;}
#nav li:hover li a:hover, #nav li.sfhover li a:hover {background: #F0F0F0;}
/* End Category Navigation */

/* Home Page */
#homebox {float: left; width: 588px; margin: 10px 0 10px 0; color: #666666;}

.cont2{float: left;}
.conthome{float: left; width: 295px;}

.infobox{float: left; width: 300px; margin: 5px 0 0 10px; background: #E5E5E5 url(images/infobox.gif) repeat-y left top;}
.infobox div{float: left; padding: 5px;}
.infobox div a:link, .infobox div a:visited {color: #0087CC; text-decoration: none;}
.infobox-t{float: left; width: 300px; height: 10px; background: #fff url(images/infobox-t.gif) no-repeat left top;}
.infobox-b{float: left; width: 300px; height: 10px; background: #fff url(images/infobox-b.gif) no-repeat left top;}

.postinfo {font-size: 11px;}
.boxitem {width: 279px; float: left; border: #ECECEC solid; border-width: 1px 1px 0 1px; margin: 0 -1px 0 0; padding: 6px; text-align:justify;}
.boxitem .imgplace {background: #eee; float: left; padding: 5px; width: 270px;}
.boxitem .imgplace img {float: left; margin-right: 8px;}
.boxitem .imgplacehome {background: #eee; float: left; padding: 5px; width: 270px;}
.boxitem .imgplacehome img{margin-left: 10px;}
.boxitem1st {width: 578px; float: left; border: #ECECEC solid; border-width: 1px 1px 0 1px; margin: 0; padding: 4px; text-align:justify;}
.boxitem1st .imgplace {background: #eee; float: left; padding: 5px; margin-right: 5px; width: 240px;}
.boxitem1st .imgplace img {width: 240px; height: 180px; float: left;}

.more-link {width: 150px; float: left; margin: 5px 0 0 0;}
.more-link:link, .more-link:visited {color: #0087CC;}
/* End Home Page */

/* Secondary Pages */
.title {width: 90%; float: right; height: 36px; background: url(images/titlebgr.gif) top left no-repeat; font-weight: bold;}
.title-comment {width: 90%; float: left; height: 36px; background: url(images/titlebgl.gif) top right no-repeat; margin-right:10%; font-weight: bold;}
.title .ttitle, .title-comment .ttitle{float: left; font-size: 15px; margin:8px 0 0 10px;}
.title .toption, .title-comment .toption{float: right; font-size:10px; margin:3px 10px 0 0; line-height: 1.3em; font-family: Arial, Helvetica, Sans-Serif;}
.ttitle, .toption a{color: #707070;}

.postcontent {float: left; width: 578px; padding: 0 5px 5px 5px;}
.postcontent li {padding: 0 0 0 16px; background: url(images/list.gif) top left no-repeat;}
.postcontent ul {margin: 5px 0 15px 0; padding: 0; list-style: none;}

#secondarytop {width: 1000px; float: left; height: 6px; background: url(images/topbg.gif) top center no-repeat;}
#secondary {width: 1000px; float: left; background: url(images/bodybg.gif) top center repeat-y;}
#content {width: 588px; float: left; padding: 0; margin: 0; background: url(images/bgbottom.jpg) no-repeat; background-position: center bottom;}
#content * p{ text-indent: 30px; text-align:justify;}
#content h3 {font-size: 15px; font-weight: bold; margin: 8px 0 0 10px;}
/* End Secondary Pages */

/* Comments */
ol.commentlist {float: left; margin: 10px 0 20px; padding: 0; width: 588px; list-style: none; font-size: 12px; line-height: 20px;}
ol.commentlist p {margin-bottom:10px; line-height: 20px;}
.commentmetadata a {font-size:11px; color:#333333;}
ol.commentlist cite {font-style: normal; font-weight: bold;}
ol.commentlist li {padding: 0; float: left;}
ol.commentlist li.alt {background:#F8F8F8; border:1px 0 solid #DEDBD1;}
#commentform{float: left;}
#commentform input {background: #FFFFFF; border: 1px solid #E7E7E7;}
#commentform textarea {background: #FFFFFF; border: 1px solid #E7E7E7; width: 540px;}
input#submit {color:#333333; padding:7px; margin: 0 0 7px 0; text-align: center; border: 1px solid #E7E7E7; background:#FFFFFF;}
/* End Comments */

/* Sidebars */
#sidebar-inpage, #sidebar-left, #sidebar-right {width: 200px; float: left;}
#sidebar-right {padding: 7px 0 0 6px;}
#sidebar-left{padding: 7px 6px 0 0;}

.block-right{width: 190px; float: left; padding: 7px 0 0 10px; background: url(images/blockbg.gif) top left repeat-y;}
.block-left {width: 190px; float: left; padding: 7px 10px 0 0; background: url(images/blockbg-left.gif) top right repeat-y;}
.blockheader-left{width: 190px; float: left; padding: 6px 10px 0 0; background: url(images/blockheaderbg-left.gif) top right no-repeat;}
.blockheader-right{width: 190px; float: left; padding: 6px 0 0 10px; background: url(images/blockheaderbg.gif) top left no-repeat;}
.blockheader-right h3 , .blockheader-left h3{border-bottom: 1px solid #E7E7E7; padding: 0; margin: 0; font-size: 15px;}
.block-right ul , .block-left ul{margin: 0; padding: 0; list-style: none;}
.block-right li, .block-left li{padding: 0 0 0 10px; background: url(images/arrowr.gif) top left no-repeat; background-position: 2px 7px; width: 155px;}
.block-right ul.children li, .block-left ul.children li{background: transparent;}
.block-right li li a, .block-left li li a, .block-right li li, .block-left li li{font-weight: normal; width: 165px;}
.block-right li li li a, .block-left li li li a, .block-right li li li, .block-left li li li{width: 155px;}
.block-right li a, .block-left li a{display: block; width: 175px; height: auto; padding: 5px 0 0 5px; font-weight: bold;}
.block-right a:hover, .block-left a:hover{background: #eee;}
.block-right li:hover , .block-left  li:hover, .block-left  li.sfhover, .block-right li.sfhover{background: url(images/arrowd.gif) top left no-repeat; background-position: 0px 10px;}
.blockfooter-right{width: 200px; height: 20px; float: left; background: url(images/blockfooterbg.gif) top left no-repeat;}
.blockfooter-left{width: 200px; height: 20px; float: left; background: url(images/blockfooterbg-left.gif) top right no-repeat;}
/* End Sidebars */

/* Footer */
#footerwrap {width: 100%; background: url(images/footerbg.jpg) top left repeat-x; float: left; padding: 0 0 20px 0;}
#footer {width: 1000px; background: url(images/bottombg.gif) top center no-repeat; margin: 0px auto; color: #333333; padding: 18px 0 0 0;}
#footer a:link, #footer a:visited {color: #333333; text-decoration: none;}
#footer a:hover {color: #C7CBC0; text-decoration: underline;}
#footertext {width: 860px; float: left;}

#pagination{float: right; text-align: right;}
#pagination a:hover{border:none;}
#pagination img{border:none;}
span.navback{width:25px; height:15px; display:block; float:right; background:url(images/back.gif) top right no-repeat; cursor:pointer;}
span.navforward{width:25px; height:15px; display:block; float:right; background:url(images/forward.gif) top right no-repeat; cursor:pointer;}
/* End Footer */

/* Defaults */
acronym, abbr, span.caps{font-size: 0.9em; letter-spacing: .07em;}
p img {padding: 0; max-width: 100%;}
a img {border: none;}
img.centered {display: block; margin-left: auto; margin-right: auto;}
img.alignright {padding: 4px; margin: 0 0 8px 8px; display: inline;}
img.alignleft {padding: 4px; margin: 0 8px 8px 0; display: inline;}
.alignright {float: right;}
.alignleft {float: left}
.center {text-align: center;}
.aligncenter, div.aligncenter {display: block; margin-left: auto; margin-right: auto;}
.hidden {display: none;}
blockquote {margin: 15px 30px 0 0; padding-left: 30px; background: url(images/blockquote.jpg) top left no-repeat;}

.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;}
#wp-calendar{width:190px;}
#wp-calendar a{width:190px;background: #dfe;}
/* End Defaults */

/*===pagebar===*/
.pagebar {text-decoration: none; text-align: center;float: left;width: 588px;height:27px; padding: 6px 0 2px;}
.pagebar a,.pageList .this-page {border: 1px solid #50a7f4; text-decoration: none; padding: 2px 2px;}
.pagebar a:visited {border: 1px solid #50a7f4; text-decoration: none; padding: 2px 2px;background:#e0fDEA}
.pagebar .this-page {border: 2px solid #555; padding: 2px 2px; font-weight: bold; color: #555; background: #eee;}
.pagebar a:hover {border-color: #555;}
.pagebar .inactive {border: 1px solid #d7d5cE; color: #aaa; text-decoration: none; padding: 2px 2px;}
