/* @override http://www.goldenresort.fi/css/style.css */

/* -----------------------------------------------------------

	Project:		Golden resort
	Version:		1.0
	Created:		20/5/2009
	Modified:		
	
		[Table of contents]
		1. Reset
		2. Typography
			2.1	Headings
			2.2	Text elements
			2.3	Lists
			2.4	Tables
			2.5	Forms
		3. Structure
			3.1	Header
			3.2	Navigation
			3.3	Content
			3.4	Footer
		4. Clear floats
	
----------------------------------------------------------- */


/* -----------------------------------------------------------

	Reset
	
----------------------------------------------------------- */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
	outline: 0;
}


/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
a img { border: none; }


/* -----------------------------------------------------------

	Typography
	
----------------------------------------------------------- */

/* Default font settings. 
   The font-size percentage is of 16px. (0.75 * 16px = 12px) */
body { 
	font-size: 75%;
	color: #222;
	line-height: 1.5;
	font-family: "Trebuchet MS", Arial, sans-serif;
}


/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #8b6131; font-family: Georgia, Arial, sans-serif;}

h1 { font-size: 1.9em; line-height: 1; margin-bottom: 0.8em; }
h2 { font-size: 2em; margin-bottom: 0.75em; }
h3 { font-size: 1em; line-height: 1.25;font-weight: bold; font-family: "Trebuchet MS", Arial, sans-serif;}
h4 { font-size: 1.25em; line-height: 1; margin-bottom: 0.3em; color: #000;}
h5 { font-size: 1.25em; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }

h1 img, h2 img, h3 img, 
h4 img, h5 img, h6 img {
  margin: 0;
}


/* Text elements
-------------------------------------------------------------- */

p           { margin: 0 0 1.5em; }
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }

