
body {
	background: #7E99C2 url("./kuvat/tausta.jpg");
	background-repeat: repeat-x;
	background-position: 0 -20px;
	margin: 0;
	padding: 0;
	
	font-family: Arial, Helvetica, Sans-serif;
}

h1, h2, h3 {
	margin: 0;
	margin-bottom: 0.75em;
	
	padding: 0;
}

h1 {
	font-size: 1.4em;	
}

h2 {
	font-weight: normal;
	font-size: 1.15em;
	
	padding-bottom: 3px;
	border-bottom: 1px solid #c0c0c0;
}

h3 {
	font-size: 1em;
	margin: 0;
	margin-bottom: 0.5em;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.selflink {
	font-weight: bold;
}

.laatikko {
	width: 100%;
	
	margin-left: 5px;

	background: #ffffff;
	
	border: 1px solid #808080;
	border-right-color: #000000;
	border-bottom-color: #000000;
}

#kaikki {
	width: 950px;

	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
	
	padding-left: 10px;
	padding-right: 10px;
}

#asiakaare {
	/* padding-left: 192px; */
}

#logopalkki {
	background: url("./kuvat/logopalkki.png");
	background-repeat: no-repeat;

	width: 100%;
	height: 85px;
}

#infolaatikko, #infolaatikko-noscript {
	width: 382px;
	height: 64px;

	float: right;
	margin-top: 6px;
	margin-right: 20px;
	padding: 5px;

	color: #000000;
	font-family: Verdana, Helvetica, Sans-serif;
	font-size: 0.8em;
	text-align: center;
}

#infolaatikko a, #infolaatikko-noscript a {
	color: #000000;
}

#infolaatikko a:hover, #infolaatikko-noscript a:hover {
	text-decoration: none;
}

#infolaatikko p, #infolaatikko-noscript p {
	height: 60px;
	display: table-cell;
	vertical-align: middle;
}

#otsikko {
	border: 1px solid #cccccc;
	border-right-color: #787878;
	border-bottom-color: #787878;
	
	border-bottom-width: 0;

	background: #ffffff url("./kuvat/logotausta.jpg");
	background-position: bottom right;
	background-repeat: no-repeat;

	padding-left: 20px;

	/*height: 100px;*/
}

#otsikko img {

}

#valikkopalkki {
	margin-left: 5px;

	/*background: #3caf8d;*/
	background: #00a572 url("./kuvat/valipalkkitausta.png");
	background-position: bottom left;
	background-repeat: repeat-x;

	padding-right: 10px;

	min-height: 26px;

	border: 1px solid #004f2d;

	font-size: smaller;
}

#valikkopalkki ul {
	list-style-type: none;

	margin: 0;
	padding: 0;
}

#valikkopalkki li {
	float: left;
	padding-left: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
	color: #ffffff;
}

#valikkopalkki a {
	padding-left: 7px;
	color: #ffffff;
	height: 100%;
}

#valikkopalkki li > ul {
	visibility: hidden;
	display: block;

	width: 175px;

	position: absolute;
	padding: 0;
	margin-top: 5px;

	border: 2px solid #004f2d;
	border-top-width: 0;
	background-color: #4EAE92;
}

#valikkopalkki li > ul > li {
	text-align: left;
	
	float: none;
	display: block;
	
	margin: 0;
	padding: 0;
}

#valikkopalkki li > ul > li > a {
	display: block;
	padding-top: 3px;
	padding-right: 5px;
	padding-bottom: 3px;
}

#valikkopalkki li > ul > li > a:hover {
	background-color: #5588C6;
	text-decoration: none;
}

#valikkopalkki li > ul > li > ul {
	margin-top: -1.6em;
	margin-left: 170px;
	
	border-top-width: 2px;
	
	width: 400px;
}

#valikkopalkki li:hover > ul {
	visibility: visible;
}

#wikivalikko ul {
	float: right;
	list-style-type: none;
}

#wikivalikko li {
	color: #ffffff;
}

#wikivalikko li > ul {
	min-width: 100px;
	width: auto;
	
	margin-left: -50px;
}

#sivu {
	width: 170px;
	float: left;
}

#sivu img {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
}

#paavalikko {
	float: left;

	border: 0;
	background: none;
}

#haku {
	float: right;
	
	padding: 10px;
	margin-right: 10px;
}

#hakukentta {
	width: 150px;
}

#hakupainike {
	width: 50px;
}

#sisalto_ulko {
	width: auto;

	border-top-width: 0;

	background: #ffffff url("./kuvat/asiatausta.png");
	background-repeat: repeat-x;
}

#sisalto_sisa {
	padding: 13px;
	padding-top: 10px;
	
	line-height: 1.3em;
}

#sisalto_sisa table {
	width: auto;
}

#sisalto_sisa td {
	padding-right: 1em;
}

/* These are for the edit form. */
#wikiedit form {
	margin: 0px;
	width: 100%;
}

#wikiedit textarea {
	width: 100%;
}

