body {
    text-align: center;
    font-family: arial, verdana;
    background: #E6E6E6 url('bg.gif');
    color: #000000;
    font-size: 0.85em;
}

#header {
    height: 80px;
    padding: 183px 0px 0px 8px;
    background: url('../outa_header.png') no-repeat;
    text-align: left;
}

#container {
    text-align: left;
    width: 917px;
    margin: 0 auto;
    text-align: left;
}

#innerContainer {
    background: url('../contentTausta.png') repeat-y;
    padding: 1px 50px;
    width: 817px;
}

#content {
    width: 565px;
    float: left;
}

#sivupaneeli {
    float: left;
    font-size: small;
    line-height: 1.5em;
    padding-left: 30px;
    width: 220px;
}

div.clearBoth {
    clear: both;
}

A:link {
    color: #bb482e;
    text-decoration: none;
}

A:active {
    color: #bb482e;
    text-decoration: none;
}

A:visited {
    color: #bb482e;
    text-decoration: none;
}

A:hover {
    color: #FFC300;
}

.voitto A:link {
    text-decoration: none;
    color: #00A651;
}

.voitto A:visited {
    text-decoration: none;
    color: #00A651;
}

.voitto A:active {
    text-decoration: none;
    color: #00A651;
}

.voitto A:hover {
    text-decoration: underline;
    color: #FFC300;
}

.tasuri A:link {
    text-decoration: underline overline;
    color: #FFC300;
}

.tasuri A:visited {
    text-decoration: underline overline;
    color: #FFC300;
}

.tasuri A:active {
    text-decoration: underline overline;
    color: #FFC300;
}

.tasuri A:hover {
    text-decoration: underline;
    color: #818181;
}

.tappio A:link {
    text-decoration: underline overline;
    color: #C5593D;
}

.tappio A:visited {
    text-decoration: underline overline;
    color: #C5593D;
}

.tappio A:active {
    text-decoration: underline overline;
    color: #C5593D;
}

.tappio A:hover {
    text-decoration: underline;
    color: #FFC300;
}

.harmaa A:link {
    text-decoration: none;
    color: #818181;
}

.harmaa A:visited {
    text-decoration: none;
    color: #818181;
}

.harmaa A:active {
    text-decoration: none;
    color: #818181;
}

.harmaa A:hover {
    text-decoration: underline;
    color: #FFC300;
}

h1 {
    color: #818181;
    font-family: verdana, arial, sans-serif;
}

h2 {
    color: #818181;
    font-family: Verdana, Arial, sans-serif;
    font-weight: 700;
    font-size: 1.2em;
    margin-bottom: 0px;
}

h3 {
    color: #818181;
    font-family: verdana, arial, sans-serif;
    font-size: 1em;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 0px;
    margin-left: 00px;
    padding: 0px 0px 0px 0px;
}

#post {
    margin-bottom: 39px;
}

#post h2 {
    display: inline;
}

.date {
    color: #818181;
    font-size: 0.8em;
    display: inline;
    font-family: verdana, arial, sans-serif;
    font-weight: normal;
    margin-top: 0px;
    margin-bottom: 30px;
    margin-right: 0px;
    margin-left: 0px;
    padding: 0px 0px 0px 0px;
}

.harmaa {
    color: #818181;
    font-size: 1.1em;
    font-weight: bold;
}

.otteluohjelma td {
    font-size: 0.95em;
    padding-top: 2px;
    padding-right: 10px;
}

.otteluohjelma .pelipaikka {
    padding-right: 30px;
}

.otteluohjelma .aika {
    color: #bbb;
}

#sarjataulukko {
    border: 0 none;
    border-spacing: 0 4px;
    text-align: center;
}

#sarjataulukko a:link {
    text-decoration: none;
}

#sarjataulukko a:visited {
    text-decoration: none;
}

#sarjataulukko #team {
    text-align: left;
    padding-left: 5px;
}

#sarjataulukko #tarmo {
}

#sarjataulukko #tarmo td {
    background-color: #BB482E;
    color: white;
    font-weight: bold;
}

#sarjataulukko #tarmo td:first-child {
    -moz-border-radius: 5px 0 0 5px;
	-webkit-border-radius: 5px 0 0 5px;
	border-radius: 5px 0 0 5px;
}

#sarjataulukko #tarmo td:last-child {
    -moz-border-radius: 0 5px 5px 0;
	-webkit-border-radius: 0 5px 5px 0;
	border-radius: 0 5px 5px 0;
}

.ottelu {
    background: transparent;
    border-collapse: collapse;
}

.ottelu td {
    font-size: 0.95em;
    padding-right: 10px;
    padding-top: 2px;
}

.otsikot td {
    color: #818181;
    font-weight: bold;
    text-decoration: none;
}

.ottelu tr {
    cell-spacing: 0px;
    cell-padding: 0px;
}

.newRound td {
    border-top: 1px solid #000;
}

.legend {
    border: 1px double #b1b1b1;
    padding: 5px;
    width: 350px;
    color: #818181;
    margin-left: 35px;
    font-size: 0.9em;
}

.center {
    text-align: center;
}

.left: {text-align:left;
}

.right {
    text-align: right;
}

.pisteporssi td {
    padding-right: 15px;
}

.clearit {
    margin: 0;
    padding: 0;
    height: 0;
    clear: both;
}

/* SIVUPALKKI */
td.pisteet {
    text-align: right;
    padding-left: 5px;
    color: #818181;
}