a:focus, 
a:hover     { color: #8b6131; text-decoration: underline;}
a           { color: #8b6131; text-decoration: none; font-family: "Trebuchet MS", Arial, sans-serif;}

blockquote  { margin: 1.5em; color: #222; font-style: normal; }
strong      { font-weight: bold; }
em,dfn      { font-style: italic; }
dfn         { font-weight: bold; }
sup, sub    { line-height: 0; }

abbr, 
acronym     { border-bottom: 1px dotted #666; }
address     { margin: 0 0 1.5em; font-style: italic; }
del         { color:#666; }

pre,code    { margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; } 

/* Lists
-------------------------------------------------------------- */

ul, ol      { color: #8b6131;}

ul          { list-style-type: none; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;}


/* Tables
-------------------------------------------------------------- */

th          { font-weight: bold; background: #C3D9FF; }
th,td       { border: 1px solid #ababab;}
tr.even td  { background: #E5ECF9; }
tfoot       { font-style: italic; }
caption     { background: #eee; }

/* Calendar table */

th{
	background: none;
	border: none !important;
}

th a{
	color: #000 !important;
}

tr.calendarRow{
	background: #fff;
}

.months{
	width: 220px;
}

.calendarPrevMonth{
	float: left;	
}

.calendarNextMonth{
	float: right;	
}

table{
	width: 235px !Important;
	padding-top: 10px;
	margin-bottom: 0;
	float: left;
	display: inline;
	border-collapse: separate; 
	border-spacing: 2px;
}

th{
	background: none !important;
	border: none !important;
	padding-left: 0 !important;
}

th a{
	color: #000 !important;
}

td{
	width: 30px;
	height: 20px;
	text-align: center;
	background: #fff;
}

td.Paritalohuvila{
	background: #9a6b33;
}

td.Paritalohuvila.Huvila{
	background: transparent url(../img/molemmat.jpg) no-repeat 0 0;
}

td.Huvila{
	background: transparent url(../img/huvila-bg.jpg) no-repeat top right;
	background: #e2a052;
	
}

td.viikonpaivat{
	color: #fff;
	background: #000;
	text-align: center;
}

.vapaa{
	position: absolute;
	top:126px;
	left:245px;
	*left: 280px;
	background: transparent url(../img/vapaa.gif) no-repeat 0 0;
	text-indent: 35px;
	*width: 150px;
	line-height: 2em;
}

.eivapaa{
	position: absolute;
	top:156px;
	left:245px;
	*left: 280px;
	background: transparent url(../img/ei-vapaa.gif) no-repeat 0 0;
	text-indent: 35px;
	*width: 150px;
	line-height: 2em;
}


/* Forms
-------------------------------------------------------------- */

label { font-weight: bold; }

fieldset    { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
legend      { font-weight: bold; font-size:1.2em; }

input.text, input.title   { width: 300px; margin:0.5em 0.5em 0.5em 0; }
input.text, input.title   { border:1px solid #bbb; background:#f6f6f6; padding:5px; }
input.text:focus,
input.title:focus         { border:1px solid #999; background:#fff; }
input.title               { font-size:1.5em; }

textarea            { width: 400px; height: 250px; margin:0.5em 0.5em 0.5em 0; }
textarea            { border:1px solid #bbb; background:#eee; padding:5px; }
textarea:focus      { border:1px solid #999; background:#fff; }

select              { border:1px solid #999; background:#fff; width:200px;}
select:focus        { border:1px solid #999; background:#fff; }

#hakuform p{
	padding: 0;
	margin: 0;
}

/* -----------------------------------------------------------

	Structure
	
----------------------------------------------------------- */

body {
	background: #fff;
	text-align: center; /*ie hack for centered layout. if not centered, remove this line and the next hack in wrapper*/
}

#ajankohtaista{
	background: transparent url(../images/uploads/taustat/ajankohtaista-bg.jpg) no-repeat center top;
}

#black{
	background: #fff;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 715px;
	opacity: 0.7;
	z-index: -1;
}

#etusivu{
	background: transparent url(../images/uploads/taustat/etusivu-bg.jpg) no-repeat center top;
}

#gallerybg{
	background: transparent url(../images/uploads/taustat/galleria-bg.jpg) no-repeat center top;
}

#harrasta{
	background: transparent url(../images/uploads/taustat/harrasta-bg.jpg) no-repeat center top;
}

#nukuhyvin{
	background: transparent url(../images/uploads/taustat/nukuhyvin-bg.jpg) no-repeat center top;
}

#syohyvin{
	background: transparent url(../images/uploads/taustat/syohyvin-bg.jpg) no-repeat center top;
}
	

#page {
	margin: auto;
	background: transparent;
	width: 950px; /*fill in the width of the page*/
	text-align: left; /*for previous ie hack*/
	min-height: 700px;
  	height: auto !important;
  	height: 700px;
  	z-index: 1;
}

#container {
	margin: auto;
	background: transparent;
	width: 950px; /*fill in the width of the page*/
	text-align: left; /*for previous ie hack*/
	min-height: 710px;
  	height: auto !important;
  	height: 710px;
  	padding-bottom: 15px;
  	clear: both;
}

/* Header
-------------------------------------------------------------- */



/* Navigation
-------------------------------------------------------------- */
#navi{
	float: left;
	display: inline;
	width: 170px;
	position: relative;
	font-family: Georgia, Arial, sans-serif;
}

#navibar{
	background: transparent url(../img/navigaatio-bg.png) no-repeat center top;
	*background: transparent url(../img/navigaatio-bg_ie.png) no-repeat center top;
	padding-top: 20px;
	padding-bottom: 10px;
	width: 100%;
	float: left;
	display: inline;
	height: 260px;
	*height:265px;
}

#navibar-ru{
	background: transparent url(../img/navigaatio-bg-ru.png) no-repeat center top;
	padding-top: 20px;
	padding-bottom: 10px;
	width: 100%;
	float: left;
	display: inline;
	height: 320px;
	font-size: 1.2em;
}

#navibar ul{
	font-size: 1.16em;
	margin: 0;
	margin-top: -10px;
	padding: 0;
}

#navibar ul li.selected {
	background: #fff;
	opacity: 1 !important;
	visibility: visible;
}
	
#jsddm li{	
	width: 170px;
	display: block;
}

#jsddm li a{
	width: 143px;
	min-height: 38px;
  	height: auto !important;
  	height: 38px;
	display: block;
	line-height: 2.3em;
	padding: 0px 12px 0px 15px;
	text-decoration: none;
	color: #8b6131;
	font-family: georgia, arial, sans-serif !important;
}

#jsddm li a:hover{	
	text-decoration: none;
	background: #ffffff;
	display: block;
	opacity: 1 !important;
	filter: alpha(opacity = 100) !important;
}
		
#jsddm li ul{
	background: transparent url(../img/subnavi-bg.png) no-repeat 0 0;
	_background:none;
	position: absolute;
	padding: 0;
	top: 206px;
	_top: 0px;
	left: 170px;
	visibility: hidden;
	width: 160px;
	height: 272px;
	display: block;
	margin-bottom: 10px;
}

#harrasta-ja-nauti{
	position: absolute;
	top: 206px !important;
	*top: 134px;
	_top: -78px !important; 
	min-height: 271px;
  	height: auto !important;
  	height: 271px;
	background: transparent url(../img/subnavi-harrasta-bg.png) no-repeat !important;
	_background:none !important;

}
		
#jsddm li ul li{
	display: block;
	width: 160px;
	height: auto;
}
		
#jsddm li ul li a{	
	color: #777;
	font-size: 0.8em !important;
	display: block;
  	min-height: 32px;
  	height: auto !important;
  	height: 32px;
	width: 132px;
	_background:#ffffff !important;
	xopacity: 0.9 !important;
	xfilter: alpha(opacity = 90) !important;
}

