/* Overall Styles */

body {
	background: #fff;
	margin: 0 20px;
	padding: 0;
	font-family: 'Trebuchet MS', Verdana, Arial;
	font-size: 10pt;
	color: #000;
}

table, tr, td {
	margin: 0;
	padding: 0;
	border: 1;
	border-color: #C0C0C0;
	vertical-align: top;
}

a:link, a:visited, a:hover {
	color: #06c;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

img {
	border: 0;
}

p {
	margin: 10px;
}

/* Header */

#header {
	background: #e3f1ff;
	padding: 10px;
	color: #333;
}

#header h1 {
	font-family: 'Trebuchet MS', Verdana, Arial;
	font-size: 24pt;
	font-weight: bold;
	margin: 0;
	padding: 0;
}

#header h2 {
	font-family: 'Trebuchet MS', Verdana, Arial;
	font-size: 12pt;
	font-weight: normal;
	margin: 0;
	padding: 0;
}

#nav {
	clear: both;
	position: relative;
	background: #333;
	overflow: auto;
	padding-bottom: 10px;
}

#nav ul {
	margin: 0;
	padding: 10px;
	background: #333;
}

#nav ul li {
	list-style: none;
	float: left;
	display: block;
	padding: 0 10px;
}

#nav a:link, #nav a:visited {
	font-family: 'Trebuchet MS', Verdana, Arial;
	font-size: 14pt;
	font-weight: bold;
	color: #fff;
}

#nav a:link.selected, #nav a:visited.selected {
	text-decoration: underline;
}

/* Footer */

#footer {
	clear: both;
	margin-top: 15px;
	background: #e3f1ff;
	padding: 10px;
	font-family: 'Trebuchet MS', Verdana, Arial;
	font-size: 8pt;
	text-align: center;
}

/* Sidebar */

#sidebar {
	width: 270px;
	float: right;
	padding: 5px 0;
	border-bottom: 10px solid #fff;
	height: 100%;
}

#sidebar h2 {
	margin: 0;
	padding: 4px 8px;
	background: #666;
	color: #fff;
	font-family: 'Trebuchet MS', Verdana, Arial;
	font-size: 12pt;
	font-weight: bold;
}

#sidebar ul {
	margin: 0 0 15px 10px;
	padding: 0;
	list-style: none;
}

#sidebar ul li {
	line-height: 2em;
	font-family: 'Trebuchet MS', Verdana, Arial;
	font-size: 8pt;
	border-bottom: 1px solid #eee;
}

#sidebar ul li a:link, #sidebar ul li a:visited {
	color: #666;
}

/* Posts & Pages */

#page {
	padding: 5px 15px 15px 0;
	font-family: 'Trebuchet MS', Verdana, Arial;
	font-size: 10pt;
	line-height: 1.5em;
}

#page h1 {
	font-family: 'Trebuchet MS', Verdana, Arial;
	font-size: 16pt;
	font-weight: bold;
	padding: 5px 0;
	margin: 0 0 10px 0;
}

#page h2 {
	font-family: 'Trebuchet MS', Verdana, Arial;
	font-size: 12pt;
	font-weight: bold;
	margin: 0 0 5px 0;
}

#page h1 a:link, #page h1 a:visited {
	text-decoration: underline;
}

#page h1 a:hover, #page h1 a:active {	
	text-decoration: none;
}

#page td.date {
	white-space: nowrap;
}

#page td.date div {
	width: 70px;
	font-family: 'Trebuchet MS', Verdana, Arial;
	font-size: 12pt;
	font-weight: bold;
	background: #d54e21;
	color: #fff;
	text-align: right;
	padding: 5px;
	margin-right: 10px;
}

.reviewcount {
	float: right;
}

.reviewcount a:link, .reviewcount a:visited {
	display: block;
	margin-top: 1px;
	padding: 1px 5px;
	background: #e3f1ff;
	font-family: 'Trebuchet MS', Verdana, Arial;
	font-size: 8pt;
	color: #000;
	text-decoration: none;
	font-weight: bold;
}

#page .content {
	clear: left;
	padding-right: 10px;
}

#page td.ratings {
	white-space: nowrap;
	padding-left: 10px;
}

#page table.ratings {
	float: right;
	margin-left: 10px;
}

#page table.ratings td {
	border: 1px solid #fff;
	text-align: right;
}

/* Comments / Reviews */

h2#comments {
	clear: both;
	background: #f3f2ed;
	font-size: 11pt;
	font-weight: bold;
	border-top: 10px solid #fff;
	color: #333;
	padding: 10px;
}

h3#respond {
	clear: right;
	font-size: 11pt;
	font-weight: bold;
	margin: 10px 0;
	padding: 0;
	border-bottom: 2px solid #ccc;
}

#comments h3.review {
	clear: right;
	margin: 10px 0 5px 0;
	border-bottom: 1px solid #eee;
	padding-bottom: 2px;
	color: #333;
	font-family: 'Trebuchet MS', Verdana, Arial;
	font-size: 10pt;
}

#comments p {
	margin-top: 5px;
	font-size: 9pt;
	color: #333;
}

#comments ul {
	margin: 0;
	padding: 0;
}

#comments li {
	display: inline;
}

/**
 * Кнопки расчитаны на размер шрифта, равный 12 пикселям
 */ 
/* firefox bugfix */
button::-moz-focus-inner {
	padding: 0;
	border: 0
}

