/* @override 
	http://www.gppmessut.fi/assets/css/styles.css
*/

/* -----------------------------------------------------------

	Project:		GPP-messut
	Version:		1.0
	Created:		06/08/09
	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 !Important;
}

/* 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: #222;
	line-height: 1.5;
	font-family: Arial, sans-serif;
}


/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #111; font-family: 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 1em; }
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: #222; }
a           { color: #222; 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: none; }
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;  }
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; }

input#ika{
	width: 50px !important;
}

.inputs{
	padding-bottom: 20px;
}
/* -----------------------------------------------------------

	Structure
	
----------------------------------------------------------- */

body {
	background: #fff url(../img/bg.jpg) repeat-x 0 0;
	behavior: url("/csshover3.htc"); 
	text-align: center; /*ie hack for centered layout. if not centered, remove this line and the next hack in wrapper*/
}

#wrapper {
	margin: auto;
	background: #3a3a3a;
	width: 960px; /*fill in the width of the page*/
	text-align: left; /*for previous ie hack*/
	overflow: hidden;
}


/* Header
-------------------------------------------------------------- */

#header{
	float: left;
	display: inline;
	background: #3a3a3a url(../img/header-uusi-bg.jpg) no-repeat 0 0;
	width: 960px;
	height: 290px;
	margin-top: 15px;
	_margin-top: 12px;
	position: relative;
}

.logo{
	width: 280px;
	height: 260px;
	position: absolute;
	top: 0;
	left: 0;
	text-indent: -9000px;
}

/* Navigation
-------------------------------------------------------------- */
#navi, #navi-test{
	float: left;
	display: inline;
	margin-top: 263px;
	width: 960px;
	height: 30px;
	margin-left: 30px;
}

#navi ul, #navi-test ul{
	float: left;
	display: inline;
	height: 30px;
}

#navi ul li, #navi-test ul li{
	float: left;
	display: inline;
	width: auto;
}

#navi ul li a, #navi-test ul li a{
	float: left;
	text-indent: -9000px;
	display: inline;
	height: 30px;
	padding-right: 10px;
}
#jsddm{
	margin: 0;
	position: relative;
	z-index: 100;
}
		
#jsddm li ul{	
	margin: 0;
	padding: 0;
	position: absolute;
	top:30px;
	_width: 145px !important;
	left: 180px;
	background: #fff;
	visibility: hidden;
	width: 185px;
	height: auto;
	text-align: center;
	color: #222 !important;
}

#jsddm li ul li{	
	float: none;
	color: #222 !important;
	display: inline;
}

#jsddm li ul li a{	
	width: 150px;
	height: 23px;
	_width: 120px !important;
	margin-left: 10px;
	margin-right: 10px;
	padding: 3px 5px 3px 5px;
	border-bottom: 1px solid #bcbcbc;
	background: #fff;
	font-size: 1.2em;
	font-family: arial, sans-serif;
	color: #3f780d !important;
	border-right: none;
	text-indent: 0 !Important;
	text-decoration: none;
	float: left;
	display: block !Important;
}
#jsddm li ul li a:hover{
	color: #222 !Important;
}
#jsddm li ul li a.no-border{
	border-bottom: none !important;
}

#etusivu{
	width: 90px;
	background: transparent url(../img/navi-sprite-uusin.png) no-repeat 0px 1px;
		
}

#tapahtuma{
	width: 70px;
	background: transparent url(../img/navi-sprite-uusin.png) no-repeat -115px 2px;
	
}

#turnaukset{
	width: 175px;
	background: transparent url(../img/navi-sprite-uusin.png) no-repeat -215px 2px;

}

#kumppanit{
	width: 210px;
	background: transparent url(../img/navi-sprite-uusin.png) no-repeat -405px 1px;
}

#messualue{
	width: 120px;
	background: transparent url(../img/navi-sprite-uusin.png) no-repeat -630px 1px;
}

#yhteystiedot{
	width: 155px;
	background: transparent url(../img/navi-sprite-uusin.png) no-repeat -760px 1px;
	}


#etusivu:hover, #etusivu.selected{
	width: 90px;
	background: transparent url(../img/navi-sprite-uusin.png) no-repeat 0px -34px;
	
}

#tapahtuma:hover, #tapahtuma.selected{
	width: 70px;
	background: transparent url(../img/navi-sprite-uusin.png) no-repeat -115px -34px;
	
}

#turnaukset:hover, #turnaukset.selected, li:hover a#turnaukset{
	width: 175px;
	background: transparent url(../img/navi-sprite-uusin.png) no-repeat -215px -34px;
	
}

#kumppanit:hover, #kumppanit.selected{
	width: 210px;
	background: transparent url(../img/navi-sprite-uusin.png) no-repeat -405px -34px;
	
}