#jsddm li ul li a:hover{	
	visibility: visible;
	_background: #ffffff;
	background: #fff url(../img/subnavi.jpg) repeat-y 0 0;
	opacity: 1 !important;
	filter: alpha(opacity = 100) !important;
}

#jsddm li#galleria{
	border: none !important;
}

#jsddm li#galleria a:hover{
	background: #fff;
	opacity: 1;
}

#logo {
	background: #fff;
	opacity:1;
	margin-top: 40px;
	padding-bottom: 15px;
	width: 170px;
	height: 140px;
} 

#logo a{
	background: #fff;
	opacity: 0.9;
	
} 
.noborder{
	border: none !important;
	background: transparent url(../img/arrows.gif) no-repeat right 17px;
}

#languagebar select{
	width: 150px;
	border:1px solid #ababab;
	background: #fff;
	color: #ababab;
	margin: 10px 0 5px 10px;
}

#languagebar{
	width: 170px;
	float: left;
	display: block;
	background: #fff;
	opacity: 0.90;
	filter: alpha(opacity = 90);
}

#languagebar ul{
	width: 142px;
	height: 16px;
	float: left;
	display: inline;	
	margin-top: 5px;
	padding: 10px 0 10px 26px;
	text-indent: -9000px !important;
}

#languagebar ul li{
	width: 22px;
	height: 15px;
	float: left;
	display: block;
	padding-right: 10px;		
	text-indent: -9000px;
}

#languagebar ul li a{
	width: 22px;
	height: 15px;
	float: left;
	display: block;	
}

#languagebar ul li a#suomi{
	background: transparent url(../img/language-sprite2.png) no-repeat -25px 0px;
}

#languagebar ul li a#englanti{
	background: transparent url(../img/language-sprite2.png) no-repeat -77px -1px;
}

#languagebar ul li a#ruotsi{
	background: transparent url(../img/language-sprite2.png) no-repeat -126px 0;
}

#languagebar ul li a#venaja{
	background: transparent url(../img/language-sprite2.png) no-repeat -176px 0px;
}

#languagebar ul li a:hover#suomi, #languagebar ul li a#suomi.valittu{
	background: transparent url(../img/language-sprite2.png) no-repeat 0px 0px;	
}

#languagebar ul li a:hover#englanti, #languagebar ul li a#englanti.valittu{
	background: transparent url(../img/language-sprite2.png) no-repeat -51px -1px;
}

#languagebar ul li a:hover#ruotsi, #languagebar ul li a#ruotsi.valittu{
	background: transparent url(../img/language-sprite2.png) no-repeat -101px 0;
}

#languagebar ul li a:hover#venaja, #languagebar ul li a#venaja.valittu{
	background: transparent url(../img/language-sprite2.png) no-repeat -151px 0px;
}

#keywords {
	background: #fff;
	color: #ababab;
	width: 125px;
	height: 17px;
	border:1px solid #ababab;
	margin: 0 0 15px 10px;
	float: left;
	display: inline;
}

input.submit {
	width: 25px;
	float: left;
	height: 21px;
	*height:22px;
	display: inline;
	cursor: pointer;
	background: #fff url(../img/search.png) no-repeat -1px 0;
	border: none;
}

.haku{
	width: 170px;
	*padding-bottom:15px;
}

.syohyvin{
  	min-height: 32px;
  	height: auto !important;
  	height: 32px;
}

.syohyvin a{
  	min-height: 32px;
  	height: auto !important;
  	height: 32px;	
  	line-height: 2em !important;
}

/* Content
-------------------------------------------------------------- */

.border{
	border-bottom: 1px solid #dbdbdb;
}

.border-top{
	background: transparent url(../img/border-bg) no-repeat right center;
}

#content{
	width: 470px;
	float: right;
	display: inline;
	margin-top: 40px;
	background: #fff;
  	height: 410px;
  	overflow:auto;
  	overflow-x:hidden;
} 
#content h3{padding-bottom: 10px; font-size: 14px;}

#contentvaraus{
	width: 470px;
	float: right;
	display: inline;
	margin-top: 40px;
	xbackground:transparent url(../img/contentvaraus-bg.png) no-repeat 0 0;
  	height: 410px;
  	background: #fff;
  	opacity: 0.9;
  	filter: alpha(opacity = 90);
  	overflow:auto;
  	overflow-x:hidden;
}

.contenttext{
	padding: 30px 40px 0 40px;
	_padding: 30px 0 0 40px;
	float: left;
	display: inline;
	width: 375px;
	*width:350px;
}

.contenttextetusivu{
	float: left;
	display: inline;
	padding: 30px 40px 10px 40px;
	width: 375px;
}

.contenttextetusivu p{
	margin-bottom: 1.2em !important;
}

