.clear {
	clear: both;
	font-size: 0;
	line-height: 0;
	height: 0;
	width: 0;
	border: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
.cf:after, 
.container:after {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;}
.cf, .container {display:block;zoom: 1;}

/* ================================================== */
/* Main styles */
/* ================================================== */
html {
	margin-left: -1px;
	overflow-Y: scroll;
}
body {
	margin: 0;
	padding: 20px;
	font-family: Tahoma, sans-serif;
	font-size: 11px;
	color: #333;
}
table {
	font-size: 11px;
}
img { border: 0; behavior: url("/admin/include/style/png.htc"); }
table.border, table.border td, table.border th {
	border-collapse: collapse;
	border: 1px solid #BDBAAE;
}
table.border th {
	background: #DEDDD8;
	text-align: left;
}
table th {
	background: #EDECE7;
	text-align: left;
}

table th a{
	color: #000 !important;
}
table .tr1 {
	background: #FFF;
}
table .tr2 {
	background: #EDECE7;
}

p { padding: 0 0 10px 0; margin: 0; }

h1 {
	color: #333;
	font-size: 13px;
	padding: 20px 0 8px 20px;
	border-bottom: 1px solid #A4A091;
	margin: 0 0 40px 0;
	font-weight: normal;
	text-transform: uppercase;
}

h2 {
	color: #333;
	font-size: 20px;
	padding: 0 0 10px 0;
	margin: 0;
	font-weight: normal;
}

h3 {
	color: #333;
	font-size: 13px;
	padding: 0 0 10px 0;
	margin: 0;
	font-weight: normal;
}

a:link, a:visited {
	color: #22A89F;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
a.notUnder:link, a.notUnder:visited {
	text-decoration: none;
}
a.notUnder:hover {
	text-decoration: underline;
}

ul { padding: 0; margin: 0 0 10px 0; line-height: 16px; }
ul ul { padding: 0; margin: 0 0 0 0; }
ul li {
	padding: 0;
	margin: 4px 0 4px 16px;
	list-style: none;
	padding-left: 14px;
	background: url(/i/li/li1.gif) 0 7px no-repeat;
}
ul ul li { background: url(/i/li/li2.gif) 0 7px no-repeat; }
ul ul ul li { background: url(/i/li/li3.gif) 0 7px no-repeat; }
ol { padding: 0; margin: 0 0 10px 0; line-height: 16px; }
ol ol { padding: 0; margin: 0 0 0 0; }
ol li {
	padding: 0;
	margin: 4px 0 4px 16px;
	list-style-position: inside;
	list-style-type: decimal;
}
ol ol li { list-style-type: lower-greek; }
ol ol ol li { list-style-type: lower-roman; }
/* -------------------------------------------------- */

/* ================================================== */
/* User styles */
/* ================================================== */
.toc {
	background: #F0EFEB url(/i/bg_top.gif) repeat-x;
	padding: 90px 10px 45px 10px;
	margin: 0;
}
.bold {
	font-weight: bold;
}
/* Header */

/* Main menu */

/* Body */
.search_block_h {
	font-size: 13px;
	text-transform: uppercase;
	padding: 20px 0 8px 20px;
}
.search_block, .search-block{
	border: 1px solid #A4A091;
	padding: 20px;
}
.search-block-slim {
	border: 1px solid #A4A091;
	padding: 0px;
}
.h {
	font-size: 13px;
}
.auth_block {
	width: 480px;
	text-align: left;
	line-height: 22px;
}
.body {
	background: #FFF url(/i/body_bg.gif) repeat-y;
	min-width: 1000px;
	zoom: 1;
}
.contentBlock {
	float: left;
	width: 100%;
}
.content {
	margin: 10px 10px 10px 260px;
}
.both {
	clear: both;
}
.welcome {
	padding: 0 40px 10px 0;
	text-align: right;
	margin-top: -10px;
}

.object_body_title {
	color: #666;
}
.photo {
	border: 1px solid #999;
	background: #FFF;
	padding: 2px;
	width: 94px;
	height: 94px;
	float: left;
	margin: 0 2px 2px 0;
}

a.blackNotUnder:link, a.blackNotUnder:visited {
	text-decoration: none;
	color: #333;
}
a.blackNotUnder:hover {
	text-decoration: underline;
}
#bContacts {
	border: 1px solid #CCCCCC;
	background: #F1EFEF;
	padding: 10px;
	display: none;
}
#bOrder {
	border: 1px solid #CCCCCC;
	padding: 10px;
	display: none;
}
.printLinks {
	margin-top: -34px;
	text-align: right;
	padding: 0 0 22px 0;
}

