/*
	Urheilukanava.fi
	Styles for main interface
*/

/*
html, body, table#main {
	height: 100%;
}
*/

body {
	margin: 0px;
	padding: 0px;
	background-color: #F9FCF1;
	
	background-repeat: no-repeat;
	background-position: left top;
}

html {
/*	overflow: -moz-scrollbars-vertical;	*/
}

body, td {
	font-family: "Trebuchet MS", Verdana;
	font-size: 14px;
}

td {
	vertical-align: top;
	text-align: left;
}

table#main {

}

/*--------------------------------------------
	HEADER
--------------------------------------------*/
td#header {
	border-right: 1px solid #D9DDD3;	
	border-top: 1px solid #D9DDD3;	
	background-repeat: no-repeat;
	background-position: right top;
	background-color: #FFF;
}

	td#header img.logo {
		padding: 50px 0px 0px 20px;
	}
	
	td#header span.banner {
		float: right;
		padding: 5px 10px 0px 0px;
	}

/*--------------------------------------------
	NAV
--------------------------------------------*/
td#nav {
	background-color: #006685;
	border-top: 1px solid #7C9A3F;
	border-right: 1px solid #7C9A3F;
/*	border-bottom: 1px solid #7C9A3F;*/
	
	vertical-align: bottom;
}
	

/*--------------------------------------------
	METABAR
--------------------------------------------*/
td#metabar {
	padding: 2px 5px 2px 20px;
	
	background-color: #F6F7F5;
	border-bottom: 1px dashed #97AB72;
	
	font-size: 10px;
	line-height: 12px;
}

td#metabar-hidden {
	padding: 0px;
	background-color: #7C9A3F;
	font-size: 1px;
	line-height: 1px;
}

	td#metabar span.right form {
		display: inline;
		margin: 0px;
		padding: 0px;
	}

	td#metabar span.right {
		float: right;
		text-align: right;
		
		color: #666666;
	}
	
		td#metabar span.right a {
			color: #666666;
			text-decoration: none;
		}
		
		td#metabar span.right a.spaced {
			margin-right: 1em;
		}
		
		td#metabar span.right a:hover {
			color: #6B8836;
			text-decoration: underline;
		}
		
			td#metabar span.right select {
				border: 1px solid #999999;
				padding: 0px;
				margin: 0px;
				height: 16px;
				
				font: 10px/10px "Trebuchet MS", Verdana;
				color: #666666;
				width: 100px;
			}
			
				td#metabar span.right select:hover {
					border: 1px solid #6B8836;
				}
				
				td#metabar span.right select:focus {
					color: #000;
				}

	td#metabar p.discreet {
		font-size: 10px;
		line-height: 11px;
		color: #999999;
		margin: 0px;
	}
	
		td#metabar p.discreet a {
			color: #6B8836;
			text-decoration: none;
		}
		
		td#metabar p.discreet a:hover {
			text-decoration: underline;
		}
		
	td#metabar h1 {
		font-size: 12px;
		font-weight: bold;
		color: #333333;
		margin: 0px;
		padding: 4px 0px 0px 0px;
	}
	
		td#metabar h1 a {
			color: #333333;
			text-decoration: none;
		}
		
		td#metabar h1 a:hover {
			text-decoration: underline;
		}

/*--------------------------------------------
	NOSTOT
--------------------------------------------*/
td#nostot {
	border-bottom: 1px solid #e8e8e8;
	background-color: #fafafa;
}

/*--------------------------------------------
	SIDEBAR
--------------------------------------------*/
td#sidebar {
	padding: 10px 0px 10px 0px;
	background-color: #D0DEB4;
	border-left: 1px solid #B4C39A;
	border-right: 1px solid #B4C297;
	border-bottom: 1px solid #B4C39A;
	
	text-align: center;
}

	td#sidebar a.banner img {
		margin-top: 10px;
	}

/*--------------------------------------------
	CONTENT SHELL
--------------------------------------------*/
td#content-shell {
	background-color: #FFF;
/*	height: 400px;*/
	border-bottom: 1px solid #e8e8e8;
	border-right: 1px solid #e8e8e8;
}

/*--------------------------------------------
	BANNER LEADERBOARD
--------------------------------------------*/
span.leaderboard img {
	margin: 5px 0 0 10px;
}

/*--------------------------------------------
	BANNER SQUARE
--------------------------------------------*/
span.square img {
	float: left;
	margin-left: 95px;
}

/*--------------------------------------------
	BANNER BOTTOM
--------------------------------------------*/
td#banner-bottom {
	text-align: center;
	padding: 4px;
	
	background-image: url('../imgs/bottom_banner_bg.jpg');
	background-repeat: no-repeat;
	background-position: center center;
	background-color: #FFF;	
}

/*--------------------------------------------
	BANNER TOWER
--------------------------------------------*/
td#banner-tower {

}

td#banner-tower img {
	margin-left: 10px;
}

/*--------------------------------------------
	AUX
--------------------------------------------*/
td#aux {
	padding: 5px 0px 0px 10px;
	background-repeat: no-repeat;
	background-position: left top;
}

	td#aux a {
		display: block;
		margin-top: 5px;
	}
	
	td#aux a.spaced {
		margin-top: 15px;
	}
	
/*--------------------------------------------
	FOOTER
--------------------------------------------*/
td#footer {
	padding: 2px 10px 2px 20px;
	border-top: 1px solid #B4C39A;
	border-bottom: 1px solid #B4C39A;
	background-color: #FFF;
	
	font-size: 10px;
	line-height: 11px;
	color: #6B8836;
}

	td#footer span.right {
		float: right;
		text-align: right;
	}

td#footer a {
	color: #6B8836;
	text-decoration: none;
}

	td#footer a:hover {
		text-decoration: underline;
	}


/*--------------------------------------------
	ELEMENTS
--------------------------------------------*/
a img {
	border: none;
}

img.colorbox,
table#content img.colorbox {
	border: 1px solid #CBCBCA;
}