/* --------------------------------------------------
CSS Document For Leaves v1.0 - Anthonyy @ OSWD.org
-------------------------------------------------- */

/* CONTAINER */
    body {
			width: 95%;
			margin: 0 auto;
			font-family: Lucida Grande, Tahoma, Arial, Helvetica, sans-serif; /* Lucida Grande for the Macs, Tahoma for the PCs */
			font-size: 11px;
			line-height: 1.6em;
			color: #666;
			background-color: #FFF;
		}
		
/* GENERAL MOJO AND MULA */
		
		h1 {
			font-family: Arial, Helvetica, sans-serif;
			font-weight: normal;
			font-size: 25px;
			height: 32px;
			color: #CC6633;
			margin-bottom: 30px;
			background-color: #FFF;
		}
		
		h2 {
			color: #666666;
			font-size: 16px;
			font-family: Arial, Helvetica, sans-serif;
			background-color: #FFF;
		}
		
		h3 {
			color: #666666;
			font-size: 14px;
			font-family: Arial, Helvetica, sans-serif;
			background-color: #FFF;
		}
		
		a {
			color:#CC6714;
			text-decoration: none;
		}
		
		a:link img, a:visited img, a:active  img { border: 0px; }
		
		a:hover {
			color: #8F490E;
			background-color: #F5F5F5;
		}
		
		h1 a:hover {
      background-color: transparent;
		}
		
		p, form, h2, h3, h4 {
      padding-left: 20px;
		}
    p, form, ol {
      padding-right: 200px;
    }
    ul#navlist h3 {
      padding-left: 10px;
    }
/* TV-TIEDOT ELEMENTS */
    div.ohjelmalista {
      float: left;
      margin: 5px 8px;
      width: 15.5em;
      border: 0px solid gray;
    }
    div.kanavaotsikko h3{
      text-align: center;
      font-size: 14px;
      font-weight: bold;
      margin: 0px;
      padding: 0px;
    }
    div.oBox {
      padding: 5px;
      padding-bottom: 0px;
      padding-top: 1px;
      color: black;
      margin-bottom: 2px;
      background-color: transparent;
    }
    div.oBox img {
      margin: 0px 2px 0px 0px;
      vertical-align: text-bottom;
    }
    div.oBox b, div.oBox b a {
      display: block;
    }
    
    /* Normaalit värit */
    div.oBox b, div.agentti b, div.oBox b a, div.agentti b a {      
      color: #8F490E;
    }
    /* Himmennetyt värit*/
    div.himmennys b, div.himmennys b a, div.himmennys a {
      color: #FFC08C;
    }    
    /* Korostetut värit */
    div.agenttioikea b, div.highlight b, div.agenttioikea b a, div.highlight b a {
      color: #64330A;
      font-weight: bold !important;
    }
    
    div.nakyynyt b a:hover {
			background: transparent;
    }
    div.oBox b {
      font-weight: normal;
      padding-left: 34px;
      text-indent: -34px;
    }
    div.oBox b {
			cursor: default;
    }
    div.oBox:hover {
      background-color: #F5F5F5;
    }
    
    /* Agenttiboksit vasemmalla alkavat */
    div.agentti {
      padding: 0px;
      margin-bottom: 10px;
    }
    div.agentti b, div.agentti b a {
      padding-bottom: 1px;
      font-weight: bold;
      padding: 5px;
      text-indent: 0;
    }
    div.agentti div, div.agentti div.kuvaus {
      padding: 3px 5px;
      padding-top: 0px;
      width: 11em;
    }
    div.agentti div.kuvaus b {
      color: black;
      cursor: auto;
      display: inline;
      padding: 0px;
      text-indent: 0;
      font-size: 11px;
    }
    /* Agenttiboksit vasemmalla päättyvät */
    
    
    /* nolinkiä käytetään kun kuvauksia ei edes haeta */
    div.nolink b{
      cursor: default;
    }    
    td.kanavanimi {
      text-align: center;
      border-width: 0px;
    }
    div.aukaistu {
      border: 1px dotted black;
      background-color: #F5F5F5;
    }
    div.ohjelmaauki {
      border: 1px dotted black;
      background-color: #F5F5F5;
    }
    div.highlight {
      display: block;
    }
    div.highlight b {
      font-weight: bold;
    }
    
    div.highlight b span.aika {
      font-weight: normal;
    }
    /*div.highlight b {
      font-weight: bold;
    }*/
    div.nakyynyt, div.nakyynyt:hover {
      background-color: #e6e6e6;
    }    
    a.naytakuvaus {
      display: block;
    }
    div.kuvaus {
      display: none;
      padding:0px;
      margin:0px; 
      margin-bottom: 5px;
    } 
    p.linkit {
			width: 100%;
			margin-top: 5px;
			padding: 0px;
			margin-bottom: 0px;
    }
    div.kuvaussivu {
      width: 200px;
      padding-left: 20px;
    }
    div.kuvaussivu:hover {
      background: white;
    }
    tt {
      margin-left: 5px;
      margin-right: 5px;
      padding-left: 5px;
      padding-right: 5px;
      border: 1px dashed gray;
    }
    div.aikojentasaaja {
      clear: both;      
      border-bottom: 1px solid grey;
    }
