img, table
{
	border: none;
}

hr
{
	border: none;
	border-top: 1px solid black;
	height: 0px;
	width: 95%;
}

th, .bold
{
	font-weight: bolder;
}

td.meeskondinfo
{
	vertical-align: top;
	padding-left: 15px;
}

td.newslist
{
	text-align: right;
	vertical-align: top;
}

.debug
{
	border: 1px solid darkgreen;
}

.debug > tr > td, .debug > tr > th, .debug > tbody > tr > td, .debug > thead > tr > th
{
	border: 1px solid orange;
}

.w100
{
	width: 100%;
}

.forms td
{
	vertical-align: top;
}

caption
{
	white-space: nowrap;
}

td, th
{
	border-color: #444444;
}

pre
{
	border: 1px solid navy;
	background-color: white;
	color: Black;
}

/* generic stuff ends*/

body, td, th, input, select, .tekst
{
	font-family: Tahoma;
	font-size: 12px;
	color: #5A6267;
}

@media print
{
	body, td, th, input, select, .tekst
	{
		color: black;
	}
}

th
{
	font-weight: bold;
	color: #4B688E;
}

h1, h2, h3, caption, .pealkiri
{
	font-weight: bold;
	color: #4B688E;
}

h1, caption, .pealkiri
{
	font-size: 14px;
}

h2
{
	font-size: 13px;
}

a
{
	color: #6F8EB7;
	text-decoration: underline;
}

a:hover
{
	text-decoration: none;
}

/* misc */

td.rightcontent *
{
	padding-left: 0;
	padding-right: 0;
}

td.rightcontent
{
	vertical-align: top;
	padding-top: 15px;
	padding-bottom: 15px;
	width: 130px;
	overflow: hidden;
}

td.contenttd
{
	padding: 2px 0 10px 0;
	vertical-align: top;
	min-height: 600px;
}

td.maintd
{
	border-top: 1px solid #737D84;
	background-image: url(../images/up1.png);
	background-repeat: no-repeat;
	background-color: white;
}

table.home
{
	width: 675px;
	table-layout: fixed;
	margin-left: auto;
	margin-right: auto;
}

@media print
{
	td.maintd
	{
		border-top: 1px solid black;
	}

	td.contenttd
	{
		width: 100%;
	}

	td.rightmenutd
	{
		display: none;
	}
}

table.w100
{
	width: 100%;
}

@media screen,projection
{
	body.body
	{
		background-color: #737D84;
		margin: 0 2px 4px 2px;
	}

	table.maintable
	{
		width: 980px;
		table-layout: fixed;
		margin-left: auto;
		margin-right: auto;
	}

	col.leftcol
	{
		width: 175px;
	}

	col.midcol
	{
		width: 675px;
	}

	col.rightcol
	{
		width: 130px;
	}
}

/* sisu pealkiri */

td.pealkiri
{
	padding-top: 15px;
	padding-bottom: 15px;
	padding-left: 5px;
	padding-right: 5px;
	font-size: 14px;
	font-weight: bold;
	color: #4B688E;
}

td.tekst
{
	padding-left: 5px;
	padding-right: 5px;
	padding-bottom: 15px;
}

/* right menu */

table.rightmenu
{
	width: 130px;
}

table.rightmenu td.spacer
{
	background-image: url(../images/punn1.png);
	background-position: 0px 4px;
	background-repeat: no-repeat;
	width: 14px;
	height: 17px;
}

table.rightmenu td.mitem
{
	text-align: right;
	width: 116px;
}

table.rightmenu td.mitem a
{
	color: #5A6267;
	text-decoration: none;
}

table.rightmenu td.mitem a:hover, table.rightmenu td.mitem a.selected
{
	color: #9ABCE9;
}

/* left menu */

td.leftmenu
{
	border-right: 1px solid #B7C6DA;
	padding-top: 51px;
	vertical-align: top;
	background-repeat: no-repeat;
	background-color: White;
	background-image: url(../images/leftmenu.png);
}

