﻿body div#contentarea {width:935px !important;margin:0;padding:0;background:#fff;}
body div#contentarea-inside {padding:0 7px 0 0 !important;}
body.alue-tv{background: #fff url(../img/tv/tvmaailma-bg.jpg) center repeat;}
#tvmain {width:935px;_height:29px;min-height:29px;color:#fff;}
#tvmain h1 {display:block;float:left;width:500px;margin:0;padding:0;line-height:100%;height:117px;text-indent:-9999px;font-size:1em;}
#tvmain h1 a{display:block;float:left;width:500px;height:117px;}
#tvmain ul {margin:6px 0 7px 0;_height:17px;min-height:17px;float:right;padding:0 0 0 0;line-height:1;list-style:none;font-family:Tahoma, Geneva, sans-serif;font-size:16px;line-height:17px;}
#tvmain ul li {float:right;margin:0;padding: 3px 10px;clear:both;}
#tvmain ul li.first {}
#tvmain ul li.selected {background:#000;}
#tvmain ul li a {color:#fff;}
#tvmain ul li.selected a {color:#fff;}
#tvsub {width:935px;background:#e63b00 url(../img/tv/tvsub.gif) repeat-x;_height:26px;min-height:26px;clear:both;margin:0;padding:0;}
#tvsub h2 {float:left;padding:6px 12px 0 15px;margin:0;color:#fff;font-weight:bold;font-size:1.5em;}
#tvsub ul {float:left;padding:0;margin:6px 0 3px 12px;line-height:1;border-right: 1px solid #000;font-size:1.1em;list-style:none;}
#tvsub ul li {float:left;padding:0;margin:0;border-left: 1px solid #000;padding:2px 10px;}
#tvsub ul li.selected, #tvsub ul li.navi-selected {background-color:#9ddcf9;}
#tvsub ul li a {color:#fff;font-weight:normal;}
#tvsub ul li.selected a, #tvsub ul .navi-selected a {color:#000;}
#tvdates {background-color:#eaeaea;_height:22px;min-height:22px;font-size:13px;}
#tvdates ul {margin:0;_height:20px;min-height:20px;padding: 0 0 0 10px;line-height:1;}
#tvdates ul li {float:left;margin:0;border-left:1px solid #000;padding: 3px 5px;}
#tvdates ul li.selected {background-color:#eee;}
#tvdates ul li a {color:#000;font-weight:normal;}
#tvdates ul li.selected a {color:#000;background:#eee;}
#tvdates ul li.first {border-left:none;}

.maincontent a {color:#000;}
.maincontent a:hover {color:#000;text-decoration:none;}

#content .sidemenu {float:left;width:145px;margin:0;padding:0;}
.channelchooser {margin:0 0 1.5em 15px;padding:0;width:115px;float:left;border-top:1px solid #cfcfcf;border-right:5px solid #cfcfcf;}
.channelchooser dt, #content .channelchooser dd {background:#eaeaea url(../img/tv/channelchooser_bg.gif);margin:0;padding:0;border-bottom:1px solid #cfcfcf;font-size:100%;}
#content .channelchooser dd {padding-left: 8px}
#content .channelchooser .selected {text-align:right;padding:2px 12px 1px 0;background:#e5e5e5 url(../img/tv/selected-arrow2.gif) 98% 50% no-repeat;}
#content .channelchooser a {color:#00c;text-decoration:none;display:block;}
#content .channelchooser a:hover {color:#000;text-decoration:none;display:block;}
#content .channelchooser .selected a {color:#006;}
#content .channelchooser .selected a:hover {color:#000;}

#content .sidemenu .legend {margin:4px 0 1.5em 15px;padding:0;width:120px;float:left;}
#content .sidemenu h3 {margin:0 0 0 15px;padding:0;line-height:1;}
#content .sidemenu h3.legend-title{display:none;}
#content .sidemenu .legend, #content .sidemenu .legend td {border:none;display:none;}
#content .legend, #content .legend td {border:none}
.legend thead {display:none;}
.legend .color {text-indent:-9999px;}
.legend .color span {display: block; width:12px;height:12px;margin-right: 4px}
#content .sidemenu .legend td {font-size: 100%;}

/*
Värikoodaukset ohjelmatyypeille
-------------------------------
.color.topical span, span.color.topical, li.color.topical {background-color: #d9bb7f;}
.color.documentary span, span.color.documentary, li.color.documentary {background-color: #fdfb80}
.color.movie span, span.color.movie, li.color.movie {background-color: #85ff86;}
.color.culture span, span.color.culture, li.color.culture {background-color: #ffcd84;}
.color.children span, span.color.children, li.color.children {background-color: #8efeff;}
.color.education span, span.color.education, li.color.education {background-color: #c8c8c8;}
.color.sports span, span.color.sports, li.color.sports {background-color: #8387ff;}
.color.news span, span.color.news, li.color.news {background-color: #fb817c;}
.color.entertainment span, span.color.entertainment, li.color.entertainment {background-color: #ff86fd;}
*/

#contentarea #contentarea-inside #content {width:935px;margin:0;padding:0;float:left;}
#content .maincontent {margin:0;padding:0;float:left;width:790px;background:#fff;}
.alue-ohjelmat #content .maincontent {margin:0;padding:0;float:left;width:935px;background:#fff;}

p.topoptions {margin:0 0 5px 0;padding:0;}
.alue-pikataulu p.topoptions, .alue-epg p.topoptions {margin:0 0 5px 15px;padding:0;}
.topoptions a {color: #00c;font-weight:normal;}
#content .maincontent .programtable {margin:0;padding:0;border-collapse: separate;width:780px;}
#content .maincontent .programtable th {width:156px;}
#alku #content .maincontent .programtable, #content .programtable td, #content .programtable th, #content .programtable table{border:none}

#tvmain, #tvsub, #tvdates { width:935px; margin: 0 auto;}
#tvnavi {background:#c40109 url(../img/tv/tvmaailma-vinjetti_934px.png) left top no-repeat; width: 935px;}
#content.freewidth {/*width: auto*/}

#wrapper .programtable td {font-size:100%; text-align:left}
.programtable .color {height:0;text-indent:-9999px;}
.programtable th {min-width:156px;}
#wrapper .programtable th {border: 1px solid #cfcfcf;border-bottom: 0 none;border-left:5px solid #fff;padding:7px 0 7px 0; background:url(../img/bg/pisteviiva.gif) repeat-x 0 90%;}
#wrapper .programtable th img {margin:0 0 6px 0;}

#wrapper .programtable td.timesection, #wrapper .programtable .bottomrow td {padding: 5px 0;border-right: 1px solid #cfcfcf;border-bottom: 1px dotted #cfcfcf;border-left:5px solid #fff}
.programtable .color span {display: block; width:3px;height:12px;margin: 2px 0 2px 0;}
.programtable .info {display:block;line-height:1;color:#666;}
#wrapper .programtable table td {padding-right:4px}
#wrapper .programtable table {padding:0;margin:0}
#wrapper .programtable .bottomrow td {line-height:1;color:#333;border-bottom: 1px solid #cfcfcf;padding: 10px 0;}
#wrapper .programtable a {font-weight:normal}
#wrapper .programtable .current, #wrapper .programtable .current a {font-weight:bold}
#wrapper .programtable .current .info {font-weight:normal}

#sidebar-ads {display:none;}
#content-ads {clear:both;float:left;margin:0;padding:2em 0 0.8em 0; background:#fff url(../img/bg/mainos-teksti-pysty.gif) 0.8em 22px no-repeat;height:auto;width:780px;}
#content-ads-sidebar {clear:none;float:left;margin:0;padding:2em 0 0.8em 0; background: url(../img/bg/mainos-teksti.gif) no-repeat;min-height:350px;height:auto;width:160px;}
#content-ads ul {list-style:none;float:left;margin:0;padding:0;height:auto;width:780px;}
#content-ads ul li {display:inline;margin:0 20px;padding:0;}
#content-ads ul li div {display:inline;margin:0;padding:0;}

#content {min-height:0;padding-top:5px !important;}
#sitefooter { clear:both;float:left;width:100%;}

.hide {/*height:0;position:absolute;text-indent:-9999px*/display:none;}
#content table.channeltable {border:1px solid #cfcfcf;border-left:0 none;border-collapse:collapse;margin:0 5px 1em 0;float:left;background:#fff;}
#content .channeltable a {font-weight:normal}
.alue-pikataulu #content table.channeltable {border:0 none !important;border-collapse:collapse;margin:0 5px 1em 12px;float:left;}
.alue-kanavat #content table.channeltable, .alue-kategoriat #content table.channeltable, .alue-alkamisajat #content table.channeltable {width:435px}
#content table.channeltable td {padding:0;border:0 none;vertical-align:top;/*width:auto;min-width:100px;max-width:212px;*/}
.alue-pikataulu #content table.channeltable td {padding:0;margin:0;border:0 none;vertical-align:top;width:194px;}
.alue-kategoriat #content table.channeltable tbody, .alue-alkamisajat #content table.channeltable tbody {display:block;float:left;padding-bottom:20px;}

#channeltable-wrapper {float:left;margin:0;padding:0;width:780px;overflow:auto;}
#content table.channeltable table {border:0 none;border-right:1px solid #cfcfcf;margin:0 0 0 0;border-collapse:collapse;font-size:0.9em;width:100%;}
#content table.channeltable table tr:hover{background:#eee;}
#content table.channeltable td td {padding:0;border:0 none;vertical-align:top;}
#content table.channeltable td.color {padding:0 0 0 2px;width:3px;border:0 none;vertical-align:top;}
#content table.channeltable th {padding:0;border:0 none;padding-top:7px;}
#content table.channeltable th img {margin:0 0 6px 0;}
.alue-ohjelmataulu #content table.channeltable th img {margin:0 0 6px 3px;}

.alue-ohjelmataulu #content table.channeltable {border:1px solid #cfcfcf;border-right:0 none;border-collapse:collapse;margin:1px 5px 1em 0;float:left;}
.alue-ohjelmataulu #content table.channeltable th, .alue-ohjelmataulu #content table.channeltable td {border-right:1px solid #cfcfcf;}
.alue-ohjelmataulu #content table.channeltable td table td {border-right:0 none;}
.alue-ohjelmataulu #content table.channeltable table {border:0 none;border-right:0 none;width:99% !important;}
#content .channeltable .color {text-indent:-9999px;width:3px;font-size:1px;}
#content .channeltable .color span {display: block; width:3px;height:12px;margin: 2px 0 2px 0;line-height:120%;font-size:1px;}
#content ul.pikatauluohjelma li span, .channeltable li span.color {display: block;float:left; width:3px;height:12px;margin: 0 2px 3px 0;line-height:120%;}
#content ul.pikatauluohjelma li span.info {display: block;float:left; width:auto;height:auto;margin: 0 0 0 0;line-height:1;}
#content ul.pikatauluohjelma li div {display:block;line-height:1;color:#666;float:left;padding:0 0 10px 10px;margin:0;width:170px;}
#content table.channeltable td.ohjelmatiedot {padding-right:5px !important;line-height:120%;}
.channeltable .info {display:block;line-height:1;color:#666;min-width:80px;max-width:157px;padding:0 0 5px 0;overflow:hidden}
#content table.channeltable td.kellonaika {width:30px !important;padding-left:3px !important;line-height:120%;}

#content table.channeltable a.quicktable-channelheader {display:block;background:url(../img/bg/pisteviiva.gif) repeat-x 0 90%;margin:10px 0 0 0;padding:7px 0 7px 0;float:left;width:184px;border:1px solid #cfcfcf;border-left:0 none;border-bottom:0 none;text-decoration:none;}
#content table.channeltable ul.pikatauluohjelma {margin:0; padding:0; list-style:none;float:left;width:184px;border:1px solid #cfcfcf;border-left:0 none;border-top:0 none;}
#content table.channeltable ul.pikatauluohjelma li {margin:0 0 2px 0; padding:0;font-size:1em;float:left;width:184px;color:#000;}
div.todays {float:left;width:180px;margin:0 5px 0 0;padding:0;background:#eaeaea url(../img/tv/channelchooser_bg.gif);}
.todays h3 {background:#600;color:#fff;margin:0;padding:4px;}
.todays dl {margin:0 0 18px 0;padding:0;width:180px}
.todays dt {margin:0;padding:2px 4px;font-weight:bold;border-bottom:1px solid #cfcfcf;}
.todays dd {margin:0;padding:2px 4px;line-height:1.2em;}
.todays dd span {display:block;margin:0;padding:0 0 0.3em 0;}
.todays span a {color:#006;}
.todays span a:hover {color:#000;}


.alue-epg #content li.epgnoprogram {}
.timeline-navi {margin:10px 0 20px 15px;float:left;text-align:right;}

.content-legend {margin:4px 0 1.5em 15px;padding:0;width:120px;float:left;}
.content-legend table.legend {margin:0;padding:0;width:120px;float:left;border:0 none;}
.content-legend h3.legend-title {margin-left:0;padding-left:0;width:120px;float:left;}
.alue-pikataulu .legend-title {clear:left;}

.alue-epg div.epg-pagebottom {margin:0;padding:10px 0;width:935px;float:left;}
.alue-epg div.epg-pagebottom .content-legend {float:left;padding:0;width:150px;}
.alue-epg div.epg-pagebottom .content-legend table.legend {float:left;padding:0;width:120px;}
.alue-epg div.epg-pagebottom #content-ads {float:left;margin:0;padding:0;width:735px;clear:none;}
.alue-epg div.epg-pagebottom #content-ads ul {float:left;margin:0;padding:0;width:735px;clear:none;}
.alue-epg div.epg-pagebottom #content-ads ul li {display:inline;margin:0 20px;padding:0;width:auto;}

.alue-epg div#sidebar-ads {display:none;}

#content ul.channelgroups {margin:4px 0 20px 15px;width:120px;padding:0;list-style:none;float:left;}
#content ul.channelgroups li {margin:0;padding:0;width:120px;float:left;}
#content ul.channels {margin:4px 0 20px 15px;float:left;width:120px;padding:0;list-style:none;}
#content .channelgroups ul.channels {margin:0 0 -1px 0;float:left;width:120px;padding:0;list-style:none;border-top:1px solid #cfcfcf;}
#content ul.channelgroups li, #content ul.channels li {margin:0;padding:0;width:120px;border-bottom:1px solid #cfcfcf;font-size:1em;}
#content ul.channelgroups li a, .channels li a {display:block;margin:0;padding:2px 0;color:#000;text-decoration:none;font-weight:normal;}
#content ul.channelgroups li a:hover, .channels li a:hover {display:block;color:#000;padding:2px 0;text-decoration:none;background:#eee;}
#content ul.channelgroups li .channels li a {padding:2px 0 2px 10px;}
#content ul.channelgroups li .channels li a:hover {padding:2px 0 2px 10px;}

.alue-kategoriat #content ul.channelgroups li .channels li a {padding:2px 0 2px 10px;font-weight:normal;color:#333;}
.alue-kategoriat #content ul.channelgroups li .channels li a:hover {padding:2px 0 2px 10px;font-weight:normal;color:#000;}

#content ul.channels li.selected a {display:block;margin:0;padding:2px 12px 1px 0 !important;background:#eee url(../img/tv/selected-arrow.gif) no-repeat 98% 50%;text-align:right;}

.alue-kategoriat ul.channelgroups li.selected a {display:block;margin:0;padding:2px 12px 1px 0 !important;background:#9ddcf9 url(../img/tv/selected-arrow.gif) no-repeat 98% 50%;text-align:right;}
.alue-kategoriat #content ul.channelgroups li.selected ul.channels li a  {display:block;margin:0;padding:2px 0 2px 10px !important;text-decoration:none;text-align:left;background:#fff;}
.alue-kategoriat #content ul.channelgroups li.selected ul.channels li.selected a {display:block;margin:0;padding:2px 12px 1px 0 !important;background:#ffff00 url(../img/tv/selected-arrow.gif) no-repeat 98% 50%;text-align:right;}

#content ul.channelgroups li span.channels-selected-date, #content ul.channelgroups li span.channel-selector, 
#content ul.channelgroups li a.channel-selector {display:block;width:120px;float:left;margin:12px 0 0 0;padding:4px 0 4px 0;font-size:1.25em;font-weight:bold;color:#000;border-bottom:2px solid #cfcfcf;}

/* #content table.channeltable tr.menneisyys td.color span {background:#ccc !important;} */
#content table.channeltable tr.menneisyys td, 
#content table.channeltable tr.menneisyys td a, 
#content table.channeltable tr.menneisyys th, 
#content table.channeltable tr.menneisyys th a, 
#content table.channeltable tr.menneisyys td {color:#999 !important;}

table.channeltable tr.progrow04-14 {border-top:0 none;}
table.channeltable tr.progrow14-18 {border-top:1px solid #dedede;}
table.channeltable tr.progrow18-21, table.channeltable tr.progrow21-03 {border-top:1px solid #dedede;}
#content table.channeltable tr.progrow04-14 td {padding-top:0px;padding-bottom:5px;}
#content table.channeltable tr.progrow14-18 td, #content table.channeltable tr.progrow18-21 td, #content table.channeltable tr.progrow21-03 td {padding-top:5px;padding-bottom:5px;}
#content table.channeltable tr.progrow04-14 td td,#content table.channeltable tr.progrow14-18 td td, #content table.channeltable tr.progrow18-21 td td, #content table.channeltable tr.progrow21-03 td td {padding:1px;}


#program-details {margin:0 0 0 12px;padding:0 10px 0 0;width:568px;float:left;font-size:130%;}
#content #program-details h3 {display:block;background:url(../img/bg/pisteviiva.gif) repeat-x left bottom;padding:0 0 7px 0;}
.program-details-header {margin:0 0 1em 0;padding:0 0 7px 0;/*width:358px;*/width:568px;float:left;background:url(../img/bg/pisteviiva.gif) repeat-x left bottom;}
.program-details-ratings {/*margin:0;padding:0;width:210px;float:left;*/display:none;}
#content #program-details p {margin:0 0 1.2em 0;padding:0;}
#content #program-details .program-details-header p {margin:0 0 0 0;padding:0;}
#content #program-details p img {float:right;margin:0 0 0 0.2em;padding:0;}
.channel-icon {float:right;margin:0;padding:0;display:inline;}

#program-details dl {margin:0;padding:0;width:568px;clear:both;font-size:80%;}
#program-details dt {margin:0;padding:2px 4px 2px 2px;width:107px;background:#f0f0f0 url(../img/piste-harmaa.gif) repeat-x left bottom;font-size:1em;text-align:right;float:left;color:#000;}
#program-details dd {margin:0;padding:2px 2px 2px 4px;width:449px;background:#fff url(../img/piste-harmaa.gif) repeat-x left bottom;font-size:1em;float:left;}

#discuss-about-the-program {clear:both;margin:10px 0;padding:0;display:block;float:left;width:568px;border:1px solid #e73b00;}
#discuss-about-the-program a {font-weight:normal;font-size:85%;display:block;float:left;padding:2px;}
#discuss-about-the-program a strong {font-size:105%;}
#discuss-about-the-program a.discuss-title {display:block;float:left;padding:2px 18px 2px 28px;background:#e73b00 url(../img/tv/keskustelu-ikoni.gif) no-repeat 2px 2px;color:#fff;text-decoration:none;font-weight:bold;font-size:105%;}
#content p.document-link {float:left;width:568px;padding:5px 0 0 0 !important;margin:0 0 1em 0 !important;border-top:1px solid #e73b00;font-size:80%;}