/* HEADER ELEMENTS */

		#header {
			/*border-bottom: 4px solid #948979;*/
			margin-top: 20px;
			padding-top: 0px;
			clear: both;
			margin-bottom: -15px;
			height: 70px;
			background: url('kuvat/toplogo5.png') no-repeat top left;
		}
		
    #header h1 {
      margin-bottom: 20px;
      padding: 0;      		
      display: none;
      
    }
    #header h1 img {
			float: none;	
    }
		/* the slogan */
		#header p { 
			margin-top: 0px;
			padding-top: 20px;
			margin-left: 190px;
			padding-right: 0px;
			color: #999999;
		}
/* NAVIGATION ELEMENTS */
    #navigation {
      display: block;
    }
    #navigation b {
      display: block;
    }
    
    /* THE SMALL BOX BELOW NAV */

		#navigation p, #navigation form, div.nBox, #navigation ul {
			margin: 0px 0px 15px 0;
			padding: 1em;
			width: 12em;
		}
		
		#navigation select, #navigation input{
      background: #F5F5F5;
      border: 1px solid black;
      width: 100px;
		}
    
		#navigation a:link, #navlist a:visited {
			color:#CC6714;
			text-decoration: none;
		}   
       
    #navigation h4 {
      display: none;
    }
    
    #asetuksetotsikko {
      padding-left: 26px;
      background: url('kuvat/settings_otsikko.png') 0 0 no-repeat;
      height: 24px;
    }
    
    #infootsikko {
      padding-left: 26px;
      background: url('kuvat/info_otsikko.png') 0 0 no-repeat;
      height: 24px;
    }
    
    #korostetutotsikko {
      padding-left: 26px;
      background: url('kuvat/korostetut_otsikko.png') 0 0 no-repeat;
      height: 24px;
    }
    
    #piilotetutotsikko {
      padding-left: 26px;
      background: url('kuvat/piilotetut_otsikko.png') 0 0 no-repeat;
      height: 24px;
    }
    
    #ulkoasutotsikko {
      padding-left: 26px;
      background: url('kuvat/ulkoasut_otsikko.png') 0 0 no-repeat;
      height: 24px;
    }
    
    #toiminnototsikko {
      padding-left: 26px;
      background: url('kuvat/toiminnot_otsikko.png') 0 0 no-repeat;
      height: 24px;
    }
    #yleisetasetuksetotsikko {
      padding-left: 26px;
      background: url('kuvat/yleisetasetukset_otsikko.png') 0 0 no-repeat;
      height: 24px;
    }
    
    .dateselector select {
      margin-bottom: 10px;
    }
		
/* CONTENT ELEMENTS */

		#content {
			margin: 10px 0px;
		}
		
		#content p {
			padding-bottom: 10px;
			border-bottom: 0px solid #DDDDDD; /* A faint grey line below the text */
		}


/* FOOTER ELEMENTS */

		#footer {
			margin-top: 20px;
			clear: both;
			border-top: 4px solid #948979;
			padding: 0px 5px 0px 5px;
			text-align: left;
		}
		
		#footer p {
			color:#89817f;
			padding: 0px;
		}
		
		#footer p a {
			color: #89817f;
			border-bottom: 1px dotted #89817f;
		}
		
		#footer p a:hover {
			color: #999999;
			background-color:#575352;
		}

/* Tietokeskuksen luokat */
    img.helpkuva {
      float: left;
      padding: 5px;
      border: 1px solid black;
      margin: 5px;
    }
		.help {
      float: left;
      width: 80%;
		}
		sup a {
      font-size: 11px;
      font-weight: bold;
		}
		sup a:hover {
      color: red;
      text-decoration: underline;
		}
		/* And they lived happily ever after. The End. */
