@charset "utf-8";

/* CSS imports. Tried to keep in minimum. */

@import "base.css";
@import "base.forms.css";
@import "sifr.css";

/* Layout
----------------------------------------------------------- */

html, body { height: 100%; }
body { background: #1f1b0b url(../i/bodybg.jpg) repeat left top; text-align: center; }

#Wrapper {
	position: relative; width: 990px;
	min-height: 100%; height: auto;
	margin: 0 auto; text-align: left;
	background: url(../i/wrapbg.png) repeat-y left top;
	overflow: hidden;
}
#Header {
	height: 390px; position: relative; z-index: 1;
	background: #b8b4a9 url(../i/headerbottom.gif) no-repeat left bottom;
}
#ImageFader {
	position: relative; z-index: 1;
	padding-left: 360px; width: 630px; height: 375px; overflow: hidden;
	background: url(../i/headertopleft.jpg) no-repeat left top;
}
#ImageFader img { position: relative; z-index: 1; display: block; margin: 0; padding: 0; }
.FaderClass { position: relative; z-index: 1; }

#Navi {
	position: absolute; top: 15px; left: 15px;
	width: 390px; height: 345px; z-index: 2;
	background: url(../i/navibg-left.jpg) no-repeat left top;
	
}
#NaviOverlay { position: absolute; z-index: 3; top: 0px; right: 0px; width: 45px; height: 345px; background: url(../i/navibg-right.png) no-repeat right top; }
#Navi ul {
	position: absolute; z-index: 4;
	top: 160px; left: 35px;
	margin: 0; padding: 0;
	list-style: none outside;
	width: 320px; height: 170px;
}
#Navi ul li {
	position: absolute; width: 160px; height: 85px; z-index: 5;
}
#Navi ul li a { display: block; width: 160px; height: 85px; }
#Navi ul li a span { cursor: pointer; }
#Navi ul li span.NavTxt {
	display: block; position: relative;
	width: 160px; height: 85px;
	background: url(../i/navisprite-new-2.png) no-repeat left top;
	overflow: hidden; text-indent: -10000em;
}
#Navi ul li span.BgSplatter {
	display: block; position: absolute;
	width: 190px; height: 185px; top: 0px; left: -99999px;
	background: url(../i/navi-hoverbg.png) no-repeat left top;
}
#Navi ul li#Nav-Etusivu { height: 130px; width: 240px; top: -140px; left: 30px; }
#Navi ul li#Nav-Etusivu a { height: 130px; width: 240px; }

#Navi ul li#Nav-Ravintola { top: 0px; left: 0px; }
#Navi ul li#Nav-Pahis { top: 0px; left: 160px; }
#Navi ul li#Nav-Keikat { top: 94px; left: 160px; }
#Navi ul li#Nav-Sijainti { top: 75px; left: 0px; }

#Navi ul li#Nav-Ravintola, #Navi ul li#Nav-Ravintola a, #Navi ul li#Nav-Ravintola a span.NavTxt { height: 75px; }
#Navi ul li#Nav-Pahis, #Navi ul li#Nav-Pahis a, #Navi ul li#Nav-Pahis a span.NavTxt { height: 94px; }
#Navi ul li#Nav-Keikat, #Navi ul li#Nav-Keikat a, #Navi ul li#Nav-Keikat a span.NavTxt { height: 76px; }
#Navi ul li#Nav-Sijainti, #Navi ul li#Nav-Sijainti a, #Navi ul li#Nav-Sijainti a span.NavTxt { height: 95px; }

#Navi ul li#Nav-Ravintola a:hover span.BgSplatter { top: -53px; left: -39px; }
#Navi ul li#Nav-Pahis a:hover span.BgSplatter { top: -36px; left: 20px; }
#Navi ul li#Nav-Sijainti a:hover span.BgSplatter { top: -42px; left: -27px; }
#Navi ul li#Nav-Keikat a:hover span.BgSplatter { top: -47px; left: 0px; }

#Navi ul li#Nav-Etusivu a span.NavTxt { background: none; }