.voitto {
    color: green;
}

.tasuri {
    color: yellow;
}

/* MENU BASED ON BUBPLE PLASTIC HORIZONTAL MENU */
.bubplastic.horizontal {
    height: 30px;
    margin: 0;
    padding: 0;
}

.bubplastic.horizontal ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bubplastic.horizontal ul li {
    float: left;
    margin: 0;
    padding: 0;
    background: transparent url(../images/menu_button_normal.png) top left no-repeat;
}

.bubplastic.horizontal ul li a {
    display: block;
    height: 30px;
    line-height: 30px;
    padding-left: 25px;
    padding-right: 25px;
    float: left;
    text-transform: uppercase;
    font-family: "Helvetica Neue", helvetica, "microsoft sans serif", arial, sans-serif;
    font-size: 0.75em;
    color: #FFFFFF;
    text-decoration: none;
}

.bubplastic.horizontal ul li a span.menu_ar {
    display: block;
    float: left;
    height: 22px;
    padding-top: 5px;
    padding-right: 25px;
    background: transparent url(../images/menu_button_normal.png) top left repeat-x;
    cursor: pointer;
}

/* END BUBBLE PLASTIC HORIZONTAL MENU */
/* TARMO HOVER */
.bubplastic.outa ul li a:hover, .bubplastic.outa ul li.highlight a {
    background: transparent url(../images/menu_button_highlight.png) top left no-repeat;
}

.bubplastic.outa ul li a:hover span.menu_ar, .bubplastic.outa ul li.highlight a span.menu_ar {
    background: transparent url(../images/images/menu_button__highlight.png) top left no-repeat;
}

/* TARMO ACTIVE */
.bubplastic.outa ul li a:active, .bubplastic.outa ul li.active a {
    background: transparent url(../images/menu_button_active.png) top left no-repeat;
}

.bubplastic.outa ul li a:active span.menu_ar, .bubplastic.outa ul li.active a span.menu_ar {
    background: transparent url(../images/images/menu_button_active.png) top left no-repeat;
}

/* ADMIN STYLES */
#adminLeft {
    float: left;
    width: 200px;
}

#adminLeft ul#actions {
    list-style-type: none;
    margin: 0;
}

#adminLeft ul#subAction {
    list-style-type: none;
    margin-left: 10px;
}

#adminRight {
    float: right;
    width: 580px;
}

input.short {
    width: 75px;
}

input.medium {
    width: 150px;
}

input.long {
    width: 300px;
}

form textarea {
    height: 200px;
    width: 100%;
}

#adminGoals > tbody > tr > td, #adminPenalties > tbody > tr > td {
    min-width: 316px;
    vertical-align: top;
}

#adminGoals, #adminPenalties {
    margin-bottom: 20px;
}

.statsGoal, .statsPenalty {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    background-color: #E6E6E6;
    border-radius: 10px;
    height: 110px;
    margin: 0 20px 10px 0;
}

.statsGoal td:first-child, .statsPenalty td:first-child {
    padding: 0 5px;
    text-align: right;
    white-space: nowrap;
}

.statsDelete {
    vertical-align: top;
    padding: 0 5px;
}

.deleteStatsEvent, .addGoal, .addPenalty {
    color: #BB482E;
    cursor: pointer;
    margin: 0;
}

.deleteStatsEvent:hover, .addGoal:hover, .addPenalty:hover {
    color: #FFC300;
}

/* MATCH REPORT */
.red {
    color: #bb482e;
}

.bold {
    font-weight: bold;
}

.periodReport {
    margin-top: 20px;
    border-spacing: 0;
}

.periodReport td {
    border-bottom: 1px solid #818181;
    font-size: 0.85em;
    width: 220px;
    padding: 0 5px;
}

.periodReport td.time {
    background-color: #E6E6E6;
    border-left: 1px solid #818181;
    border-right: 1px solid #818181;
    text-align: center;
    width: 60px;
}

.periodHeader td {
    border-bottom: 1px solid #bb482e;
    font-size: 0.95em;
    font-weight: bold;
}

.periodReport td.number {
    background-color: #bb482e;
    border: 1px solid #bb482e;
    color: white;
    text-align: center;
    width: 60px;
}

textarea {
    height: 400px;
    width: 400px;
}

/* SORTABLE STATS TABLE */
table.tablesorter {
    /*
     font-family:arial;
     background-color: #CDCDCD;
     margin:10px 0pt 15px;
     font-size: 8pt;
     width: 100%;
     text-align: left;
     */
}

table.tablesorter thead tr th, table.tablesorter tfoot tr th {
    /*
     background-color: #e6EEEE;
     border: 1px solid #FFF;
     font-size: 8pt;
     */
    color: #bb482e;
    font-weight: bold;
    text-decoration: none;
    padding: 4px;
}

table.tablesorter thead tr .header {
    background-image: url(../bg.gif);
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
    padding-right: 20px;
}

table.tablesorter tbody td {
    /*
     background-color: #FFF;
     color: #3D3D3D;
     */
    padding-right: 4px;
    /*vertical-align: top;*/
}

table.tablesorter tbody tr.odd td {
    background-color: #F0F0F6;
}

table.tablesorter thead tr .headerSortUp {
    background-image: url(../asc.gif);
}

table.tablesorter thead tr .headerSortDown {
    background-image: url(../desc.gif);
}

table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
    background-color: #BB482E;
    border-radius: 5px;
    color: white;
}