.huvila-varattu{
	position: absolute;
	top:126px;
	left:245px;
	*left: 280px;
	background: transparent url(../img/paritalo-varattu.jpg) no-repeat 0 0;
	text-indent: 35px;
	*width: 150px;
	line-height: 2em;
}

.img{
	float:left;
	display: inline;
	padding-bottom: 20px;
}

.img img{
	float:left;
	display: inline;
	padding-right: 10px;
	padding-bottom: 10px;
}

.klubi{
	background: #9a6b37;
}

.luelisaa{
	background: transparent url(../img/arrows_small.gif) no-repeat right center;
	padding-right: 10px;
	color: #8b6131;
}

.luelisaabig{
	background: transparent url(../img/arrow.gif) no-repeat left center;
	padding-left: 15px;
	clear: both;
}

.molemmat-varattu{
	position: absolute;
	top:186px;
	*top:180px;
	left:245px;
	*left:280px;
	line-height: 2em;
	background: transparent url(../img/molemmat.jpg) no-repeat 0 0;
	text-indent: 35px;
	*width: 150px;
}

.majoitukset{
	float: left;
	display: inline;
	*width: 370px;
}

.majoitukset p{
	padding-bottom: 10px;
}

.majoitukset ul li{
	background: transparent url(../img/border-bg.gif) no-repeat top left;
	height: 30px;
	width: 400px;
	height: 35px;
	margin-top: -10px;
	_margin-top:-15px;
	*margin-top:-15px;
	padding-top: 10px;
}

.majoitukset ul li span{
	padding: 0 20px 0 15px;
	background: transparent url(../img/arrows.gif) no-repeat left center;
	font-family: "Georgia", Arial, sans-serif;
	font-size: 1.3em;
	width: 240px !important;
	float: left;
	display: inline;
}

.majoitukset ul li a.linkit{
	background: transparent url(../img/arrows_small.gif) no-repeat right 8px;
	margin-right: 10px;
	padding-right: 15px;
	padding-left: 15px;
	float: left;
	display: inline;
	border-left: 1px dotted #8b6131;
}

.majoitukset ul li a.ekalinkki{
	background: transparent url(../img/arrows_small.gif) no-repeat right 8px;
	margin-right: 10px;
	padding-right: 15px;
	padding-left: 10px;
	float: left;
	display: inline;
}

.majoitukset ul li a{
	padding-top: 2px;
}

#news{
	float: left;
	display: inline;
	padding: 20px 40px 0px 40px;
	_padding: 20px 0 0 40px;
	width: 375px;
}

.news_text{
	float: left;
	display: inline;
	width: 410px;
}

.news_text a{
	font-weight: bold;
	color: #222;
}

.newslist{
	float: left;
	display: inline;	
	width: 410px;
	*width:390px;
}

#nostot{
	width: 470px;
	float: right;
	margin-top: 15px;
	background: #fff;
	opacity: 0.9;
	filter: alpha(opacity = 90);
	clear: right;
}

.nostokuva{
	float: left;
	display: inline;
	width: 215px;
	height: 80px;
	padding: 10px;
}

.nostokuva img{
	float: left;
	display: inline;
	padding-right: 10px;
}

.nostokuva h4{
	padding-top: 10px;
	width: 130px;
	float: left;
	display: inline;
}
.nostokuva p{
	float: left;
	display: inline;
	width: 130px;
	margin: 0;
}

.paritalo-varattu{
	position: absolute;
	top:156px;
	*top:180px;
	left:245px;
	*left:280px;
	line-height: 2em;
	background: transparent url(../img/huvila-varattu.jpg) no-repeat 0 0;
	text-indent: 35px;
	*width: 150px;
}

.talo{
	float:left;
	display: inline;
	position: relative;	
	width: 410px;
}

.varaukset{
	float: left;
	display: inline;
}

.varausinfo{
	float: left;
	display: inline;
	padding-top: 20px;
}

/* Footer
-------------------------------------------------------------- */
#footer{
	float: left;
	display: inline;
	clear: both;
	width:960px;
}

#footer p{
	font-family: Georgia, arial, sans-serif;
	color: #8b6131;
}

#footer p span{
	padding-left: 6px;
	padding-right: 6px;
}

#footer a{
	background: transparent url(../img/arrows_small.gif) no-repeat right 5px;
	padding-right: 10px;
	font-family: "Georgia", Arial, sana-serif;
	margin-right: 180px;
	*margin-right: 110px;
}

/* -----------------------------------------------------------

	Clear floats
	
----------------------------------------------------------- */
.wrapper 		{ display: inline-block; }
.wrapper:after 	{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
* html .wrapper { height: 1%; }
.wrapper 		{ display: block; }
.floatright{
	float: right !important;
}

.clear{
	clear: both;
}
