* { margin: 0; padding: 0; }

html {
	height: 100%;
}
body {
	height: 100%;
	background: #CCCCCC url(img/bg.gif) repeat-y 50% 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 62.5%; /* Fontille 10 pikselin pohja */
	}
#wrap {
	position: relative;
	min-height: 100%;
	}
* html #wrap {
	height: 100%;
}

h1 { /* H1-otsikko on vain hakukoneita ja tekstipohjaisia selaimia varten */
	display: none;
	}
h3 {
	font-size: 1.4em;
	text-transform: uppercase;
	font-weight: bold;
	color: #093063;
	margin-bottom: 10px;
	}

.clear {
	visibility: hidden;
	height: 0;
	border: 0;
	clear: both;
	}
	

a {
	color: #ff5400;
	text-decoration: none;
	}


img.left {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
	border: 0;
	}
img.right {
	float: right;
	margin-left: 10px;
	margin-bottom: 10px;
	border: 0;
	clear: right;
	}
p.readmore {
	clear: both;
	}


/*****************************************\
\** SIVUN HEADERIN ja FOOTERIN RAKENNE ***/


#header {
	width: 100%;
	background: url(img/topbg.jpg) repeat-x;
	}
#header-logo {
	width: 100%;
	height: 215px;
	background: url(img/header2.gif) no-repeat 50% 0;
	}
#header-logo[id] {
	background: url(img/header2.png) no-repeat 50% 0;
	}
#header-wrap {
	width: 985px;
	margin: 0 auto;
	}
#footer {
	width: 945px;
	margin: 0 auto;
	padding: 0 20px;
	color: #666666;
	line-height: 12px;
	height: 20px;
	position: relative;
	margin-top: -20px;
	}
#footer a {
	color: #666;
	text-decoration: none;
	}
#footer a:hover {
	color: #333;
	text-decoration: underline;
	}
#footer a#top-link {
	float: right;
	position: relative;
	/* top: -12px; */
	}



/***********************\
\** SIVUN PÄÄVALIKKO ***/

#navigation {
	list-style: none;
	font-size: 1.4em;
	color: #fff;
	padding: 164px 0 0 10px;
	}
#navigation.navigation2 { font-size: 1.3em; }
#navigation li {
	float: left;
	margin-right: 5px;
	line-height: 38px;
	height: 38px;
	padding: 0 10px;
	}
#navigation li.links {
	float: right;
	margin-right: 20px;
	}
#navigation li.links select {
	width: 150px;
	}
#navigation a {
	color: #fff;
	text-decoration: none;
	}
#navigation li:hover {
	background-color: #0c3977;
	}
#navigation li.active {
	background: url(img/naviactive.gif) no-repeat 50% 100%;
	}




/*****************************\
\** SIVUN SISÄLLÖN RAKENNE ***/

#content {
	width: 945px;
	margin: 0 auto;
	font-size: 1.2em;
	padding-top: 5px;
	padding-bottom: 30px;
	}
#homenews {
	background: url(img/homenews-bg.gif) no-repeat bottom left;
	padding-bottom: 10px;
	margin-bottom: 15px;
	}
#homenews-main, #news-main, #teams-main {
	float: left;
	width: 670px;
	padding-right: 20px; 
	}
#news-main, #teams-main {
	border-right: 1px solid #C7C7C7;
	border-bottom: 1px solid #C7C7C7;
	min-height: 400px;
	}
#homenews-main h4 {
	font-size: 1.4em;
	margin-bottom: 10px;
	font-weight: bold;
	}
#homenews-more, #news-more, #teams-more {
	float: right;
	width: 230px;
	}
#homenews-more ul, #news-more ul, #teams-more ul {
	list-style: none;
	}
#homenews-more span {
	display: block;
	text-transform: uppercase;
	font-size: .8em;
	margin-bottom: 4px;
	}
#homenews li {
	margin-bottom: 15px;
	}
#news-more li, #teams-more li {
	margin-bottom: 5px;
	}
#homenews p {
	font-size: 1em;
	line-height: 20px;
	margin-bottom: 10px;
	}
.uutinen {
	margin-bottom: 30px;
	}
.uutinen p.date {
	font-size: 12px;
	color: #666666;
	margin-bottom: 5px;
	}
.uutinen p {
	line-height: 1.6em;
	}
