/* @override http://localhost/juuranto/css/juuranto.css */

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

	Project:		Juuranto
	Version:		1.0
	Created:		23/04/09
	Modified:		23/04/09
	
		[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: #333333;
	line-height: 1.5;
	font-family: Arial, sans-serif;
}


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

h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #111; font-family: "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: #000; }
a           { color: #000; text-decoration: underline; }

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: #fff;
	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: 945px; /*fill in the width of the page*/
	text-align: left; /*for previous ie hack*/
}


/* Header
-------------------------------------------------------------- */
.header {
	width: 945px;
	height: 115px;
}
.logo {
	padding-top: 30px;
}
.logo h1 {
	display: block;
	background: transparent url(../img/juurantologo.jpg) no-repeat 0 0;
	text-indent: -9000px;
	width: 269px;
	height: 73px;
	margin: 0;
}

/* Navigation
-------------------------------------------------------------- */



/* Content
-------------------------------------------------------------- */
.maincontent {
	clear: both;
	width: 945px;
	background: transparent url(../img/main.jpg) no-repeat 0 0;
	height: 379px;
	position: relative;
	overflow: hidden;
}
.maincontent h2 {
	display: none;
}
.maincontent p {
	padding-top: 155px;
	width: 620px;
	font-size: 18px;
}
.textbottom {
	padding: 0 !important;
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 0 0 7px 0;
	font-weight: bold;
	font-size: 14px !important;
}
.subcontent {
	width: 945px;
	overflow: hidden;
	padding: 20px 0 20px 0;
}

.onethird {
	width: 410px;
	float: left;
	display: inline;
	padding: 0 20px 0 40px;
}
.onethird:first-child{
	width: 450px;
	padding: 0 20px 0 0px;
	border-right: 1px solid #e5e7f0;
}
.textcontent{
	float: left;
	display: inline;
	width: 260px;
}
.onethird h3 {
	color: #47567a;
	font-size: 18px;
	line-height: 1.3em;
	padding-top: 10px;
}
.onethird a{
	float: left;
	display: inline;
	width: auto;
	margin-right: 20px;
}
.link {
	background: transparent url(../img/greenarrow.jpg) no-repeat 9px 50%;
	padding: 10px 10px 10px 20px;
	border: 1px solid #ededed;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	font-size: 12px;
	text-decoration: none;
	color: #159400;
	font-weight: bold;
	
}







/* Footer
-------------------------------------------------------------- */
.footer {
	clear: both;
	width: 945px;
	border-top: 1px solid #4d6299;
	font-size: 10px;
	padding:  5px 0 50px 0;
	background: transparent url(../img/dots.jpg) no-repeat 99% 7px;
}



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

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

