/* @override 
	http://upciderfi.virtualserver22.nebula.fi/css/uc.css
*/

/* -----------------------------------------------------------

	Project:		Upcider
	Version:		1.0
	Created:		23/04/10
	Modified:		23/04/10
	
		[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;
}

/* Tables still need 'cellspacing="0"' in the markup. */
table 			{ border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th 	{ vertical-align: middle; }

/* 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: #313c2e;
	line-height: 1.5;
	font-family: Trebuchet ms, arial, "Helvetica Neue", Helvetica;
}


/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #313c2e; text-shadow: #fff 1px 1px;
 font-family: Trebuchet MS, arial, "Helvetica Neue", Helvetica, sans-serif; }

h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: 2em; margin-bottom: 0.75em; }
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; height: 1.25em; }
h5 { font-size: 1em; font-weight: bold; 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       { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }

a:focus, 
a:hover     { color: #000; }
a           { color: #000; text-decoration: underline; outline: 0;}

blockquote  { margin: 1.5em; color: #666; font-style: italic; }
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
-------------------------------------------------------------- */

li ul, 
li ol       { margin:0 1.5em; }
ul, ol      { margin: 0 1.5em 1.5em 1.5em; }

ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;}


/* Tables
-------------------------------------------------------------- */

table       { margin-bottom: 1.4em; width:100%; }
th          { font-weight: bold; background: #C3D9FF; }
th,td       { padding: 4px 10px 4px 5px; }
tr.even td  { background: #E5ECF9; }
tfoot       { font-style: italic; }
caption     { background: #eee; }


/* 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 #ccc; background:#f6f6f6; width:200px; }
select:focus        { border:1px solid #999; background:#fff; }


/* -----------------------------------------------------------

	Structure
	
----------------------------------------------------------- */

body {
	background: #000 url(../img/upcider_bgpattern_darker_small.jpg) repeat 0 0;
	margin: 0;
	text-align: center; /*ie hack for centered layout. if not centered, remove this line and the next hack in wrapper*/
}

.sitewrapper {
	width: 100%;	
	position: relative;
	xbackground: transparent url(../img/content.png) no-repeat top center;
}
#page {
	margin: auto;
	background: transparent;
	width: 960px; /*fill in the width of the page*/
	text-align: left; /*for previous ie hack*/
}




/* Header
-------------------------------------------------------------- */

.upciderlogo {
	width: 108px;
	height: 26px;
	margin: auto;
}

.upciderlogo h1 {
	background: transparent url(../img/upciderlogo.png) no-repeat 0 0;
	_background: transparent url(../img/upciderlogo.gif) no-repeat 0 0;
	text-indent: -9000px;
}

.header {
	padding-top: 30px;
	width: 100%;
	min-height: 302px;
	height: auto !Important;
	height:302px;
	position: absolute;
	top: 0;
	z-index: 1;
	xbackground: transparent url(../img/headernewbg.gif) no-repeat top center;
}
.headersubpage {
	padding-top: 30px;
	width: 100%;
	min-height: 102px;
	height: auto !important;
	height:102px;
	position: absolute;
	top: 0;
	z-index: 1;
	xbackground: transparent url(../img/headerbg.png) no-repeat top center;
}
.navi {
	width: 739px;
	height: 47px;
	margin: auto;
	background: transparent url(../img/naviclean.png);
}
.navi a {
	background: transparent url(../img/navi.png);
	display: block;
	float: left;
	text-indent: -9000px;
}
#menu1, #menu2,#menu3, #menu4 {
	height: 47px;
}

#menu1 { width: 203px; background-position: 0      0; }
#menu2 { width: 144px; background-position: -203px 0; }
#menu3 { width: 163px; background-position: -347px 0; }
#menu4 { width: 229px; background-position: -510px 0; }

#menu1:hover,#menu1.active { width: 203px; background-position: 0      -47px; }
#menu2:hover,#menu2.active { width: 144px; background-position: -203px -47px; }
#menu3:hover,#menu3.active { width: 163px; background-position: -347px -47px; }
#menu4:hover,#menu4.active { width: 229px; background-position: -510px -47px; }


#flover {
	position: absolute;
	top: 0px;
	_top: -10px;
	left: 90px;
	_left: -45px;
	width: 76px;
	height: 72px;
	z-index: 6;
}
#bigflover {
	position: absolute;
	top: -10px;
	right: 90px;
	_right: -10px;
	width: 76px;
	height: 72px;
}