.wikimessage {
	margin-top: 4px;
	margin-bottom: 4px;
	font-style: italic;
}

table.thumbtable {
	/* float: right; */
	clear: right;
}


/**********************/
/*    SIVUSISÄLTÖ     */
/**********************/

#sisalto_sisa ul {
	list-style-type: square;
	padding-left: 20px;
}

#sisalto_sisa ul > li > ul {
	list-style-type: disc;
	padding-left: 20px;
}

#uutiset li {
	padding-top: 10px;
	padding-left: 20px;
}

.uutinen {
	padding-top: 10px;
	padding-left: 50px;
	padding-right: 5px;
	padding-bottom: 10px;

	background: #ffffff url("./kuvat/ppesa-bullet.png");
	background-repeat: no-repeat;
	background-position: 5px 2px;
}

table.yhteystiedot {
	font-size: 0.8em;
	background: #FFFF99;
}

table.yhteystiedot th, table.yhteystiedot, td {
	padding: 2px;
}

table.kurssiajat td {
	padding-right: 50px;	
}

table.yhteystiedot2 {
	min-width: 75%;
}

table.yhteystiedot2 td {
	width: 50%;
}

.paikkoja_vapaana {
	font-weight: bold;
	color: #009900;
}

.kurssi_taynna {
	font-weight: bold;
	color: #990000;
}

table.ulkomaalaislinkki {
	width: 500px;

	border: 1px solid #e0e0e0;
	border-right-color: #c0c0c0;
	border-bottom-color: #c0c0c0;
	
	background: #FFFFBB;
	
	margin-bottom: 0.2em;
}

table.ulkomaalaislinkki th {
	width: 55px;
	margin: 0;
	padding: 0.1em;
}

table.ulkomaalaislinkki td {
	padding: 0.1em;
	padding-right: 0.5em;
}

table.ulkomaalaislinkki img {
	border: 1px solid #c0c0c0;
}

.thumbtd {
	padding-right: 0 !important;
	padding-left: 1em;
	
	background: #ffffff;	
}

.thumbtd img {
	border: 1px solid #CCCCCC;
	border-right-color: #787878;
	border-bottom-color: #787878;
}

.caption {
	display: block;

	background: #FFFFBB;
	border: 1px solid #CCCCCC;
	border-right-color: #787878;
	border-bottom-color: #787878;

	margin: 2px;
	margin-top: 0;

	padding: 0.2em 0.5em 0.2em 0.5em;

	font-size: 0.8em;
	line-height: 1.3em;
}

.thumblist {
	float: right;
	clear: right;
	
	background: #ffffff;
	
	margin: 2px;
	padding-left: 20px;
}

#osoitetiedot {
	background: #00a572 url("./kuvat/valipalkkitausta.png");
	background-position: bottom left;
	background-repeat: repeat-x;
	
	margin: 0;
	padding: 5px;
	padding-left: 10px;
	padding-right: 10px;
	
	color: #ffffff;
	
	font-size: smaller;
}

#uimahalli {
	/* border: 2px solid #c0c0c0; */
	border-collapse: collapse;
}

#uimahalli thead th {
	background: #00a572;
	color: #ffffff;
}

#uimahalli th {
	text-align: left;
	font-weight: bold;
	text-decoration: none;
}

#uimahalli th, #uimahalli td {
	min-width: 100px;
	/* border: 1px solid #c0c0c0; */
	padding: 5px;
}

.uimahalliraidoitus1 td, .uimahalliraidoitus1 th {
	background: #d0f0e0;
}

.uimahalliraidoitus2 td, .uimahalliraidoitus2 th {
	background: #eeffff;
}

#uimahalli tfoot td p {
	font-style: italic;
	padding: 10px;
	border-left: 5px solid #d0f0e0;
}

.hinnasto {
	margin-top: 1em;
	margin-bottom: 1em;

	width: 70% !important;
	border-collapse: collapse;
}

.hinnasto th {
	background: #00a572;
	color: #ffffff;
}

.hinnasto td, .hinnasto th {
	padding: 5px !important;
}

.hinnastoraidoitus1 td {
	background: #d0f0e0;
}

.hinnastoraidoitus2 td {
	background: #eeffff;
}

.hinnasto_nimi {
	width: 60%;
	text-align: left;
}

.hinnasto_hinta {
	width: 25%;
	text-align: right;
}

.hinnasto_lisatiedot {
	width: 15%;
	text-align: left;
}

.hinnasto tfoot td div {
	margin: 5px;
	margin-left: 0;
	padding: 10px;
	border-left: 5px solid #d0f0e0;
}

.koodiesimerkki {
	width: 100% !important;
	border-collapse: collapse;
}

.koodiesimerkki td {
	width: 50% !important;
	border: 1px solid #cccccc;
	padding: 10px;
}

.vspace {
	border: 0 !important;
}

.sivuryhma td {
	min-width: 10em;
}

.toc {
	list-style-type: none !important;
}

.toc li {
	margin-left: 0;
	padding-left: 0;
}