#right .header-3 {
    margin-top: 10px;
}

h1, .siteheader {
	width: auto;
	/*clear: both*//
}

h4.desc {
	margin-top: 40px;
}

.alpha-title { margin-top: 1em; }

#admin {
	padding: 5px 20px 5px 20px;
	background-color: #eee;
	margin: 0px;
	border-left: 5px solid #f90;
}

#admin input {
	font: 11px arial;
}

#pages, .pages {
	padding: 0.3em 0.5em;
	background-color: #eee;
	margin: 1.2em 0;
	font-size: 0.85em;
	color: #555;
}

div.flash-message {
    margin: 10px 0 20px 0;
    padding: 15px 25px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    color: #f00;
}


/***************[ ссылки для администрирования ]****************/

#proded {
	/*clear: both;*/
	background-color: #eee;
	padding: 5px 5px 5px 10px;
	border-left: 3px solid #f90;
}

#proded a {
	padding-left: 20px;
	margin-right: 10px;
	font-size: 12px/20px;
	height: 20px;	
}

#proded a.edit {
	background: url("/images/edit.gif") left center no-repeat;
}

#proded a.del {
	background: url("/images/del.gif") left center no-repeat;
}

#proded a.add {
	background: url("/images/add.gif") left center no-repeat;
}

#cartcontent {
	width: 90%;
	border-left: 1px solid #999;
	border-top: 1px solid #999;
}

#cartcontent th, #cartcontent td {
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
	padding: 5px;
}

#cartcontent th {
	background-color: #eee;
}

/************** [товар] ********************/

.book-item {
    margin-bottom: 1em;
    min-height: 110px;
    height: 110px;
}

html>body .book-item {
    height: auto;
}

.booktitle {
	font-size: 1.2em;
	font-weight: bold;
	margin: 0 0 0 120px;
}

.booktitle a { text-decoration: none; }

.desc {
	padding: 5px 0;
	margin: 0;
	color: #333;
}

.preview-img {
	float: left;
	border: 1px solid #ccc;
	width: 100px;
	height: 100px;
	margin-right: 20px;
	background-position: center;
	background-repeat: no-repeat;
}

.preview-img:hover { border: 1px solid #f90; }

.preview-img img { visibility: hidden; display: none; }


.bookdetails {
	margin: 0 0 0 120px;
	padding: 0;
	font-size: 0.85em;
	color: #777;
}

.bookdetails a { text-decoration: none; }

.bookdetails li { list-style: none; margin: 0; padding: 0; }

.book-opts {
    margin: 10px 0 0 120px;
    padding: 0;
    list-style: none;
}

.book-opts li { margin: 0; padding: 0; display: inline; list-style: none; }

.bookprice {
	font-weight: bold;
	color: #f90;
	font-size: 1.2em;
	padding: 0;
	margin: 7px 0 0 0 !important;
}

.addtocart {
	background: url("../../i/icon-add-to-cart.gif") left top no-repeat;
	margin: 0;
	padding: 0 0 0 20px !important;
	font-size: 1.2em;
	font-weight: bold;
}
.addtocart a { text-decoration: none; }

.product-metadata {
    margin: 0 0 1em 0;
    padding: 1em 2em;
    border-top: 1px solid #ccc;
    background-color: #f1f1f1;
    color: #777;
}

.product-metadata span { color: #000; }

/***************[ описание подарка ]****************/

#gift {
	clear: both;
}

#gift a.booktitle {
	font: bold 14px arial;
	text-decoration: none;
	margin-top: 20px;
}

#gift .desc {
	padding-top: 5px;
	color: #999;
	float: left;
	
}

html>body p#gift span.desc {
	float: none;
}

#gift a.img {
	float: left;
	border: 1px solid #999;
	width: 100px;
	height: 100px;
	margin-right: 20px;
	margin-bottom: 10px;
	display: inline;
	line-height: 100px;
	text-decoration: none;
	
}

/***************[ вывод баннеров ]****************/

#banners1, #banners2 {
	padding-top: 20px;
	text-align: center;
}

#banners1 img, #banners2 img {
	margin-bottom: 10px;
}

div#banners2 {
	padding: 20px;
	border-top: 1px solid #999;
	background-color: #eee;
	float: left;
	clear: both;
	width: 100%;
}

html>body div#banners2 {
	width: auto;
	float: none;
}

#footer {
	float: left;
	width: 100%;
	padding-bottom: 20px;
}

html>body div#footer {
	float: none;
	width: auto;
}

.ya-direct-bottom { text-align: center; clear: both; padding: 30px; border-top: 1px solid #ccc; }

/***************[ поиск ]****************/

#searchform {
	
}

#searchform p.field {
	background-color: #eee;
	padding: 10px 10px 10px 15px;
}

#searchform ul {
	margin: 0;
	padding: 5px;
	list-style: none;
	border: 1px solid #ccc;
}

#searchform ul li {
	display: inline;
	margin: 0;
	padding: 0;
	list-style: none;
}

#searchres dd {
	margin-bottom: 20px;
}

#searchres dd span.target {
	font-size: 11px;
	color: #999;
}

/***************[ опции прайс-листа ]****************/

div#sort {
	font-size: 11px;
	margin-bottom: 10px;
}

ul#sort-options {
	display: inline;
	list-style: none;
	margin: 0;
	padding: 0;
}

ul#sort-options li {
	list-style: none;
	display: inline;
	margin: 0 0 0 8px;
	padding: 0;
	color: #f90;
}

#right ul.price {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

