/* @override 
	http://extra.activeark.com/dev/maria/esmerk/assets/css/style.css
	http://www.tiemenestykseen.fi/esmerk/assets/css/style.css
	http://www.tiemenestykseen.fi/assets/css/style.css
*/

/* -----------------------------------------------------------

	Project:		Esmerk
	Version:		1.0
	Created:		16/1/10
	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
	
----------------------------------------------------------- */
img, div, input, ul, li, a, h1 { behavior: url("./iepngfix.htc") }

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;
}

/* 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: #262526;
	line-height: 1.5;
	font-family: Arial, sans-serif;
}


/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #262526; font-family: Arial, sans-serif; }

h1 { font-size: 1.7em; line-height: 1; margin-bottom: 0.5em; color: #1953de;}
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.right { float: right; margin: 1.5em 0 1.5em 1.5em; }

a:focus, 
a:hover     { color: #000; }
a           { color: #989898; text-decoration: none; }

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 { float: left;display: inline;}

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: 242px; height: 40px;; margin:0.2em 0.2em 0em 0em}
textarea            { border:none; background:#fff; padding:5px; }
textarea:focus      { border:none; background:#fff; }

select              { border:1px solid #ccc; background:#f6f6f6; width:200px; }
select:focus        { border:1px solid #999; background:#fff; }

/* -----------------------------------------------------------

	Structure
	
----------------------------------------------------------- */

body {
	background: #fff url(../img/bg.png) repeat-x 0 0;
	text-align: center; /*ie hack for centered layout. if not centered, remove this line and the next hack in wrapper*/
}
#page {
	margin: auto;
	background: #fff;
	width: 880px; /*fill in the width of the page*/
	text-align: left; /*for previous ie hack*/
}


/* Header
-------------------------------------------------------------- */
#header{
	float: left;
	display: inline;
	width: 880px;
	height: 85px;

	border-bottom: 1px solid #989898;
}
#header-logo a{
	float: right;
	display: inline;
	width: 165px;
	height: 50px;
	margin-right: 10px;
	margin-top: 20px;
	text-indent: -9000px;
	background: transparent url(../img/esmerk.png);
}

/* Navigation
-------------------------------------------------------------- */
#navi{
	float: left;
	display: inline;
	width: 650px;
	padding-left: 15px;
	margin-top: 60px;
	color: #989898;
}
#navi a{
	padding: 0 5px 0 5px;
	font-weight: bold;
}

/* Flash
-------------------------------------------------------------- */
#flash-wrapper{
	float: left;
	display: inline;
	width: 880px;
	height: 410px;
	padding: 20px 0 20px 0;
	border-bottom: 1px solid #989898;
}
#flash{
	width: 880px;
	height: 410px;
}
#yhteystiedot{
	float: left;
	display: inline;
	border-bottom: 1px solid #989898;
	padding: 20px 0 20px 0;
	background: transparent url(../img/yhteystiedot-bg.png) no-repeat center center;
	width: 880px;
	height: 330px;
}
#yhteystiedot h1{
	margin: 0;
	padding: 30px 0 0 20px;
}
.yhteystiedot-block{
	float: left;
	display: inline;
	width: 280px;
	padding: 20px;
	color: #fff;
}
.person{
	float: left;
	display: inline;
	width: 100%;;
	line-height: 1.3em;
	font-size: 0.9em;
}
.person p{
	float: left;
	display: inline;
	width: 100%;
	clear: both;
}
.person img{
	float: left;
	display: inline;
	margin: 0;
	clear: both;
}
.person a{
	color: #fff;
}
#kilpailu{
	float: left;
	display: inline;
	width: 880px;
	height: 484px;
	border-bottom: 1px solid #989898;
	padding: 15px 0px 15px 0px;
	background: transparent url(../img/kilpailu-bg.jpg) no-repeat center center;
}
.kilpailu-form{
	float: left;
	display: inline;
	width: 525px;
	color: #fff;
	padding: 30px 20px 0px 20px;
}
.kilpailu-form p{
	margin: 0 0 0.9em 0;
}
.form-left{
	float: left;
	display: inline;
	width: 250px;
	padding: 10px 20px 0 0;
}
.form-left p{
	margin-bottom: 0em;
	line-height: 2.4em;
}
.form-left input{
	height: 15px;
	float: right;
}
.form-right{
	float: left;
	display: inline;
	width: 250px;
}
.form-right p{
	float: left;
	display: inline;
	margin-bottom: 0.5em;
	margin-top: 0.5em;
}
span{
	color: #e6191b;
}
.submit{
	float: left;
	display: inline;
	clear: both;
	margin: 0;
	padding: 5px 0 5px 0;
}
input#submit{
	background: none;
	border: none;
	color: #fff;
	padding: 0;
	font-size: 1.25em;
	font-weight: bold;
	cursor: pointer;
}
#ehdot{
	float: left;
	display: inline;
	width: 100%;
	font-size: 0.9em;
	line-height: 1.2em;
}
/* Content
-------------------------------------------------------------- */
#content{
	float: left;
	display: inline;
	width: 840px;
	font-size: 1.1em;
	font-weight: bold;
	border-bottom: 1px solid #989898;
	padding: 15px 20px 5px 20px;
}
#content h1{
	margin-bottom: 0.2em;
}
.content-left{
	float: left;
	display: inline;
	width: 400px;
}
.content-left p, .content-right p{
	float: left;
	display: inline;
	width: 275px;
	padding: 0 0px 0 0;
	margin-bottom: 1em;
}
.content-right{
	float: right;
	display: inline;
	width: 400px;
}
.content-right p span, .content-right p span a{
	color: #1953de;
}
.content-right p span a:hover{
	text-decoration: underline;
}
.voita-matka a{
	float: right;
	display: inline;
	margin-top: 15px;
	margin-right: 15px;
	width: 143px;
	height: 141px;
	text-indent: -9000px;
	background: transparent url(../img/voita-lontoon-matka-btn.png) no-repeat 0 0;

}
.voita-matka-button a{
	float: left;
	display: inline;
	margin-top: 20px;
	margin-left: 30px;
	width: 143px;
	height: 141px;
	text-indent: -9000px;
	background: transparent url(../img/voita-lontoon-matka-btn.png) no-repeat 0 0;
}

/* 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; }
