/*
------------------------------------------------------------------------------------------------------------------
  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; font-size: 1px; line-height: 1px; height: 1px; }

.fleft { float: left; }
.fright { float: right; }

img.fleft { float: left; margin: 5px 15px 5px 0; }
img.fright { float: right; margin: 5px 0 5px 15px; }

.aleft { text-align: left; }
.aright { text-align: right; }
.acenter { text-align: center; }

/*
------------------------------------------------------------------------------------------------------------------
  Main
------------------------------------------------------------------------------------------------------------------
*/

* { margin: 0; padding: 0; border: 0; }
html { height: 100%; }
body { position: relative; color: #000000; font-size: 0.75em; line-height: 1.4; font-family: Arial, Sans-Serif; background: #B63C2D url('../img/style1-bg-middle.jpg') repeat-y center top; height: 100%; }

h1, h2, h3, h4 { padding: 20px 0 0 0; color: #F1477D; font-weight: normal; }
h1 { font-size: 2.1em; }
h2 { font-size: 1.8em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.2em; }

p, ul, ol, dl { padding: 5px 0 10px 0; }

a { color: #CA5B4C; text-decoration: underline; }
a:hover { text-decoration: none; }
a img { border: 0; }
a.dotted { text-decoration: none; border-bottom: 1px dashed #CA5B4C; }
a.dotted:hover,
a.dotted_active { text-decoration: none; border: 0; }
a.dotted_active:hover { border-bottom: 1px dashed #CA5B4C; }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: #F1477D; }

.cBlack { color: #000000; }
.cWhite { color: #FFFFFF; }
.cPink1 { color: #CA5B4C; }
.cPink2 { color: #F1477D; }
.cGrey { color: #AAAAAA; }
.cRed { color: #8B0000; }
.cGreen { color: #2A7F0F; }

img.border { border: 3px solid #EFC7C2; }
a:hover img.border { border-color: #EFBAB3; }

#canvas_bg_top_repeat { position: absolute; top: 0; left: 0; background: url('../img/style1-bg-top-repeat.jpg') repeat-x left top; width: 100%; height: 500px; }
#canvas_bg_top { position: absolute; top: 0; left: 0; background: url('../img/style1-bg-top.jpg') no-repeat center top; width: 100%; height: 500px; }
#canvas_bg_bottom_repeat { position: absolute; bottom: 0; left: 0; background: url('../img/style1-bg-bottom-repeat.jpg') repeat-x left bottom; width: 100%; height: 300px; }
#canvas_bg_bottom { position: absolute; bottom: 0; left: 0; background: url('../img/style1-bg-bottom.jpg') no-repeat center bottom; width: 100%; height: 300px; }

#canvas_wrapper { position: relative; min-width: 854px; width: 100%; min-height: 100%; }
#canvas_wrapper #canvas { position: relative; margin: 0 auto; width: 854px; min-height: 800px; }

/*
------------------------------------------------------------------------------------------------------------------
  Forms
------------------------------------------------------------------------------------------------------------------
*/

form { padding: 10px 0; }
form label { cursor: pointer; }
form input.button { cursor: pointer; }

form span.button { float: left; margin-right: 10px; line-height: 22px; background: #F0F0EE url('../img/button-bg1.gif') no-repeat left top; height: 22px; }
form span.button a { color: #000000; text-decoration: none; }
form span.button span { float: left; background: url('../img/button-bg2.gif') no-repeat right top; height: 22px; }
form span.button span input { float: left; margin: 0; padding: 0 13px; color: #000000; background: transparent; border: 0; height: 22px; }
form span.button span a { float: left; margin: 0; padding: 0 13px; text-decoration: none; }
form span.button:hover { background: #E9E9E7 url('../img/button-bg1.gif') no-repeat 0 -22px; }
form span.button:hover span  { background: url('../img/button-bg2.gif') no-repeat right -22px; }

form span.button2 { float: left; margin-right: 10px; line-height: 22px; background: #EFD5D1 url('../img/button2-bg1.gif') no-repeat left top; height: 22px; }
form span.button2 a { color: #000000; text-decoration: none; }
form span.button2 span { float: left; background: url('../img/button2-bg2.gif') no-repeat right top; height: 22px; }
form span.button2 span input { float: left; margin: 0; padding: 0 13px; color: #000000; background: transparent; border: 0; height: 22px; }
form span.button2 span a { float: left; margin: 0; padding: 0 13px; color: #000000; text-decoration: none; }
form span.button2:hover { background: #E9E9E7 url('../img/button2-bg1.gif') no-repeat 0 -22px; }
form span.button2:hover span  { background: url('../img/button2-bg2.gif') no-repeat right -22px; }

form table { border-collapse: collapse; border: 0; width: 100%; }
form table td { padding: 3px 5px; vertical-align: top; }
form table td.label { padding-top: 5px; padding-left: 0; width: 150px; }
form table td.info { padding-top: 0; padding-bottom: 20px; padding-left: 0; }
form .errors { padding: 0 0 10px 0; color: #8B0000; }
form .errors table td { margin: 0; padding: 0; }
form .field span.error { display: block; padding: 0 0 3px 0; color: darkred; font-size: 0.9em; }
form .field span.error_line { display: inline; padding: 0 0 0 5px; font-size: 1em; }

form.main input.textbox,
form.main textarea,
form.main select { padding: 2px 3px; background: #fff; border: 1px solid #d4d4d4; }
form.main input.textbox:focus,
form.main textarea:focus { background: #FFEFF8; }
form.main input.disabled { color: #aaa; background: #eeeeee; }

form.fonts_main input,
form.fonts_main textarea,
form.fonts_main select { color: #727272; font-size: 1em; font-family: Arial; }

form.comment_add { margin: 0; padding: 0; background: #F7E5D5; }
form.comment_add input.textbox,
form.comment_add textarea { background: #fff; border: 0; }
form.comment_add input.textbox { width: 180px; }
form.comment_add textarea { width: 100%; height: 70px; }
form.comment_add p,
form.comment_add div.textarea { padding: 0 0 15px 0; }
form.comment_add p label { display: block; padding-left: 11px; }
form.comment_add p span.formed { display: block; }
form.comment_add p.rating { padding-top: 10px; }
form.comment_add p.rating label { float: left; margin-top: 5px; margin-right: 10px; padding-left: 0; font-size: 0.9em; }
form.comment_add p.buttons { padding-bottom: 0; }
form.comment_add input.image { margin-top: -2px; margin-left: -4px; }

/*
------------------------------------------------------------------------------------------------------------------
  Tables
------------------------------------------------------------------------------------------------------------------
*/

table { margin: 10px 0; }

table.table1 { border-collapse: collapse; border: 0; width: 100%; }
table.table1 th,
table.table1 td { vertical-align: middle; }
table.table1 th.first { background-image: url('../img/table-th-left.gif'); background-repeat: no-repeat; background-position: left top; }
table.table1 th.last { background-image: url('../img/table-th-right.gif'); background-repeat: no-repeat; background-position: right top; }
table.table1 td { border-top: 1px solid #d4d4d4; }
table.table1 th { color: #fff; background: #CA5B4C; }
table.table1 tr.amount td.first { background-image: url('../img/table-last-left.gif'); background-repeat: no-repeat; background-position: left bottom; }
table.table1 tr.amount td.last { background-image: url('../img/table-last-right.gif'); background-repeat: no-repeat; background-position: right bottom; }
table.table1 tr.amount td { color: #fff; background: #CA5B4C; border-top: 0; }
table.table1 tr.even td { background: #FFF9F2; }

/*
------------------------------------------------------------------------------------------------------------------
  Header
------------------------------------------------------------------------------------------------------------------
*/

#header { position: relative; width: 100%; height: 363px; }

#header_logo { position: absolute; top: 25px; left: 47px; }
#header_logo a { display: block; width: 189px; height: 255px; }

#header_panel { position: absolute; top: 15px; right: 73px; background: url('../img/login-bg-left.gif') no-repeat left top; }
#header_panel div { background: url('../img/login-bg-right.gif') no-repeat right top; }
#header_panel div div { margin: 0 14px; line-height: 28px; background: url('../img/login-bg-middle.jpg') repeat-x left top; height: 29px; }
#header_panel span.link { float: left; height: 29px; padding: 0 20px 0 18px; background-repeat: no-repeat; background-position: left center; }
#header_panel span.link_login { background-image: url('../img/login-enter.gif'); }
#header_panel span.link_register { background-image: url('../img/login-register.gif'); }
#header_panel span.link_basket { background-image: url('../img/login-basket.gif'); }

table#header_menu { position: absolute; bottom: 0; left: 30px; color: #fff; border-collapse: collapse; border: 0; width: 780px; height: 30px; }
table#header_menu a { color: #fff; text-decoration: none; }
table#header_menu a:hover { text-decoration: underline; }
table#header_menu td { text-align: center; background: #982018; border-right: 2px solid #B53B2C; border-left: 2px solid #B53B2C; width: 16.66%; }
table#header_menu td.active { background: #CA5B4C; }

/*
------------------------------------------------------------------------------------------------------------------
  Body
------------------------------------------------------------------------------------------------------------------
*/

#body { padding: 20px 50px 145px 30px; }

#body .block { padding-top: 5px; padding-bottom: 10px; }

#body .separator { padding-top: 5px; padding-bottom: 10px; border-bottom: 1px solid #C0C0C0; }

#body .indent { margin-left: 36px; margin-right: 36px; }
#body .indent_left { margin-left: 36px; margin-right: 0; }
#body .indent_right { margin-left: 0; margin-right: 36px; }

#body .butterfly { position: relative; }
#body .butterfly .butterfly_image { position: absolute; top: -28px; right: -24px; background-repeat: no-repeat; background-position: 0 0; width: 63px; height: 47px; }
#body .butterfly_pink .butterfly_image { background-image: url('../img/butterfly-pink.gif'); }

#body p.breadcrumbs { padding-top: 15px; color: #AAAAAA; width: auto; }
#body p.breadcrumbs strong { color: #AAAAAA; font-weight: normal; }

#body div.caption { margin-bottom: -10px; margin-left: -28px; background: url('../img/caption-bg.gif') no-repeat left center; height: 95px; }
#body div.caption h1,
#body div.caption h2,
#body div.caption h3,
#body div.caption h4 { padding: 40px 0 0 62px; font-size: 1.8em; line-height: 0.9; }

#body .cols .col { float: left; width: 49.9%; }
#body .cols .col .indent { margin: 0; padding-left: 18px; padding-right: 18px; }
#body .cols .col_left .indent { padding-left: 0; padding-right: 18px; }
#body .cols .col_right .indent { padding-left: 18px; padding-right: 0; }

#body .marks_list_bg .marks_list_items .mark { position: relative; margin: 6px 0 0 0; padding: 0 0 5px 0; }
#body .marks_list_items .mark .title table td { background: #fff; }
#body .marks_list_items .mark .title h3 { margin: 0; padding: 0; font-size: 1.3em; background: url('../img/arrow1.gif') no-repeat right center; }
#body .marks_list_items .mark ul { padding: 10px 0; }
#body .marks_list_items .mark ul li { list-style: none; padding-top: 5px; padding-bottom: 5px; padding-left: 13px; line-height: 1.1; background: url('../img/arrow2.gif') no-repeat 0 0.8em; }

#content_wrapper { float: left; width: 100%; }
#content_wrapper #content { margin-top: -5px; margin-left: 22px; margin-right: 22px; }

#content .pagination { padding: 20px 0; font-size: 1.1em; font-weight: bold; }
#content .pagination .element { float: left; margin-right: 10px; }
#content .pagination .element table { width: auto; }

#content .rating_static { padding: 10px 0; width: 270px; }
#content .rating_static form { margin: 0; padding: 0; }
#content .rating_static form .amount { float: left; margin-top: 5px; margin-right: 10px; font-size: 0.9em; }
#content .rating_static form .amount strong { color: #F46E99; }

#content ul li,
#content ol li { position: relative; margin-left: 18px; padding-bottom: 5px; }

#content p.steps { color: #727272; }
#content p.steps a { color: #727272; }
#content p.steps span.separator { padding: 0 5px; border: 0; }
#content p.steps strong.active { padding: 0 2px; background: #F7E5D5; border: 3px solid #F7E5D5; }

#content .lastnews .news p.caption { padding-bottom: 2px; }
#content .lastnews .news p.caption span.date { color: #F1477D; }
#content .lastnews .news p.preview { padding-top: 0; }

#content .new_items .item { position: relative; padding-top: 0; padding-left: 92px; min-height: 97px; }
#content .new_items .item .thumb { position: absolute; top: 0; left: 0;}
#content .new_items .item span.caption { display: block; margin-bottom: -2px; }

#content .tip span.date { display: block; margin-bottom: -5px; color: #F1477D; }

#content .forum_messages .message,
#content .comments .comment { padding: 0 0 20px 0; }
#content .forum_messages .message p.data,
#content .comments .comment p.data { padding: 0 0 2px 0; }
#content .forum_messages .message p.data span.date,
#content .comments .comment p.data span.date { margin-left: 5px; color: #F1477D; font-size: 0.9em; }

#content .comments .rating_static { padding: 0 0 18px 0; }

#content .faq_questions .add { float: right; }
#content .faq_questions ol { padding-right: 260px; }

#content .faq_answers { padding: 20px 0 0 0; }
#content .faq_answers .answer { padding: 0 0 30px 0; }
#content .faq_answers .answer .data { padding: 5px 0; font-size: 0.9em; font-family: Tahoma; }
#content .faq_answers .answer .data .date { float: left; color: #E8F7FA; }
#content .faq_answers .answer .data .author { float: left; padding: 3px 10px; }
#content .faq_answers .answer .question { padding: 5px 0; color: #F1477D; font-size: 1.3em; line-height: 1.3; }
#content .faq_answers .answer .responded { padding: 5px 0; font-size: 1.2em; line-height: 1.3; }
#content .faq_answers .answer .responded blockquote { padding: 5px 5px 5px 100px; background: url('../img/blockquote.gif') no-repeat 25px 10px; min-height: 40px; }

#content .news_list .news_item { margin-bottom: 15px; }
#content .news_list .news_item .thumb { float: left; margin-right: 15px; margin-bottom: 5px; }
#content .news_list .news_item .data span.date { color: #F1477D; }
#content .news_list .news_item .data a.caption { font-size: 1.2em; }
#content .news_list .last { border: 0; }

#content .news_view .date { color: #F1477D; }
#content .news_view .text { padding-top: 5px; font-size: 1.2em; }

#content .catalog_marks { margin-left: 11px; }
#content .catalog_marks .mark { padding-top: 10px; padding-bottom: 20px; }
#content .catalog_marks .mark h3 { position: relative; float: left; margin-top: -27px; margin-left: 5px; padding: 0 5px; font-size: 1.4em; background: #fff; }
/*#content .catalog_marks .mark p.description { margin-left: 10px; margin-right: 10px; margin-bottom: 5px; color: #929292; font-size: 0.9em; border-bottom: 1px dashed #d4d4d4; }
#content .catalog_marks .mark p.description span.thumb { float: left; padding: 0 5px 5px 0; }*/
#content .catalog_marks .mark table.description { margin-top: 0; margin-bottom: 5px; color: #929292; font-size: 0.9em; border-collapse: collapse; border: 0; border-bottom: 1px dashed #d4d4d4; }
#content .catalog_marks .mark table.description td { margin: 0; padding: 0 10px 10px 10px; vertical-align: center; }
#content .catalog_marks .mark .lines { clear: left; padding: 13px 0 0 10px; }
#content .catalog_marks .mark .lines .lines_items_wrapper { overflow: hidden; width: 100%; }
#content .catalog_marks .mark .lines .lines_items_wrapper .lines_items { /*width: 440px;*/ }
#content .catalog_marks .mark .lines .line { overflow: hidden; float: left; padding-right: 36px; width: 105px; height: 145px; }
#content .catalog_marks .mark .lines .line a img { border: 1px solid #C0C0C0; }
#content .catalog_marks .mark .lines .line span.caption { display: block; padding-top: 3px; font-size: 0.9em; line-height: 1.1; }

#content .catalog_items { margin-left: 35px; }
#content .catalog_items .catalog_item { margin-left: 0; }
#content .catalog_item { margin-left: 35px; margin-bottom: 10px; padding-bottom: 15px; }
#content .catalog_item .side_info { float: left; margin-top: 5px; width: 150px; }
#content .catalog_item .side_info .thumb { padding-bottom: 8px; }
#content .catalog_item .side_info .thumb img { border: 1px solid #C0C0C0; }
#content .catalog_item .side_info .button { padding-bottom: 8px; }
#content .catalog_item .side_info .button img.moved { margin-left: -4px; }
#content .catalog_item .info { margin-left: 159px; }
#content .catalog_item .info strong.caption { font-size: 1.2em; }
#content .catalog_item .info .char { padding: 3px 0; }
#content .catalog_item .info .char span.title { display: block; color: #F1477D; font-weight: bold; }
#content .catalog_item .info table.chars { margin: 10px 0; border-collapse: collapse; border: 0; width: 100%; }
#content .catalog_item .info table.chars tr.even td { background: #F2F2F2; }
#content .catalog_item .info table.chars td { padding: 4px 10px; background: #F7E5D5; }
#content .catalog_item .info table.chars td.title { border-right: 3px solid #fff; }
#content .catalog_item .info table.chars td.value { color: #F1477D; font-weight: bold; text-align: right; }
#content .catalog_item .info .cols { padding-bottom: 20px; }
#content .catalog_item .info .cols .col_left .indent { padding-right: 0; }
#content .catalog_item .info .marks_list_bg { margin-top: 10px; }
#content .catalog_item .info .marks_list_bg .mark h3 { font-size: 1em; font-weight: bold; }
#content .catalog_item .info .marks_list_bg ul li { margin-left: 0; }
#content .catalog_items .last { border: 0; }

#content table.basket { border-collapse: collapse; border: 0; width: 100%; }
#content table.basket th,
#content table.basket td { padding: 5px 10px; }
#content table.basket td.photo { width: 140px; }
#content table.basket td.photo img { padding: 1px; background: #fff; border: 1px solid #d4d4d4; }
#content table.basket td.price { white-space: nowrap; text-align: right; width: 75px; }
#content table.basket td.count { text-align: center; width: 30px; }
#content table.basket td.count input.textbox { margin-top: -2px; text-align: right; width: 30px; }
#content table.basket td.check { text-align: center; width: 16px; }

#content table.addrbook { border-collapse: collapse; border: 0; border-top: 1px solid #d4d4d4; border-right: 1px solid #d4d4d4; width: 100%; }
#content table.addrbook th { padding: 8px 10px; background: #f9f9f9; border: 1px solid #d4d4d4; border-top: 0; border-right: 0; }
#content table.addrbook td { padding: 5px 10px; border: 1px solid #d4d4d4; border-top: 0; border-right: 0; }

#content table.orders { border-collapse: collapse; border: 0; border-top: 1px solid #d4d4d4; border-right: 1px solid #d4d4d4; border-left: 1px solid #d4d4d4; width: 100%; }
#content table.orders th { padding: 8px 10px; background: #f9f9f9; border: 1px solid #d4d4d4; border-top: 0; border-right: 0; }
#content table.orders td { padding: 5px 10px; border: 1px solid #d4d4d4; border-top: 0; border-right: 0; border-left: 0; }

#sidebar { float: left; margin-top: 95px; margin-left: -280px; width: 255px; }

#sidebar p.pagination span,
#sidebar p.pagination a { margin-right: 5px; }
#sidebar p.pagination span.delimeter { display: none; }

#sidebar .brends .thumb { padding-bottom: 5px; } 
#sidebar .brends .thumb img { border: 1px solid #C0C0C0; }

#sidebar .news_list_bg .news_list .news_item { padding: 5px; }
#sidebar .news_list_bg .news_list .news_item p span.date { display: block; padding-bottom: 5px; }
#sidebar .news_list_bg p.pagination { padding-left: 5px; padding-right: 5px; padding-bottom: 20px; }

/*
------------------------------------------------------------------------------------------------------------------
  Footer
------------------------------------------------------------------------------------------------------------------
*/

#footer_wrapper { overflow: hidden; position: relative; margin-top: -135px; width: 100%; height: 135px; }
#footer_wrapper #footer { position: relative; margin: 0 auto; width: 854px; }
#footer_contacts { position: absolute; top: 0; left: 155px; }
#footer_contacts p.email { padding-left: 23px; background: url('../img/icon-email.gif') no-repeat 0 0.4em; }
#footer_contacts p.phones { padding-left: 23px; background: url('../img/icon-phones.gif') no-repeat 0 0.35em; }
#footer_copyrights { position: absolute; top: 0; left: 535px; width: 260px; }

/*
------------------------------------------------------------------------------------------------------------------
  Index page
------------------------------------------------------------------------------------------------------------------
*/

#indexPage #content_wrapper #content { margin-left: 142px; margin-right: 0; }
#indexPage #sidebar { float: left; margin-left: -100%; padding-bottom: 50px; width: 103px; }

/*
------------------------------------------------------------------------------------------------------------------
  FAQ page
------------------------------------------------------------------------------------------------------------------
*/

#faqPage #content_wrapper #content { margin-left: 22px; margin-right: 22px; padding-bottom: 60px; }
#faqPage #sidebar { display: none; }

/*
------------------------------------------------------------------------------------------------------------------
  News page
------------------------------------------------------------------------------------------------------------------
*/

#newsPage #content_wrapper #content { margin-left: 22px; margin-right: 22px; padding-bottom: 60px; }
#newsPage #sidebar { display: none; }

#newsViewPage #content_wrapper #content { margin-left: 22px; margin-right: 305px; }

/*
------------------------------------------------------------------------------------------------------------------
  Catalog page
------------------------------------------------------------------------------------------------------------------
*/

/*#shopPage #content_wrapper #content { margin-left: 22px; margin-right: 305px; padding-bottom: 60px; }*/
#shopPage #content_wrapper #content { margin-left: 305px; margin-right: 22px; padding-bottom: 60px; }
/*#shopPage #sidebar { margin-top: 127px; }*/
#shopPage #sidebar { margin-top: 5px; margin-left: -100%; padding-left: 22px; }

#shopItemPage #content_wrapper #content { margin-left: 22px; margin-right: 22px; padding-bottom: 60px; }
#shopItemPage #content_wrapper #content .comments { margin-left: 194px; }
#shopItemPage #content_wrapper #content .comments h3 { margin-top: -10px; padding: 0 0 10px 0; }
#shopItemPage #sidebar { display: none; }

.gallery { padding-top: 25px; }
.gallery .photo { float: left; margin: 0 25px 25px 0; }
.gallery .photo img { padding: 0; background: #fff; border: 4px solid #F7E5D5; width: 120px; height: 96px; }

.image_left { float: left; margin: 0 15px 5px 0; }
.image_right { float: right; margin: 0 0 5px 15px; }
