
body
{
	background-image: url('images/backgroundnet.png');
	background-color: #333333;
	background-repeat: repeat-x;
	background-attachment: fixed;
	background-position: bottom left;
	color: white;
	font-family: "Verdana" sans-serif;
	font-size: medium;
}

body.mainbody
{
	margin: 0;
	font-size: small;
	text-align: center;
	height: 100%;
}

body.mceContentBody
{
	text-align: left;
        background-color: #1d50a0;
        background-image: none;
        background-repeat: repeat-x;
}

table.tcwAdminBar
{
	position: static;
	margin: 0;
}

html
{
	height: 100%;
}

img
{
	border: 0;
}

p
{
	margin: 7px;
	margin-left: 10px;
}

a
{
	color: #ff9933;
}

a:hover
{
	text-decoration: none;
	color: white;
}

h1, h2, h3, h4, h5, h6
{
	color: #ff9933;
	margin: 5px;
	margin-left: 7px;
	padding: 5px;
	/* padding-left: 0; */
	/* margin-left: 0; */
}
h1 {
	font-size: large;
}
h2 {
	font-size: medium;
	border-bottom: 1px solid #999999;
}
h3 {
	font-size: normal;
}


#layoutTable
{
	width: 849px;
/*	width: 990px; MUUTETTU MAINOKSET */
	height: 100%;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	
	text-align: left;
	border-collapse: collapse;
}

#layoutTable td.topLayoutCell
{
	border: 1px solid white;
}

#contentRow
{
	height: 100%;

	vertical-align: top;
}

#menuCell
{
	padding: 0;
	margin: 0;
	width: 180px;
	height: 239px;
	background-color: white;
	vertical-align: top;
}

#menuCell .tcwHierarchy
{
	padding: 0;
	margin: 0;
	list-style-position: inside;
	list-style-image: url('images/pixarrow_white.gif');
	text-align: left;
	vertical-align:middle;
}

#menuCell div.tcwHierarchyMenu
{
	margin: 0;
	padding: 10px;
	padding-left: 15px;
	background-color: #333333;
	background-image: url('images/blackgrad.png');
	background-repeat: repeat-x;
}

#menuCell .tcwHierarchyItem
{
	margin: 0;
	padding: 2px;
	padding-left: 5px;
}

#menuCell a
{
	font-family: "Verdana" sans-serif;
	font-size: 9px;
	font-weight: bold;
	text-decoration: none;
}

#menuCell img#menubottom
{
	border-top: 1px solid #516593;
}

#menuCell img#menutop
{
	display: block;
}

#atecoLogo
{
	color: #333333;
	font-size: small;
	padding: 8px;
	padding-top: 20px;
	background-image: url('images/whitegrad.png');
	background-repeat: repeat-x;
}

#atecoLogo img
{
	padding-top: 10px;
	padding-left: 50px;
}

#contentWrapper
{
	width: 489px;
	font-size: small;
	background-color: #1d50a0;
	background-image: url('images/bluegrad.png');
	background-repeat: repeat-x;
}

.frontpagecontent
{
	padding: 0;
}

.innerpagecontent
{
	vertical-align: top; /*Opera fix*/
	padding-top: 5px;
	padding: 10px;
}

#contentWrapper p
{
	line-height: 1.5em;
}

#infoCell
{
	width: 180px;
	height: 519px;
	background-color: #333333;
	padding: 0;
	margin: 0;
	vertical-align: top;
}

.info {
	background-color: #333333;
	background-image: url('images/blackgrad.png');
	background-repeat: repeat-x;
	border-bottom: 1px solid white;
	padding: 0;
	padding-bottom: 15px;
	font-size: x-small;
	text-align: center;
}

.info h3 {
	font-size: small;
	font-family: Arial;
}


.info table {
	margin-left: auto;
	margin-right: auto;
}

#nexthomegame table
{
	text-align: center;
	padding: 3px;
}

#nexthomegame .teamlogo img
{
	display: block;
}

.pastmatch
{
	margin-bottom: 10px;
}

.pastmatchdate
{
	display: block;
}

.pastmatchresult, .pastmatchteams
{
	font-weight: bold;
}

#newsheaderwrapper td
{
	vertical-align: top;
	width: 50%;
}

.newsheaders
{
	margin-bottom: 0px;
}

.newsheaders h1
{
	font-size: medium;
	text-decoration: none;
	padding: 0;
        border-bottom: 1px solid #999999;
}

.newsheaders h1 a
{
	text-decoration: none;
	color: inherit;
	font-family: Arial;
}

.newsheaders .tcwNewsHeaderItem
{
	padding: 0 0 0 0;
	margin-left: 10px;
}

