* {margin: 0;}
html, body {height: 100%;}

body, td, th, tr, h1, p, h2, h3,input, textarea, option, select,a,div,span {
  font-family: verdana, arial, helvetica, sans-serif;
	line-height: 18px;
	
}

body, p, td, th, input, textarea, option, select {
  color: #464646;
	font-size: 11px;
	line-height: 18px;
}

body{
	font-size: 13px;
	background: #EBF5FF;
}

body, form{
	margin: 0px;
	padding: 0px;
}

a:hover.sort {
	color : #ffffff;
	text-decoration: underline;
}
a:active.sort {
	color : #ffffff;
	text-decoration: underline;
}
a,a:link,a:visited{
	color: #464646;
	text-decoration: none;
	cursor:pointer;
}
a:hover{
	text-decoration: underline;
	color:black;
	cursor:pointer;
}
a:active {
	color: #464646;
	text-decoration: underline;
	cursor:pointer;
}
a.hele{
	color: #FFFFFF;
	text-decoration: none;
}
a:hover.hele{
	text-decoration: underline;
	color:black;
}
a:active.hele {
	color: #636163;
	text-decoration: underline;
}

.button{
	display: inline-block;
	zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */
	*display: inline;
	vertical-align: baseline;
	margin: 0 2px;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font-size: 11px;
	font-family: verdana, Arial, Helvetica, sans-serif;
	padding: .38em 1.5em .4em;
	-webkit-border-radius: .5em; 
	-moz-border-radius: .5em;
	border-radius: .5em;
	color: #606060;
	border: solid 1px #b7b7b7;
	background: #fff;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ededed));
	background: -moz-linear-gradient(top,  #fff,  #ededed);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ededed');
}

.button:hover {
	text-decoration: none;
	background: #ededed;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#dcdcdc));
	background: -moz-linear-gradient(top,  #fff,  #dcdcdc);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dcdcdc');
}
.button:active {
	position: relative;
	top: 1px;
	color: #999;
	background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#fff));
	background: -moz-linear-gradient(top,  #ededed,  #fff);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#ffffff');
}


/* titlebar styles*/
table.titlebar {
	border: none;
}
tr.titlebar {
	background-color: #ffffff;
	border:none;
}
td.titlebar {
	color: #000000;
	font-weight : bold;
}
/* statusbar styles*/
table.statusbar {
	border: none;
	height: 25px;
	border-bottom:1px solid #464646;
	background:#ffffff;
}
.statusbar td{background:#ffffff;}

tr.statusbar {
	color: #00639c;
	height:24px;
	background-color: #ffffff;
	font-weight : bold;
}
/* statusbari lingi v�rvid*/
tr.statusbar a{
	color : #464646;
	text-decoration:none;
}
tr.statusbar a:hover{
	color : #464646;
	text-decoration:underline;
}

/*objektid>nimekiri raami*/
table {
	border : 1px solid #00639c;
}
tr.menu,tr.menu a,tr.menu a:link,tr.menu a:visited,tr.menu th {
	background-color : #464646;
	color : #ffffff;
}
TR.onselect {
	background-color : #9595c6;
}
TR.parity {
	background-color : #efefef;
}
TR.onmouse {
	background-color : #639ace;
}
table.noborder {
	border : 0px solid;
}
table.logintable {
	background-color: #ffffff;
	border : 1px solid #00639c;
	border-spacing : 0;
	margin-top:20px;
	-moz-border-radius-bottomright:5px;    /* radius for firefox */
	-moz-border-radius-topleft:5px;    /* radius for firefox */
	-webkit-border-top-left-radius:5px; /* radius for safari, chrome, etc */
	-webkit-border-bottom-right-radius:5px; /* radius for safari, chrome, etc */
}
.logintable td{padding:2px 5px;}
.logintable th{padding:5px 10px;color:#ffffff;}
.powered{
	margin-left:100px;
	font-size:11px;
	margin-top:2px;
}


table.leftmenutable {
	border : 1px solid #00639c;
	background-color:#FFFFFF;
	border-spacing : 5px;
	width : 170px;
	-moz-border-radius-bottomright:10px;    /* radius for firefox */
	-moz-border-radius-topleft:10px;    /* radius for firefox */
	-webkit-border-top-left-radius:10px; /* radius for safari, chrome, etc */
	-webkit-border-bottom-right-radius:10px; /* radius for safari, chrome, etc */
}
.leftmenutable td{
	padding: 0 3px;
	height:14px;
}
.leftmenuitem a:link,.leftmenuitem a{
	color:#F15D2F;
	
}
.leftmenuitem a:hover{
	color:#00639c;
}
.leftmenuitem .menutitle{
	color:#00639c;
}
.leftmenuitem h3{
	color:#00639c;
}

tr.menutab {
	background-color:#00639c;
	color : #fff;
	padding : 0px 4px;
}
TR.leftmenuitem {
	padding : 0px 4px 0px 4px;
}

TR.leftmenusubitem {
	padding : 0px 4px 0px 8px;
}
TABLE.maintable {
	margin-left: 10px;
	border : none;
	border-spacing : 0;
	padding : 0 0 0 0;
}

/*Teeb raami ümber sisu osa*/
TABLE.acttable {
	border : 1px solid #00639c;
	border-top : 3px solid #00639c;
	border-bottom: none; 
	width:100%;
}
TABLE.addacttable {
	border : 1px solid #00639c;
	border-top: none; 
	border-bottom: none;
}
TR.action {
	background-color : #DFE6EE;
}
TABLE.formtable {
	border : 1px solid;
	border-color : #00639c;
	background-color:#ffffff;
}

/*teeb üldise sisu raami �mber*/
TABLE.listtable {
	border : 1px solid #00639c;
	background-color:#ffffff;
}
td.listtable a{
	color : #464646;
	text-decoration:underline;
}

/*Vormivaate tabide värvid*/

table.tab {
	background-color:#00639c;
	border:0;
	border-color:#EBF5FF;
	border-bottom:none;
}


/*Teeb objektid tausta v�rvi*/
tr.tab,tr.tab td {
	background-color:#00639c;
	color:#ffffff;
	padding:0px 4px;
}
#listtab .tab,#listtab,#formtabs{
	background:transparent;
	border:0;
}
#listtab .tab td{
	background:#00639c;
	padding:3px 10px;
}

td.curtab {
	background-color:#00639c;
	color:#ffffff;
	padding:3px 4px;
	
	border:2px solid #EBF5FF;
	border-left:3px solid #EBF5FF;
	border-top:1px solid #EBF5FF;
	border-bottom:none;
}
TD.stab {
	background-color:#00639c;
	color:#e7e9ec;
	border-color:#e7e9ec;
	padding:3px 4px;
	border:1px solid #e1e1e1;
	border-top:7px solid #e7e9ec;
	border-right:none;
}
A.curtab {
	background-color:#00639c;
	color:#fff;
	padding:0px 4px;
	font-weight:bold;
	font-size:12px;
}
A:hover.curtab,A:hover.stab {
	color:#ffffff;
	text-decoration:none;
}
A.stab {
	background-color:#00639c;
	color:#dddddd;
	padding:0px 4px;
	font-weight:bold;
	font-size:12px;
}

.spaw2, .spaw2topframe, .spaw2frame, .spaw2maintoolbar, .spaw2toolbar, .spaw2statusbar, .spaw2status, .spaw2activetab, .spaw2tab, .spaw2editor, .spaw2modestrip {
	border : 0px solid;
}

/*Legendi ja fieldseti jaoks*/
legend{
	background:#F15D2F;
	border:1px solid;
	color:white;
	padding:2px 5px 2px 5px;
}
fieldset{
	border:1px solid #00639c;
	margin-top:10px;
}

/* input tabs
----------------------------------------- */
.itabs2{
	margin:0;
	padding:0;
	margin-top:5px;
	margin-bottom:-4px;
}
.itabs2 li{display:inline;list-style:none;}
.itabs2 li a{
	-webkit-border-top-right-radius:4px;
	-webkit-border-top-left-radius:4px;
	-moz-border-radius-topright:4px;
	-moz-border-radius-topleft:4px;
	border-top-right-radius:4px;
	border-top-left-radius:4px;
	font-size:12px;
	padding:5px 8px 5px 8px;
	cursor:pointer;
	color:#606060;
	text-decoration:none;
	margin:0 4px;
	display:block;
	float:left;
}
.itabs2 li.curtab a,.itabs2 li.stab a:hover{
	background:#dddddd;

}
.itabs2 li.stab a {
	background:#f5f5f5;
	border:1px solid #dddddd;
	border-bottom:none;
}