.ftitle {color:green;}
.ftitle h2 {display:none}
.ftitle p {font-size: 2em;display:block;}
.fshort {display:inline;color:blue;margin-right:2em;}
.fshort h2 {display:inline}
.fshort p {font-size: 1em;display:inline;}
.fhide {display:none}

.jakso .submen {display:none}
div.paajaksot div.show:hover iframe{display:block;position:absolute;border:1px solid blue;
  z-index: 1000;xopacity:0.9;background-color:white;width:15em;overflow:hidden;margin-left:-6em}
div.paajaksot div.show iframe{height:20em;z-index:10;}
div.paajaksot {clear:left;}
div.paajaksot div.jakso {color:red}
.paajaksot .show iframe {display:none}
.paajaksot .jakso {float:left;margin-right:0.5em}
.paajaksot .show {float:left;margin-right:1em;color:red}
/*
.paajaksot {clear:left;color:red}
.paajaksot .jakso {float:left;max-width:20%;border:1px solid #eee;overflow:hidden;white-space:nowrap;margin-right:1em;z-index:-1}
.jakso ul {display:none}
div.paajaksot div.jakso:hover ul {z-index:1;
 display:block;background-color:#fe4;
  border:1px solid black;xposition:absolute;left:0:top:-1em;margin:0;width:14em;
 font-size:0.9em;line-height:1.2em;white-space:nowrap;}
div.paajaksot div.jakso:hover ul li {z-index:100;}
.xpaajaksot div.jakso ul li:hover {margin-top:1em;background-color:white;overflow:visible;width:20em:margin-right:-10em;}
.xjakso ul li {margin-top:1em;overflow:hidden;width:14em;;white-space:nowrap:height:1em}
.xjakso .submen:hover  {background-color:blue}
*/
body {
  margin: 4px 15px;
  color: #333;
  font-family: Arial, Helvetica, Sans-Serif;
  font-size: 76%;
  line-height: 1.3em;
 }
.kalajaksot h2 {display:none}
.xpaajaksot h5 {margin:0 -20em 0 0 ;color:#E5053A;width:100%;white-space:nowrap;overflow:hidden }
.xpaajaksot h5 a{color:#444}
.paajaksot h4 {margin:0;font-weight:bold;background-color:#eee;color:#E5053A;width:100%;white-space:nowrap;overflow:hidden}
.xpaajaksot h3 {margin:0;font-weight:bold;background-color:#E5053A;color:white;width:100%;white-space:nowrap;overflow:hidden}
.alajaksot h2, .kurssit h2, #kirjat h2, .tentit h2  {background-color:#E5053A;color:white;margin-bottom:0}
.xpaajaksot {border: 0px solid #E5053A;background-color:#ddd;margin:0 -30em 0 0 ;}
.paajaksot {border:0px solid black;position:relative}
#xpanels #upnavi .paajaksot .jakso a {color:#333;}

.kurssit ul {list-style-type: none;}
.kurssit ul li {padding-left: 0;}

#kielet {float:right;}
#wrapper {
min-width: 750px;
}
/* Yleinen layout
-------------------------- */


#panels { 
 border: 0px solid black;
 width: 100%;
 position:relative;
 height: 100%;
 left:0;
 top:0;
 float:left;
 clear:left;
}
#panels #upnavi{
 xfloat:left;
 width:100%;
 border:0px solid green;
 xposition:relative
 xwidth:100%;
 clear:both;
 xtop:0;
 display: none;
}

#navipanel {
  margin: 0em;
  width: 10%;
  height: 90%;
  min-height: 35em;
  clear:both;
  float:left;}

iframe {
display:none;
}
  
#mainpanel {
  margin: 1em 0;
  /*min-height: 600px;*/
  width: 66%;
  padding-left: 20%
  xheight: 90%;
  padding: 1%;
  float: left;
  background-color:#f8f8f8;
}
div#xkirjat {
  clear:both;
  float:left;
  border:1px solid #eee;
  width:60%;
  position:absolute;
  left:20em;
  margin-top:4em}

#mainpanel h1{margin-top:0;line-height:1.1em;xpadding-left:1em}

.content {
margin-right: 1.5em;
}

#linkspanel {
  width: 66%;
  min-width:1em;
  border:1px solid white;
  xpadding: 0 1%;
  float: both;
  xclear:left;
  xborder:1px solid red;
}

#linkspanel a {
text-decoration: none;
color: black;
}

#linkspanel ul {
padding-left: 1.5em;
}

#linkspanel .kurssit ul, #linkspanel .alajaksot ul {
padding-left: 0;
}

.alajaksot, .kurssit, .tentit, #kirjat {width:100%}

#partspanel h2 {
  padding: 2px;
}