.uutinen ul {
	margin-left: 20px;
}
.uutinen li {
	margin-bottom: 10px;
	line-height: 1.6em;
}

#home-columns {
	background: url(img/home-columns.gif) no-repeat bottom left;
	padding-bottom: 10px;
	}
#home-columns p {
	line-height: 1.4em;
	margin-bottom: 10px;
	}
#home-columns .widecolumn {
	float: left;
	padding-right: 15px;
	width: 320px;
	margin-right: 20px;
	}
#home-columns .centercolumn {
	margin-right: 0;
	}
#home-columns .centercolumn ul {
	margin: 0 0 10px 15px;
	}
#home-columns .centercolumn ul li {
	margin: 0 0 2px 0;
	}
#home-columns .narrowcolumn {
	float: right;
	width: 230px;
	}

.ottelu-tulossa {
	position: relative;
	top: 15px;
	}
.ottelu {
	float: left;
	margin-bottom: 30px;
	}
.ottelu h5 {
	width: 100px;
	float: left;
	font-size: 1.2em;
	padding-top: 15px;
	}
.ottelu-teams {
	float: left;
	text-align: center;
	width: 200px;
	}
.ottelu span.tulos {
	font-size: 1.4em;
	font-weight: bold;
	position: relative;
	top: -15px;
	padding: 0 10px;
	}
.ottelu span.pvm {
	font-size: 1em;
	position: relative;
	top: -15px;
	padding: 0 8px;
	}
	

#veikkaus {
	float: right;

}

.ottelu-new {
	float: left;
	margin-bottom: 20px;
	border-right: 1px solid #c7c7c7;
	border-bottom: 1px solid #c7c7c7;
	padding: 0 0 20px 0;
	}
.ottelu-new h5 {
	width: 170px;
	font-size: 1.2em;
	padding-top: 15px;
	text-align: center;
	}
.ottelu-teams-new {
	float: left;
	text-align: center;
	width: 180px;
	}
.ottelu-new span.tulos {
	font-size: 1.4em;
	font-weight: bold;
	position: relative;
	top: -15px;
	padding: 0 10px;
	}
.ottelu-new span.pvm {
	font-size: 1em;
	position: relative;
	top: -15px;
	padding: 0 8px;
	}



#standings td {
	padding-right: 5px;
	}
	

/**********************************\
\** UUTISSIVUN SISÄLLÖN RAKENNE ***/


.uutinen h4 {
	font-size: 1.4em;
	margin-bottom: 5px;
	}
.uutinen h4.single {
	margin-bottom: 15px;
	}
.uutinen h4 a {
	color: #000;
	text-decoration: none;
	}
.uutinen p {
	font-family: 14px;
	margin-bottom: 15px;
	line-height: 20px;
	}
#news-more ul {
	margin-bottom: 30px;
	}
p.searchresults {
	font-size: 14px;
	margin-bottom: 20px;
	}
#pagenavi {
	padding-bottom: 10px;
	}



/*************************************\
\** OTTELUT-SIVUN SISÄLLÖN RAKENNE ***/

	
/*#played, #upcoming {
	width: 455px;
	}*/
#played {
	float: left;
	width: 510px;
	}
#upcoming {
	float: right;
	width: 400px;
	}
table.games {
	width: 100%;
	border-bottom: 1px solid #e7f0f5;
	}
table.games td {
	padding: 4px 3px;
	border-top: 1px solid #e7f0f5;
	}
table.games td.pvm, table.games td.teams, table.games td.score, table.games td.report {
	padding-right: 20px;
	}
table.games tr.alt td {
	background: #F7F9FD;
	}
table.games tr:hover td {
	background: #e7f0f5;
	}
table.games td.home {
	text-align: right;
	padding-right: 0;
	}
table.games td.preview, table.games td.report {
	text-align: center;
	}


/***********************************\
\** EDUSTUSJOUKKUE-SIVUN RAKENNE ***/

.pelaaja {
	float: left;
	border: 1px solid #E7F0F5;
	background: #F7F9FD;
	width: 435px;
	padding: 10px;
	margin: 0 15px 20px 0;
	min-height: 200px;
	}
.pelaaja h4 {
	font-size: 15px;
	margin-bottom: 5px;
	}
.pelaajapic {
	float: left;
	width: 150px;
	}
.pelaajainfo {
	width: 270px;
	float: right;
	}
.pelaaja td {
	padding-right: 5px;
	}
