#main_content {
	zoom: 1;
}

td {
	vertical-align: top;
}

#main_content h2 {
	width: 100%;
	text-align: right;
	border-top: solid #808080 10px;
	margin: 0 0 10px 0;
	padding: 0;
	height: 24px;
	display: block;
}

#main_content h2 span a {
	color: white;
	text-decoration: none;
}

#main_content h2 span {
	width: 218px;
	display: block;
	float: right;
	color: white;
	font-weight: normal;
	height: 24px;
	font-size: 17px;
	padding-right: 5px;
	background: url('images/content_h2.png') no-repeat right bottom;
}

.clear {
	clear: both;
}

.new_books_4 {
	width: 24%;
	height: 160px;
	float: left;
	text-align: center;
	margin: 0;
	padding: 0;
}

.new_books_2 {
	width: 49%;
	height: 160px;
	float: left;
	text-align: center;
	margin: 0;
	padding: 0;
}

img.news {
	float: left;
	margin: 0 10px 10px 0;
	width: 2.5cm;
	height: auto;
}

h2.news {
	text-align: left;
	margin: 0;
	font-size: 10pt;
}

h2.news a {
	text-decoration: none;
	color: black;
}

h2.news a:hover {
	text-decoration: underline;
	color: blue;
}


.article_date {

}

div.news_2col {
	float: left;
	width: 330px;
	padding: 10px;
}

div.news {
	padding: 15px 10px 10px 10px;
	clear: both;
	border-top: dashed silver 1px;
}

div.text {
	padding: 10px;
	clear: both;
	overflow: auto;
}

.half {
	width: 50%;
	float: left;
}

.red {
	color: #cc0000;
}

table.peredplata {
	border-collapse: collapse;
	font-size: 10px;
}

table.peredplata td {
	border-collapse: collapse;
	border: dotted gray 1px;
	padding: 2px !important;
}

table.peredplata th {
	border-collapse: collapse;
	border: dotted gray 1px;
	padding: 2px !important;
}

table.peredplata tr:hover {
	background: #F0F0F0
}

a.button {
	color: #808080;
	padding-left: 12px;
	background: url('images/a_buuton_bull.gif') no-repeat 0 3px;
}

.mag_cover_small {
	float: left;
	margin: 0 10px 10px 0;
	height: 100px;
	border: solid silver 1px;
}

img.mag_cover {
	border: solid silver 1px;
	height: 200px;
}

div.mag_cover {
	float: right; 
	clear: right;
	margin-left: 10px;
	padding-left: 10px;
	padding-bottom: 20px;
	border-left: dotted #666 2px;
	background: white;
}


ul.articles {
	margin: 0 20px 0 0;
	padding: 0;
	float: left;
}

ul.articles li {
	list-style:none;
	margin-bottom: 4px;
}

ul.articles li a {
	color: #808080;
	padding-left: 12px;
	background: url('images/a_buuton_bull.gif') no-repeat 0 3px;
	text-decoration: none;
}
ul.articles li a.open {
	color: darkgreen;
} 

h3.lastnumber {
	color: #808080;
	font-weight: normal;
}

.arch_link {
	text-align: center;
	clear: both;
}
.arch_link a {
	color: #808080;
}

table.multicol {
	width: 100%;
	margin: 0;
	padding: 0;
	border-collapse: collapse;
	border: 0;
	clear: both;
}

table.multicol td {
    vertical-align: top;
	margin: 0;
	padding: 0;
}

td.polovinka {
    width: 50%;
	border-right: dotted #666 2px;
}

#cart {font-size:11px;font-family: tahoma; background: white;}
#cart a{color: blue; text-decoration:none;font-size:11px;font-family: tahoma;}
#cart table {width: 100%; border-collapse: collapse;}
#cart td {white-space:nowrap; font-size:11px;font-family: tahoma; padding: 2px !important; border: solid #4186c7 1px; }
#cart td.wrap {white-space:normal;}

