/* panel - extended by floats */

div.panel
{
	overflow: auto;
	_overflow: visible;		/* ie6 hack */
	_height: 1px;
}

div.panel_float
{
	overflow: auto;
	float: left;
	clear: left;
	width: 100%;
}

/* search */

div.search
{
	margin-bottom: 10px;
}

/* lists */

div.panel h1,
fieldset h1,
div.list h1,
div.list table th,
div.list table th,
div.list div.pages
{
	padding: 1px;
}

div.panel h1,
fieldset h1,
h1.panel_title,
div.list h1,
div.list h2,
.table_title
{
	margin: 5px 0 0 0;
	font-weight: bold;
	font-size: 11px;
	display: block;
	margin-bottom: 2px;
	float: left;
	clear: left;
}

h1.panel_title,
div.list h1.panel_title
{
	float: none;
}

div.list h2
{
	font-size: 11px;
}

div.list
{
	padding-left: 1px;
	padding-top: 1px;
}

div.scrolled_list
{
	padding: 1px 0 0 2px;
	overflow: auto;
}

div.list table
{
	width: 100%;
	border-left: 1px solid #94ba5a;
	border-top: 1px solid #94ba5a;
	clear: left;
}

div.list table th,
table.frm th
{
	font-size: 11px;
	text-align: left;
	font-weight: bold;
}

div.list table td,
div.list table th
{
	font-size: 11px;
	border-bottom: 1px solid #94ba5a;
	border-right: 1px solid #94ba5a;
	padding: 2px;
	vertical-align: top;
}

div.list table th.no_b
{
	border-bottom: none;
}

div.list table th ul
{
	left: 0;
	float: left;
	margin-top: 2px;
	margin-right: 2px;
}

div.list table th ul li.up,
div.list table th ul li.down
{
	width: 12px;
	height: 8px;
	float: left;
	background: no-repeat 0 0;
	cursor: pointer;
	font-size: 0;
}

div.list table th ul li.up a,
div.list table th ul li.down a
{
	display: block;
	width: 12px;
	height: 8px;
	font-size: 0;
}

div.list table th ul li.up
{
	background-image: url(/img/icons/uparrow1.gif);
}

div.list table th ul li.down
{
	background-image: url(/img/icons/downarrow1.gif);
}

div.list table th.cur,
div.list table td.cur,
table.frm th.cur,
table.frm td.cur,
div.list table th.num,
div.list table td.num,
table.frm th.num,
table.frm td.num
{
	text-align: right;
	padding-right: 4px;
	white-space: nowrap;
}

table.frm th.cur,
table.frm td.cur,
table.frm th.num,
table.frm td.num
{
	padding-right: 5px;
}

div.list table td.checkb,
div.list table th.checkb
{
	text-align: center;
	padding: 0;
	margin: 0;
	width: 40px;
	text-align: center;
}

div.list table td a.pdf
{
	display: block;
	float: left;
	width: 16px;
	height: 16px;
	background: url(../../img/icons/pdf.gif) 0 0 no-repeat;
}

div.list table td a:hover
{
	text-decoration: underline;
}

table.frm input.chk,
div.list table input.chk
{
	height: 13px;
	width: 13px;
	margin: 2px 0 0 0;
	padding: 0;
	border: none;
}

div.list table th.search
{
	margin: 0;
	padding: 0 2px 2px 2px;
}

div.list table th.search input,
div.list table th.search select
{
	margin: 0;
	background-color: #eee;
	border: none;
	width: 90%;
	display: block;
	float: left;
}

div.list table th.search input
{
	padding: 1px;
}

div.list table th.search input.date
{
	width: 70px;
}

div.list table th.search select option
{
	border: none;
}

div.list table tr.odd td,
table.frm tr.odd td
{
	background-color: #d4fa9a;
}

div.list table a
{
	color: #336699;
}

div.list table td.table
{
	padding: 0;
	border-right: none;
	border-bottom: none;
}

div.list table td.table table
{
	border: none;
}

table td.hr,
table tr.hr td
{
	border-bottom: 1px solid #000;
}

.permission {
	width: 30px;
	text-align: center;	
}

/* pages */

div.list div.pages
{
	font-size: 11px;
	height: 15px;
	margin-top: 1px;
	border: 1px solid #94ba5a;
}

div.list div.pages label.page
{
	float: left;
}

div.list div.pages ul
{
	float: left;
}

div.list div.pages ul li
{
	float: left;
	margin-left: 5px;
}

div.list div.pages ul li.current
{
	color: #000;
	font-weight: bold;
}

/* forms */

dl.f,
ul.f
{
	float: left;
	clear: left;
}

