/* kaikkien solujen tyyli */
TD {
	font: 12px arial;
	/* font-size: x-small; */
}

/* sisennetty marginaali */
p.margins {
        font: 12px Arial;
        margin-left: 20px;
        margin-right: 50px;
}

/* sisennetty marginaali */
p {
        margin-left: 20px;
        margin-right: 50px;
}

/* sisennetty esimuotoiltu */
pre {
        margin-left: 20px;
        margin-right: 50px;
}


/* otsikot */
h1, h2, h3, h4, h5 {
        margin-left: 20px;
        font-weight: bold;
        color: #263650;
        text-decoration: none;
}



/* menulinkit */
a.menu {
        font: 12px Arial;
        font-weight: bold;
        color: #263650;
        text-decoration: none;     
}

a.menu:visited {
        font: 12px Arial;
        font-weight: bold;
        color: #263650;
        text-decoration: none;
}

a.menu:hover  {
        font: 12px Arial;
        font-weight: bold;
        color: #FFFFFF;
        text-decoration: none;
}


/* alamenulinkit */
a.alamenu {
        font: 12px Arial;
        font-weight: bold;
        color: #263650;
        text-decoration: none;
}

a.alamenu:visited {
        font: 12px Arial;
        font-weight: bold;
        color: #263650;
        text-decoration: none;
}

a.alamenu:hover  {
        font: 12px Arial;
        font-weight: bold;
        color: #949DAA;
        text-decoration: none;
}

/* linkit */
a {
        font: 12px Arial;
        font-weight: bold;
        color: #263650;
        text-decoration: underline;     
}

a:visited  {
        font: 12px Arial;
        font-weight: bold;
        color: #465F8E;
        text-decoration: underline;
}

/* parittomien rivien tekstin ja linkkitekstin tyyli */
TR.odd, TR.odd A {
        color: #263650;
        /* font-weight: normal; */
        font-family: sans-serif;
        font-size: x-small;
}

TD.odd, TD.odd A {
        background-image: url(img/lista-tausta.png);
}


/* parillisten rivien tekstin ja linkkitekstin tyyli */
TR.even, TR.even A {
        color: #263650;
        /* font-weight: normal; */
        font-family: sans-serif;
        font-size: x-small; 
}

TD.even, TD.even A {
        background-image: url(img/lista-tausta-tumma.png);
}


/* syötekenttien ja -alueiden tyyli */
input.edit, textarea.edit {
	background: transparent;
	font: 12px Arial;
	margin-top: 5px;
	border-style: hidden;
}

/* alasvetovalikoiden tyyli */
select.edit {
        background-color: white;
        font: 12px Arial;
        margin-top: 5px;
        border-style: none;
}



/* syötealueiden tyyli, lisäys (vierityspalkin poisto) */
textarea.edit {
	scrollbar-3d-light-color: #F7F9FF;
	scrollbar-arrow-color: #F7F9FF;
	scrollbar-base-color: #F7F9FF;
	scrollbar-dark-shadow-color: #F7F9FF;
	scrollbar-face-color: #F7F9FF;
	scrollbar-highlight-color: #F7F9FF;
	scrollbar-shadow-color: #F7F9FF;
	border: 0; 
	overflow: hidden;
}

/* Listausten tyyli */
ul {
        list-style-image: url('./img/nelio-pieni.png');
	margin-top: 0;	/* JKu 2.11.2006 */
}


/* OMISTAJATIETOKANNAN TYYLIT */


/* Omistussuhteen esittäminen eri värein/tyylein */
/* Omistaa itse */
.owship1 {
        color: black;
}

/* Omistaa yhdessä toisen kanssa */
.owship2 {
        color: darkgreen;
}

/* Ei omista, mutta on haltija */
.owship3 {
        color: darkblue;
}

/* Omisti ennen */
.owship4 {
        color: darkgray;
}

table.dueltable {
	text-align: center;
	// font-family: Verdana;
	// font-weight: normal;
	font-size: 16px;
	color: #404040;
	width: 100%;	// 260px;
	background-color: #fafafa;
	border: 1px #d79900 solid;
	border-collapse: collapse;
	border-spacing: 0px;
}

table.dueltable td, table.dueltable td a {
	color: red;
        font-size: 16px;
	width: 33%;
        border: 1px;
	border-collapse: collapse;
	border-spacing: 0px;
}

table.loki, table.loki td {
	border: solid 1px gray;
	border-collapse: collapse;
	vertical-align: top;
}


table.ranking {
	/* border: 1px #d79900 solid; */
        white-space: no-wrap;
	border-collapse: collapse;
	border-spacing: 10px;
}

table.ranking th {
	/* border: 1px #d79900 solid; */
        font-size: 11px;
        border: 1px;
	text-align: left;
}

table.ranking td {
        font-size: 10px;
        border: 1px solid; */
	/* border-collapse: collapse; */
}

table.ranking td a, table.ranking td a:visited { 
        font-size: 10px;
        border: 1px;
	/* border-collapse: collapse; */
}

table.ranking td.win {
	color: green;
	text-align: right;
}

table.ranking td.lose {
	color: red;
	text-align: right;
}

/* Usein kysytyt kysymykset */
p.an {
        /* font-weight: bold; */
        color: #666666;
}

p.an {
        /* font-weight: bold; */
        color: #666666;
}