.newsheaders .tcwNewsHeaderItem a
{
	color: white;
	font-size: x-small;
	font-weight: normal;
        padding: 0;
        margin: 0;
}

.newsheaders .tcwNewsHeaderItem a:hover
{
	color: #6699ff;
}

.newsheaders .tcwNewsHeaders_date
{
	display: block;
	font-size: x-small;
	color: #aaaaaa;
	margin: 0;
	margin-top: -3px;
	margin-left: 10px;
}

#infocell table
{
	width: 100%;
	border-collapse: collapse;
	padding: 0;
	margin: 0;
}

#upperSponsorCell
{
	width: 850px;
	height: 45px;
	background-color: white;
}


#sponsorCell
{
	padding: 6px;
	text-align: center;
	width: 141px;
	height: 648px;
	background-color: white;
        vertical-align: top;
}

#sponsorCell img
{
	margin-bottom: 2px;
}

#sponsorCell img#mestislogo
{
	margin-top: 0px;
	margin-bottom: 20px;
}

#sponsorCell div#sponsorWrapper
{
	height: 95%;
	border-left: 1px solid #999999;
	padding: 4px;
	padding-top: 2px;
	margin-top: 2px;
}

#bottomCell
{
	background-color: white;
}


#pageHeader
{
	height: 127px;
	background-color: #f3911c;
	background-image: url('images/header.png');
	background-repeat: no-repeat;
	vertical-align: bottom;
}

#pageHeader td
{
	padding: 0;
}

#toplinks
{
	position: relative;
	bottom: 0;
	left: 0;
	margin-left: 30px;
	margin-bottom: 5px;
	margin-top: 102px;
}

#toplinks a
{
	color: #333333;
	font-size: small;
	font-weight: bold;
	text-decoration: none;
	margin-left: 20px;
}

#toplinks a:hover
{
	color: white;
}

#frontpageimage
{
	border-bottom: 1px solid white;
}

#frontpageimage img
{
	margin: 0;
	padding: 0;
	margin-bottom: -3px;
}

#breadcrumb
{
	padding-bottom: 3px;
}

#breadcrumb a
{
	font-family: "Verdana" sans-serif;
	color: #6699cc;
	font-size: 10px;
	text-decoration: none;
	margin-left: 5px;
	margin-right: 3px;
}

#breadcrumb a:hover
{
	color: #cccccc;
}

#innerContentWrapper
{
	border-top: 1px dashed #999999;
}

#copyrights
{
	font-family: "Verdana" sans-serif;
	margin-top: 10px;
	text-align: center;
	color: #999999;
	font-size: 10px;
}

#copyrights img
{
	margin-bottom: 15px;
}

#copyrights a
{
	color: #999999;
	text-decoration: none;
}

/*.tcwManagementBar_tools a.tcwNodeLink
{
	margin-bottom: 0px;
	margin-top: 0px;
}*/

div.tcwManagementBar
{
	height: 4em;
}
/*.tcwManagementBar_tools a.tcwNodeLink_current,
.tcwManagementBar_tools a.tcwNodeLink_current:hover
{
	margin-bottom: 0px;
}*/



/* Calendar overrides */

.tcwCalendar a.tcwNodeLink
{
	color: #333333;
	text-decoration: underline;
}

.Kuvakehys IMG {
   border: 1px solid #a7a7a7;
} 
.tcwCalendar {
	color: white;
	background-color: #2053A3;
	font-size: 12px;
	border-collapse: collapse;
}
.tcwCalendar th a.tcwNodeLink {
	color: white;
	text-decoration: none;
}
.tcwCalendar tbody td.tcwCalendarEmpty {
	background-color: #d2d2d2;
	border: 0;
}
.tcwCalendarWeek, th.tcwCalendarDay {
	background-color: #898989;
}
.tcwCalendar td.tcwCalendarDay p {
	padding-left: 5px;
}

/* dayview */
.tcwCalendar_container {
	background-color: white;
	color: black;
}
.tcwCalendar_container h1 {
	background-color: #d2d2d2;
	margin-bottom:0;
	border: none;
	margin:0;
	padding-top: 20px;
	padding-bottom:10px;
}
.tcwCalendar_container h2 {
	margin-top:0;
	border-top: 20px solid #d2d2d2;
	padding-left: 20px;
	padding-right: 20px;
}
.tcwCalendar_container h3 {
	padding-left: 20px;
}
.tcwCalendar_container div.dayView {
	padding-bottom:10px;
	padding-left: 20px;
}

.pelaajakuva {
	border-right: 20px solid white;
	margin-right: 10px;
}
