/* @override 
	http://www.stayfocused.fi/ps3/css/ps3.css
	http://stayfocused.fi/css/ps3.css
	http://www.stayfocused.fi/css/ps3.css
*/

/* -----------------------------------------------------------

	Project:		Ed PS3
	Version:		1.0
	Created:		17/02/10
	Modified:		17/02/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: 87.5%;
	color: #ffffff;
	line-height: 1.5;
	font-family: Tahoma, "Helvetica Neue", Helvetica, Arial, sans-serif;
}


/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #fff; font-family: Tahoma, "Helvetica Neue", Helvetica, Arial, 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: #f1a91c; }
a           { color: #fb000a; text-decoration: none; font-weight: bold; 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 { xfont-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/ps3bg.jpg) no-repeat top center;
	text-align: center; /*ie hack for centered layout. if not centered, remove this line and the next hack in wrapper*/
}

#page {
	margin: auto;
	position: relative;
	background: transparent;
	padding-bottom: 200px;
	width: 960px; /*fill in the width of the page*/
	text-align: left; /*for previous ie hack*/
}


/* Header
-------------------------------------------------------------- */
.header {
	padding-top: 22px;
}
.header a {
	font-size: 0.857em;
	text-transform: uppercase;
	padding: 0 2px;
}
.header a.active {
	color: #fff;
}
.header a:hover {
	color: #f1a91c;
}
.fb,.tw {
	text-indent: -9000px;
	display: block;
	position: absolute;
	top: 23px;
}
.fb {
	right: 80px;
	background: transparent url(../img/fb.png) no-repeat 0 0;
	width: 61px;
	height: 15px;
}
.tw {
	position: absolute;
	right: 0;
	background: transparent url(../img/tw.png) no-repeat 0 1px;
	width: 57px;
	height: 15px;
}

/* Navigation
-------------------------------------------------------------- */



/* Content
-------------------------------------------------------------- */
.logo {
	background: transparent url(../img/loyda.png) no-repeat 0 0;
	text-indent: -9000px;
	display: block;
	width: 	670px;
	height: 254px;
	margin-top: 40px;
}
.whiteh2 {
	padding-top: 20px;
	font-size: 14px;
	xtext-transform: uppercase;
}

.redbutton {
	color: #fff;
	font-weight: normal;
	text-transform: uppercase;
	font-size: 18px;
	display: block;
	width: 164px;
	height: 41px;
	line-height: 41px;
	text-align: center;
	text-shadow: #6e6e6e 1px 1px 1px;
	float: left;
	margin-right: 25px;
	background: transparent url(../img/punainennappi.png) no-repeat 0 0;
}
.redbutton:hover {
	color: #fff;
	background-position: 0 -41px;
} 
.frontpage_formlinks {
	overflow: hidden;
	margin-bottom: 60px;
}

.keraapaitoja {
	clear: both;
	width: 530px;
	height: 200px;
	background: transparent url(../img/paita.png) no-repeat 100% 0;
}
.keraapaitoja h2 {
	width: 370px;
	padding-top: 20px;
}
.huuto {
	float: left;
	padding-top: 25px;
	padding-right: 5px;
}
.vidhu {
	overflow: hidden;
	line-height: 25px;
	font-size: 16px;
}
.vidhu img {
	margin: 0;
	margin-right: 10px;
}
/* Pupup stuff
-------------------------------------------------------------- */
.pupupkirjaudu, .popuprekisteroidy {
	display: none;
	width: 507px;
	height: 298px;
	position: absolute;
	top: 200px;
	left: 50%;
	padding: 28px 23px;
	margin-left: -276px;
	background: transparent url(../img/popupbg.png) no-repeat 0 0;
	_background: transparent url(../img/popupbg.gif) no-repeat 0 0;
	z-index: 100;
}
.popupheader {
	_width: 520px;
	_height: 40px;
}
.popupheader h2{
	color: #000;
	font-size: 1.57em;
}

.rekisterform {
	color: #000;
	width: 380px;
	_width: 400px;
	*width: 400px;
	padding-left: 17px;
}
.rekisterform p {
	clear: both;
}
.rekisterform label {
	font-size: 0.85em;
	font-family: tahoma, verdana, arial;
}
#sposti,#sposti2,#salasana,#salasana2,#nimi, #salasanauudelleen,
#postiosoite,#postinumero,#toimipaikka {
	float: right;
	background: transparent url(../img/inputbg.png) no-repeat 0 0;
	border:0;
	height: 19px;
	width: 241px;
	font-weight: normal;
	padding: 3px 0;
	text-indent: 3px;
	color: #666666;
	font-size: 0.92em;
	margin-right: 20px;
}
.submit {
	background: transparent url(../img/submit2.png) no-repeat 0 0;
	border: 0 !important;
	width: 84px !important;
	height: 32px !important;
	text-align: center;
	display: block;
	color: #fff !important;
	font-family: tahoma, arial;
	font-size: 0.92em !important;
	text-transform: uppercase;
	cursor: pointer;
}
.submit:hover {
	color: #fff;
	background-position: 0 -31px;
	height: 32px;
}
.rekisterform .submit, .rekisterform .extralinkit,.checkboxes {
	margin-left: 120px;
	*margin-left: 135px;
	*width: 300px;
	width /*\**/:300px;
	/*IE8 hack*/
}
.extralinkit {
	font-size: 0.857em;
}