#partspanel li {
  list-style-type: none;
}

.tentit {
  margin:0;
  }

.tentit li, #kirjat li,  {
  margin-left: 1.0em;
}
.alajaksot li {display:block;
  margin-left: 1.0em;
}
.alajaksot ul {padding:3px;margin-top:0}

#mynavi {
  margin: 0em;
  }

#mainnavi {
  margin: 3em 0 0 0;
  border:3px inset #eee;
  }

#footer {
display:none;
  }

#footer li { padding: 1em;}

/* Ylätunniste
-------------------------- */

#header
{ position: relative;
  height: 105px; 
  xmin-height: 125px;
  overflow:hidden;
  margin:0;
  padding:0;
 }
 
#header iframe {width:100%;
  min-height: 130px;overflow:hidden;margin:0;padding:0;height:145px;
}

* html #header /* IE */
{ xheight: 125px;  }
/*
#header a
{ text-decoration: none;
  color: #333; }

#header li
{ background: none; }


#titles
{ position: absolute;
  top: 42px;
  right: 54px;
  text-align: right; }

#sitetitle
{ color: #E5053A;
  font-size: 24px;
  margin: 0; }

#deptitle
{ font-size: 1em;
  margin: 5px 0; }

#deptitle a
{ color: #555; }

ul#headlinks1, ul#headlinks2
{ width: 300px;
  margin: 11px 0;
  padding: 0;
  float: left;
  xfont-weight:bold;
  list-style: none;
  font-size: 1.0em ;
  line-height: 1.2em; }

ul#headlinks1 li, ul#headlinks2 li
{ padding: 0 11px; color:black;font-weight:bold;}

ul#headlinks2
{ border-left: 1px dotted; }

ul#headlinks3
{ list-style: none;
  margin: 0;  
  position: absolute;
  right: 53px;
  top: 24px;
  padding: 0 6px;
  font-weight: bold;
  list-style: none;
  font-size: 1.1em ;
}

ul#headlinks3 li
{ float: right;
  padding-right: 5px; }

ul#headlinks3 li a {
  color: #E5053A;
}
ul#headlinks2 li a {
  color: #666;font-weight:normal;
}
ul#headlinks1 li a {
  color: #666;font-weight:normal;
}

#bcnavi
{ padding-left: 16px;
  font-size: 1em;
  line-height: 16px;
  border-bottom: 1px solid #A4A4A4;
  color: #E5053A;
  xcolor: #444;
  background-color: white;
  font-size: 1.0em;
  margin-bottom:3pt;
  font-weight: bold;
  }

#bcnavi div
{display:inline;margin-right:1em;}
#bcnavi span
{display:inline;margin-right:1em;}
#bcnavi a{
  color:  #444;padding-right:1em}
*/

/* Navigaatio ylemmille sivuille
--------------------------------- */

#tupnavi  {
  position: absolute;
  bottom: 0;
  clear: both;
  font-size: 1em;
  padding: 0px 11px;
  }
#tupnavi ul {
  padding: 0;
  margin: 0;
  list-style: none;
  }
#tupnavi ul li, #tupnavi span {
  display: inline;
  margin: 0;
  padding: 0 10px;
  border: 0px solid #B4B3B2;
  background: none;
  line-height: 1.3em;
  white-space: nowrap;
  background: #F0F1F2 url(http://www.valt.helsinki.fi/blogs/skins/hy_metalbg.gif) repeat scroll 0% 0%; }
  
#tupnavi ul li .me , #upnavi span.me {
  background: none;
  }
#tupnavi a {
  background-color: red;
  
  font-size:0.9em;
  }





/* Enkunkielinen nappi
--------------------------------- */

#english
{ float: right;
  padding: 0 11px;
  line-height: 22px;
  border: 1px solid #A4A4A4;
  font-weight: bold;
  background: #F0F1F2 url(http://www.valt.helsinki.fi/blogs/skins/hy_metalbg.gif) repeat scroll 0% 0%; 
  display:none}

#english a
{ text-decoration: none; }


/* Päänavigaatiopalkit
--------------------------- */

#navi a
{ text-decoration: none; }



/* Kuvat
------------------------------------- */

img {
  margin: 0;
  padding: 0;
  border: none;
 }


/* Perusfonttimääritykset
--------------------------------- */

h1 {
  line-height: 1.1em;
  font-size: 1.8em;
  color: #333;
}

h2, #navi h3, #links h3 {
  font-size: 1.5em;
  color: #555;
  font-weight: bold;
  xborder-bottom: 1px solid #999;
  display:block;
  
 }
h2 a:link, h2 a:visited {
  color: #666;
  text-decoration: none;
  display:block;
  
 }
