/* \*/
* html #tlc, * html #trc {height: 1%;}
/* */

HTML,BODY,#wrapper	{
	min-height: 100%;
	height: 100%;
	width: 100%;
	font-size: 100.01%;
}
BODY, .main	{
	font: 12px Arial, Helvetica, sans-serif;
	padding:0px;
	margin:0px;
}
A	{
	color: #266b95;
}
A:hover	{
	color: #005598;
	text-decoration: underline;
	border-bottom: 1px solid #005598;
}
body table	{
	font-size: 12px;
}
a,a:hover	{
	text-decoration: none;
}
#hdr_hldr	{
	height: 60px;
	display: table-cell;
	empty-cells:show;
}
#hdr_pusher	{
	height: 60px;
	width: 95%;
	display: table-cell;
	empty-cells:show;
}

table#header	{
	background: #3d8ec5 url(../gfx/logo_2.jpg) no-repeat bottom right;
	height: 60px;
	width: 100%;
	vertical-align:bottom;
}
#header h1 a	{
	font-family: Georgia, 'Times New Roman', serif;
	font-style: italic;
	font-size: 20px;
	margin-left: 20px;
	color: #005598;
}
#header h1 a:hover	{
	color: #fff;
}
form	{
	padding: 0;
	margin: 0;
}


#header_f	{
	display:table-cell;
	background-color: #005598;
	height: 20px;
	line-height: 25px;
	text-indent: 25px;
	color: #fff;
	padding-right: 20px;
	vertical-align: middle;
}
#srch_td	{
	float:right;
	height: 20px;
	text-align: right;
	background-color: #005598;
	padding: 2px;
	white-space: nowrap;
	display:inline;
	vertical-align:bottom;
	/*border: 1px solid #f00;*/
}

#navbar	{
	background: transparent url(../gfx/shadow_bg.jpg) repeat-x left top;
	height: 20px;
	text-indent: 25px;
	color: #000;
	padding-top: 5px;
}
#header_f a, #header_f a:visited {
	color: #dae4e6;
	font-weight: bold;
}
#header_f a:hover {
	color: #fff;
	font-weight: bold;
}

#header_f a.active {
 color: #fff;
 text-decoration:underline;
}

#footer	{
	font-size: 12px;
	height: 20px;
	background-color: #3d8ec5;
	text-align: center;
}
#left_menu	{
	text-align:left;
	width: 200px;
}

#button {
	width: 235px;
	/*border-right: 1px solid #000;*/
	padding: 0 0 0 0;
	margin-bottom: 0;
	background: url(../gfx/menu_bg.jpg) bottom right;
	padding-bottom: 9px;
}

#button ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border: none;
}
		
#button li {
	border-bottom: 1px solid #90bade;
	margin: 0;
}

#button li a	{
	width: 100%;
	text-indent: 10px;
	display:block;
	height: 20px;
	line-height: 20px;
	text-decoration:none;
	color: #dae4e6;
	background: #73727A url(../gfx/li_bg.jpg) repeat-y left top;
	border-bottom: 1px solid #000;
}
#button li li a {
	text-indent: 20px;
}
#button li ul li ul li a {
	text-indent: 30px;
}
#button li a:hover, #button li a.active {
	color: #fff;
	background: #005598;
}
#content	{
	display:table-cell;
	vertical-align:top;
	padding-left: 10px;
	height: 99%;
}
tr.content_top	{
	height: 25px;
	vertical-align:top;
}
td#main_content {
	display: table-cell;
	vertical-align:top;
	width: 800px;
}
table.content	{
	height: 100%;
}
h1,h2,h3,legend, .h1, .h2, .h3	{
	color: #005598;
}
h1, .h1	{
	font-size: 20px;
}
h2, .h2	{
	font-size: 16px;
}
h3, .h3	{
	font-size: 12px;
}
label	{
	text-align:right;
	padding-right: 5px;
	white-space: nowrap;
}
label.inline	{
	width: auto;
	white-space: nowrap;
}
/*
label	{
	float:right;
}*/

#search_form label	{
	color: #c9dfef;
}
td#parem_paan	{
	text-align: right;
	float:right;
	vertical-align:top;

}

th	{
	color: #fff;
	font-size: 13px;
	background-color: #005598;
}

#parem_paan .box_content tr td {
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	padding: 5px;
}

input,select	{
	border-top: 1px solid #005598;
	border-left: 1px solid #005598;
	border-bottom: 1px solid #c9dfef;
	border-right: 1px solid #c9dfef;
	background-color: #C9DFEF;
}

textarea	{
	border-top: 1px solid #3d8ed2;
	border-left: 1px solid #3d8ed2;
	background-color: #C9DFEF;
	border-bottom: 2px solid #fff;
	border-right: 2px solid #fff;
}

