
/*** ykiel.css

     Helsingin yliopiston visuaalisen ilmeen mukainen tyylitiedosto
     yleisen kielitieteen laitokselle

     Markus Koljonen 2004-2005

     Henna-Riikka Laitinen 27.3.2008:
     Kielipalkki englannille.

     Sisällys:

	Alueet
	Koristeet
	Yleiset määreet
	  Otsikot ja linkit otsikoissa
	  Listat
	Sivuvalikko
	Sisältöosuus & oikeanpuoleinen linkkipalsta
	Hakulomake

     Sekä sivukohtaiset tyylit:

	Kalenteri
	Henkilökuntataulukko
***/

* {
	padding: 0;
	margin: 0;
}

/**************/
/*** Alueet ***/

body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11pt; 
/*	font-size: 10pt;  */
/*	font-size: medium; */
	color: #000;
	background-color: #f0f1f2;
	text-align: left;
}
div#pohja {
	width: 744px;
	height: auto;
	background-color: #fff;
	margin: 0 auto 2em auto;
	border-width: 0px 1px 1px 1px;
	border-style: solid;
	border-color: #999;
	text-align: left;
	overflow: visible;
}
div#ylareuna {
	width: 744px;
	text-align: left;
}
div#keskialue {
	width: 744px;
	padding-bottom: 1em;
}
table#keskitable {
	width: 100%;
	height: auto;
}
div#alareuna {
	width: 744px;
	color: #fff;
	text-align: right;
}


/*****************/
/*** Koristeet ***/

/* kielipalkki valitun kielen mukaan (muut kielet eivät ole käytössä toistaiseksi) */
#languagefin, #languageswe, #languageeng {
	max-width: 744px;
	height: 18px;
}
#languagefin {
	background-image: url(http://www.ling.helsinki.fi/util/images/bg_lang_fin_swe_inact.gif);
}

#languageeng {
	background-image: url(http://www.ling.helsinki.fi/util/images/bg_lang_eng_swe_inact.gif);
}

div#logopohja {
	width: 744px;
	height: 115px;
	background-image: url(../images/bg_logo.gif);
}
div#otsikko {
	padding: 1.2em 0em 1em 0.7em;
	font-size: 16pt; 
/*	font-size: 15pt; */
/*	font-size: large; */
	font-weight: bold;
	color: #333;
}
/* Palstoja erottavat pystyviivat */
td.dot {
	background-image: url(http://www.ling.helsinki.fi/util/images/dot2.gif);
	background-repeat: repeat-y;
	background-position: top center;
	width: 1px;
	margin-right: 8px;
	margin-left: 8px;
}
/* vaakasuuntaiset "varjot" */
div.liukuvari {
	width: 744px;
	height: 4px;
	background-image: url(../images/liukuvari.gif);
	background-repeat: repeat-x;
}


/***********************/
/*** Yleiset määreet ***/

img {
	border: 0px;
}
/* Vaakakuvat */
img.vaakakuva {
	width: 325px;
	height: 81px;
}
p, address, dl, ul, ol, blockquote {
	margin-top: 1em;
	margin-bottom: 1em;
	line-height: 12pt;
}

p#printlink {
	margin-top:-1.5em;
	margin-bottom:2em;
	text-align:right;
	font-size:8pt;
}

pre, code, tt, kbd, xmp {
	width: 400px;
	overflow: visible;
}
a, a:active, a:visited {
	text-decoration: underline;
	color: #339;
}
a:hover {
	color: #669;
}
b, strong, th {
	color: #444;
}
a b {
	color: inherit;
}
table {
	border-width: 0;
	border-spacing: 0;
}
td {
	vertical-align: top;
	text-align: left;
}


/*** Otsikot ***/

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	line-height: 14pt;
	color: #666;
	margin-bottom: 1em;
}
h1, h2 {
	margin-top: 16pt;
}
h3, h4, h5, h6 {
	margin-top: 16pt;
}
h1, h2, #kolmaspalsta h4 {
	border-bottom: 1px solid rgb(50%,50%,35%);
}
h1 {
	font-size: 14pt; 
/*	font-size: 11pt; */
/*	font-size: large; */
}
h2 {
	font-size: 12pt;
/*	font-size: 10pt; */
/*	font-size: large; */
}
h3 {
	font-size: 12pt; 
/*	font-size: 10pt; */
/*	font-size: medium; */
}
h4 {
	font-size: 11pt;
/*	font-size: 9pt; */
/*	font-size: medium; */
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}

/* Ankkurit otsikoissa */

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1 a:link, h2 a:link, h3 a:link, h4 a:link, h5 a:link, h6 a:link,
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited,
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
h1 a:active, h2 a:active, h3 a:active, h4 a:active, h5 a:active, h6 a:active {
	color: inherit;
	text-decoration: inherit;
}

a.tutkimus {
	border-bottom: 1px dotted #aaa;
}
a.tutkimus:hover {
	color: #4e89d8;
	border-color: #4e89d8;
}
a.tutkimus:after {
	color: #3a75c4;
	font-weight: bold;
	content: " »";
}

/*** Listat ***/

ul li {
	list-style-image: url(../images/bullet.gif);
	list-style-type: square;
}
li {
	margin-top: 0.5em;	
}
ul, ol {
	margin: 0 0 0 1.3em;
}
dt {
	margin-top: 0.5em;
	font-weight: bold;
}
dd {
	margin-left: 1em;
	margin-bottom: 0.5em;
}


