/* @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-color: #fff;
	text-align: center; /*ie hack for centered layout. if not centered, remove this line and the next hack in wrapper*/
	margin: 0;
	padding: 0;
	background-position: top center;
	background-repeat: no-repeat;
	/* This next one is for IE6 */
	background-attachment: fixed;
	/*CSS3 Webkit background scale*/
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

@media only all and (max-width: 640px) and (max-height: 426px) {
	body {
		background-size: 640px 426px;
		-moz-background-size: 640px 426px;
		-webkit-background-size: 640px 426px;
	}
}

@media only screen and (orientation: portrait) and (device-width: 320px), (device-width: 768px) {
	body {
		-webkit-background-size: auto 100%;
	}
}
 
@media only screen and (orientation: landscape) and (device-width: 320px), (device-width: 768px) {
	body {
		-webkit-background-size: 100% auto;
	}
}

#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: 100%;
	opacity: 1.0;
	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-bg2.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;
	xmargin-bottom: 10px;
	display: inline;
	height: 335px;
	*height:345px;
}

#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: 405px;
	margin-bottom: 10px;
	font-size: 1.2em;
}
#navibar-ru ul li a{
	min-height: 28px;
	height: auto !Important;
	height: 28px;
	line-height: 1.8em;
}
#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: 153px;
	min-height: 32px;
  	height: auto !important;
  	height: 32px;
	display: block;
	line-height: 2.1em;
	padding: 0px 2px 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;
	xbackground:none;
	position: absolute;
	padding: 0;
	margin-top: -33px;
	xtop: 206px;
	left: 170px;
	visibility: hidden;
	width: 160px;
	height: 272px;
	display: block;
	margin-bottom: 10px;
}

/* removed 27.09.2011

#harrasta-ja-nauti{
	position: absolute;
	top: 206px !important;
	*top: 134px;
	x_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;
  	line-height: 2.5em;
	width: 142px;
	_background:#ffffff !important;
}

#jsddm li ul li a:hover{	
	visibility: visible;
	xbackground: #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: 28px;
  	height: auto !important;
  	height: 28px;
}

.syohyvin a{
  	min-height: 25px;
  	height: auto !important;
  	height: 25px;	
  	padding-top: 5px !important;
  	line-height: 1.8em !important;
}
ul#globalnavi{
	float: left;
	display: inline;
	width: 130px;
	padding: 0px 0 10px 15px;
	width: 155px;
	float: left;
	display: block;
	background: #fff;
	opacity: 0.90;
	filter: alpha(opacity = 90);
}
ul#globalnavi li a{
	xcolor: #fff;
	font-family: georgia;
	xfont-weight: bold;
}

/* 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: 510px;
  	overflow:auto;
  	overflow-x:hidden;
} 
.russia{
	height: 530px !important;
}
#content h3{padding-bottom: 0px; font-size: 14px;}

#contentvaraus{
	width: 470px;
	float: right;
	display: inline;
	margin-top: 40px;
	background: transparent url(../img/1x190pros.png) repeat 0 0;
  	height: 490px;
  	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 0px 40px;
	width: 375px;
}

.contenttextetusivu p{
	margin-bottom: 1.5em !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;
	float: left;
}

.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: 55px;
	background: #fff;
	opacity: 0.9;
	filter: alpha(opacity = 90);
	clear: right;
}
#nostot h2 {
	font-size: 14px;
	margin: 0;
	
}

.ekanosto {
	width: 210px;
	float: left;
	padding: 20px 0 20px 20px ;
}
.tokanosto {
	width: 210px;
	float: left;
	padding: 20px 0 20px 20px ;
}


.nostokuva{
	float: left;
	display: inline;
	width: 330px;
	height: 80px;
	padding: 10px;
	margin-left: 32px;
}

.nostokuva img{
	float: left;
	display: inline;
	padding-right: 10px;
}

.nostokuva h4{
	padding-top: 10px;
	width: 130px;
	xfloat: left;
	display: inline;
}
.nostokuva p{
	xmargin-left: 30px;
	xfloat: left;
	xdisplay: inline;
	width: 220px;
	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;
}


.gr_newsletter p {
	margin-bottom: 5px;	
}
.gr_newsletter textarea {
	height: 100px;
	width: 300px;
	margin-bottom: 0;
}
.gr_newsletter input {
	width: 200px;
}
input.submitnappi {
	width: 60px;
	border: 1px solid #ababab;
	color: #000;
}

input#mainos {
	width: 20px;
}

#rekisteri {
	display: none;
	position: absolute;
	top: 100px;
	left: 50%;
	z-index: 100;
	margin-left: -235px;
	width: 470px;
	height: 450px;
	background: #fff;
	padding: 20px;
	color: #000;
	border: 1px solid #8b6131;
}
.rekistericontent {
	overflow: auto;
	height: 430px;
	width: 460px;
	padding-right: 20px;
	margin-top: 10px;
}

.closerekisteri {
	position: absolute;
	top: 5px;
	right: 10px;
	color: #000;
	font-weight: bold;
}






.widecontent {
	xbackground: transparent url(../img/1x190pros.png) repeat 0 0;
	background: #fff;
	width: 960px;
	
}

/* Footer
-------------------------------------------------------------- */
#footer{
	position:fixed;
	bottom:0px;
	width:100%;
	height:20px;
	background-color:#FFF;
	padding:5px;
	z-index:98;
	overflow:hidden;
	*left: 0;
}

#footer p{
	font-family: Georgia, arial, sans-serif;
	color: #8b6131;
	z-index:99;
}

#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;
}


.puu {
	overflow: hidden;margin: 0;display: block;
	margin-bottom: -20px;
}
#varaa-en{
	background: transparent url(../img/GR_varaukset_painike_ENG.png) no-repeat 0 0;
}
#varaa-en:hover{
	background: transparent url(../img/GR_varaukset_painike_ENG_hover.png) no-repeat 0 0;
}
#varaa-se{
	background: transparent url(../img/GR_varaukset_painike_SWE.png) no-repeat 0 0;
}
#varaa-se:hover{
	background: transparent url(../img/GR_varaukset_painike_SWE_hover.png) no-repeat 0 0;
}
#varaa-ru{
	background: transparent url(../img/GR_varaukset_painike_RUS.png) no-repeat 0 0;
}
#varaa-ru:hover{
	background: transparent url(../img/GR_varaukset_painike_RUS_hover.png) no-repeat 0 0;
}

.varaahuvila {
	xdisplay: none;
	position: relative;/*WAS position: absolute;*/
	float:right;/*ADDED*/
	left: 600px;/*WAS right:0*/
	top: 12px;
	display: block;
	width: 136px;
	height: 138px;
	text-indent: -9000px;
	background: transparent url(../img/varaahuvila.png) no-repeat 0 0;
	z-index: 100;
}
.varaahuvila:hover {
	background: transparent url(../img/varaahuvila.png) no-repeat 0 -139px;
}
/* -----------------------------------------------------------

	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;
}

/* -----------------------------------------------------------

	flexiBackground
	
----------------------------------------------------------- */

img#expando {
display: none;
position: absolute;
z-index: 1;
-ms-interpolation-mode: bicubic;
}
 
.wide img#expando,
.tall img#expando {
display: block;
}
 
.wide img#expando {
height: auto;
width: 100%;
}
 
.tall img#expando {
height: 100%;
width: auto;
}