input.submit	{
	border-bottom: 1px solid #005598;
	border-right: 1px solid #005598;
	border-top: 1px solid #c9dfef;
	border-left: 1px solid #c9dfef;
	background-color: #3d8ec5;
	color: #fff;
	font-size: 11px;
}
input#query	{
	font-size: 11px;
	color: #fff;
	border-top: 1px solid #005598;
	border-left: 1px solid #005598;
	border-bottom: 1px solid #c9dfef;
	border-right: 1px solid #c9dfef;
	width: 100px;
	background: #3d8ec5 url('../gfx/icon_magnifier.gif') no-repeat scroll right;
	padding: 2px;
}




.box
	{
	position: relative;
	margin-left: auto;
	margin-right: auto;	
	margin-top: 5px;
	padding: 0;
	text-align: left;
	/*width:80%;				/* <-- use this to tie width to viewport size */
	width: 210px;				/* <-- use this for a set width */
	background-color: #eeeeee;
}
 	
.box_content
	{
	padding:5px;
	}

.box_content h1
	{
	color:#0354c2;
	font-weight: bold;
	font: 12px Arial, Helvetica, sans-serif;
	}
		
.box_content p
	{
	color:#3b3b3b;
	font: 12px Arial, Helvetica, sans-serif;
	}
		
/* ---=== border code follows ===--- */
/*
	tlc = top left corner
	trc = top right corner
	blc = bottom left corner
	brc = bottom right corner
	lb = left border
	rb = right border
	tb = top border
	bb = bottom border 
*/

.tlc, .trc, .blc, .brc
	{
	background-color: transparent;
	background-repeat: no-repeat;
	}

.tlc
	{
	background-image:url(../gfx/round/tlc.gif);
	background-position: 0% 0%;
	}

.trc
	{
	background-image:url(../gfx/round/trc.gif);
	background-position: 100% 0%;
	}
	
.blc
	{
	background-image:url(../gfx/round/blc.gif);
	background-position: 0% 100%;
	}

.brc
	{
	background-image:url(../gfx/round/brc.gif);
	background-position: 100% 100%;
	}

.tb, .bb
	{
	background-color: transparent;
	background-repeat: repeat-x;
	}
			
.tb
	{
	background-image:url(../gfx/round/tb.gif);
	background-position: 0% 0%;
}

.bb
	{
	background-image:url(../gfx/round/bb.gif);
	background-position: 50% 100%;
}
	
.rb
	{
	background-image:url(../gfx/round/r.gif);
	background-position: 100% 0%;
	background-repeat: repeat-y;
}

.lb
	{
	background-color: #dae4e6;
	background-image:url(../gfx/round/l.gif);
	background-position: 0% 100%;
	background-repeat: repeat-y;
}

table.query	{
	background-color: #005598;
}
.query th	{
	white-space: nowrap;
	border:none;
}
.query th a	{
	color:#dae4e6;
	display:block;
	border:none;
}
.query tr.dir td a,.query tr.dir_ td a	{
	display:block;
	color: #000;
	border-bottom: none;
}
.query tr.dir td a:hover,.query tr.dir_ td a:hover {
	display:block;
	color: #000;
	border-bottom: none;
}
.query td.footer a	{
	color:#dae4e6;
	display:inline;
}
table.query td.footer	{
	color: #dae4e6;
	text-align: center;
}

.dir td	{
	white-space:nowrap;
	padding: 2px;
	background-color: #c9dfef;
}
.dir_ td	{
	white-space:nowrap;
	padding: 2px;
	background-color: #dae4e6;
}
p.loe	{
	text-align:right;
}

input.date,td.date	{
	text-align: center;
}

td.nr,input.nr	{
	text-align:right;
}
td.firmad	{
	background-color: #eee;
	border-bottom: 1px solid #ccc; 
	border-right: 1px solid #ccc; 
	padding: 10px;
}
.red, .error	{
	color: #f00;
}

.green {
	color: green;
}

.blue {
	color: blue;
}

table#koolitus_detail	{
	width: auto;

}
.right	{
	text-align:right;
}
table#koolitus_detail .right	{
	font-weight: bold;
}

ul.toimumised	{
	list-style: none;
	margin: 0;
	padding: 0;
	border: none;
}
div.clearer {
	clear: left;
	line-height: 0; 
	height: 0;
}
fieldset .fieldset_table	{
	float:none;
	display:block;
	width: auto;
	inherit: none;
}
.fieldset_table tr td	{
	display:table-cell;
	empty-cells: show;
}
.fieldset_table tr td label	{
	/*float:right;*/
	display:block;
	text-align:right;
}
fieldset.auto_clear	{
	clear:both;
	width:auto;
}
.header_title {
 font-family: Arial, Helvetica, sans-serif;
 font-size: 20px;
 margin-left: 20px;
 color: #FFFFFF;
}