body { margin: 0; padding: 0; font-size: 12px; color: white; background-color: black; }
img { border: 0px; }

.bg { background: black url(../img/sivut/affe_bg.jpg) no-repeat top center; }
.Varjo { margin: 0 auto; background: transparent; background-image: url(../img/varjo.png); background-repeat: no-repeat; background-position: 50% 228px; width: 100%; }
.ylaPalkki { width:100%; height:26px; background: transparent url(../img/uusi_bg.jpg) repeat-x top left; text-align: right; }
.ylaPalkki span {
	color: #003366;
	font-family: "Trebuchet MS";
	font-size: 1.1em;
	letter-spacing :-0.5px;
	position: relative;
	top: 4px;
	margin-right: 50px;	
}

.ylaPalkki .logo { font-family: "Arial Black"; color: white; }

.tapahtuma_pvm {
	color: yellow;
	font-family: "Arial";
	font-size: 2.5em;
	
}
.tapahtuma_nimi {
	color: white;
	font-family: "Lucida Grande";
	font-size: 2.5em;
	letter-spacing: -0.5px;
}

ul.menu {
	margin: 20px auto;
	background: transparent;
	background-image: url(../img/menu.png); 
	background-repeat: no-repeat;
	background-position: top left;
	height: 47px;
	line-height: 47px;
	padding: 0;
	list-style-type: square;
	list-style-position: inside;
}
ul.menu li {float: left; font-family: "Trebuchet MS"; font-weight: bold; font-size: 15px; letter-spacing: -1px; margin-left: 10px;}
ul.menu li.first { list-style-type: none; }
ul.menu li a { text-decoration: none; color: #fff; }
ul.menu div.drop { display: none; position: absolute; z-index: 20; }
ul.menu div.drop p, ul.menu div.drop a { margin: 0; padding: 0; line-height: 25px; }

ul.openTab { list-style-type: none; float: none; width: auto; clear: both; background: #fff; margin: 0; padding: 5px 10px 5px 5px; display: none; -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px;}
ul.openTab li { float: none; display: block; background: #fff; margin-bottom: 5px; line-height: normal; }

ul.openTab li strong { margin: 10px 0 0 0; }
ul.openTab li strong, 
ul.openTab li em { clear: both; display: block; }
ul.openTab li a { display: block; padding: 2px; }
ul.openTab li a strong { color: #666; }
ul.openTab li a em { color: #BEBEBE; }
ul.openTab li a:hover { background: #eee; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
ul.menu li.first { list-style-type: none; width: auto; width: 37px; }

div.tulosTapahtuma div a { text-decoration: none; letter-spacing: -1px; font-family: "Lucida Grande"; color: #3e4d85; font-size: 20px; }
div.tulosTapahtuma .pvm { text-decoration: none; font-family: georgia; color: #cc4d4d; font-size: 14px; }
div.tulosTapahtuma .paikka { text-decoration: none; font-family: Arial; color: #666; font-size: 12px; }
div.tulosTapahtuma p { margin: 0; padding: 0; }
div.tulosTapahtuma div {cursor: pointer; margin:0; padding:0; margin-bottom: 15px; background: url('../img/tulostapahtuma/tulosnuolet_bg.png') no-repeat top right; height: 60px;}
div.tulosTapahtuma {padding: 0; list-style-type: none; margin:0;}
div.tulosTapahtuma div img {float:left; border: none; margin-right: 10px;}

.pvmTapahtuma  { text-decoration: none; font-family: georgia; color: #cc4d4d; font-size: 14px; }

h1.tulosTapahtuma {text-align: center; color:#3e4d85; font-size: 26px; font-family: georgia; font-weight: bold;}

table.Tulokset {color:#333; border: 1px solid #3e4d85; width: 100%; -moz-border-radius: 3px; margin: 0; padding: 0; -webkit-border-radius: 3px; text-decoration: none;}
tr.tulosNimi {background-color: #3e4d85; font-size: 16px; color: #fff; border: 0 !important; margin: 0; padding: 0;}
tr.tulosNimi td {padding: 3px;}
tr.tulosRivi {background-color: #efefef; font-size: 14px; font-family:georgia; color: #3e4d85; border: 0; margin: 0; padding: 3px;}
tr.tulosRivi td {background-color: #fff; padding: 3px;}
tr.tulosNimi a { color: #fff; text-decoration: none;}
tr.tulosNimi a:hover { color: orange;}
table.tuningTulokset {color:#333; border: 1px solid #3e4d85; width: 100%; -moz-border-radius: 3px; margin: 0; padding: 0; -webkit-border-radius: 3px; text-decoration: none;}

a.takaisin {color:#3e4d85; font-size:16px; font-family:Arial; text-decoration:none; margin-top:10px; display: block;}
.hattu { height: 300px;	margin: 0 auto; padding: 0; }
.ala_menu { 
	height: 70px;
	margin: 0 auto;
	margin-top: 10px;
	padding: 0;
}

div.tiedot { height:100; border: 1px solid #ccc; background-color: #efefef; -moz-border-radius: 3px; margin: 8px 0 0 0; padding: 0; -webkit-border-radius: 3px; text-decoration: none;}

.yhteistyo { margin-top: 0; background: transparent url('/img/y_bg.png') repeat;}
.uutiset { height: 300px; background: transparent url('/img/pikku_uutiset.jpg');}
.tapahtumat { height: 300px; width:551px; background-color: #777f94;}
.mainos_uutiset { 
	text-align: center; 
	margin: 7px 0 3px 5px;
	padding: 3px;
	border: 1px solid #ccc;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	background-color: #efefef;
	text-decoration: none;
	
}
.flashEtusivu {margin: auto;}
.mainos_uutiset img { margin: 3px auto 4px auto; }
.mainos img { margin: auto; }
.mainos div { text-align: center; margin: auto; }
.pohja { height: 100px; }
.navigaattori { height: 40px; }
.uutiset_otsikko { height: 20px; }

.uutiset ul { float: left; list-style-type: none; margin: 0 0 0 15px; padding: 0; height: 24px; width: 100%; }
.uutiset ul li { float: left; width: 30px; margin: 0; padding: 0; }

.uutiset .spacer { height: 24px; }
.uutiset .Ajankohtainen { margin-left: 19px; display: block; clear: both; height: 60px; padding-top: 6px;}
.uutiset .Ajankohtainen div, .uutiset .Ajankohtainen img { margin: 0; padding: 0; }
.uutiset .Ajankohtainen div.img { width: 90px; height: 60px; float: left; text-align: left; }
.uutiset .Ajankohtainen div.text { width: 158px; height: 60px; float: left; }
.uutiset .Ajankohtainen h5 { margin: 0; padding: 0; width: 158px; height: 14px; overflow: hidden; color: #111; font-size: 13px; text-shadow: 1px 2px 3px #ccc; }
.uutiset .Ajankohtainen p { margin: 0; padding: 0; width: 158px; height: 30px; color: #111; overflow: hidden; margin-top: -1px;}
.uutiset .Ajankohtainen p.lue { height: auto; }
.uutiset .Ajankohtainen h5 a,
.uutiset .Ajankohtainen p.lue a { color: #8392d7; text-decoration: none; }

img.testImg { width: 83px; height: 54px; }
/* div.uutinenEtusivu { background-color: #111; } */
div.uutinenEtusivu h3 { clear: both; margin: 0; padding: 0px;}
div.uutinenEtusivu img { float: left; }
div.uutinenEtusivu h3 a {
	color: #d2dafd;
	text-decoration: none;
	font-family: "Trebuchet MS";
	letter-spacing: -0.5px;
/*	text-transform: uppercase;*/
	
} 

div.uutinenUutiset {
	margin-top: 5px;
	padding: 5px; 
	border: 1px solid #ccc;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	
}

div.uutinenUutiset h2 {
	font-family: Arial;
	margin: 5px 0 0 5px;
	padding: 3px;
	color: #3e4d85; 
	border: 1px solid #ccc;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	background-color: #efefef;
	text-decoration: none;
	
}

div.uutinenUutinen { font-family: Arial; margin: 5px 0 0 5px; padding: 3px; color: #3e4d85; border: 1px solid #ccc; -moz-border-radius: 3px; -webkit-border-radius: 3px; background-color: #efefef; text-decoration: none; }
div.uutinenUutinen h1 { font-family: Arial; color: #3e4d85; text-decoration: none; font-size: 24px; }
div.uutinenUutinenTeksti { background-color: #fff; border: 1px solid #ccc; -moz-border-radius: 3px; margin: 5px; padding: 5px; -webkit-border-radius: 3px; text-decoration: none;}
.left { float: left; }
.right { float: right;}
div.uutinenUutinenSin { font-family: Arial; margin: 5px 0 0 5px; width: 712px; padding: 5px; color: #456789; border: 1px solid #ccc; -moz-border-radius: 3px; -webkit-border-radius: 3px; background-color: #123456; text-decoration: none; text-align: right; }
div.uutinenUutiset h2 a { text-decoration: none; color: #3e4d85; font-size: 18px;}
div.uutinenUutiset img { float: left; border: 0; margin: 0 10px 0 0;}
div.uutinenUutiset p { color: #666; margin: 3px 0 0 0; padding: 0; font-family: Arial; font-size: 1.2em; }
.tieto { margin-top: 3px !important; color: #ccc !important; font-family: georgia; font-size: 0.8em !important; }
.luelisaa { margin-top: 5px !important; position: relative; top: 5px; padding: 2px; color: #3e4d85 !important; font-family: georgia; font-size: 0.8em !important; border: 1px solid #ccc; -moz-border-radius: 3px; -webkit-border-radius: 3px; background-color: #efefef; text-decoration : none;	}
div.uutinenVanhat2 {  }
div.uutinenVanhat2 div { background-image: url(../img/uutistausta280.png); background-repeat: no-repeat; height: 145px; margin-bottom: 15px; cursor: pointer; }
div.uutinenVanhat2 img { float: right; margin: 8px 8px 8px 0; }
div.uutinenVanhat2 h3 { font-family: Arial; color: #3e4d85; text-decoration: none; margin: 8px 8px 0 8px; overflow: hidden; height: 66px; font-size: 14px;}
div.uutinenVanhat2 h3 a { color: #3e4d85; text-decoration: none; }
div.uutinenVanhat2 p.pvm { color: #ccc !important; font-family: georgia; font-size: 0.9em !important; margin: 5px 0 0 5px; position: relative; top: 3px; }
div.uutinenVanhat2 p.txt { height: 45px; overflow: hidden; margin: 5px 5px 0 8px; font-family: Arial; font-size: 1em; color: #666;}
div.uutinenVanhat { border: 1px solid #ccc; -moz-border-radius: 3px; -webkit-border-radius: 3px; margin: 5px 0 5px 0; padding: 3px;}
div.uutinenVanhat div { width: 99%; }
div.uutinenVanhat .bg1 { background: #efefef; border: 1px solid #e2e2e2; -moz-border-radius: 3px; -webkit-border-radius: 3px;}
div.uutinenVanhat .bg2 { background: #fff; }
div.uutinenVanhat img { vertical-align: top; margin: 1px 5px 0 0; float: left;}
div.uutinenVanhat p { margin: 0; padding: 0; font-family: Arial; font-size: 1em; color: #666;}
div.uutinenVanhat .Otsikko { font-family: Arial; font-size: 1.1em; color: #3e4d85; text-decoration: none;}
div.uutinenVanhatSpacer { float: left; width: 23px;}
div.uutisetAjan { border: 1px solid #ccc; -moz-border-radius: 3px; -webkit-border-radius: 3px; margin: 5px 0 5px 0; padding: 3px; width: 95%; float: left;}
div.uutisetAjankohtaiset { clear: both; color: #333; margin: 0 0 20px 0;}
div.uutisetAjankohtaiset a { text-decoration: none; color: #3e4d85; }
div.uutisetAjankohtaiset h3 { color: #3e4d85; margin: 0 0 0 0; padding: 0; font-family: Arial; font-size: 14px;}
div.uutisetAjankohtaiset p { margin: 0; padding: 0; }
div.uutisetAjankohtaiset img { margin: 1px 3px 1px 0; float: left; border: 0;}
div.uutinenEtusivu p { color: #d4d1b6;}
div.uutinenEtusivu a { color: #d4d1b6; text-decoration: none; }
div.kirje { height: 300px; width: 100%; background: url(../img/kirjetausta.jpg) no-repeat top left; margin: 0; padding: 0; }
div.kirje form { margin: 0; padding: 0; margin-left: 13px; padding-top: 30px; }
div.kirje label { color: blue; display: block; margin-bottom: 5px; }
div.kirje input.maili { width: 131px; font-size: 12px; color: #333; }
div.kirje input.s { display: none; height: 20px; width: 136px; color: #333; }
div.kirje .uutiskirjeInfo { width: 135px; background: #fff; position: relative; z-index: 10; display: none; margin: 0; padding: 0; color: #333; }
div.kirje a { width: 100%; height: 20px; float: left; clear: both; color: blue; cursor: pointer; display: block; margin-top: 5px; }
div.clearfix { margin: 0; padding: 0; height: 1px; line-height: 1px; }
div.prompt { width: 129px; height: 67px; background: transparent; background-image: url(../img/prompt.png); background-repeat: no-repeat; background-position: top left; display: none; }
div.prompt p { margin: 0; padding: 10px 0 0 10px; width: 100px; text-align: left; color: transparent; }
div.prompt .green { color: green; }
div.prompt .red { color: red; }
.kalenteri { height: 480px; width: 100%; background: url(../img/kalenteri_052009.jpg) repeat-x top left; margin: 0; padding: 0; }
.ajankohtaistaPrompt, .ajankohtaistaBlank, .ajankohtaistaSelf { cursor: pointer; }
.ajankohtaistaPromptDiv { width: 0px; height: 0px; display: none; position: absolute; z-index: 100; background: transparent; background-image: url(../img/ajankohtaista.png); background-repeat: no-repeat; background-position: top left; }
.ajankohtaistaPromptDiv .disp { width: 669px; height: 324px; overflow: auto; margin: 40px 0 0 20px; color: #333; }
.ajankohtaistaPromptDiv .text { width: 350px; height: 324px; float: right; margin: 0 0 0 20px; }
.ajankohtaistaPromptDiv .kuva { width: 250px; height: 200px; float: left; margin: 0 0 0 20px; }
.ajankohtaistaPromptDiv .kuva img { width: 250px; }
.ajankohtaistaPromptDiv .alku { font-size: 14px; color: #777; }
.ajankohtaistaPromptDiv .juttu { font-size: 12px; color: #333; }
.ajankohtaistaPromptDiv .kuvat { text-align: left; float: left; }
.ajankohtaistaPromptDiv .kuvat img { height: 60px; border: 0; margin-left: 10px; }
.ajankohtaistaPromptDiv .content { }
.ajankohtaistaPromptDiv span.close { cursor: pointer; display: block; float: right; margin-top: 10px; margin-right: 30px; color: #000;}
.uutis { padding: 3px; margin: 3px; }
.Flow { position: relative; top: 60px; }
.pohja { height: 50px; font-size: 11px; color: #333; font-family: Arial; margin: 5px auto; padding: 0;}
div.pohja a { color: #123456; text-decoration: none; font-family: Arial; margin: 5px auto; padding: 0; font-size: 11px;}
div.navi { margin: 3px 0 0 0; padding: 3px; background-color: #fdfdfd; color: #767676;}
div.navikulmat { border: 1px solid #e5e5e5; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
div.naviotsikko img { border : 0; color: #e5e5e5; font-family: "Arial Black"; margin-bottom: 0;}
div.naviotsikko a { color: #767676; margin: 0 0 4px 0; font-family: "Arial Black"; text-decoration: none; font-size: 11px;}
div.naviBg { background-color: #e5e5e5; margin: 1px auto 1px auto ;}
div.navialaosa { padding: 0; margin : 1px auto; background-color: #fdfdfd;}
div.ingres {  }
div.ingres img.start { float: left; margin: 0 3px 0 0; }
div.ingres img.end { margin: 0 0 0 3px; }
div.ingres img.start, div.ingres img.end { vertical-align: top; }
.uutiset_vuodet { color:#3e4d85; font-family:Arial; font-size:20px; margin: 10px 0; font-weight: bold;}
.uutiset_vuodet a { color:#3e4d85;}

.SeuraavaTapahtuma { width: 135px; margin: 0 0 0 15px; color: #333; }
.SeuraavaTapahtuma h3 { font-size: 12px; margin: 0; }
.SeuraavaTapahtuma p { font-size: 12px; margin: 0; }
.SeuraavaTapahtuma img { border: 0; width: 100px; }
div._tapahtuma h3 {font-family: "Microsoft Sans serif"; font-size:14px; text-shadow: -1px 0 1px #fff, 1px 1px 1px #fff, 1px  -1px 1px #fff; color: #ef1a4a; margin-bottom:5px; padding: 0; font-weight: bold;}
div._tapahtuma p {font-family: "Microsoft Sans serif"; font-size:14px; color: #333; font-weight:normal; margin: 0 0 5px 0; padding: 0;}
._tapahtuma { border: 1px solid gray; margin: 10px auto; clear: both; color: #333; -moz-border-radius: 3px; -webkit-border-radius: 3px; background: url(../img/tapahtumat/tapahtumat_bg.jpg) repeat-x top left; }
.talvibg { background: url(../img/tapahtumat/tapahtumat_wg.jpg) repeat-x top left; }
._tapahtuma img { border: 0; float: left; margin: 0 10px 0 0;}
._tapahtuma .clearfix { clear: both; height: 0px; }
._tapahtuma p.links { margin: 25px 0 0 0; padding: 0 10px 0 0; text-align: right; }
._tapahtuma p.links a { margin-left: 25px; }
._tapahtuma a { color: #AC020F; cursor: pointer; text-decoration: none; }
._tapahtuma div.more { clear: both; border-top: 1px solid #ccc; display: none; margin: 0; padding: 15px 10px; overflow: hidden; }
._tapahtuma div.more h1, 
._tapahtuma div.more h2, 
._tapahtuma div.more h3, 
._tapahtuma div.more h4, 
._tapahtuma div.more h5, 
._tapahtuma div.more h6 { margin-top: 0; padding-top: 0; font-family: "Trebuchet MS", Arial; letter-spacing: -1px; }
._tapahtuma div.more td.tapahtuma_vasen h2 { font-size: 18px; }
._tapahtuma div.more td.tapahtuma_vasen { width: 270px !important; text-align: right; padding-right: 10px; display: block; }
._tapahtuma .open { display: block !important; }

.naviBg ul { color: #767676; background: #fdfdfd; margin: 3px 0 0 0; padding: 0; clear: both; list-style-type: none; }
.naviBg ul li { list-style-type: none; float: left; font-style: italic; font-family:"Arial Black"; font-size: 11px; padding: 3px 15px 0 0; margin: 0 0 0 8px; background: url(../img/navikulma.jpg) no-repeat bottom right; height: 22px; }
.naviBg ul li a { text-decoration: none; color: #767676; }
.naviBg ul li.first { margin: 0; padding-top: 5px; height: 20px; }

.navialaosa .bg { background: #fff; }


.loading {  width: 100%; height: 100%; background: url(/js/textbox/textboxLoader.gif) no-repeat center center; }
#textbox { 
	width: 200px;
	height: 200px; 
	display: none;
	position: absolute;
	z-index: 100;
	text-align: center;
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px; 
	background: #fff;
	overflow: hidden;
}
.textboxOverlay iframe {
	display:none;/*sorry for IE5*/ 
	display/**/:block;/*sorry for IE5*/
	position:absolute;/*must have*/
	top:0;/*must have*/
	left:0;/*must have*/
	z-index:-1;/*must have*/
	filter:mask();/*must have*/
	width:2000px;/*must have for any big value*/
	height:3000px;/*must have for any big value*/
}
.teksti3 {color: #3e4d85; font-size: 12px; font-family: Arial;}
.teksti3 a {color: orange; text-decoration: none; size: 12px; font-family: Arial;}
.teksti3 a:hover {color: orange; text-decoration: underline; size: 12px; font-family: Arial;}
.otsake {background-color: #eee; padding: 5px 0 ; font-size:18px; font-family: "Trebushet Ms";color: #3e4d85; margin-top: 5px !important; border: 1px #ccc solid; -moz-border-radius: 3px; -webkit-border-radius: 3px;}
.otsake a {font-size:18px; text-decoration: none; font-family: "TRebushet Ms";color: #3e4d85;}
.otsake a:hover {font-size:18px; text-decoration: underline; font-family: "TRebushet Ms";color: #3e4d85;}
.teksti4 {color: #999;} 
.otsake2 {color: #999; font-size: 14px;}
.teksti3 span {font-size: 12px !important; font-weight: bold; color: magenta !important;}
a.teksti1 {text-decoration:none !important;}
.teksti3 img{padding: 1px; border: 2px #fff solid; -moz-border-radius: 3px; -webkit-border-radius: 3px;}
.Otsikko3 img{padding: 1px; border: 4px #fff solid; -moz-border-radius: 3px; -webkit-border-radius: 3px;}
.teksti1 img {border:0;}

table.tiedot { color: #333; }
div.yhteystieto { background: #eee; border: 1px solid gray; -moz-border-radius: 5px; -webkit-border-radius: 5px; color: #333; margin-bottom: 12px;}
div.yhteystieto p, div.yhteystieto h3 { margin: 0; padding: 0; }
div.yhteystieto h3 { padding-top: 5px; color: #123456; font-family: Helvetica, Arial; }
div.yhteystieto img { float: left; margin: 3px; }
div.yhteystieto img.email { float: none; margin: 0; }

div.yhteystiedot h3 { color: #123456; }

.galleriaUusimmat { width: 666px; margin-bottom: 20px; }
.galleriaUusimmat h2 { border-bottom: 1px solid #333; margin-bottom: 5px; }
.galleriaUusimmat img { border: 0; margin: 0 3px 0 0; padding: 3px; background: #fff; -moz-border-radius: 3px; -webkit-border-radius: 3px; }

form.login { text-align: right; position: relative; top: 10px; }
form.login input.txt { -moz-border-radius: 3px; -webkit-border-radius: 3px; border: 1px solid #fff; }

.tapahtumaVuodet a { color: #3e4d85; }
.tapahtumaVuodet .current { color: #000 !important; text-decoration: none; }
