html{
	height: 100%;
}

div#opacityOverlay {
	display: block;
	/*position: absolute;*/
	position: fixed;
	
	top: 0px;
	left: 0px;
	
	width: 100%;
	height: 100%;
	
	min-width: 990px;
	
	background-color: #000000;
	
	opacity: 0;
	
	display: none;
	
	z-index: 5000;
}

div#programInfoContainer {
	/*position: absolute;*/
	position: fixed;
	
	top: 0px;
	left: 0px;
	
	width: 100%;
	height: 100%;
	
	display: none;
	
	z-index: 6000;

	background-position: top center;
	background-repeat: no-repeat;
}

div#programInfoContainer  a img {
	border: none;
}

div#programInfoContainer  div#programInfoWindow {
	width: 980px;
	height: 430px;
	
	margin: 130px auto 0px 25%;
}

div#programInfoContainer  div#programInfoWindow a#closeWindow {
	position: absolute;
	display: inline;
	top: -10px;
	right: 30px;

	width: 25px;
	height: 25px;
	
	z-index: 10000;
}

div#programInfoContainer  div#programInfoWindow div.section {
	position: relative;
	float: left;
	
	height: 100%;
}

div#programInfoContainer  div#programInfoWindow div#main {
	width: 600px;
	background: url('../images/lisis_bg.png') repeat-y;
	
	padding: 0px 15px;
}

div#programInfoContainer  div#programInfoWindow div#main div.paragraph {
	position: relative;
	float: left;
	
	width: 300px;
	height: 400px;
	
	top: -22px;
}

div#programInfoContainer  div#programInfoWindow div#main div.paragraph img {
	display: block;
	padding: 5px;
	margin: 20px auto;
}

div#programInfoContainer  div#programInfoWindow div#main div.paragraph h1 {
	padding: 25px;
	
	font-size: 14px;
	font-weight: bold;
	line-height: 1;
	
	font-family: Tahoma;
	
	text-align: left;
	display: block;
}

div#programInfoContainer  div#programInfoWindow div#main div.paragraph div#description {
	height: 300px;
	margin: 0px 10px 0px 0px;
	overflow: auto;
}

div#programInfoContainer  div#programInfoWindow div#main div.paragraph p {
	padding: 0px 25px 0px;
	
	font-size: 12px;
	line-height: 1.4;
	
	font-family: Tahoma;
	
	text-align: left;
	overflow: auto;
}

div#programInfoContainer  div#programInfoWindow div#main div.buttons {
	position: relative;
	
	float: left;
	
	width: 580px;
	height: 35px;
	
	top: 15px;
	
	padding-left: 12px;
}

div#programInfoContainer  div#programInfoWindow div#main div.buttons a {
	float: left;
	
	font-size: 12px;
	color: #000000;
	
	text-decoration: none;
	
	font-family: Tahoma;
	
	margin: 0px 5px;
	
	display: inline;
	
	height: 33px;
}

div#programInfoContainer  div#programInfoWindow div#main div.buttons #comments {
	background: url('../images/btn_kommentit.gif') no-repeat top left;
}

div#programInfoContainer  div#programInfoWindow div#main div.buttons #favourite {
	background: url('../images/btn_suosikiksi.gif') no-repeat top left;
}

div#programInfoContainer  div#programInfoWindow div#main div.buttons #imdb {
	background: url('../images/btn_imdb.gif') no-repeat top left;
}

div#programInfoContainer  div#programInfoWindow div#main div.buttons #saunavisio {
	background: url('../images/saunavisio.gif') no-repeat top left;
	
	width: 144px;
}

div#programInfoContainer  div#programInfoWindow div#main div.buttons #saunavisio:hover {
	background: url('../images/saunavisio_hover.gif') no-repeat top left;
}

div#programInfoContainer  div#programInfoWindow div#main div.buttons a span {
	float: left;
	
	height: 20px;
	
	margin-left: 30px;
	
	padding: 8px 10px 5px 5px;
	
	background: url('../images/btn_bg.gif') no-repeat top right;
	
	cursor: pointer;
}