#right ul.price li {
	list-style: none;
	margin-left: 0;
	padding: 0 0 0 20px;
}

#right ul.price li a {
	float: left;
	height: 16px;
	padding: 0 5px 0 21px;
	background: url("/images/zip.gif") left center no-repeat;
}

/***************[ комментарии ]****************/

div#comments {
	background-color: #efefef;
	padding: 15px;
	margin: 10px 0 10px 0;
}

div#comments p {
	margin: 0;
	padding: 0;
}

div#comments p.details {
	margin: 0 0 15px 0;
	padding: 0;
	font: bold 15px arial, sans-serif;
	color: #bbb;
}

/***************[ счетчики ]****************/

div#counters {
	border-top: 1px solid #ccc;
	padding: 20px 20px 40px 20px;
	text-align: center;
	clear: both;
}

/********* photos ***********************/

#photoblock {
	float: left;
	width: 100%;
	padding-bottom: 20px;
}

div.photos {
	float: left;
	margin-left: 10px;
	margin-top: 10px;
	border: 1px solid #999;
	text-align: center;
	padding: 10px;
	vertical-align: center;
}

div.photos p {
	text-align: center;
	width: 200px;
	font: 11px arial;
	color: #666;
	padding: 5px 0px 0px 0px;
	margin: 0px;
}

.error {
	border: 2px solid #f90;
	padding: 5px 10px 5px 15px;
}

.wrong {
	border: 2px solid #f90;
}

.red {
	font: bold 12px arial;
	color: #f90;
}

.treenav {
	font: 11px arial;
	color: #999;
}

#docitem {
	color: #999;
}

#docitem a.title {
	font: bold 14px/24px arial;
	text-decoration: none;
}

#book a.img {
	text-decoration: none;
}

#files {
	list-style: none;
	margin: 0px;
	
}

#files li {
	padding: 8px;
	font: 12px/16px arial;
	margin: 2px;
}

#files li a.pdf { padding: 5px 0px 5px 21px; background: url("/images/pdf.gif") left center no-repeat; }
#files li a.doc { padding: 5px 0px 5px 21px; background: url("/images/doc.gif") left center no-repeat; }
#files li a.rtf { padding: 5px 0px 5px 21px; background: url("/images/rtf.gif") left center no-repeat; }
#files li a.zip { padding: 5px 0px 5px 21px; background: url("/images/zip.gif") left center no-repeat; }

/*************************[ стили форм ]***************************/

.forms ul { list-style: none; margin: 0 0 5px 0; padding: 0; }
.forms ul li { list-style: none; margin: 0; padding: 0; }
.forms p { margin: 5px 0; padding: 0; }

.forms label {
    display: block;
}

.forms label.radio {
    display: inline !important;
}

.forms input[type=text], .forms input[type=password], .forms textarea {
    /*clear: both;*/
    display: block;
    font-family: inherit;
    border: 1px solid #ccc;
}

.forms input[type=submit], input.save {
    display: block;
    vertical-align: bottom;
    padding: 3px 5px;
    font-size: 1em;
    font-family: arial, helvetica, sans-serif;
    margin-top: 10px;
    border: 1px solid #ccc;
}

#error-box {
    border: 3px solid #000;
    color: #fff;
    background-color: #f90;
    margin: 10px 0 0 0;
    padding: 10px 20px;
}

#error-box p {
    margin: 0; padding: 0;
}

#error-close {
    float: right;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
}

#form-options {
    list-style-type: disc !important;
    padding: 10px 20px;
}

#form-options li {
    list-style-type: disc;
}

#form-options li ul {
    list-style: none !important;
    margin: 10px 0 10px 20px;
    font-size: 11px;
}

#form-options li ul li {
    list-style: none !important;
    margin-left: 30px;
    text-indent: -30px;
}

#authors-form {
    padding: 10px 20px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    width: 500px;
}

/********************[ стили для подписки ]************************/

div.subscritem {
	height: 140px;
	min-height: 140px;
	margin-bottom: 10px;
	/*clear: both;*/
}

html>body div.subscritem {
	height: auto;
}

div.subscritem a.subscr-photo {
	float: left;
	border: 1px solid #ccc;
	margin: 0 10px 10px 0;
}

div.subscritem a.subscr-photo img {
	margin: 10px;
}

div.subscritem h4 {
	font-size: 18px;
	font-weight: normal;
	margin: 0 0 5px 100px;
}

div.subscritem h4 a {
	text-decoration: none;
}

div.subscritem p {
	margin: 0 0 5px 100px;
	color: #333;
}

div.subscritem p.subscr-price {
	margin: 0 0 5px 100px;
	color: #f90;
}

div.subscritem p.subscribe-button {
	margin: 10px 0 5px 100px;
	height: 30px;
	width: 205px;
	background: url("/images/but-subscribe.gif") left top no-repeat;
	padding-left: 42px;
}

div.subscritem p.subscribe-button a {
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	text-transform: lowercase;
	line-height: 30px;
}

span.redd {
	color: #c30;
}

span.greenn {
	color: #090;
}

p.notes {
	border: 1px solid #ccc;
	padding: 5px 10px 5px 10px;
	font-size: 11px;
	color: #666;
	background-color: #eee;
}

p.alarm {
	border: 5px solid #f90;
	padding: 10px 15px 10px 15px;
	font-size: 15px;
	font-weight: bold;
}

input.process-subscription {
	border: 3px solid #999;
	background-color: #eee;
	color: #333;
	font: normal 18px arial, sans-serif;
	padding: 3px 8px 3px 8px;
}
