/*base.css*/
html, body {font-family: Arial; font-size: 16px; line-height: 1.3; width: 100%px; padding: 5px;}

h1 { font-size: 20px; color: #330099; padding: 10px 0 5px 20px; margin-bottom: 8px; background: url('/images/dash-line.png') repeat-x 0 bottom; }
h2 { font-size: 18px; margin-bottom: 7px; color: #51A9F3; }
h3 { font-size: 16px; font-weight: bold; margin-bottom: 7px; }
sup { vertical-align: baseline; position: relative; top: -0.4em; }
sub { vertical-align: baseline; position: relative; bottom: -0.4em; }
 
#print-wrapper h1, #print-wrapper h2 { background-image: none; color: #000; }

input[type=button], input[type=submit] { background-color: #59a4f2; padding: 5px 7px; border: none; color: #fff;
	-moz-border-radius: 10px; /* Firefox */
	-webkit-border-radius: 10px; /* Safari, Chrome */
	-khtml-border-radius: 10px; /* KHTML */
	border-radius: 10px; /* CSS3 */
	cursor: pointer;
	/* Для плохих IE */
	/*behavior: url('/js/pie.htc')*/; /* учим IE border-radius */  }
#report-period-form-wrapper label { display: inline; float: none; }
.print input { border: none; border-bottom: 1px solid #000; text-align: center; background-color: transparent; }
.required { color: #FF3300; font-size: 12px; }
.form-item { margin-bottom: 5px; }
textarea { border: 1px solid #555; padding: 1px; }
strong { font-weight: bold; }

fieldset { border: 1px solid #000; padding: 10px; margin: 5px; }
label { padding-right: 5px; }

html fieldset {
  position:relative\0/;
}

html legend {
  position:relative\0/;
  top:-1.5em\0/; margin-bottom:-1.5em\0/;
}

#report-body table { width: 100%; }
th, td { border: 1px solid #999; padding: 5px; }
th { background-color: #59a4f2; color: #fff; padding: 7px; font-size: 16px; }
#print-wrapper th { background-color: #fff; color: #000; font-weight: bold; }
#print-wrapper #mf-watermark { position: absolute; z-index: 1; width: 100%; }
#print-wrapper #mf-watermark.pos-1 { display: table-cell; height: 100%; text-align: center; vertical-align: middle; margin-top: 20px;  }
#print-wrapper #mf-watermark.pos-1 img {position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;}
#print-wrapper #print-ex-header, #print-wrapper #ex-body, #print-wrapper #ex-footer, #print-wrapper .ext-parameters-wrapper { position: relative; z-index: 100; }
#print-wrapper table, #print-wrapper tr, #print-wrapper td, #print-wrapper div, #print-wrapper span {  background-color: transparent; }

tr.selectable:hover { cursor: pointer; background-color: #e8e8e8;  }
tr.deleted { background-color: #ffdede; }
tr.selectable.deleted:hover { background-color: #ffd3d3; }
.restore-td, .delete-td { display: block; width: 16px; height: 16px; margin: 0 auto; }
.restore-td { background-image: url('/images/plus.png'); }
.delete-td { background-image: url('/images/del.png'); }

a { color: #0000ff; }
a:hover { text-decoration: none; }

a.no-link { text-decoration: none; border: none; }

ul { list-style: disc outside; margin-left: 15px; }
li { margin: 0 0 5px 10px; }

#ajax-error-message { position: fixed; display: none; z-index: 88777; top: 1px; left: 1px; padding: 2px; background-color: #ffd4d4; border: 1px solid #cc0000; }

.message-wrapper { height: 58px; }
.message.error { background-color: #FEF7F6; color: #d52c28; border: 1px solid #F3C1B8; padding: 10px; margin-bottom: 10px; }
.menu { position: relative; }
.submenu { display: none; position: absolute; z-index: 100; border: 4px solid #ea0000; -moz-border-radius: 10px;	-webkit-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px; /*behavior: url('/js/pie.htc');*/ }
ul.submenu { list-style-type: none; margin: 0; }
.submenu li { padding: 0 7px; margin: 0; background-color: #FFF; }
.submenu li  .inner-content { border-bottom: 2px solid #000; padding: 7px 0; }
.submenu li.last .inner-content { border-bottom: none; }
.submenu li:hover { background-color: #e8e8e8; cursor: pointer; }

.cleardiv { clear: both; height: 1px; }
.write-line { border-bottom: 1px solid #000; }

#print-wrapper { width: 892px; font-size: 12px; line-height: 14px; }
.print { display: none; }
#print-wrapper .not-print { display: none; }
#print-wrapper .print { display: block; margin-bottom: 10px; }

.block-menu { padding: 10px; border: 3px solid #59A4F2; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px; behavior: url('/js/pie.htc'); }
.block-submenu { margin-left: 15px; }
.block-submenu a { font-size: 12px; /*line-height: 14px;*/ }

.header-block { background-color: #cfe6ff; }

.ui-datepicker-calendar th { font-size: 12px; }
.ui-dialog-content { line-height: 16px; }

.edit-button { display: block; width: 20px; height: 20px; float: left; background: url('/images/edit.png') no-repeat; margin: 0 5px; }
.del-button { display: block; width: 16px; height: 16px; float: left; background: url('/images/del.png') no-repeat; margin: 0 5px; }

.step { float: left; margin-right: 30px; padding-left: 30px; line-height: 25px; background: url('/images/1.png') no-repeat; font-size: 18px; }
.step.current { font-size: 20px; font-weight: bold; }
.step.num2 { background-image: url('/images/2.png'); }
.step.num3 { background-image: url('/images/3.png'); }
.step.next { color: #cbb1ff; }

.header { font-size: 22px; font-weight: bold; margin-bottom: 5px; }
.item { margin-bottom: 5px; padding-bottom: 3px; border-bottom: 1px dotted #000; }

.input-row { margin-bottom: 20px; }
.succes-save {
	padding: 10px;
	color: #005500;
	border: 1px solid #005500;
	background: #d7ffd7;
	margin-bottom: 20px;
}