/**********************
   Sivuvalikko
 **********************
   Eli homma menee näin:
   <div id="navi">
     <a class="block">  // alimman tason otsikkolinkit (siniset palkit)
     <div id="menu">    // sivuston linkit 
       <a>              // <a>, ei <li>
       <ul>             // alivalikko
         <li><a>        // alivalikon linkki
           <ul>         // alialivalikko jne.

   Alimman tason (nollatason) listaesineet ovat erilaisia kuin muut.
   Ensimmäisen tason listaesineillä ei ole neliötä edessä,
   alemmilla tasoilla on.
*/

div#navi {
	margin: 0px;
	padding: 0px 1.5em 1.5em 1em;
}
div#navigation h2 {
	margin-top: 1em;
}
a.block, a.block:visited {
	display: block;
	color: #fff;
	background: #3a75c4;
	font: bold 12px Arial, Helvetica, sans-serif;
	text-decoration: none;
	width: 100%;
	padding: 2px 0.2em 2px 6px;
	margin-right: 0px;
	margin-bottom: 2px;
}
a.block:hover {
	color: #fff;
	background: #4e89d8;
}
/* Ensimmäisen tason linkit: */
div#menu {
	margin: 0px 0px 0px 1em;
	padding: 3px 0px 10px 0px;
}
div#menu a {
	margin: 0px;
	padding: 0px;
	color: #333;
	text-decoration: none;
}
div#menu a:hover {
	text-decoration: underline;
}
/* Toisen tason ja sitä alemmat listat: (keskenään samanlaisia) */
div#menu ul {
	margin: 0px;
	padding: 0px;
	margin-left: 1.5em;
}
div#menu li {
	margin: 0px;
	padding: 0px;
	margin-left: 0em;
	list-style-type: square;
}
/* Korostetaan sivuvalikosta sivu, missä ollaan */
#selected {
	font-weight: bold;
}
a.block#selected {
	background: #4e89d8;
}
div#yhteystiedot {
	padding: 1em 1em 1.5em 1em;
}


/************************************/
/*** Sisältöosuus sekä
     Oikeanpuoleinen linkkipalsta ***/

div#sisalto {
	padding: 0em 1.2em 1.5em 1.2em;
}
div#toinenpalsta {
	margin-top: -1.6em;
	margin-right: 1em;
	overflow: visible;
}
div#kolmaspalsta {
	margin-top: -1.6em;
	width: 138px;
	padding-left: 1em;
	overflow: visible;
}
div#kolmaspalsta p {
	padding: 0px;
	margin: 0px;
	margin-left: 1em;
	text-indent: -1em;
}
/* Linkkien yhteydessä olevat nuolet: */
span.nuoli {
	color: #3a75c4;
	font-weight: bold;
}


/******************/
/*** Hakulomake ***/

div#haku {
	padding: 1em 0em 2em 0em;
	margin: 0em 2em 0em 1em;
	color: #333;
}
span#hakuteksti {
	padding-right: 0.5em;
	font-weight: bold;
}
input#words {
	text-align: left;
	width: 154px;
	font-size: 11px;
	vertical-align: middle;
}
input#etsi {
	padding-left: 0.5em;
	vertical-align: middle;
}


/*****************/
/*** Kalenteri ***/

table.calendar {
	width: 100%;
	border-width: 1px 1px 0px 1px;
	border-style: solid;
	border-color: #ccc;
}
table.calendar td {
	border-bottom: 1px solid #ccc;
	padding: 4px;
	padding-left: 8px;
}
table.calendar td.week {
	color: #333;
	background-color: #eee;
	font-weight: bold;
	padding-top: 5px;
}
table.calendar span.day {
	color: #444;
	font-weight: bold;
}


/****************************/
/*** Henkilökuntataulukko ***/

.henkilo {
	width: 12em;
}
.huone {
	width: 4em;
}
.puhno {
	width: 4em;
}
.nimike {}
table#henkilokunta {}
table#tilat {
	margin-top: 1em;
	border-bottom: 1px solid #444;
	float: right;
}
table#henkilokunta td, table#henkilokunta th, table#tilat td, table#tilat th,
.julkaisu td, .julkaisu th {
	padding: 3px;
}
table#henkilokunta th, table#tilat th {
	border-bottom: 1px solid #444;
}
tr.odd {
	background-color: #f0f1f2;
}
tr.even {}
span.ctl, span.cyk, span.monako, span.none {
	display: block;
	padding-left: 15px;
	background-repeat: no-repeat;
	background-position: 0 0.25em;
}
span.ctl {background-image: url(/kuvia/nelio_oranssi.gif);}
span.cyk {background-image: url(/kuvia/nelio_kelta.gif);}
span.monako {background-image: url(/kuvia/nelio_sini.gif);}
span.none {background-image: url(/kuvia/nelio_valko.gif);}


/** Opetusajat **/

table.opetusajat {
	text-align: center;
	border: 1px black solid;
	border-collapse: collapse;
	font-size: 8pt;
}

.opetusajat td {
	text-align: center;
	padding: 2px;
	background-color: white;
}

td.perus {
	background-color: #CCFFFF
}

td.aine {
	background-color: #66FFFF
}

td.syventava {
	background-color: #66CCCC;
}

td.ykielperus {
	background-color: #FFFFCC
}

td.ykielaine {
	background-color: #FFFF66
}