/* Leftbar */
.lbar {
	float: left;
	width: 240px;
	margin-right: -240px;
	position: relative;
	z-index: 2;
}
.lbar .h {
	padding: 30px 0 10px 15px;
	text-transform: uppercase;
}
.lbar a.m1:link, .lbar a.m1:visited {
	color: #FFF;
	display: block;
	padding: 8px 0 8px 15px;
	margin-bottom: 1px;
	text-decoration: none;
	background: #A4A091 url(/i/m1.gif) 5px 13px no-repeat;
}
.lbar a.m1:hover, .lbar a.m1s:link, .lbar a.m1s:visited, .lbar a.m1s:hover {
	color: #FFF;
	display: block;
	padding: 8px 0 8px 15px;
	margin-bottom: 1px;
	text-decoration: none;
	background: #22A89F url(/i/m1.gif) 5px 13px no-repeat;
}
.lbar a.m2:link, .lbar a.m2:visited {
	color: #333;
	display: block;
	padding: 8px 0 8px 15px;
	margin-bottom: 1px;
	text-decoration: none;
	background: url(/i/m2.gif) 5px 13px no-repeat;
}
.lbar a.m2:hover, .lbar a.m2s:link, .lbar a.m2s:visited, .lbar a.m2s:hover {
	color: #333;
	display: block;
	padding: 8px 0 8px 15px;
	margin-bottom: 1px;
	text-decoration: underline;
	background: url(/i/m2.gif) 5px 13px no-repeat;
}

/* Footer */
.footer {
	height: 30px;
	background: #A4A091;
	margin-top: 10px;
	color: #E1DFD7;
	min-width: 1000px;
}
.copyright {
	float: left;
	padding: 8px 0 0 30px;
}
.dev {
	float: right;
	padding: 0 30px 9px 0;
}
.dev a:link, .dev a:visited {
	color: #E1DFD7;
	text-decoration: none;
}
.dev a:hover {
	text-decoration: underline;
}

/* -------------------------------------------------- */

/* ================================================== */
/* Forms */
/* ================================================== */
form { margin: 0; padding: 0; }

.textbox {
	border: 1px solid #A4A091;
	font-size: 11px;
	font-family: Tahoma;
	padding: 2px;
	width: 260px;
}
textarea {
	border: 1px solid #A4A091;
	font-size: 11px;
	font-family: Tahoma;
	padding: 2px;
	width: 260px;
}
.select {
	font-size: 11px;
	font-family: Tahoma;
	width: 266px;
}
.button {
	border: 1px solid #A4A091;
	font-size: 13px;
	font-family: Tahoma;
	background: #E1DFD7;
	color: #333333 !important;
	padding: 3px 10px 3px 10px;
	cursor: pointer;
	text-decoration: none !important;
}
/* -------------------------------------------------- */

/******************************************************************************/
/* Add object form elements
/******************************************************************************/
.form-textbox {
	margin: 0.5em 0;
	margin-left: 1em;
	float: left;
	height: 20px;
}

.form-select {
	margin: 0.5em 0;
	margin-left: 1em;
	float: left;
	height: 20px;	
}

/******************************************************************************/
/* Search form elements
/******************************************************************************/

.search-textbox {
	margin: 0.5em 0;
	margin-left: 1em;
	float: left;
}