h3 {
  color: #666;
  font-size: 1.15em;
  
  
  display:block;
  

 }

h4 {
  font-size: 1.1em;
  font-weight:  bold;
  margin: 1.5em 0 .5em 0;
 }
p, ul, ol, address, dlx {
  margin-top: 1em;
  margin-bottom: 1em;
  padding: 0;
 }
/*table, td, th {
  font-size: 1em;
 }*/

address {
  margin-left: 5px;
  margin-right: 5px;
 }
pre, code {
  font-size: 1.1em;
  font-family: Courier New, Courier, Monospace;
 }

address {
  font-style: normal;
 }

/* Linkit
------------------------- */

a:link {
  color: #339;
 }
a:visited {
  color: #669;
 }
/* a:hover {
  color: #669;
  back-ground-color: #fff;
 } */
a:active {
  color: #669;
 }


/* Listat
-------------------  */
/*
ul {
  list-style: none;
  padding: 0;
  margin-left: 0;
 }
 */
/* ul li, ul li:hover {
  display: block;
  margin: 0 0 0.3em 0;
  padding: 0 0 0 10px;
  background: white url(http://www.valt.helsinki.fi/blogs/skins/hy_bullet.gif) no-repeat scroll 0% 0%;
 }
 */
.content ul li {
  margin-left: 1em;
 }
.content a {
  color:E5053f;
 }

.content h1 img {
padding-right: 0.6em;
}
 
ol li {
  margin-bottom: 0.3em;
 }
.tight li {
 }
dt {
  display: block;
  margin: 0;
  
  
 }
dd {
  
  
 }  
ul ul {
  margin: 0.3em 0 0.3em 0;
}

/* Kustomoidun alautunnisteen hakulomake
-------------------------------------------*/

form {
  margin: 0;
  padding: 0;
 }
input, textarea {
  display: block;
  font-size: 1em;
  font-family: Arial, Helvetica, Sans-Serif;
  color: #333;
 }
textarea {
  width: 349px;
 }
input.text {
  width: 154px;
  font-size: 1em;
  display: inline;
 }
input.button {
  color: #fff;
  background-color: #999;
  font-weight: bold;
  height: 1.5em;
  border: 1px solid #999;
  display: inline; 
 }


/* Admin-nappi piiloon
-------------------------------------------*/


#adm
{ position: absolute;
  right: 0;
  top: 0;
  width: 19px;
  height: 17px;
  overflow: hidden;
  text-align: right;
  margin: 0;
  padding: 0;
  xborder:2px solid black }

#adm a
{ padding-left: 20px;
  font-size: 17px;
  line-height: 17px; }

#adm a:hover
{ display: block;
  width: 19px;
  height: 17px;
  background: url(http://www.valt.helsinki.fi/blogs/xseus/lokariedit.gif) repeat scroll 0 0; }

body > #adm
{ position: fixed; }

#adm a em
{ visibility: hidden; border:3px solid red:display:block}



/* Kurssi-ikoneit
------------------------------------*/

li.kurssi {
  background: white url(http://www.valt.helsinki.fi/blogs/skins/hy_kurssi.gif) no-repeat scroll 0% 0%;
}
li.jakso {
  background: white url(http://www.valt.helsinki.fi/blogs/skins/hy_jakso.gif) no-repeat scroll 0% 0%;padding-left:2em;
}
/* Keltalappu, kysely yms
------------------------------------*/

.group
  {border: solid 1px #777;padding: 1em;margin: 2em;
  }

.question
  {border: solid 1px #888;padding: 1em;margin: 1em;
  }
.xanswer {display: block}
.xthequestion {display: block}
.xoptions {display: block}

.head {
font-size: 0.7em;
}
.commented {
width:70%;
 margin-top: 0px;
 
background-color:white;

}
.comframe {
 clear: both;
}
.comment
 {margin:0px 4px 4px 5px;border:inset 1px #EEB;}
.left {
background-color:#eee;clear:left;
}
.comment p 
  {margin-top:0;margin-bottom:3px}
.comments
  {margin:0px 4px 4px 5px;}

.comment p:first-line
	{	}


h3.subtitle {background-color:#eee;color:#666;font-size:1.5em;padding:2px;margin-top:0em;
}
h2.subpage {background-color:#eee;color:#666;font-size:1.8em;padding:2px;margin-top:0em;
}
div.subpage {float:left;}
h3.msg {background-color:#eee;color:#E5053A;font-size:1.3em;padding:1px;margin-top:0;}
div.msg {border:1px solid #aaa;margin:0;padding:4px;background-color:#f8f8f8;}

.en {margin-left:1em;font-size:1em;background-color:red;color:white;font-weight: bold;}

