@import url('fonts/ArialNarrowFont/stylesheet.css');
@import url('fonts/AlexBrush/stylesheet.css');

html {
	overflow-y: scroll;
}

body {
	margin: 50px 50px 0px 50px;
	background: #D3D3D3 url('../kuvat/taustakangas3.jpg') top left fixed;
}

table#MainTable {
	display: block;
	width: 100%; /* 100% */
	height: 100%;
	border: 0px;
	min-width: 1200px;
	width:expression(document.body.clientWidth < 900? "900px": "auto" );
	max-width: 1200px;
	width:expression(document.body.clientWidth > 1200? "1200px": "auto" );
}

#Header {
	width: 100%;
	background: #442e11 url('../kuvat/otsikkotausta.jpg') 50% 20%;
	padding-left: 2px;
	border: solid 4px white;
}

#Header p {
	text-align: center;
}

b {
	font-family: arial, verdana, sans-serif;
	font-weight: bold;
}

#logo {
	padding: 40px 0px 40px 0px; /* 80 0 60 0 */
	text-align: center;
}

#liput {
	display: none;
	background: white;
	border-left:solid 4px white;
	border-bottom: solid 4px white;
	float: right;
	padding: 4px 0px 2px 0px;
}

#liput img {
	margin: 0px 3px;
}

#footer {
	background: transparent;
	margin: 0px;
	padding: 15px 0px 8px 0px;
	border-top: solid 4px white;
	border-bottom: none;
}

#footer p {
	font-family: arial, verdana, sans-serif;
	font-size: 10pt;
	color: black;
	text-align: center;
	line-height: 100%;
	font-weight: bold;
}

span.footer {
	background: white;
	padding: 0px 3px;
}



/* PÄÄVALIKKO */

#SubMenu {
	background: #e0a040;
	padding: 5px 10px 0px 10px;
	vertical-align: top;
	width: 2%;
	border-left: solid 4px white;
	border-right: solid 4px white;
}

ul#SubMenuList {
	padding: 0px;
	margin: 0px;
}

ul#SubMenuList li {
	list-style-type: none;
	display: block;
	padding: 0px;
	margin: 5px 0px 0px 0px;
}

ul#SubMenuList a:link, ul#SubMenuList a:visited {
	font-family: ArialNarrowFont, arial narrow, arial, sans-serif;
	color: black;
	text-decoration: none;
	font-size: 13pt;
	font-weight: bold;
}

ul#SubMenuList a:hover, ul#SubMenuList a:active {
	color: white;
}

ul#SubMenuList a.linkkiulos {
	padding-right: 15px;
	background: url('../kuvat/linkkiulos_valkoinen.png') 100% 50% no-repeat;
}

ul#SubMenuList a.Selected {
	color: white;
}

ul#SubSubMenu {
	padding: 0px;
	margin: 0px 0px 10px 15px;
}

ul#SubSubMenu li {
	list-style-type: none;
	display: block;
	padding: 0px;
	margin: 0px;
}

ul#SubSubMenu a:link, ul#SubSubMenu a:visited {
	color: white;
	text-decoration: none;
	font-family: arial, verdana, sans-serif;
	font-size: 11pt;
	line-height: 1.4em;
	font-weight: bold;
}

ul#SubSubMenu a:hover, ul#SubSubMenu a:active {
	text-decoration: underline;
}



/* OTSIKOT */

h1 {
	font-family: arial, verdana, sans-serif;
	font-size: 18pt;
	width: 100%;
	border-bottom: black 1px solid;
	padding: 0px 0px 5px 0px;
	margin: 0px 0px 20px 0px;
}

h1.maintitle {
	border: none;
}

div.joulu {
	border: solid 40px #e32424;
	padding: 50px;
	color: black;
	font-family: times new roman, arial;
	font-size: 23px;
	font-weight: normal;
	text-align: center;
	margin-bottom: 60px;
}

div.joulu h1{
	margin: 0px;
	padding: 30px 0 0 0;
	color: red;
	border:none;
	font-family: monotype corsiva, arial, sans-serif;
	font-size: 40px;
	font-weight: bold;
	text-align: center;
}

h2 {
	font-family: arial, verdana, sans-serif;
	font-size: 15pt;
	margin: 0px;
	padding: 15px 0px 10px 0px;
}

h3 {
	font-family: arial, verdana, sans-serif;
	font-size: 13pt;
	margin: 0px;
	padding: 15px 0px 10px 0px;
}

h4 {
	font-family: arial, verdana, sans-serif;
	font-size: 12pt;
	margin: 0px;
	padding: 15px 0px 10px 0px;
}



/* SISÄLTÖIKKUNA */

#Content {
	background: white;
	padding: 30px 30px 20px 30px;
	vertical-align: top;
	width: 98%;
}



/* SISÄLTÖIKKUNAN TEKSTIT */

#Content p, #Content li, #radiotaikataulu{
	font-family: arial, verdana, sans-serif;
	font-size: 14px;
	line-height: 1.5em;
	margin:0px;
	padding: 0px 0px 15px 0px;
	text-align: justify;
}

#Content p.maintitle {
	text-align: justify;
}