#Navi ul li#Nav-Ravintola a span.NavTxt { background-position: 0px 0px; }
#Navi ul li#Nav-Pahis a span.NavTxt { background-position: -160px 0px; }
#Navi ul li#Nav-Keikat a span.NavTxt { background-position: -160px -94px; }
#Navi ul li#Nav-Sijainti a span.NavTxt { background-position: 0px -75px; }

#Navi ul li#Nav-Ravintola a:hover span.NavTxt { background-position: -320px 0px; }
#Navi ul li#Nav-Pahis a:hover span.NavTxt { background-position: -480px 0px; }
#Navi ul li#Nav-Keikat a:hover span.NavTxt { background-position: -480px -94px; }
#Navi ul li#Nav-Sijainti a:hover span.NavTxt { background-position: -320px -75px; }

#LeftHeaderOverlay, #RightHeaderOverlay { display: block; position: absolute; z-index: 10; top: 0px; width: 10px; height: 390px; }
#LeftHeaderOverlay { left: 0px; background: url(../i/headerleft.png) no-repeat left top; }
#RightHeaderOverlay { right: 0px; background: url(../i/headerright.png) no-repeat right top; }

#Main {
	position: relative; z-index: 2; padding: 0 390px 0 15px;
	background: url(../i/rightbg.jpg) repeat-y 615px top;
}
#Content { position: relative; float: left; width: 555px; padding: 20px 15px; margin: 0 15px 0 0; }
#Right {
	position: relative; float: left; padding: 20px 15px;
	width: 330px; min-height: 60px; margin: -60px -375px 0 0;
  background: url(../i/righttop.png) no-repeat left top;
	overflow: hidden;
}

.Rating { float: left; width: 245px; padding: 10px; margin-right: 15px; text-align: center; }
.Rating img { display: block; margin: 0 auto 10px; }
.Second { margin-right: 0; }
.Last { float: none; clear: both; width: auto; margin: 0 60px; }

#Keikkanostot, #Keikkanostot li {
	position: relative; margin: 0; padding: 0;
	width: 330px; height: 255px; overflow: hidden;
	font-family: Arial, Verdana, Geneva, "Helvetica Neue", Helvetica, sans-serif;
}
#Keikkanostot li .NostokuvaBg {
	display: block; width: 324px; height: 214px; margin: 3px 3px 0; padding: 0; background: #72200b;
	vertical-align: middle; line-height: 210px; text-align: center;
}
#Keikkanostot li img { display: inline; margin: 0 auto; vertical-align: middle; line-height: 210px; }
#Keikkanostot li div.Keikkanostoinfot {
	position: absolute; top: 0px; left: 0px;
	width: 330px; height: 255px;
	background: url(../i/keikkanosto-overlay.png) no-repeat left top;
}
#Keikkanostot li div.Keikkanostoinfot h3 {
	position: absolute; bottom: 0px; left: 0px;
	color: #ebe7d8; font-size: 12px;
	text-align: center; padding: 0;
	margin: 0 0 12px; width: 100%;
}
#Keikkanostot li div.Keikkanostoinfot h3 a { color: #ebe7d8; text-decoration: none; }
#Keikkanostot li div.Keikkanostoinfot a.LinkkiOverlay {
	position: absolute; top: 0px; left: 0px;
	display: block; width: 330px; height: 220px;
	color: #ebe7d8; text-decoration: none;
}
#Keikkanostot li div.Keikkanostoinfot span.NostoPaiva {
 position: absolute; display: block; top: 0px; left: 0px;
 width: 75px; height: 50px; text-align: center;
}
#Keikkanostot li div.Keikkanostoinfot span.NostoPaiva span { display: block; }
#Keikkanostot li div.Keikkanostoinfot span.NostoPaiva span.NostoVP { font-size: 10px; line-height: 15px; padding-top: 5px; }
#Keikkanostot li div.Keikkanostoinfot span.NostoPaiva span.NostoPM { font-size: 20px; font-weight: bold; padding-bottom: 5px; }
#Keikkanostot li div.Keikkanostoinfot span.NostoHinta { font-size: 13px; font-weight: bold; line-height: 50px; overflow: hidden; }
#Keikkanostot li div.Keikkanostoinfot span.NostoHinta {
	position: absolute; display: block; top: 0px; right: 0px;
	width: 50px; height: 50px; text-align: center;
}
#KirjeBanneri {
	display: block; width: 330px; height: 90px;
	overflow: hidden;
}
#KirjeBanneri img { display: block; margin: 0; padding: 0; }

