/*-----------------------------------------------------------------------------
Lawmix Screen Stylesheet

version:   1.0
date:      08/05/07
author:    Alexander Chuprin
email:     a.s.chuprin@gmail.com
website:   www.chuprin.com

-----------------------------------------------------------------------------*/


/* Global 
---------------------------------------------------------- */

* {	padding:0; margin:0; }
html { filter: expression(document.execCommand("BackgroundImageCache", false, true)); }
html, body { width: 100%; height: 100%; }
body {
	min-height: 100%; height: auto !important; height: 100%;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	color: #545454;
	background: #fff;
}
h1, h2, h3, h4, h5, h6, pre, blockquote, form, label, ul, ol, dl, fieldset, address {
	margin: 15px 0;
	font-size: 1em;
}
p {
	margin: 5px 0;
	font-size: 1em;
}
li, dd, blockquote { 
	margin-left: 30px; 
}
.figure {
 float: left; /* Выравнивание рисунка по левому краю */
 background: #d7d7d7; /* Цвет фона */
 padding: 4px; /* Поля вокруг картинки */
 margin:
  0 /* Отступ сверху */
  6px /* Отступ справа */
  4px /* Отступ снизу */
  0; /* Отступ слева */
}
.border {
 background: #d7d7d7; /* Цвет фона */
 padding: 2px; /* Поля вокруг картинки */
 margin:
  0 /* Отступ сверху */
  0px /* Отступ справа */
  0px /* Отступ снизу */
  0; /* Отступ слева */
}

h1 { font-size: 1.6em; font-weight: normal; }
h2 { font-size: 1.4em; font-weight: normal; }
h3 { font-size: 1.3em; }
h4 { font-size: 1.2em; }
	.h4_01{
	margin: 0px;
	padding: 0px;
	color: #AF1717;
	}