#naturalleima {
	position: absolute;
	left: 0;
	_left: -85px;
	width: 175px;
	height: 166px;
	xmargin-right: 100px;
	background: transparent url(../img/naturalleima.png) no-repeat 0 0;
	top: 35px;
	z-index: 5;
}
#perhonen {
	position: absolute;
	right: 0;
	_right: -160px;
	width: 130px;
	height: 117px;
	background: transparent url(../img/sininenperhonen.png) no-repeat 0 0;
	top: 45px;
	z-index: 5;
}
.site {
	width: 960px;
	margin: auto;
	position: relative;
	overflow: hidden;
}
.sitecontent {
	width: 960px;
	margin: auto;
	position: relative;
}
/* Navigation
-------------------------------------------------------------- */



/* Content
-------------------------------------------------------------- */

.contentwrapper {
	width: 100%;
	padding-top: 100px;
	background: transparent url(../img/centertile.gif) repeat-y top center;
}
#contentsubpage {
	padding-top: 100px;
	padding-bottom: 40px;
}
.greenbg {
	background: transparent url(../img/pullotbg.png) no-repeat top center;
	width: 100%;
	overflow: hidden;
}
.productbg {
	xbackground: transparent url(../img/pullotbg.png) no-repeat top center;
	width: 100%;
	overflow: hidden;
}

.fpimage {
	float: left;
	width: 450px;
	height: 300px;
}
.fpcontent {
	width: 500px;
	float: left;
	min-height: 755px;
	height: auto !important;
	height:755px;
	background: transparent url(../img/fpcontentbg.gif) no-repeat top left ;
}

.fpcontent p {
	width: 340px;
	padding-left: 100px;
	_padding-left: 50px;
	*padding-left: 50px;
	padding-top: 40px;
	text-align: left;
}
.fpcontent h1 {
	font-size: 25px;
	width: 380px;
	padding-left: 20px;
	_padding-left: 0px;
	*padding-left: 0px;
	_margin-left: -60px;
	*margin-left: -60px;
	padding-top: 50px;
	text-transform: uppercase;
}
/*Quang add new fpmap which is cloned from fpcontent*/
.fpmap {
	float: left;
	padding-left: 100px;
	padding-right: 100px;
	min-height: 755px;
	height: auto !important;
	height:755px;
	/*background: transparent url(../img/fpcontentbg.gif) no-repeat top left ;*/
}
/*End of fpmap*/
.footercontainer {
	background: transparent url(../img/footernew.png) no-repeat top center;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	min-height: 350px;
	height: auto !important;
	height:350px;
}
.footer {
	position: relative;
}
.footermain {
	position: relative;
	width: 960px;
	margin: auto;
}
.footer a {
	xtext-indent: -9000px;
	display: block;
	
}
#tutustu_tuotteisiin {
	xbackground: red;
	text-indent: -9000px;
	position: absolute;
	top: 190px;
	left: 157px;
	_left: -305px;
	width: 190px;
	height: 21px;
}

#mainosfilmit {
	xbackground: red;
	text-indent: -9000px;
	position: absolute;
	top: 154px;
	right: 0px;
	width: 299px;
	height: 81px;
}



/* Product page
-------------------------------------------------------------- */
.productwrapper, .mainoswrapper, .hartwallwrapper {
	background: transparent url(../img/productwrapperbg.jpg) no-repeat center 0;
	padding: 50px 0 0 140px;
	_padding: 50px 0 0 00px;
	*padding: 50px 0 0 00px;
	height:600px;	
}
.product, .mainokset {
	width: 610px;
	height: 440px;
	background: transparent url(../img/productbg.jpg) repeat 0 0;
	text-align: left;
	padding: 0 0 0 30px;
	margin: 0 10px;
	position: relative;
}