div#programInfoContainer  div#programInfoWindow div#main div.top {
	position: absolute;
	
	top: -36px;
	left: 0px;
	
	width: 630px;
	height: 36px;
	
	background: url('../images/lisis_up.png') no-repeat transparent;
}

div#programInfoContainer  div#programInfoWindow div#main div.bottom {
	position: absolute;
	
	bottom: -36px;
	left: 0px;
	
	width: 630px;
	height: 36px;
	
	background: url('../images/lisis_bottom.png') no-repeat transparent;
}

div#programInfoContainer div#programInfoWindow div#ads {
	float: right;
	width: 327px;
}

/* Boksimainos */

div#programInfoContainer  div#programInfoWindow div#ads div.box {
	position: relative;
	
	float: left;
	
	top: -15px;
	left: 21px;
}

div#programInfoContainer  div#programInfoWindow div#ads div.box  #box_ad {
	position: relative;
	display: block;
	
	top: -7px;
	left: -7px;
}

div#programInfoContainer  div#programInfoWindow div#ads div.box div.top {
	position: absolute;
	
	top: -25px;
	left: 0px;
	
	width: 100%;
	height: 25px;
	
	background: url('../images/varjo_ur.png') no-repeat top right;
}

div#programInfoContainer  div#programInfoWindow div#ads div.box div.corner_top {
	position: absolute;
	
	width: 25px;
	height: 25px;
	
	top: 0px;
	left: -25px;
	
	background: url('../images/varjo_ul.png') no-repeat top left;
}

div#programInfoContainer  div#programInfoWindow div#ads div.box div.bottom {
	position: relative;
	background: url('../images/varjo_br.png') no-repeat bottom right;
	
	padding: 0px 10px 7px 0px;
}

div#programInfoContainer  div#programInfoWindow div#ads div.box div.bottom div.corner_left {
	position: absolute;
	
	width: 25px;
	height: 100%;
	
	left: -25px;
	top: 0px;
	
	background: url('../images/varjo_bl.png') no-repeat bottom left;
}

/* Tekstimainos */

div#programInfoContainer  div#programInfoWindow div#ads div.text {
	position: relative;
	
	float: left;
	display: block;
	text-align: center;
	
	background: url('../images/textlink_bg.png') repeat-y transparent;
}

div#programInfoContainer  div#programInfoWindow div#ads div.text #text_ad {
	width: 327px;
	display: block;
}

div#programInfoContainer  div#programInfoWindow div#ads div.text a {
	font-size: 14px;
	font-weight: bold;
	font-family: Tahoma;
	color: red;
	text-decoration: none;
}

div#programInfoContainer  div#programInfoWindow div#ads div.text div.top {
	position: absolute;
	
	left: 0px;
	top: -30px;
	
	width: 100%;
	height: 30px;
	
	background: url('../images/textlink_up.png') no-repeat top left;
}

div#programInfoContainer  div#programInfoWindow div#ads div.text div.bottom {
	position: absolute;
	
	left: 0px;
	bottom: -30px;
	
	width: 100%;
	height: 30px;
	
	background: url('../images/textlink_bottom.png') no-repeat top left;
}

/* Keskipisteeseen koordinoidut elementit */

div#programInfoContainer div#origo {
	position: absolute;
	
	width: 10px;
	height: 10px;
	background-color: black;
	
}

div#trailer{
	display: none;
}

/********************
* Community
********************/

#communityWindow{
	margin-left:auto;
	margin-right: auto;
	margin-top: 10%;
	width: 772px;
	height: 466px;
	padding: 10px 10px 10px 10px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background-color: white;
}

#closeWindow {
	width: 25px;
	height: 25px;
	float: right;
}

.community{
	width: 772px;
	height: 434px;
}
		
.community iframe{
	width: 100%;
	height: 100%;
	border-width: 0;
}