.suljedivi {
	position: absolute;
	right: 10px;
	_right: 20px;
	top: 10px;
	background: transparent url(../img/sulje.png) no-repeat 0 0;
	_background: transparent url(../img/sulje.gif) no-repeat 0 0;
	display: block;
	text-indent: -9000px;
	width: 16px;
	height: 16px;
}

#saannot, #suoramarkkinointi {
	margin: 0 8px 0 0;
}
.eivoittoa {
	xdisplay: none;
}
.otsikko {
	padding-top: 75px;
	padding-bottom: 40px;
}
#koodi {
	background: transparent url(../img/isoinput.png) no-repeat 0 0;
	border: 0;
	height: 40px;
	width: 460px;
	padding: 6px 0;
	font-size: 2.5em;
	text-indent: 5px;
}
.eivoittoa p, .onnea p {
	width: 390px;
}

.onnea form {
	background: transparent url(../img/1x1.png) repeat 0 0;
	width: 400px;
}
.onnea .submit {
	margin-left: 130px;
}
.onnea form p {
	text-align: right;
}
.onnea #postiosoite, .onnea #postinumero,.onnea #toimipaikka, 
.onnea #nimi,.onnea #sposti, .onnea #salasana,.onnea #salasanauudelleen {
	margin-left: 10px;
}
.normal {
	text-align: left !important;
	padding-left: 20px;
	padding-top: 20px;
}


.leipis {
	width: 500px;
}

.leipis h2 {
	font-size: 1.5em;
	line-height: 1.5em;
	margin-bottom: 0px;
}

.keraa {
	background: transparent url(../img/1x1.png) repeat 0 0;
	width: 500px;
	padding: 20px 23px;	
}
.paita1 {
	background: transparent url(../img/paita1.jpg) no-repeat 0 0;
	display: block;
	width: 204px;
	height: 190px;
	position: relative;
	float: left;
	margin-right: 10px;
}
.paita2 {
	background: transparent url(../img/paita2.jpg) no-repeat 0 0;
	display: block;
	width: 204px;
	height: 190px;
	position: relative;
	float: left;
}
.paita1 input,.paita2 input {
	position: absolute;
	bottom: 10px;
	left: 95px;
	display: block;
	xwidth: 204px;
	xheight: 190px;
	xline-height: 100px;
}
.clear {
	clear: both;
	padding-top: 20px;
}

.koko {
	background: transparent url(../img/kokobg.jpg) no-repeat 0 0;
	width: 104px;
	height: 93px;
	float: left;
	margin-right: 10px;
	position: relative;
	font-size: 30px;
	font-weight: bold;
	text-align: center;
}
.koko p {
	padding-top: 10px;
}
.koko input {
	position: absolute;
	bottom: 8px;
	left: 40px;
}

.keraa .normal {
	clear: both;
	padding-left: 0px;
}
.toimitus { width: 360px; }
.toimitus p { text-align: right; }
.toimitus input { margin-left: 20px; }
.toimitus .submit { margin: 0; }

.omakeraystili {
	width: 500px;
}
. omakeraystili .header {
	clear: both;
}
.koodit {
	width: 500px;
	clear: both;
	overflow: hidden;
}
.koodit p {
	width: 90px;
	float: left;
	margin: 0;
}
.koodit h2 {
	font-size: 1.3em;
}
.koodit input {
	width: 75px;
	height: 19px;
	margin: 3px 2px;
	border-bottom: 1px solid #ababab;
	border-right: 1px solid #ababab;
	border-top: none;
	border-left: none;
	padding: 3px;
	font-size: 1.08em;
	font-family: tahoma;
	color: #000;
}
.koodit .redbutton2 {
	color: #fff;
	border: 0;
	font-weight: normal;
	text-transform: uppercase;
	font-size: 16px;
	display: block;
	width: 172px;
	height: 41px;
	margin-top: 20px;
	cursor: pointer;
	text-align: center;
	text-shadow: #6e6e6e 1px 1px 1px;
	background: transparent url(../img/redbutton2.png) no-repeat 0 0;
}
.koodit .redbutton2:hover {
	background-position: 0 -41px;
}


#padmetop {
	margin-top: 40px;
	font-size: 16px;
}

.paidat {
	overflow: hidden;
	width: 600px;
	margin-top: 50px;
}
.paidat img{
	float: left;
	margin-right: 10px;
}
.hola {
	margin-top: 40px;
}








/* Footer
-------------------------------------------------------------- */


/* -----------------------------------------------------------

	Clear floats
	
----------------------------------------------------------- */
.wrapper 		{ display: inline-block; }
.wrapper:after 	{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
* html .wrapper { height: 1%; }
.wrapper 		{ display: block; }