.BanneriLinkki { display: block; text-align: center; padding: 10px 0; }
.BanneriLinkki img { display: block; margin: 0 auto; }

#head-kommentit { position: relative; }
#kriitikko {
	position: absolute; top: 0px; right: 0px;
	height: 50px; width: 266px;
}
#kriitikko h3 { position: absolute; left: 0px; top: 9px; font-size: 11px; }
.star-rating {
	position: absolute;
	right: 15px; top: 5px;
	list-style: none outside;
	margin: 0px; padding: 0px;
	width: 120px; height: 24px;
	background: url(../i/starat.gif) top left repeat-x;		
}
.star-rating li {
	padding: 0px; margin: 0px;
	float: left; list-style: none outside;
}
.star-rating li a {
	display: block;
	width: 24px; height: 24px;
	text-decoration: none;
	text-indent: -9000px;
	z-index: 20; position: absolute;
	padding: 0px;
}
.star-rating li a:hover {
	background: url(../i/starat.gif) left center;
	z-index: 2; left: 0px;
}
.star-rating a.one-star { left: 0px; }
.star-rating a.one-star:hover { width: 24px; }
.star-rating a.two-stars { left: 24px; }
.star-rating a.two-stars:hover { width: 48px; }
.star-rating a.three-stars { left: 48px; }
.star-rating a.three-stars:hover { width: 72px; }
.star-rating a.four-stars { left: 72px; }	
.star-rating a.four-stars:hover { width: 96px; }
.star-rating a.five-stars { left: 96px; }
.star-rating a.five-stars:hover { width: 120px; }

.star-rating li.current-rating {
	background: url(../i/starat.gif) left bottom;
	position: absolute;	height: 24px;
	display: block; text-indent: -9000px;
	z-index: 1;
}

#Keikkakuvat {
	margin: 0; padding: 0; list-style: none outside;
	width: 100%; overflow: hidden;
}
#Keikkakuvat li { float: left; width: 185px; height: 185px; }
#Keikkakuvat li a {
	position: relative;
	display: block;
	padding: 12px 16px;
	width: 150px; height: 160px;
	line-height: 155px; text-align: center;
	vertical-align: middle;
}
#Keikkakuvat li a img { line-height: 155px; margin: 0 auto; vertical-align: middle; display: inline; }
#Keikkakuvat li .tc, #Keikkakuvat li .bc {
	position: absolute; display: block;
	width: 138px; height: 148px;
	background-repeat: no-repeat;
	background-position: left top;
}
#Keikkakuvat li .tc { top: 0px; right: 0px; background-image: url(../i/img-tc.png); }
#Keikkakuvat li .bc { bottom: 0px; left: 0px; background-image: url(../i/img-bc.png); }

.bandi { float: right; text-align: center; margin-top: -10px; }
.imgframe {
	position: relative;
	display: block;
	padding: 12px 16px;
	text-align: center;
}
.imgframe img { display: block; margin: 0 auto; padding: 0; }
.imgframe .tc, .imgframe .bc {
	position: absolute; display: block;
	width: 138px; height: 148px;
	background-repeat: no-repeat;
	background-position: left top;
}
.imgframe .tc { top: 0px; right: 0px; background-image: url(../i/img-tc.png); }
.imgframe .bc { bottom: 0px; left: 0px; background-image: url(../i/img-bc.png); }

/* Ovimatto */

body#Ovimatto { background: #151413 url(../i/indexbg.jpg) no-repeat 50% top; }
#Ovimatto #Wrapper { width: 960px; min-height: 0; height: auto; background: none; padding-top: 184px; overflow: visible; }

.IndexCol { width: 320px; float: left; padding: 0 0 60px; }
.IndexCol h1 { margin: 0 0 30px; padding: 0; overflow: hidden; width: 320px; height: 300px; text-align: center; }
.IndexCol h1 .Logo, .IndexCol h1 .Slogan { display: block; overflow: hidden; width: 320px; text-indent: -1000em; }
.IndexCol h1 .Logo { height: 212px; }
.IndexCol h1 .Slogan {
	height: 55px; width: 270px; margin: 0 auto;
	background: url(../i/index-sloganit.gif) no-repeat left top;
}