input.file_source,
.f input,
.f select,
.f textarea,
table.frm input,
table.frm select,
table.frm textarea,
input.txt
{
	font-size: 11px;
	border: solid 1px #94ba5a;
	margin: 0;
}

table.frm input,
table.frm select,
table.frm textarea,
.f input,
.f select,
.f textarea
{
	display: block;
	float: left;
	width: 160px;
	font-size: 11px;
	padding: 1px;
}

table.frm input.flat,
.f input.flat
{
	width: auto;
	padding-left: 5px;
	padding-right: 5px;
}

table.frm select,
.f select
{
	padding: 0;
}

.f textarea
{
	height: 40px;
}

table.frm label,
div.list table label,
.f label
{
	display: block;
	float: left;
	font-size: 11px;
}

table.frm label,
div.list table label
{
	margin-top: 2px;
}

dl.f dd label,
ul.f li label
{
	margin-left: 2px;
	margin-right: 2px;
	width: auto;
	text-align: left;
}

table.frm label.nl,
.f label.nl
{
	clear: left;
}

.f label.nw
{
	white-space: nowrap;
}

.f .req
{
	font-weight: bold;
}

.f input.chk
{
	border: none;
	width: 15px;
	padding: 0;
	height: 13px;
	margin: 2px 0 0 0;
}

dl.f dt input.chk
{
	float: right;
	margin-right: 20px;
}

.f input.datetime
{
	width: 130px;
}

.f input.dy
{
	width: 40px;
	margin-right: 2px
}

.f input.dm,
.f input.dd
{
	width: 20px;
	margin-right: 2px
}

.f a
{
	display: block;
	float: left;
	margin: 0 0 0 2px;
}

.f label a
{
	float: none;
	display: inline;
}

dl.f dt,
ul.f li
{
	float: left;
	clear: left;
	padding-top: 3px;
}

ul.f li
{
	white-space: nowrap;
}

dl.f dd
{
	float: left;
	padding-top: 3px;
}

input[disabled],
select[disabled],
textarea[disabled]
input[readonly],
select[readonly],
textarea[readonly]
{
	background-color: #eeeeee;
}

p.f
{
	float: left;
	clear: left;
	font-size: 11px;
	padding: 2px 0 2px 5px;
}

/* buttons */

ul.buttons
{
	width: 90%;
}

ul.buttons li
{
	float: left;
	margin-right: 2px;
	margin-top: 5px;
}

ul.buttons li.nl
{
	clear: left;
}

input.sl,
ul.buttons li input,
ul.buttons li a
{
	display: block;
	float: left;
	background-color: #94ba5a;
	color: #fff;
	cursor: pointer;
	border: 1px solid #728a4a;
	font-size: 11px;
	margin: 0;
}

input.sl,
ul.buttons
{
	float: left;
	clear: left;
	margin-top: 5px;
	margin-bottom: 2px;
}

input.sl,
ul.buttons li input
{
	height: 22px;
}

ul.buttons li a
{
	padding: 3px 8px 0 8px;
	height: 17px;
	text-decoration: none;
}

ul.buttons li a:hover
{
	text-decoration: none;
	color: #fff;
}

/* err, msg */

ul.err,
ul.msg,
label.msg
{
	margin-top: 10px;
}

table ul.err,
table ul.msg,
table label.msg
{
	margin-top: 0;
}

ul.err,
label.err,
input.err,
table td.err,
table th.err,
table td.err input,
.f .err
{
	color: #ff6c6c;
}

ul.msg,
label.msg
{
	color: #31af51;
}

label.msg,
label.err,
ul.err,
ul.err li,
ul.msg,
ul.msg li
{
	display: block;
	float: none;
}

div.panel > label.msg,
div.panel > label.err,
div.panel ul.err,
div.panel ul.err li,
div.panel ul.msg,
div.panel ul.msg li
{
	float: left;
	clear: left;
}

table.frm td label.err
{
	float: left;
	clear: none;
}

/* form table */

table.frm
{
	float: left;
	clear: left;
	margin-left: 1px;
	margin-top: 5px;
	border-left: 1px solid #94ba5a;
	border-bottom: 1px solid #94ba5a;
}

table.frm,
div.list table.frm
{
	width: 99%;
}

table.auto,
div.list table.auto
{
	width: auto;
}

table.frm td,
table.frm th
{
	border-right: 1px solid #94ba5a;
	border-top: 1px solid #94ba5a;
	padding: 2px 4px 2px 4px;
}

table.frm input.int
{
	border: none;
	background-color: transparent;
}

/* forms */

dl.f
{
	width: 320px;
	clear: left;
}

dl.f dt
{
	width: 130px;
}

dl.f dd
{
	width: 190px;
}

.f input,
.f select,
.f textarea
{
	width: 180px;
}