h5 { font-size: 0.8em; }
h6 { font-size: 1em; }
h1.title { padding: 0 8px 6px; border-bottom: 1px solid #000; margin-top: 0; }
.red { color: #af1717 !important; }
.small { font-size: 0.8em; }
.myenter { display: none; }
.tablepost { padding: 2em; vertical-align: center; text-align: center; }

/* Table */
table { border-collapse: collapse; border: 0; }
table td { padding: 0px; vertical-align: top; text-align: left; }

/* Forms */

input { padding-left: 3px; }
.buttonrow { margin: 10px 0 0; }


/* Lists */
ul li { margin: 5px 20px; list-style-type: square; }
dd, dt { padding: 5px 7px; }
dt a { color: #af1717 !important; text-decoration: none !important; }
dd { margin: 0 0 3px 0; padding-bottom: 8px; border-bottom: 1px solid #e5e5e5; }

/* Text */
.important { color: #af1717 !important; }
.gray { color: #898989; }

.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix {display: inline-block;}
* html .clearfix {height: 1%;}
.clearfix {display: block;}

.last { border-bottom: none !important; border-right: none !important; margin-right: 0 !important; background: none !important; }
.first { border-top: none !important; border-left: none !important; margin-left: 0 !important; background: none !important; }

.left { text-align: left; }
.right { text-align: right; }
.center { text-align: center; }
.middle { vertical-align: middle; }
.fleft { display: block; float: left; }
.fright { display: block; float: right; }
img.fleft, a.fleft { margin-right: 9px; }
hr { color: #c5c5c5; background: #c5c5c5; height: 1px; line-height: 1px; border: 0; margin: 10px 0; //margin: 0;}
.clear { clear: both; }


/* Links 
---------------------------------------------------------- */

a img { border: 0; }
a:link, a:visited {
	color: #464646;
	text-decoration: underline;
}
a:hover, a:focus, a:active {
	color: #464646;
	text-decoration: none;
}
.nounderline { text-decoration: none !important; }

/* Layout 
---------------------------------------------------------- */

.minwidth { min-width: 995px; width:expression(document.body.clientWidth > 995? "auto" :"995px"); padding-bottom: 9px; background: url(http://m.lawmix.ru/images/border_bottom.gif) 0 100% repeat-x; }
#wrapper { 	background: url(http://m.lawmix.ru/images/gerb.gif) 31px 100% no-repeat; }
#header { border-top: 6px solid #000; background: url(http://m.lawmix.ru/images/header_bg.gif) repeat-x #bc2525; }
#container { float: right; width: 100%; margin-left: -18.77em; }
#top { margin-left: 18.77em; padding: 8px 200px 6px 16px; background: url(http://m.lawmix.ru/images/content_bg.gif) #f5eeda repeat-x; text-align: center; }
#content { margin-left: 18.77em; padding: 10px; background: url(http://m.lawmix.ru/images/corner_lt.gif) no-repeat; }
#content p { font-size: 1.1em; }
#sidebar-left { position: relative; float: left; width: 18.77em; padding-top: 82px; }
#footer { position: relative; margin-left: 249px; } 
.clearing { clear: both; height: 0; line-height: 0; }

/* Header
---------------------------------------------------------- */

#header a img { display: block; }
#header a { float: left; }
#header ul { float: right; margin: 0; padding-right: 30px; }
#header ul li { float: left; margin: 0; border-left: 1px solid #841212; border-right: 1px solid #bf4d4d; list-style-type: none; }
#header ul li a { display: block; float: none; padding: 3px 20px 5px; }

#menu { position: relative; clear: both; background: url(http://m.lawmix.ru/images/menu_border.gif) 0 100% repeat-x #080808; }
#menu ul { margin: 0 15.5em 0 0; list-style-type: none; }
#menu ul li { float: left; margin: 0; list-style-type: none; line-height: 2.08em; }
#menu ul li a { display: block; padding: 0 0.55em; text-decoration: none; color: #FFF; }
#menu ul li a:hover, #menu ul li.active a { background: #bc2525; }

#menu form { position: absolute; top: -14px; right: 6px; margin: 0; background:  #fff; }
#menu form #login-head { background: url(http://m.lawmix.ru/images/login_corner_rt.gif) 100% 0 #000 no-repeat; }
#menu form #login-head h3 { margin: 0; padding: 0 15px; background: url(http://m.lawmix.ru/images/login_corner_lt.gif) no-repeat; font-size: 1.1em; font-weight: normal; line-height: 2.14em; color: #fff; }
#menu fieldset { display: inline; margin: 0; padding: 9px 11px; border: 0; }
#menu fieldset div { position: relative; clear: both; margin: 3px 0; }
#menu fieldset div label { display: block; float: left; width: 3.9em; margin: 0; left: -3em; }
#menu fieldset input { width: 9em; vertical-align: middle;  border: 1px solid #e5e5e5; }
#menu fieldset .buttonrow { margin-top: 10px; }
#menu fieldset #enter { padding-left: 14px; background: url(http://m.lawmix.ru/images/icon_enter.gif) 0 50% no-repeat; color: #af1717; }
#menu fieldset #reg { margin-left: 20px; padding-left: 14px; background: url(http://m.lawmix.ru/images/icon_reg.gif) 0 50% no-repeat; }

#top a { display: block; width: 468px; height: 60px; margin: 0 auto; padding: 5px; background: url(http://m.lawmix.ru/images/banner_1.gif) no-repeat; }

/* Content
---------------------------------------------------------- */

.categories { padding: 3px; border-top: 1px solid #000; background: #f7f7f7; text-align: right; }
.categories a, .categories a:visited { margin: 0 3px; font-size: 0.8em; text-decoration: none; }

.column { float: left; margin-right: 2px; }
.three-columns { clear: both; }
.three-columns .column { width: 32%; }
.two-columns { clear: both; }
.two-columns .column { width: 47%; padding: 0 8px; }

#rating { background: url(http://m.lawmix.ru/images/corner_gray_lb.gif) 0 100% no-repeat #f0f0f0; }
#rating .column { border-right: 3px solid #FFF; }
#rating h5, #rating h6 { margin: 0; }
#rating #rate { width: 46%; }
#rating .last { width: 46%; padding-left: 15px; }
#rate dt { float: left; width: 80px; }
#rate dd { border: 0; margin: 0; }

.book { position: relative; }
.book span { position: absolute; bottom: 0; left: 115px; }
.book .title { margin-left: 105px; }

#opinions h2 { margin: 0; }
#opinions h6 { margin: 4px 0; }
#opinions p { margin: 4px 0 0 70px; }

/* Sidebar (Left)
---------------------------------------------------------- */

#search { position: absolute; left: 0; top: 0; width: 103%; background: url(http://m.lawmix.ru/images/ask_bg_2.gif) 0 100% no-repeat #fff ; }
#search form { margin: 0; background: url(http://m.lawmix.ru/images/left_shadow.gif) no-repeat; }
#search fieldset { margin: 0; padding: 19px 20px 19px 0; border: 0; background: url(http://m.lawmix.ru/images/corner_rb.gif) 100% 100% no-repeat; text-align: right; }
#search div { position: relative; }
#search div img { margin-right: 10px; vertical-align: middle; }
#search-bar { width: 180px; border: 1px solid #e5e5e5; font-size: 1.2em; }
#search a { background: url(http://m.lawmix.ru/images/icon_advsearch.gif) 0 50% no-repeat; padding-left: 18px; }
label.overlabel { color:#a8a8a8; position: absolute; top: -14px; left: 47px; }
label.overlabel-apply { position:absolute; top: -14px; left: 50px; z-index:1; color:#a8a8a8; }

#ask {
	position: relative;
	height: 92px;
	background: url(http://m.lawmix.ru/images/ask_bg.gif) 0 100% no-repeat;
	padding: 10px 0px 0px 80px;
}
#ask a { position: absolute; bottom: 0; right: 0; padding-left: 16px; background: url(http://m.lawmix.ru/images/corner_lt.gif) #fff no-repeat; }
#ask a span { display: block; padding: 7px 16px; background: url(http://m.lawmix.ru/images/icon_ask.gif) 0 60% no-repeat; }

.box { padding: 0 17px; }
#telefon{
	font-size: 12px;
	font-weight: bold;
	line-height: 20px;
}

/* Footer 
---------------------------------------------------------- */

#bottom { clear: both; }
#copyright { float: left; width: 18.77em; }
#copyright ul { margin: 4px 0; padding-left: 7px; }
#copyright ul li { float: left; margin: 0; border-right: 1px solid #000; list-style-type: none; text-align: center; }
#copyright ul li a { display: block; padding: 0 10px 2px; line-height: 1em; text-decoration: none; font-size: 0.85em; font-weight: bold; }
#copyright p { margin: 30px 0; padding-left: 18px; }
#copyright p a { color: #aa1212; }

#banner { margin-left: 18.77em; text-align: center; }

#footer #rss { position: absolute; left: -230px; }
#footer ul { margin: 0; }
#footer ul li { float: left; margin: 0; list-style-type: none; }
#footer ul li a { display: block; padding: 0 0.25em; font-size: 0.9em; font-weight: bold; }

#vmenumain, #vmenumain ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#vmenumain li {
	display: inline;
	padding: 0;
	margin: 0;
}
#vmenumain li a {
	display: block;
	padding: 7px;
	text-decoration: none;
	text-align: left;
}
#vmenumain li a:hover {
	background: #F2E7CB;
}

	.bannerMain2 {
	margin: 10px 0px 0px;
	border: 1px solid #E6E6E6;
	background: url(http://m.lawmix.ru/images/bannerMain1.gif);
	height: 255px; 
	width: 512px;
	}

	.bannerMain {
	margin: 10px 0px 0px;
	border: 1px solid #E6E6E6;
	background: url(http://m.lawmix.ru/images/bannerMain1.gif);
	height: 300px; 
	width: 485px;
	}

	.bannerMain1 {
	background: url(http://m.lawmix.ru/images/bannerMain.jpg) no-repeat left top;
	height: 230px;
	text-align: right;
	text-valign: bottom;
	padding: 70px 7px 0px 0px;
	}
.text_02 {
	background: url(http://m.lawmix.ru/images/b_21.png);
	font: bold 11px/17px Arial, Helvetica, sans-serif;
	color: #fff;
}
.text_02 a {
	color: #fff;
}