td.leftmenu .name
{
	position: relative;
	top: 0px;
	left: 0px;
}

td.leftmenu .name *
{
	position: absolute;
	top: -22px;
	left: 17px;
	font-size: 14px;
	color: #4B688E;
}

td.leftmenu table
{
	width: 174px;
}

td.leftmenu td.mitem,td.leftmenu td.smitem
{
	background-repeat: no-repeat;
	padding-right: 5px;
}

td.leftmenu td.mitem
{
	background-image: url(../images/punn1.png);
	background-position: 0px 4px;
	width: 157px;
	padding-left: 15px;
	height: 17px;
}

td.leftmenu td.smitem
{
	background-image: url(../images/punn2.png);
	background-position: 15px 7px;
	width: 147px;
	padding-left: 22px;
	height: 16px;
}

td.leftmenu td a
{
	font-size: 11px;
	text-decoration: none;
}

td.leftmenu td.mitem a
{
	color: #4B688E;
	font-weight:bold;
}

td.leftmenu td.smitem a
{
	color: #737D84;
}

td.leftmenu td.mitem a:hover, td.leftmenu td.mitem a.selected, td.leftmenu td.smitem a:hover, td.leftmenu td.smitem a.selected
{
	color: #9ABCE9;
}

/* footer */

td.footer
{
	background-color: White;
	background-image: url(../images/footer1.png);
	background-repeat: no-repeat;
	padding-left: 19px;
	padding-right: 19px;
	vertical-align: middle;
	text-align: center;
	height: 20px;
	font-family: verdana;
	font-size: 10px;
	color: #666666;
	border-top: 1px solid #737D84;
}

td.footer a, td.footer a:hover
{
	color: #666666;
	text-decoration: none;
}

td.footer b
{
	color: Red;
	font-weight: normal;
}

@media print
{
	td.footer
	{
		padding-left: 0px;
		padding-right: 0px;
		color: black;
		border-top: 1px solid black;
		text-align: left;
	}

	td.footer a, td.footer b
	{
		color: black;
	}

}

@media print
{
	.noprint
	{
		display: none;
	}
}

/* top home */

td.tophome
{
	width: 198px;
	padding: 0 5px 0 0;
	background-color: white;
}

td.tophome img
{
	height: 51px;
	width: 187px;
}

/* top otsi */

td.topotsi form
{
	display: inline;
}

td.topotsi
{
	width: 177px;
	padding: 0 10px 0 10px;
	background-color: white;
}

td.topotsi input.otsing
{
	border: 1px solid #737D84;
	height: 14px;
	width: 118px;
	background-color: #737D84;
	color: white;
	margin-top: 1px;
	vertical-align: top;
}

/* top menu */

td.topmenu table
{
	width: 565px;
}

td.topmenu
{
	background-image: url(../images/laine.png);
	background-repeat: no-repeat;
	background-position: right top;
	width: 565px;
	padding: 0 5px 0 10px;
	background-color: #4B688E;
}

td.topmenu td.mitem
{
	white-space: nowrap;
	text-align: center;
}

td.topmenu td.spacer
{
	height: 30px;
	padding-left: 13px;
	background-image: url(../images/joon.png);
}

td.topmenu a
{
	color: #FFFFFF;
	text-decoration: none;
}

td.topmenu a:hover, td.topmenu a.selected
{
	color: #9ABCE9;
}

/* keele valik */

td.lngvalik
{
	text-align: right;
	padding-right: 15px;
}

div.newsheadings
{
	padding: 22px;
	background-image: url(../images/newsbg.png);
	background-repeat: repeat-x;
	width: 522px;
	margin-left: 55px;
}

/* TODO: uuendada */

.gallupvoted
{
	width: 350px;
}

.gallupline
{
	background-color: #009900;
	color: White;
	text-align: right;
}

textarea
{
	width: 240px;
	height: 140px;
}

.searchbox
{
	width: 100px;
}