/* all but IE click reaction - IE has its own */
.button-20:active, .button-24:active, .button-40:active, .button-active {
	outline: 0px none !important;
	top: 0.1em;
	left: 0.1em;
}

.button-20[disabled]:active, .button-20[rel~=disabled]:active,
.button-24[disabled]:active, .button-24[rel~=disabled]:active {
	top: 0;
	left: 0;
}

.button-20, .button-40 {
	font-size: 0.8333em;
}

.button-18, .button-20, .button-24 , .button-40 {
	display: -moz-inline-box;
	display: inline-block;
	margin: 0;
	border: 0px none;
	text-decoration: none;
	outline: 0px none !important;
	padding: 0 !important;
	color: #fff !important;
	text-transform: uppercase;
	font-family: Tahoma, Geneva, "DejaVu Sans", Arial, sans-serif;
	background-color: transparent;
	background-position: left center;
	background-repeat: no-repeat;
	vertical-align: middle;
	position: relative;
	overflow: visible;
	cursor: pointer;
	white-space: nowrap;
}

.button-20 *, .button-24 *, .button-40 * {
	cursor: pointer;
	white-space: nowrap !important;
	text-align: center !important;
	float: none !important;
}
  
.button-18 b, .button-20 b, .button-24 b, .button-40 b {
	display: -moz-inline-box;
	display: inline-block;
	vertical-align: top;
	background-position: center center;
	background-repeat: no-repeat;
	-webkit-background-size: auto 100%;
	-khtml-background-size: auto 100%;
	/* заливка вылезает при увеличенном min-font-size, отключил пока */
	background-color: transparent !important;
}

.button-20 b, .button-24 b {
	padding: 0 0.5em;
}

.button-18:after, .button-18 .after, .button-18:before, .button-18 .before,
.button-20:after, .button-20 .after, .button-20:before, .button-20 .before,
.button-24:after, .button-24 .after, .button-24:before, .button-24 .before,
.button-40:after, .button-40 .after, .button-40:before, .button-40 .before {
	display: -moz-inline-box;
	display: inline-block;
	width: 0.5em;
	line-height: 0;
	content: '';
	vertical-align: top;
	background-color: transparent;
	background-repeat: no-repeat;
	-webkit-background-size: auto 100%;
	-khtml-background-size: auto 100%;
}

.button-18:after, .button-18 .after, .button-20:after, .button-20 .after,
.button-24:after, .button-24 .after, .button-40:after, .button-40 .after {
	background-position: right center;
}

.button-18:before, .button-18 .before, .button-20:before, .button-20 .before,
.button-24:before, .button-24 .before, .button-40:before, .button-40 .before {
	background-position: left center;
} 

.button-20, .button-20 b, .button-20:after, .button-20 .after,
.button-20:before, .button-20 .before {
	height: 2em;
	line-height: 2em !important;
}

/* дефолтная заливка цветом и тени*/
.button-green b, .button-green-forward b {
	background-color: #83db00;
	text-shadow: 0 -0.1em 0 #7fc307;  
}

.button-blue b {
	background-color: #0095db;
	text-shadow: 0 -0.1em 0 #0086be;
}

.button-20[disabled] b, .button-20[rel~=disabled] b,
.button-24[disabled] b, .button-24[rel~=disabled] b {
	background-color: #b6b6b6;
	text-shadow: 0 -0.1em 0 #999;
}  


/* .button-green */
.button-green *, .button-green:after, .button-green:before {
	background-image: url('http://www.reg.ru/i/style/second/widget-part/button/20-green.png') !important;
}

/* .button-green-forward*/
.button-green-forward *, .button-green-forward:after, .button-green-forward:before {
	background-image: url('http://www.reg.ru/i/style/second/widget-part/button/20-green-forward.png') !important;
}
.button-green-forward:after, .button-green-forward .after {
	width: 2.2em;
}

/* .button-blue */
.button-blue *, .button-blue:after, .button-blue:before {
	background-image: url('http://www.reg.ru/i/style/second/widget-part/button/20-blue.png') !important;
}

/* 20px: disabled */
.button-20[disabled] *,
.button-20[disabled]:after,
.button-20[disabled]:before,
.button-20[rel~=disabled] *,
.button-20[rel~=disabled]:after,
.button-20[rel~=disabled]:before {
	background-image: url('http://www.reg.ru/i/style/second/widget-part/button/20-disabled.png') !important;
}

.button-green-forward[disabled] *,
.button-green-forward[disabled]:after,
.button-green-forward[disabled]:before,
.button-green-forward[rel~=disabled] *,
.button-green-forward[rel~=disabled]:after,
.button-green-forward[rel~=disabled]:before {
	background-image: url('http://www.reg.ru/i/style/second/widget-part/button/20-disabled-forward.png') !important;
}

.button-orange-back[disabled] *,
.button-orange-back[disabled]:after,
.button-orange-back[disabled]:before,
.button-orange-back[rel~=disabled] *,
.button-orange-back[rel~=disabled]:after,
.button-orange-back[rel~=disabled]:before {
	background-image: url('http://www.reg.ru/i/style/second/widget-part/button/20-disabled-back.png') !important;
}

.button-20[disabled], .button-20[rel~=disabled],
.button-20[disabled] *, .button-20[rel~=disabled] * {
	cursor: default;
}