.search-select {
	margin: 0.5em 0;
	margin-left: 1em;
	float: left;
	height: 19px;
}

.search-mselect {
	margin: 0.5em 0;
	margin-left: 1em;
	float: left;
	position: relative;
	padding: 2px 4px 1px 6px;
	border: 1px solid #A4A091;
	position: relative;
}

.search-mselect .arrow{
	color: #66635A;
	position: absolute;
	right: 3px;
}

.search-mselect a{
	text-decoration: none;
	color:#000;
}

.search-mselect div{
	float: right;	
}
.search-mselect .drop{
	position: absolute;
	left: 0;
	list-style-type: none;
	background-color: #fff;
	border: 1px solid #A4A091;
	z-index: 2;
	max-height: 200px;
	_height:200px;
	overflow-y: auto;
	overflow-x: hidden;
}

.search-mselect .hide{
	display: none;
}

.search-mselect li{
	list-style-type: none;
	background-image: none;
	white-space: nowrap;
	margin: 0;
	padding: 0 1em 0 0;
}


ul.ui-autocomplete li {
	list-style-type: none;
	list-style-image: none;
	background-image: none;	
}

#search-form-separator{
	border-bottom: 1px #22A89F dotted;
	padding: 0;
	text-align: center;
	margin-bottom: 10px;
}
#search-form-separator a{
	text-decoration: none;
	background-color: #fff;
	padding: 0 15px;
	position: relative;
	top: 5px;
}

#full-form{
	border-top: 1px #22A89F dotted;
	padding-top: 10px;
	margin-top: 10px;
}

/******************************************************************************/
/* categories list
/******************************************************************************/
.category-list{
	margin:0;
	position: relative;
	top:1px;
}

.category-list li{
	float: left;
	background-image: none;
	background-color: #A4A091;
	list-style-position: inside;
	padding:  2px 5px;
	margin: 0 2px;
	text-align: center;
	-moz-border-radius: 4px 4px 0 0;
	-webkit-border-radius: 4px 4px 0 0;
}
.category-list li a {
	color:#fff;
	text-decoration: none;
}

.category-list li a.current {
	
	color:#000;
}

.category-list li.current{
	background-color: #fff;
	border:1px solid #A4A091;
	border-bottom: none;
}

/******************************************************************************/
/* Фотки на странице редактирования объекта
/******************************************************************************/
.edit-photo{
	float: left;
	margin-top: 1em;
	margin-left: 5px;
}

.edit-photo .label td{
	padding-bottom: 0.5em;
	text-align: center;
}
.edit-photo .image td{
	height: 94px;
}

/******************************************************************************/
/* Список агентов
/******************************************************************************/
.filial-expand{
	cursor: pointer;
}

ul.agent-list{
	margin-left: 2em;	
}
ul.agent-list li{
	background-image: none;
	list-style-type: none;
}

/*****************************************************************************/
/*****************************************************************************/
.datepick{
	width: 60px;
}


#auth-list td{
	padding: 1px 2px;
}

.border-form{
	border: 1px	
}

/*****************************************************************************/

.pager{
	text-align: center;
	margin-top: 1em;
}
.search-info-mini{
	color: #666;
}
.search-info-mini b{
	color: #333;
	white-space: nowrap;
}
.search-info-mini span {
	padding-right: 1em;
	white-space: nowrap;	
}


.tip {
	font-weight: normal;
	font-size: 9px;
	border-bottom: 1px dashed black;
}
/*****************************************************************************/
table.agency-list {
	width: 100%;
	margin-bottom: 2em;
	border-bottom: 1px solid #aaa;
}
table.agency-list td.label {
	width: 25%;
}
table.agency-list td.extra {
	width: 25%;
}
table.agency-list td.total {
	width: 5%;
}
table.agency-list td.noconfirm {
	width: 5%;
}
table.agency-list td.noconfirmperc {
	width: 2%;
}
table.agency-list td.noconfirmbar {
	width: 15%;
}
table.agency-list td.actions {
	
}
.color-black {
	color: black !important;
}
.color-grey {
	color: #666 !important;
}
.agency-list .bar {
	height: 10px;
	background-color: #22A89F;
}
.bg-red{
	background-color: #f7a9a9 !important;
}
.bg-yellow{
	background-color: #f7f4a9 !important;
}