.IndexCol ul { list-style: none outside; margin: 0 0 0 30px; padding: 0; font-family: Arial, Helvetica, sans-serif; font-size: 18px; }
.IndexCol ul ul { font-size: 12px; margin-left: 20px; }
.IndexCol ul li { line-height: 30px; }
.IndexCol ul li a { display: block; text-decoration: none; }
.IndexCol ul li a:hover { text-decoration: underline; }
.IndexCol ul li ul li { line-height: 20px; }

#BallsCol h1 .Logo { background: url(../i/index-logo-balls.gif) no-repeat left 50%; }
#ImportCol h1 .Logo { background: url(../i/index-logo-import.gif) no-repeat 50% 50%; }
#PahisCol h1 .Logo { background: url(../i/index-logo-pahis.gif) no-repeat 50% 50%; }

#BallsCol a { color: #f19023; }
#ImportCol a { color: #50960b; }
#PahisCol a { color: #ac0d0c; }

#BallsCol a:hover { color: #fabc46; }
#ImportCol a:hover { color: #81d62d; }
#PahisCol a:hover { color: #df2f21; }

#BallsCol ul li ul li a { color: #d47408; }
#ImportCol ul li ul li a { color: #376b03; }
#PahisCol ul li ul li a { color: #8b0504; }

#BallsCol h1 .Slogan { background-position: left top; }
#BallsCol h1 a:hover .Slogan { background-position: left -55px; }
#ImportCol h1 .Slogan { background-position: -270px top; }
#ImportCol h1 a:hover .Slogan { background-position: -270px -55px; }
#PahisCol h1 .Slogan { background-position: -540px top; }
#PahisCol h1 a:hover .Slogan { background-position: -540px -55px; }

/* TB */

#TB_overlay {
	position: fixed;
	z-index:100;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
}

.TB_overlayMacFFBGHack {background: url(../i/macFFBgHack.png) repeat;}
.TB_overlayBG {
	background-color:#000;
	filter:alpha(opacity=75);
	-moz-opacity: 0.75;
	opacity: 0.75;
}

* html #TB_overlay { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_window {
	position: fixed;
	background: #ffffff;
	z-index: 102;
	color:#000000;
	display:none;
	border: 4px solid #525252;
	text-align:left;
	top:50%;
	left:50%;
}

* html #TB_window { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_window img#TB_Image {
	display:block;
	margin: 15px 0 0 15px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #666;
	border-left: 1px solid #666;
}

#TB_caption{
	height:25px;
	padding:7px 30px 10px 25px;
	float:left;
}

#TB_closeWindow{
	height:25px;
	padding:11px 25px 10px 0;
	float:right;
}

#TB_closeAjaxWindow{
	padding:7px 10px 5px 0;
	margin-bottom:1px;
	text-align:right;
	float:right;
}

#TB_ajaxWindowTitle{
	float:left;
	padding:7px 0 5px 10px;
	margin-bottom:1px;
}

#TB_title{
	background-color:#e8e8e8;
	height:27px;
}

#TB_ajaxContent{
	clear:both;
	padding:2px 15px 15px 15px;
	overflow:auto;
	text-align:left;
	line-height:1.4em;
}

#TB_ajaxContent.TB_modal{
	padding:15px;
}

#TB_ajaxContent p{
	padding:5px 0px 5px 0px;
}

#TB_load{
	position: fixed;
	display:none;
	height:32px;
	width:32px;
	z-index:103;
	top: 50%;
	left: 50%;
	margin: -16px 0 0 -16px; /* -height/2 0 0 -width/2 */
}

* html #TB_load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_HideSelect{
	z-index:99;
	position:fixed;
	top: 0;
	left: 0;
	background-color:#fff;
	border:none;
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	height:100%;
	width:100%;
}

* html #TB_HideSelect { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_iframeContent{
	clear:both;
	border:none;
	margin-bottom:-1px;
	margin-top:1px;
	_margin-bottom:1px;
}