.productleft {
	float: left;
	width: 240px;
	padding-top: 30px;
}
.product h1, .mainokset h1 {
	font-size: 22px;
	font-weight: bold;
	text-shadow: #fff 1px 1px;
	text-transform: uppercase;
	border-bottom: 1px dotted #ababab;
	padding-bottom: 10px;
	width: 200px;
}
.product h2,.mainokset h2 {
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 2px;
}
.productleft p {
	width: 230px;
}
.productmiddle {
	float: left;
	width: 165px;
	padding-top: 19px;
}
.productright {
	float: left;
	padding-top: 90px;
	padding-left: 20px;
	width: 180px;
	overflow: hidden;
}
.productright table {
	width: 180px;
}
.productright table td {
	padding: 0;
}
#arrowright {
	position: absolute;
	top: 50%;
	right: -66px;
}
#arrowleft {
	position: absolute;
	top: 50%;
	left: -66px;
}
.product-thumbs {
	padding-top: 25px;
	_padding-top: 5px;
	padding-left: 173px;
	*padding-left: 160px;
	clear: both;
	width: 550px;
	overflow: hidden;
}
.product-thumbs a {
	padding-right: 12px;
	width: 20px;
	padding: 0 1px;
	margin: 0 15px;
	*margin: 0 16px;
	_margin: 0 8px;
	display: block;
	float: left;
	opacity: 1;
}
.product-thumbs a:hover {
	xbackground: transparent url(../img/thumbbg.png) no-repeat top left;
	opacity: 0.8;
}

#tuotteet {
	background: transparent url(../img/productwrapperbgbottom.jpg) no-repeat center 545px;
	_background: transparent url(../img/productwrapperbgbottom.gif) no-repeat center 545px;
	xpadding-bottom: 130px;
}
.telkku h3 {
	margin: 0;
	padding: 5px 0 0 14px;
	font-size: 12px;
}
.telkku h3 a {
	font-size: 12px;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 1px dotted #ababab;
}
.telkku h3 a:hover {
	color: #ababab;
}

.mainoksetleft {
	float: left;
	width: 240px;
	padding-top: 30px;
}

.mainoksetright {
	float: left;
	padding-top: 10px;
	padding-left: 20px;
}
.mainos-thumbs {
	margin: 0;
	padding: 0;
	width: 640px;
	padding-left: 21px;
	padding-top: 10px;
	overflow: hidden;
}

.mainos-thumbs a {
	display: block;
	float: left;
	margin-right: 5px;
	opacity: 1;
}

.mainos-thumbs a:hover {
	opacity: 0.8;
}

#logoetusivu {
	xpadding-top: 10px;
	xpadding-left: 430px;
	display: none;
}



/*Hartwall sivu
-------------------------------------------------------------- */
.hartwall {
	overflow: hidden;
	width: 700px;
}

.hartwalleft {
	float: left;
	width: 320px;
}
.hartwallright {
	float: left;
	padding-left: 20px;
	width: 360px;
}
.hartwallright h1 {
	font-size: 30px;
	text-transform: uppercase;
	text-align: left;
}
.hartwallright p {
	width: 340px;
	text-align: left;
	clear: both;
}
.hartwallright img {
	float: left;
}

#hartwallbg {
	background: transparent url(../img/hartwallbottom.png) no-repeat center bottom; 
}

#hartwalllink {
	text-indent: -9000px;
	position: absolute;
	top: 184px;
	right: 230px;
	width: 190px;
	height: 21px;
}
#tutustu_tuotteisiin_hartwall {
	
	text-indent: -9000px;
	position: absolute;
	top: 184px;
	left: 160px;_left: -330px;
	width: 190px;
	height: 21px;
}
#logohw {
	display: none;
}







/* Footer
-------------------------------------------------------------- */
#ikacheck {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  float: left;
  z-index: 100;
  
}
.overlay{
  position: absolute;
  top: 0; /* These positions makes sure that the overlay */
  bottom: 0;  /* will cover the entire parent */
  left: 0;
  width: 100%;
  background: #fff;
  opacity: 0.85;
  -moz-opacity: 0.85; /* older Gecko-based browsers */
  filter:alpha(opacity=85); /* For IE6&7 */
}
#ikacheck .content {
width: 495px;
height: 330px;
padding: 0;
/*margin: 150px auto 0 auto;*/
background-color: transparent;
position: absolute;
top: 24%;
left: 50%;
margin: 0px auto;
margin-left: -250px;
_margin-top:200px;
}
.content {
  position: relative;
}
/* Lets use the * html hack so only IE6 reads the rule */
* html #ikacheck .overlay {
  height: expression(document.getElementById("ikacheck").offsetHeight);
}	
	