/*****************************************************************************/
#object-dialog {
	position: absolute;
	width: 100%;
	height: 100%;
	top:0;
	left:0;
}
#object-dialog td{
	
}
#object-dialog .dialog-content{
	width: 330px;
	background-color: #ddd;
	margin: 0 auto;
	border: 1px solid #000;
	padding: 2em;
	position: relative;
}
.dialog-close{
	position: absolute;
	top:5px;
	right:5px;
}

.error {
	color:red;
}

form table table td.label {
	width: 60px;
	text-align: right;
}

/******************************************************************************/
/* СМИ              
/* --- --- */
ul.menu li {
	list-style: none;
	margin: 0 0.5em 0 0;
	padding: 0 0.5em;
	display: inline-block;
	background: none;
	border-left: 1px solid #333;
}
ul.menu li:first-child{
	border-left: 0 none;
	padding-left: 0;
}
ul.menu li a{
	font-size: 16px;
	color: #333;
}
ul.menu li.current a{
	text-decoration: none;
	cursor: default;
}

.green {
	color: green;
}
.yellow{
	color: orange;
}
.line-menu {
	padding: 0.25em 0;
}
.line-menu a{
	margin-right: 1em;
}
.line-menu .current{
	text-decoration: none;
	color: #000;
	font-weight: bold;
}

/* --- --- */
.media-info {
	margin-bottom: 3em;
}
.media-info .info {
	margin-top: 1em;
	display: none;
}
.media-info .handler{
	font-size: 14px;
	text-decoration: none;
	border-bottom: 1px dashed;
}

/* --- --- */
select.publication-date {
	margin-bottom: 1em;
}
/******************************************************************************/
/* Форма счета
/******************************************************************************/
.bill{
	width: 160mm;
	margin: 0 auto;	
}

.bill table{
	width: 100%;	
	border-collapse: collapse;
	border:0 !important;
}
.bill table.border{
	border: 1px #000 solid;
	border-spacing: 0.5mm;
	border-collapse: collapse;
}
.bill table.border td,.bill table.border th{
	border: 1px #000 solid;
	vertical-align: top;
}
.bill table.padding td,.bill table.padding th{
	padding: 0.5em;
}
.bill .hint{
	font-size: 10px;
	line-height: 1.1em;	
}
.bill .middle{
	vertical-align: middle !important;	
}
.bill .center{
	text-align: center;	
}
.bill td.right{
	text-align: right;
	padding-right: 0.5em;
}
.bill td.left{
	text-align: left;
	padding-right: 0.5em;
}

.bill .noborder{
	border: 0 !important;	
}

.bill h1{
	font-size: 16px;
	padding: 0.5cm 0.5cm 0.5cm 0;
	text-align: left;
	text-transform: none;
	border: 0 none;
	text-align: center;	
}
.bill .footer{
	margin-top: 2em;
	width: auto;
	min-width: 100%;
	height: auto;
	background-color: transparent;
	color: #000;
	
}
.bill .payer{
	margin: 0em 0em 1em;	
}

/* Панель с печатью */
.bill .print-bar{
	background-color: #000;
	padding: 0.0em 1em;
	margin: 1em 0em;
	
}
.bill .print-bar a{
	color: #fff;
	text-decoration: none;
}
.bill .notice{
	font-size: 11px;
	margin: 2em 0;	
}

.bill-separator{
	height: 0px;
	border-top:2px solid #000;	
}

.nowrap {
	white-space: nowrap;
}

/******************************************************************************/
.bill-viewer{
	
}
/******************************************************************************/