.pelaaja table {
	margin-bottom: 10px;
	}



/**************************\
\** SEURA-SIVUN RAKENNE ***/

.seura p {
	font-size: 1em;
	line-height: 1.5em;
	margin-bottom: 10px;
	}
	



/********************************\
\** MATERIAALIT-SIVUN RAKENNE ***/

table#files {
	width: 550px;
	float: left;
	border-bottom: 1px solid #e7f0f5;
	margin-right: 40px;
	}
table#files.admin {
	width: 100%;
	float: left;
	border-bottom: 1px solid #e7f0f5;
	margin-right: 0;
	}
table#files th {
	text-align: left;
	padding: 4px 3px;
	}
table#files td {
	padding: 4px 3px;
	border-top: 1px solid #e7f0f5;
	}
table#files td.icon {
	width: 20px;
	}
table#files tr.alt td {
	background: #F7F9FD;
	}
table#files tr:hover td {
	background: #e7f0f5;
	}

/**************************\
\** PALAUTE-SIVUN RAKENNE ***/

.palaute p {
	font-size: 1em;
	line-height: 1.5em;
	margin-bottom: 10px;
	}
#palaute {
	width: 550px;
	float: left;
	}

#palaute label {
	float: left;
	display: block;
	width: 100px;
	}
#palaute p {
	clear: both;
	}
#palaute input {
	width: 400px;
	}
#palaute textarea {
	width: 400px;
	margin-bottom: 10px;
	}
#palaute button {
	position: relative;
	left: 100px;
	}





/************************\
\** GALLERIAN RAKENNE ***/

#galleries {
	float: left;
	width: 670px;
	padding-right: 20px; 
	border-right: 1px solid #C7C7C7;
	border-bottom: 1px solid #C7C7C7;
	min-height: 300px;
	}
#galleryside {
	float: right;
	width: 230px;
	}
#galleryside ul {
	list-style: none;
	margin-bottom: 25px;
	}
#galleryside li {
	margin-bottom: 5px;
	}
#albums {
	margin-top: 20px;
	}
.album {
	width: 300px;
	float: left;
	background: #f7f9fd;
	padding: 10px;
	border: 1px solid #e7f0f5;
	color: #5a5a4b;
	margin: 0 10px 10px 0;
	}
.album h4 {
	font-size: 1.2em;
	}
.album .thumb {
	width: 85px;
	float: left;
	padding-right: 10px;
	}
.album .thumb img {
	border: 0;
	}
.album .albumdesc p {
	padding-top: 10px;
	}
.disabled_nav {
	display: none;
	}
ul.pagelist {
	list-style: none;
	}
ul.pagelist li {
	float: left;
	margin-right: 10px;
	}
#images {
	margin-top: 30px;
	}
#images .image {
	float: left;
	width: 105px;
	margin-right: 10px;
	}
#images .image img {
	border: 0;
	}
#images .image .imagethumb a {
	display: block !important;
	width: 85px;
	padding: 10px;
	}
#images .image .imagethumb a:link {
	background: #f6f6f6;
	border: 1px solid #e6e6e6;
	}
#images .image .imagethumb a:visited {
	background: #fcfcfc;
	border: 1px solid #f8f8f8;
	}
#images .image .imagethumb a:hover {
	background: #f3f3f3;
	border: 1px solid #cccccc;
	}
#image {
	padding: 10px 0 30px 0;
	}
#image img {
	border: 0;
	}
	

/*****************************\
\** HALLINTA-OSION RAKENNE ***/

#content.admin {
	background: url(img/homenews-bg.gif) no-repeat bottom left;
	padding-bottom: 10px;
	margin-bottom: 15px;
	}
#admin-login form label {
	float: left;
	width: 80px;
	display: block;
	text-align: right;
	padding-right: 5px;
	padding-top: 2px;
	}
#admin-login form p {
	clear: both;
	margin-bottom: 3px;
	}
#admin-login form button {
	position: relative;
	left: 85px;
	}
#admin-main {
	float: left;
	width: 670px;
	padding-right: 20px;
	padding-bottom: 20px;
	}
#admin-menu {
	float: right;
	width: 230px;
	padding-bottom: 20px;
	}
#admin-menu ul {
	list-style: none;
	border-top: 1px solid #CCCCCC;
	}
#admin-menu li {
	border-bottom: 1px solid #CCCCCC;
	padding: 3px;
	}