.f label
{
	width: 125px;
	text-align: right;
	float: left;
}

/* rf */

dl.rf dd
{
	width: 115px;
}

.rf input,
.rf select,
.rf textarea
{
	width: 95px;
}

.rf label
{
	width: 200px;
	text-align: right;
}

dl.rf dt
{
	width: 205px;
}

/* rfl */

dl.rfl
{
	width: 575px;
}

dl.rfl dd
{
	width: 100px;
}

.rfl dd input,
.rfl dd select,
.rfl dd textarea
{
	width: 95px;
}

.rfl dt label
{
	width: 455px;
	text-align: right;
}

dl.rfl dt
{
	width: 460px;
}

/* fl */

dl.fl
{
	width: 575px;
}

dl.fl dd
{
	width: 444px;
}

.fm input,
.fm select,
.fm textarea
{
	width: 100px;
}

.fl input,
.fl select,
.fl textarea
{
	width: 440px;
}

.f textarea.h
{
	height: 80px;
}

.f textarea.hh
{
	height: 160px;
}

dl.fxl
{
	width: 845px;
}

dl.fxl dd
{
	width: 710px;
}

.fxl input,
.fxl select,
.fxl textarea
{
	width: 690px;
}

label.has_title
{
	color: #5050f0;
}

/* f ml - medium */

dl.fml
{
	width: 405px;
}

dl.fml dd
{
	width: 274px;
}

.fml input,
.fml select,
.fml textarea
{
	width: 270px;
}

/* address */

.f input.addr_street
{
	width: 126px;
}

.f input.addr_no
{
	width: 21px;
	margin-left: 2px;
}

.f input.addr_postcode
{
	width: 45px;
}

.f input.addr_city
{
	margin-left: 2px;
	width: 129px;
}

/* address fml */

.fml input.addr_street
{
	width: 196px;
}

.fml input.addr_no
{
	width: 31px;
	margin-left: 2px;
}

.fml input.addr_postcode
{
	width: 45px;
}

.fml input.addr_city
{
	margin-left: 2px;
	width: 219px;
}

/* curr */

table.frm input.curr,
div.list table input.curr,
.f input.curr,
.f input.mini,
table.frm input.mini
{
	width: 80px;
	text-align: right;
}

table.frm select.mini,
.f select.curr,
.f select.mini
{
	width: 55px;
}

.f input.next,
.f select.next,
.f label.next,
table.frm input.next,
table.frm select.next,
table.frm label.next,
table.frm a.next
{
	margin-left: 2px;
}

table.frm td.cur input.curr
{
	float: right;
}

/* icons */

.f input.apply
{
	width: 160px;
}

.fml input.apply
{
	width: 250px;
}

.f a.apply
{
	display: block;
	float: left;
	width: 15px;
	height: 15px;
	background: url(../../img/check_ico.gif) 0 0 no-repeat;
	margin: 1px 0 0 2px;
}

/* date */

.f input.date_month, .f input.date_day, .f input.date_mm
{
	width: 21px;
	margin-left: 2px;
}

.f input.date_hh
{
	width: 21px;
	margin-left: 10px;
}

table.frm input.date_year,
.f input.date_year
{
	width: 45px;
}

table.frm input.date,
.f input.date
{
	width: 85px;
}

label.cal,
dl.f dd label.cal,
ul.f li label.cal
{
	width: 16px;
	height: 16px;
	background: url(../../img/icons/cal.gif) 0 1px no-repeat;
}

table th label.cal,
table td label.cal
{
	display: block;
	float: left;
	margin-left: 2px;
	margin-top: 0;
}

label.att,
dl.f dd label.att,
ul.f li label.att
{
	width: 16px;
	height: 16px;
	background: url(../../img/icons/attachment.png) 0 0 no-repeat;
}

table th label.att,
table td label.att
{
	display: block;
	margin-left: 2px;
	margin-top: 0;
	float: none;
}

label.done,
dl.f dd label.done,
ul.f li label.done
{
	width: 16px;
	height: 16px;
	background: url(../../img/icons/done.gif) 0 0 no-repeat;
}

table th label.done,
table td label.done
{
	display: block;
	margin-left: 2px;
	margin-top: 0;
	float: none;
}


/* sides */

div.side
{
	float: left;
}

div.first
{
	clear: left;
}

div.side fieldset,
div.side .f
{
	clear: left;
}

/* fieldsets */

fieldset
{
	display: block;
	float: left;
	border: 1px solid #dedede;
	padding: 10px 5px;
	padding-top: 0;
	margin: 5px 5px 0 0;
}

fieldset legend
{
	padding: 5px;
	margin: 0 0 0 5px;
	font-weight: bold;
}

fieldset.nl
{
	clear: left;
}

