/* 
---------------------------------------------------------------------------------------------------------------------------------------------------
  Classes
---------------------------------------------------------------------------------------------------------------------------------------------------
*/

.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfix { display: inline-block; }
html[xmlns] .clearfix { display: block; }
.clear { display: block; clear: both; height: 1px; }
.off { display: none; }

.hidden { display: none; }
.show { display: block; }

.fleft { float: left; }
.fright { float: right; }

img.fleft { margin: 13px 13px 5px 0; }
img.right { margin: 13px 0 5px 13px; }

.aleft { text-align: left; }
.aright { text-align: right; }
.acenter { text-align: center; }

.corange { color: #EE902F; }
.cred { color: #B51F4A; }

.container { overflow: hidden; }

span.link-archive { padding-left: 13px; background: url(/media/img/icon-archive.gif) no-repeat 0 center; }
span.link-plus { padding-left: 13px; background: url(/media/img/icon-plus.gif) no-repeat 0 center; }
span.link-arrow { padding-left: 17px; background: url(/media/img/icon-arrow.gif) no-repeat 0 center; }

.nolink {color: #7D7D7D; font-weight: 100; font-style: normal; text-decoration: none;}

/* 
---------------------------------------------------------------------------------------------------------------------------------------------------
  Общее
---------------------------------------------------------------------------------------------------------------------------------------------------
*/

* { margin: 0; padding: 0; }
html { height: 100%; }
body { position: relative; color: #7D7D7D; font: .7em/1.3 Tahoma, Verdana, Sans-Serif; background: #fff; height: 100%; }

form fieldset { border: 0; }
form input.text, form input.file, form select, form textarea { color: #7D7D7D; font-size: 1em; font-family: Tahoma; border: 1px solid #CDCDCD; }
form input.radio { position: relative; top: 3px; }
form input.button { padding: 1px 8px 2px 8px; color: #737373; font-size: 1em; background: #F3F3F3; border: 1px solid #D9D9D9; }
form input.image { position: relative; top: 2px; }
html:first-child form input.radio { top: -1px; }

h1, h2, h3, h4 { padding: 20px 0; color: #B51F4A; }
h1 { font-size: 1.5em; }
h2 { font-size: 1.3em; }
h3 { font-size: 1.1em; }
h4 { font-size: 1em; font-style: italic; }

p, ul, ol, dl, form { padding: 10px 0; }
blockquote { padding: 10px 0 10px 10px; }
ul{padding:0px 0 3px 20px;}
a { color: #B51F4A; text-decoration: underline; }
a:hover { text-decoration: none; }
a img { border: 0; }
a.small { text-decoration: none; font-size: xx-small;}

#center { position: relative; margin: 0 auto; width: 839px; min-height: 100%; }

/*
---------------------------------------------------------------------------------------------------------------------------------------------------
  Шапка
---------------------------------------------------------------------------------------------------------------------------------------------------
*/

#header #logo { margin-top: 31px; text-align: right; }

table#header-nav { border-collapse: collapse; margin-top: 45px; font-family: "Century Gothic"; width: 100%; height: 35px; }
table#header-nav a { display: block; color: #000; text-decoration: none; height: 35px; }
table#header-nav a:hover { color: #B51F4A; font-weight: normal; }
table#header-nav td.active strong { display: block; color: #B51F4A; font-weight: normal; height: 35px; }
table#header-nav a:hover ,
table#header-nav td.active strong  { background: url(/media/img/header-nav-bg.gif) no-repeat center bottom; }
table#header-nav td { padding: 0 15px; text-align: center; border-bottom: 1px solid #B51F4A; }
table#header-nav td.left { padding-left: 0; }
table#header-nav td.right { padding-right: 0; }

#header-bg { position: relative; background: url(/media/img/header-bg.gif) no-repeat 0 0; height: 272px; }
#header-car { background: url(/media/img/header-car.jpg) no-repeat 0 bottom; height: 272px; }

#header-bg form { position: absolute; right: 0; bottom: 11px; color: #fff; background: url(/media/img/header-form-bg.jpg) no-repeat 0 0; width: 195px; height: 158px; }
#header-bg form fieldset { padding: 0 10px; }
#header-bg form label { float: left; padding-right: 5px; text-align: right; width: 50px; }
html:first-child  #header-bg form label { padding-top: 1px; }
#header-bg form input.text { padding: 1px 0 2px 0; color: #fff; background: transparent; border: 1px solid #AB6C7A; width: 103px; }
#header-bg form p { padding: 3px 0; }
#header-bg form p.header { padding: 0 0 8px 0; font-size: 1.1em; }
#header-bg form p span.register { padding-left: 22px; background: url(/media/img/header-arrow.gif) no-repeat 10px 0.45em; }
#header-bg form p span.register a { color: #fff; }

/*
---------------------------------------------------------------------------------------------------------------------------------------------------
  Контент
---------------------------------------------------------------------------------------------------------------------------------------------------
*/

#body { padding: 20px 0 113px 0; background: url(/media/img/body-div-bg.gif) no-repeat right bottom; }

#content-wrapper { float: left; width: 100%; }
#content { margin-left: 260px; }


.bg {background-color: #f4f4f4;}

#content h2 { padding: 20px 0; }
#content h2 small { display: block; color: #888; font-size: 0.8em; font-family: "Arial Narrow", Arial; font-weight: normal; line-height: 1; }
#content h2 small a{ color: #888;}
#content h2 small img { padding-bottom:2px;}
#content .archive { padding: 0 0 20px 0; }
#content .archive .head { line-height: 22px; }
#content .archive .head a, #content .archive .head strong { float: left; margin: 0 3px; }
#content .archive .head strong { padding: 0 8px; background: #F4F4F4; }
#content .archive .body { padding: 8px 0 10px 10px; background: #F4F4F4; width: 270px; }
#content .archive .body .column { float: left; width: 90px; }
#content a.border {text-decoration:none; border-bottom:1px dotted #B51F4A;}
#content a.border:hover {border-bottom:0px;}
#content .news { padding: 5px 5px 8px 18px; }
#content .news-bg { background: #F4F4F4; }
#content .news p { padding: 5px 0; }

#content .catalog { padding: 5px 5px 8px 18px;width:342px;}
#content .catalog-bg { padding-top: 10px; margin-bottom: 10px; background: #f4f4f4; }

#content .catalog .clearfix:after { clear:left; }
#content .catalog .clear { clear: left; }

#content .catalog .head { line-height: 1.4; }
#content .catalog .head .link { float: left; margin-right: 25px; }
#content .catalog .head .rate { float: right; position: relative; padding-left: 21px; background: url(/media/img/rate.gif) no-repeat 0 center;}
#content .catalog .head .rate strong.corange { cursor: pointer; }
#content .catalog .head .rate .values { position: absolute; top: 17px; left: 85px; line-height: 57px; background: url(/media/img/values.png) no-repeat 0 0; width: 337px; height: 58px; overflow: hidden; }
#content .catalog .head .rate .values span { float: left; margin: 0 3px; }
#content .catalog .head .rate .values .service { margin-left: 13px; padding-left: 18px; background: url(/media/img/value_service.gif) no-repeat 0 center; }
#content .catalog .head .rate .values .price { padding-left: 18px; background: url(/media/img/value_price.gif) no-repeat 0 center; }
#content .catalog .head .rate .values .speed { padding-left: 18px; background: url(/media/img/value_speed.gif) no-repeat 0 center; }

#content .catalog .body { padding-top: 10px; }
#content .catalog .body .padding { padding-top: 10px; }
#content .catalog .body ul{ margin: -8px 0 -8px 20px;padding:0;}
#content .catalog .body ul li{list-style-type: square;}
#content .catalog .body span.link-plus { font-size: 0.9em; }

#content .categories { padding: 10px 0; }
#content .categories .cols { padding: 8px 10px; background: #f4f4f4; }
#content .categories .cols .col { float: left; width: 49.9%; }
#content .categories .cols .col span { display: block; margin: 5px 0 5px 8px; padding-left: 10px; font-size: 1.1em; font-weight: bold; width: 83%; }
#content .categories .cols .col span  a { color: #000; font-weight: bold; }
/* Articles */

#content .articles { padding: 10px 0; color: #765A6D; }
#content .articles .article { padding-top: 20px; padding-bottom: 20px; border-bottom: 1px dashed #ccc; }
#content .articles .article .text { margin-top: -8px; margin-left: 165px; }
#content .articles .article .text p.head strong a { color: #B51F4A; font-size: 1.1em; }
#content .articles .article .text p.head span.rubrika { color: #ccc; }
#content .articles .article .marks { padding-top: 5px; }

#content .pictures { padding-bottom: 20px; }
#content .pictures .picture { float: left; padding-left: 59px; padding-bottom: 13px; }
#content .pictures  .first { margin-left: -59px; }

#content .post-rate img { position: relative; top: 4px; }
#content .post-rate-float { float: right; position: relative; margin-top: -3.7em; }

#content .zayavka { position: relative; z-index: 1000; margin-top: -5px; margin-bottom: -25px; width: 146px; }
#content .zayavka .rate { margin-bottom: 8px; padding: 8px 0 8px 20px; text-align: center; background: #f4f4f4 url(/media/img/rate.gif) no-repeat 9px 0.6em; }
#content .zayavka .rate strong { color: #EE902F; }

#content .service-block { position: relative; padding: 10px 0; }
#content .service-block span { float: left; margin: 0 4px; }
#content .service-block .service { margin-left: -4px; padding-left: 20px; background: url(/media/img/value_service.gif) no-repeat 0 center; }
#content .service-block .price { padding-left: 20px; background: url(/media/img/value_price.gif) no-repeat 0 center; }
#content .service-block .speed { padding-left: 20px; background: url(/media/img/value_speed.gif) no-repeat 0 center; }
#content .publish {font-size: 1.1em; text-align: justify;}

#content .lists-cols { margin: 10px 0; padding: 5px 5px; background: #f4f4f4; }
#content .lists-cols .list { float: left; width: 31%;padding: 4px;}
#content .lists-cols p { padding-bottom: 0; }
#content .lists-cols .list ul { padding-top: 3px; }
#content .lists-cols .list ul li { list-style: none; border-bottom:1px solid white; }
#content .lists-cols label { display: block; padding: 0 0 5px 0; }

#content p.listing a { margin: 0 2px; padding: 0 4px; background: #f4f4f4; border: 3px solid #f4f4f4; border-bottom-width: 4px;}
#content p.listing strong.active { margin: 0 2px; padding: 0 4px; background: #f4f4f4; border: 3px solid #f4f4f4; border-bottom-width: 4px; }

#content form.rubrikator { padding: 8px 5px 13px 25px; background: #f4f4f4; }
#content form.rubrikator div { float: left; }
#content form.rubrikator div.left { width: 320px; }
#content form.rubrikator select { margin-top: 3px; width: 205px; }

#content form.addcomment { margin-top: -5px; }
#content form.addcomment p { padding: 5px 0; }
#content form.addcomment p.inp_text span { float: left; margin-right: 50px; }
#content form.addcomment label { display: block; }
#content form.addcomment input.text { width: 130px; }
#content form.addcomment input.text-long { width: 380px; }
#content form.addcomment textarea { width: 380px; height: 80px; }
#content form.addcomment span.service { margin-left: 0px; padding-left: 20px; background: url(/media/img/value_service.gif) no-repeat 0 center; }
#content form.addcomment span.price { padding-left: 20px; background: url(/media/img/value_price.gif) no-repeat 0 center; }
#content form.addcomment span.speed { padding-left: 20px; background: url(/media/img/value_speed.gif) no-repeat 0 center; }


#content form.form { margin-top: -5px; }
#content form.form p { padding: 5px 0; }
#content form.form p.inp_select span { float: left; margin-right: 40px; }
#content form.form p.inp_select select { width: 130px; }
#content form.form label { display: block; }
#content form.form input.text { width: 130px; }
#content form.form input.text-long { width: 300px; }
#content form.form textarea { width: 380px; height: 80px; }
#content form.form select.long { width: 300px; }
#content form.form .files { margin: 10px 0; padding: 10px 20px; background: #f4f4f4; }

#content form.form-long select.long { width: 440px; }
#content form.form-long textarea { width: 440px; }
#content form.form-long input.text { width: 200px; }
#content form.form-long p.inp_select select { width: 200px; }
#content form.form-long p.inp_select input.small {width: 130px; }
#content form.form-long p.inp_select select.small { width: 65px; }

#content .comment { padding: 0 0 20px 0; }
#content .comment p { padding: 0; }
#content .comment p.head img { position: relative; top: 3px; }

#content .opinion { padding: 5px 5px 10px 25px; }
#content .opinion-bg { background: #f4f4f4; }
#content .opinion img { position: relative; top: 3px; }
#content .opinion img.marka { margin-top: -3px; }

#content p.ptable a{width:140px;display:block; float:left;text-decoration: none;color:#7D7D7D;}
#content p.ptable a:hover{color:#B51F4A;}

form.fastsearch {padding:5px 5px 0 5px;}
form.fastsearch label { display: block; }
form.fastsearch input.text,form.fastsearch select { width: 97%; }

#content .fright p {padding-left:3px;padding-right:3px;}

/* Sidebars */

#leftside { float: left; margin-left: -100%; padding-left: 20px; width: 190px; }
#leftside-curve { margin-left: -20px; padding: 30px 0; background: url(/media/img/leftside-curve.gif) no-repeat 0 30px; height: 45px; }

.sidebar h3 { padding: 10px 0; font-size: 1.3em; }

.sidebar #lastnews h3 { padding: 20px 0; }
.sidebar #lastnews h3 small { display: block; color: #C5C5C5; font-size: 0.8em; font-family: "Arial Narrow", Arial; font-weight: normal; line-height: 1; }
.sidebar #lastnews p { padding: 0; }
.sidebar #lastnews p.links a { color: #B51F4A; }
.sidebar #lastnews a { color: #959595; }
.sidebar #lastnews .news { padding: 13px 0; }
.sidebar #lastnews .news .date { position: relative; float: left; margin-left: -40px; width: 40px; }
.sidebar #lastnews .news .date span { color: #B51F4A; }

.sidebar .tags_cloud {text-align: center;}
.sidebar .tags_cloud a{ text-decoration: none; padding:3px;}
.sidebar .tags_cloud a:hover{ text-decoration: none; background-color: #ccc;}
.sidebar .tags_cloud .size_0 { font-size: 0.2em; display:none;}
.sidebar .tags_cloud .size_1 { font-size: 0.3em; }
.sidebar .tags_cloud .size_2 { font-size: 0.5em; }
.sidebar .tags_cloud .size_3 { font-size: 0.6em; }
.sidebar .tags_cloud .size_4 { font-size: 0.8em; }
.sidebar .tags_cloud .size_5 { font-size: 0.9em; }
.sidebar .tags_cloud .size_6 { font-size: 1.1em; }
.sidebar .tags_cloud .size_7 { font-size: 1.2em; }
.sidebar .tags_cloud .size_8 { font-size: 1.0em; font-weight: bold;}

.sidebar .poll h3 { padding-bottom: 0; }
.sidebar .poll p.answers { padding-left: 25px; }
.sidebar .poll input.radio { margin-right: 3px; }

.sidebar .articles p { padding: 0; }
.sidebar .articles p.link a { color: #959595; text-decoration: none; }
.sidebar .articles p.link a:hover { text-decoration: underline; }



/*
---------------------------------------------------------------------------------------------------------------------------------------------------
  Footer
---------------------------------------------------------------------------------------------------------------------------------------------------
*/

#footer { position: relative; width: 100%; height: 115px; }
#footer .main { margin-left: 260px; }
#footer .main p.item { position: relative; padding-left: 25px; background: url(/media/img/footer-item.gif) no-repeat 0 center; }
#footer .links { position: absolute; top: 0; left: 0; padding-top: 5px; color: #c5c5c5; font-size: 0.9em; font-family: Verdana; text-align: center; border-top: 5px solid #f4f4f4; width: 210px; }
#footer .links a { color: #c5c5c5; text-decoration: none; }
#footer .links a:hover { text-decoration: underline; }