.black_overlay2{
	display: block;
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background-color: black;
	z-index:1001;
	-moz-opacity: 0.9;
	opacity:.90;
	filter: alpha(opacity=90);
}
.white_content2 {
	display: block;
	position: relative;
	margin: 150px auto 0 auto;
	width: 350px;
	height: 250px;
	padding: 16px;
	border: 16px solid red;
	background-color: white;
	z-index:1002;
	overflow: auto;
	text-align: center;
	-moz-opacity: 1.0;
	opacity:.99;
	filter: alpha(opacity=99);	
}	
	#kirjaudu {
		position: absolute;
		display: block;
		top: 20%;
		left: 30%;
		width: 495px;
		height: 330px;
		margin: 0;
		padding: 0;
		z-index: 1002;
		
	}
	
	#kirjaudu #kirjaudu_tausta {
		position: absolute;
		top: 0;
		left: 0;
		margin: 0;
		padding: 0;
		z-index: 1003;
		width: 495px;
		height: 330px;
	}
	#kirjaudu_tausta img {
		z-index: 3000;
	}
	#kirjaudu_tekstit {
		color: #fff;
		position: absolute;
		top: 0;
		left: 0;
		width: 460px;
		height: 340px;
		padding: 20px;
		z-index: 1005;
		text-align: center;
		background: transparent url(../img/ikacheckbg.png) no-repeat 0 0;
		xborder: solid 10px #000;
	}
	
	
	#kirjaudu_tekstit h1 {
		display: block;
		font-size: 24px;
		font-weight: normal;
		margin: 16px auto 0 auto;
		padding: 0;
		width: 284px;
		height: 30px;
	}

/* @group My Group */



/* @end */
	#kirjaudu_tekstit h2 {
		display: block;
		font-size: 17px;
		font-weight: normal;
		margin: 0px auto 0 auto;
		padding: 0;
		width: 284px;
		height: 50px;
	}
	
	#kirjaudu_tekstit p {
		font-family: Georgia;
		font-size: 17px;
		letter-spacing: 0.03em;
		margin-bottom: 40px;
	}
	
	#nappulat {
		width: 284px;
		margin: 0 auto;
		padding: 0;
	}	
	
	#nappulat .ikaa {
		width: 284px;
		display: block;
		margin-right: auto;
		margin-left: auto;
		border-bottom: 1px solid #000;
		text-align: left;
		background-color: white;
		margin-bottom: 12px;
		float: left;
		
	}
	.ikaa .kirj_nuoli {
		margin: 0;
		padding: 0;
		display: block;
		float: left;
		
	}
	
	.ikaa .sisalto {
		border-bottom: 3px solid #999;
		border-right: 2px solid #999;
		/*background: transparent url('images/kirjaudu_nuoli.jpg') no-repeat center left;*/
		float: left;
		width: 282px;

	}
	.sisalto span {
		vertical-align: middle;		
		padding: 6px 0 6px 40px;
		display: block;
	}
	
	.sisalto a,
	.sisalto a:link,
	.sisalto a:active,
	.sisalto a:visited {
		color: #565656;
		font-family: Arial, Helvetica, sans-serif;	
		font-size:14px;
		font-weight: bold;
		width: 282px;
		display: block;
		float: left;
		background: transparent url('../img/kirjaudu_nuoli.jpg') no-repeat center left;		
	}
	
	.sisalto a:hover {
		color: #000;
		width: 282px;	
		display: block;
		float: left;	
		background: transparent url('../img/kirjaudu_nuoli_hover.jpg') no-repeat center left;		
	}
	
	#kirjaudu_isonuoli {
		position: absolute;
		width: 187px;
		height: 213px;
		top: 200px;
		right: 80px;
		z-index: 2000;
		
	}



/* -----------------------------------------------------------

	Clear floats
	
----------------------------------------------------------- */
.wrapper 		{ display: inline-block; }
.wrapper:after 	{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
* html .wrapper { height: 1%; }
.wrapper 		{ display: block; }



/**
 * Age verification / Added 3.11.2010
 */
#verify_age_input .short, #verify_age_input .long {
	width: 79px;
	height: 47px;
	font-size: 23px;
	color: #445141;
	background: transparent;
	border: solid 7px #fff;
	margin-left: 4px;
	padding-top: 20px;
	text-align: center;
	text-decoration: underline;
}
#verify_age_input .long {
	width: 99px;
}
#age_submit {
	border: 0;
	background: url(/images/age/age_upcider_submit.png) top left no-repeat;
	width: 277px;
	height: 77px;
	cursor: pointer;
	display: block;
	margin-left: 94px;
	margin-top: 30px;
	*margin-left: 0px;
}