#admin-menu li.submenu {
	border-bottom: none;
	padding: 3px;
	}
#admin-menu li.active {
	font-weight: bold;
	}
#admin-menu li.logout {
	margin-top: 20px;
	border-top: 1px solid #CCCCCC;
	}
#admin-menu ul ul {
	border: 0;
	padding-left: 10px;
	padding-bottom: 10px;
	font-size: .9em;
	border-bottom: 1px solid #CCCCCC;
	}
#admin-main table.newsform label {
	display: block;
	padding-right: 10px;
	text-align: right;
	}
#admin-main table.newsform td.label {
	vertical-align: top;
	padding-top: 3px;
	}
#admin-main table.newsform td.fields {
	vertical-align: top;
	padding-bottom: 10px;
	}
#admin-main table.newsform input#title, #admin-main table.newsform input#name, #admin-main table.newsform input#www {
	width: 587px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	padding: 4px;
	border: 1px solid #CCCCCC;
	}
#admin-main textarea#excerpt {
	height: 200px;
	}
#admin-main textarea#news {
	height: 400px;
	}
#admin-main select#topic {
	width: 300px;
	}
#admin-main p.error {
	color: #CC0000;
	padding: 0 0 10px 0;
	font-weight: bold;
	}
#admin-main p.done {
	color: #000;
	padding: 0 0 10px 0;
	font-weight: bold;
	}
table.admin-newslist {
	width: 100%;
	}
table.admin-newslist td {
	padding: 2px;
	}
table.admin-gamelist td {
	padding: 5px 20px 5px 3px;
	}
table.admin-gamelist tr.alt td {
	background: #EFEFEF;
	}
table.admin-gamelist tr:hover td {
	background: #CCCCCC;
	}
#admin-gamedetails td {
	padding-right: 5px;
	padding-bottom: 5px;
	}
#admin-gamedetails select option {
	padding-right: 10px;
	}
#admin-gamedetails input {
	padding: 3px;
	}
table.playerform label {
	display: block;
	padding-right: 10px;
	}
table.playerform td {
	padding-bottom: 5px;
	}
table.playerform .input, table.playerform select {
	width: 300px;
	}



















#admin-main table.ykform label {
	display: block;
	padding-right: 10px;
	text-align: right;
	}
#admin-main table.ykform td.label {
	vertical-align: top;
	padding-top: 3px;
	}
#admin-main table.ykform td.fields {
	vertical-align: top;
	padding-bottom: 10px;
	}
#admin-main table.ykform input, #admin-main table.ykform textarea {
	width: 517px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	padding: 4px;
	border: 1px solid #CCCCCC;
	}
#admin-main table.ykform textarea {
	height: 200px;
	}


table.kumppanit {
	width: 80%;
	border-bottom: 1px solid #e7f0f5;
	}
table.kumppanit td {
	padding: 4px 3px;
	border-top: 1px solid #e7f0f5;
	}
table.kumppanit td.pvm, table.kumppanit td.teams, table.kumppanit td.score, table.kumppanit td.report {
	padding-right: 20px;
	}
table.kumppanit tr.alt td {
	background: #F7F9FD;
	}
table.kumppanit tr:hover td {
	background: #e7f0f5;
	}
table.kumppanit td.home {
	text-align: right;
	padding-right: 0;
	}
table.kumppanit td.preview, table.kumppanit td.report {
	text-align: center;
	}
table.kumppanit td.muokkaa, table.kumppanit td.poista {
	width: 60px;
	}








form#liity { float: left; width: 600px; }
form#liity td { padding: 2px 10px 10px 0; vertical-align: top; }
form#liity input { position: relative; top: -2px; width: auto; width: 400px; padding: 2px; }
form#liity input#postinumero { width: 100px; }
form#liity input#toimipaikka { width: 285px; }
form#liity textarea { width: 400px; height: 200px; }





#subnavi {
	
	width: 945px;
	height: 25px;
	margin: 0 auto;
	font-size: 1.2em;
	border-bottom: 1px solid #ccc;
	margin-bottom: 10px;


}


#subnavi ul { list-style: none; }
#subnavi li { float: left; margin-right: 15px; }


#kumppanit td { vertical-align: top; padding-right: 20px; padding: 20px 20px 20px 0; border-bottom: 1px solid #ccc; width: 700px; }
#kumppanit td.kuva { width: 200px; }