.text pre {
	padding: 10px;
	background: #FFFFE0;
	border: solid silver 1px;
}

.book_series_block {
	width: 210px;
	height: 110px;
	float: left;
	margin-bottom: 10px;
	padding-bottom: 10px;
	padding-right: 10px;
	text-align: right;
	background: url('images/book_series_bg.png') no-repeat bottom;
}

.book_series_block a {
	color: #666666;
	text-decoration: none;
	font-size: 14px;
	font-weight: bold;
}

.book_series_block img {
	margin-right: 5px;
}

div.book_list {
	margin: 0 20px;
}

div.book_list img, div#the_book img, div.new_books_2 img, div.new_books_4 img {
	border: solid silver 1px;
}

table.book_list {
	width: 100%;
}

table.book_list td {
	color: #4d4d4d;
	margin: 0;
	vertical-align: middle !important;
	border-bottom: dotted silver 2px;
}

table.book_list a {
	color: #666;
	text-decoration: none;
}

table.book_list td td {
	border: none;
	padding: 0 3px;
}

table.book_list td td.polovinka {
	border-right: dotted #666 2px;
}

.book_title {
	font-weight: bold;
}

.short_art {
	border-bottom: dotted silver 1px;
	padding-bottom: 5px;
}

table#price td h4{
	background: #faa300;
	color: white;
	padding: 3px;
}
td.news-left {
	border-right: 1px dashed silver;
}

#lang-selector {float: left; margin: 5px;}
.lang { color: white; font-weight: bold; text-decoration: none; padding: 2px;}
.current-lang { border: solid white 1px;}
.more a {color: grey;}

.error {color: red; font-size: 0.9em;}

table.form td.td1 {width: 300px;}
table.form tr:hover {background-color: #E0E0E0;}
table.form input.wide, table.form select.wide {width: 300px;}
label[disabled="disabled"]{color: grey;}
.order-card {background-color: #FFFFE0; font-family: courier; font-size: 10pt; border: 1px dotted silver; padding: 20px;}
.cover {margin:5px;}
#tabs {
	border-top: solid #808080 10px;
	background-color: #808080;
	padding: 0 0 1px 0;
	margin: 0;
}

#tabs span.tab {
	font-weight: bold;
	font-size: 14px;
	margin: 0 5px 0 0;
	padding: 0 5px;
	background-color: white;
	border-bottom: solid #808080 1px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-webkit-border-top-left-radius: 5px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-right-radius: 5px;


}
#tabs span.tab a {
	text-decoration: none;
	color: #2896c8;
}

#tabs span.tab.active {
	border-bottom: solid #FFFFFF 1px;
}

div.megabutton {
	width: 200px;
	margin: 5px auto;
	padding: 10px;
	text-align: center;
	background-color: #9474b4;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: 1px solid #9474b4;
	box-shadow: 0 5px 10px #808080;
	-webkit-box-shadow: 0 5px 10px #808080;
	-moz-box-shadow: 0 5px 10px #808080;
	transform: scale(0.9);
	-o-transform: scale(0.9);
	-webkit-transform: scale(0.9);
	-moz-transform: scale(0.9);
	transform-origin: top center;
	-o-transform-origin: top center;
	-webkit-transform-origin: top center;
	-moz-transform-origin: top center;
	transition: all 0.3s;
	-o-transition: all 0.3s;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	cursor: pointer;
}

div.megabutton:hover {
	transform: scale(1);
	-moz-transform: scale(1);
	-o-transform: scale(1);
	-webkit-transform: scale(1);
}

.megabutton a {
	color: white;
	text-decoration: none;
	font-size: 24px;
}

p.message {
	color: darkgreen;
	font-weight: bold;
	background: url(/images/ico/attention-icon-green.png) no-repeat left top;
	padding-left: 42px;
	line-height: 32px;
}