/* AJANKOHTAISTA-PALKKI */

td#Ajankohtaista {
	width: 200px;
	vertical-align: top;
	background: white;
	padding: 10px;
	border-left: solid 1px #442e11;
	border-right: solid 4px white;
}

td#Ajankohtaista p {
	font-family: arial, verdana, sans-serif;
	color: black;
	font-size: 10pt;
	line-height: 1.4em;
}

td#Ajankohtaista a:link, td#Ajankohtaista a:visited {
	color: #1f5fbf;
	text-decoration: underline;
	font-family: arial, verdana, sans-serif;
	font-size: 10pt;
	line-height: 1.4em;
	font-weight: bold;
}

td#Ajankohtaista a:hover, td#Ajankohtaista a:active {
	text-decoration: none;
}



/* TEKSTIT */

p.news {
	text-align: justify;
	margin-top: 0px;
	margin-right: 10px;
	font-weight: normal;
}

p.news b {
	text-align: left;
}

p.bottomborder {
	padding-bottom: 8px;
	border-bottom: solid 1px #aaa;
}

p.news span {
  font-size: 11px;
  color: #999;
  font-family: arial, verdana, sans-serif;
  font-weight: bold;
}

div#linkkilista a {
	margin: 0px 0px 0px 10px;
	padding: 0px;
}

#Content a:link {
	font-family: arial, verdana, sans-serif;
	color: blue;
}

#Content a:visited {
	color: purple;
}

#Content a:hover, #Content a:active {
	text-decoration: none;
}

.piilotettu {
	display: none;
}

ol.kokousnum li:first-line {
	font-weight: bold;
}

ol.kokousnum ul :first-line{
	font-weight: normal;
}

ul.linkit {
	padding: 0px 0px 0px 30px;
	margin: 0px;
}

ul.linkit li {

}

#Content p.huom {
	color: red;
	font-style: italic;
}

.file_info {
	font-family: arial, verdana, sans-serif;
	font-size: 10pt;
	color: black;
	clear: both;
}

.file_info img {
	float: left;
	padding-right: 10px;
}

.file-container {
	border-bottom:1px solid #ccc;
	margin-top:25px;
}

.file-container .thumb {
	float: right;
	height: 120px;
}

legend {
	font-family: arial, verdana, sans-serif;
	font-size: 10pt;
	color: black;
	font-weight: bold;
}

#file_info a {
	font-family: arial, verdana, sans-serif;
	color: blue;
}

#file_info a:visited {
	color: purple;
}

#file_info a:hover, #file_info a:active {
	text-decoration: none;
}

.lisatty {
	font-size: 13px;
	font-weight: bold;
	color: #666;
	padding: 0px;
	margin:0px;
}

div.erotin {
	border-bottom: solid 1px #666;
	margin-bottom: 20px;
	margin-top: 20px;
}
.korostettu{
	font-weight:bold;
	background: #e0a040;
	color: white;
}

hr {
	width: 100%;
	background: black;
}

#kokoukset {
	border: 1px solid black;
	margin: 0px;
}

#kokoukset a {
	display: block;
}

#kokoukset a:hover {
	background: #e0a040;
}

.c1 {
	width: 50px;
}

.c2, .c3 {
	width: 300px;
}

#kokoukset td {
	vertical-align: top;
	border: solid 1px black;
}

/*
#kokoukset tr:nth-child(even) {
	background: #efd5a5;
}
*/
#kokoukset p {
	padding: 0px;
	line-height: 2em;
	margin: 0px;
	text-align: center;
}

#kokoukset td.titlecell {
	background: #e0a040;
}

#kokoukset td.titlecell p {
	color: white;
	font-weight: bold;
}

#kokoukset td.nocontent {
	background: white;
}

#kokoukset td.nocontent p {
	color: #444;
}

/* Välilehdet logo-sivulla */

.tabs {
	position: relative;
	min-height: 860px; /* This part sucks */
	clear: both;
	margin: 25px 0;
}

.tab {
	float: left;
}

.tab label {
	background: #eee;
	padding: 8px 20px 9px 20px;
	border: 1px solid #ccc;
	border-bottom: 1px solid #eee;
	margin-left: -1px;  /* -1 */
	margin-right: 5px;
	position: relative;
	left: 1px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	font-family: arial, verdana, sans-serif;
	color: gray;
	font-weight: bold;
	font-size: 14px;
	line-height: 1.5em;
	cursor: pointer;
}

.tab [type=radio] {
	display: none;
}

.content {
	position: absolute;
	top: 28px;
	left: 0;
	background: white;
	right: 0;
	bottom: 0;
	padding: 35px 20px 20px 20px;
	border: 1px solid #ccc;
}

[type=radio]:checked ~ label {
	background: white;
	color: black;
	border-bottom: 2px solid white;
	z-index: 2;
	cursor: default;
}

[type=radio]:checked ~ label ~ .content {
	z-index: 1;
}

div.muistelu {
	 padding: 20px 30px 10px 30px;
	 margin: 20px 0px;
	 border: solid darkgray 1px;
	 background-color: #fafafa;
}

div.muistelu .paivays {
	color: darkgray;
	font-size: 10pt;
}