#messualue:hover, #messualue.selected{
	width: 120px;
	background: transparent url(../img/navi-sprite-uusin.png) no-repeat -630px -34px;
	
}

#yhteystiedot:hover, #yhteystiedot.selected {
	width: 155px;
	background: transparent url(../img/navi-sprite-uusin.png) no-repeat -760px -34px;
	
}



/* Content
-------------------------------------------------------------- */

#content{
	float: left;
	display: inline;
	width: 960px;
	background: #fff;
}

.contentleft{
	float: left;
	display: inline;
	width: 560px;
	padding-top: 15px;
	margin-left: 50px;
	padding-bottom: 30px;
}

.contentleft img{
	float: left;
	display: inline;
	margin-bottom: 25px;
}

#logot{
	float: left;
	display: inline;
	width: 560px;
	height: 70px;
}

#logot a img{
	height: 47px;
	margin-right: 40px;
	padding-right: 8px;
}
.no-margin{
	margin-right: 0 !Important;
}
.contentleft-text{
	float: left;
	display: inline;
	width: 460px;
	position: relative;
}
.contentleft-text ul{
	list-style-type: disc;
}

.contentleft-text img{
	padding-top: 20px;
}

.greybox{
	float: left;
	display: inline;
	width: 180px;
	padding: 10px 10px 0px 10px;
	margin-bottom: 15px;
	background:#cacbc9;
}

.greybox a{
	text-decoration: none;
}

.contentleft a{
	text-decoration: none;
	color: #3f780d;
}

.contentleft a:hover{
	color: #222;
}

#sidebar{
	float: left;
	display: inline;
	font-size: 0.9em;
	width: 260px;
	_width: 200px;
	margin-left: 90px;
	_margin-left: 80px;
	padding-top: 15px;
}

.contentleft p{
	float: left;
	display: inline;
	width: 600px;
}

.left p{
	float: left;
	display: inline;
	width: 200px !important;
}

.right p{
	float: left;
	display: inline;
	width: 200px !Important;
}


#lippupalvelu{
	position: absolute;
	top: 290px;
	right: -130px;
	width: 160px;
	text-align: center;
}

#lippupalvelu p{
	width: 160px;
}

#lippupalvelu a img{
	margin-bottom: 10px;
	margin-left: 10px;
}

.turnaus{
	float: left;
	display: inline;
	width: 600px;
	line-height: 3em;
}

.turnauslinkki{
	float: left;
	display: inline;
	padding-right: 10px;
}

.turnausimage{
	float: left;
	display: inline;
	width: 135px;
}

.turnausimage img{
	padding: 0px 0 0 0;
	margin: 0;
}

.logot{
	float: left;
	display: inline;
	width: 560px;
	padding-top: 20px;
}
.logot h3{
	padding-bottom: 10px;
}
#uutiset{
	float: left;
	display: inline;
	background: #cacbc9;
	margin-bottom: 10px;
	height: 305px;
	width: 200px;
}

.uutinen-side{
	float: left;
	display: inline;
	width: 200px;
	*padding-bottom: 10px;
}

.uutinen-side p{
	float: left;
	display: inline;
	padding-left: 5px;
}

.uutinen p{
	float: left;
	display: inline;
}

.uutinen-side a{
	color: #222;
	text-decoration: none;
}

.uutinen-side a:hover{
	text-decoration: underline;
}

.uutinen p a{
	float: left;
	display: inline;
	text-decoration: none;
	color: #3f780d;
}

.uutinen p a.selected{
	color: #3f780d;
}

.uutinen p span{
	float: left;
	display: inline;
	width: 100%;
}

.border{
	float: left;
	display: inline;
	padding-bottom: 20px;
	border-bottom: 2px solid #cacac8;
}

.yrityslogo{
	float: left;
	display: inline;
	height: 140px;
	padding-right: 30px;
}

ul#voittajat{
	margin-left: 0;
	list-style-type: disc;
	list-style-position: inside;
}
.gallery{
	float: left;
	display: inline;
	width: 600px;	
}
.gallery a{
	float: left;
	display: inline;
	width: auto;
	height: 100px;
	margin: 0 10px 10px 0 !Important;	
}
#video{
	float: left;
	display: inline;
	padding: 20px 0 0 0;
}
#flashvideo{
	width: 330px;
}
/* Footer
-------------------------------------------------------------- */

#footer{
	float: left;
	display: inline;
	clear: both;
	width: 960px;
	background: #fff url(../img/yhteistyossa.jpg) no-repeat 50px 0px;
	padding: 60px 0 30px 50px;
}

#footer a{
	padding-right: 5px;
}


/* -----------------------------------------------------------

	Clear floats
	
----------------------------------------------------------- */
.wrapper 		{ display: inline-block; }
.wrapper:after 	{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
* html .wrapper { height: 1%; }
.wrapper 		{ display: block; }
