/* @override 

	http://www.grandcasinohelsinki.fi/kasinonkesa/css/kesa.css
*/

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

	Project:		gch kesä
	Version:		1.0
	Created:		21/04/09
	Modified:		21/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
	
----------------------------------------------------------- */

//@import "diagnostics.css"; /* Remove this before the site goes live!!! */


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

	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: #222;
	line-height: 1.5;
	font-family: Arial,verdana, 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; xmargin-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: #f2f2e6 url(../img/bodybg.jpg) repeat-x 0 0;
	margin-top: 0;
	text-align: center; /*ie hack for centered layout. if not centered, remove this line and the next hack in wrapper*/
}

#page {
	margin: auto;
	padding-left: 10px;
	background: #f2f2e6;
	width: 970px; /*fill in the width of the page*/
	text-align: left; /*for previous ie hack*/
}


/* Header
-------------------------------------------------------------- */
.header {
	background: transparent url(../img/headerkesa.jpg) no-repeat 0 0;
	height: 95px;
	position: relative;
}
.logo {
	width: 127px;
	height: 89px;
	float: left;
	display: inline;
}
.logo h1 {
	margin: 0;
}
.logo h1 a {
	width: 127px;
	height: 89px;
	display: block;
	text-indent: -9000px;
}

/* Navigation
-------------------------------------------------------------- */
.navi {
	position: absolute;
	top: 41px;
	left: 129px;
	width: 832px;
	height: 52px;
	text-indent: -9000px;
	overflow: hidden;
	z-index: 1;
}
.navi ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.navi ul li {
	_float: left;
	_display: inline;
	*float: left;
	*display: inline;
	
}
#menu1, #menu2, #menu3, #menu4, #menu5, #menu6 {
	background: transparent url(../img/navikesa.png) no-repeat 0 0;
	_background: transparent url(../img/navikesa.jpg) no-repeat 0 0;
	height: 48px;
	float: left;
	display: inline;
}
.navi a {
	display: block;
	float: left;
	height: 52px;
}


#menu1 { width: 92px;  background-position: 0 0; }
#menu2 { width: 114px;  background-position: -92px 0; }
#menu3 { width: 184px; background-position: -206px 0; }
#menu4 { width: 100px;  background-position: -390px 0; }
#menu5 { width: 202px; background-position: -490px 0; }

#menu1:hover { width: 92px; height: 52px; background-position: 0 -48px; }
#menu2:hover { width: 114px; height: 52px; background-position: -92px -48px; }
#menu3:hover { width: 184px;height: 52px; background-position: -206px -48px; }
#menu4:hover { width: 100px; height: 52px; background-position: -390px -48px; }
#menu5:hover { width: 202px;height: 52px; background-position: -490px -48px; }

#menu1.selected { width: 92px; height: 52px; background-position: 0 -100px; }
#menu2.selected { width: 114px; height: 52px; background-position: -92px -100px; }
#menu3.selected { width: 184px;height: 52px; background-position: -206px -100px; }
#menu4.selected { width: 100px; height: 52px; background-position: -390px -100px; }
#menu5.selected { width: 202px;height: 52px; background-position: -490px -100px; }

#flashcontent {
	background: transparent url(../img/flashbg.jpg) no-repeat bottom left;
	height: 411px;
	padding-bottom: 20px;
	overflow: hidden;
	margin-top: -6px;
	_margin-top: -6px;
	position: relative;
	margin-bottom: 20px;

}
#flashcontent img, #flashcontent_small img {
	padding: 0;
	margin: 0;
	_margin-bottom: -3px;
	*margin-bottom: -3px;
}
#flashcontent a {
	width: 390px;
	height: 180px;
	display: block;
	position: absolute;
	bottom: 20px;
	right: 30px;
}
#flashcontent_small {
	height: 215px;
	padding-bottom: 20px;
	overflow: hidden;
	margin-top: -6px;
	_margin-top: -6px;
	position: relative;
	margin-bottom: 20px;
	background: transparent url(../img/flashbg.jpg) no-repeat bottom left;	
}
.maincontainer {
	width: 960px;
	overflow: hidden;
}
.colleft {
	width: 310px;
	float: left;
	display: inline;
}
.colright {
	float: left;
	display: inline;
	width: 635px;
	border-left: 1px dotted #babaae;
	padding-left: 10px;
}
.beigeliftup {
	width: 268px;
	padding: 15px 5px 0px 15px;
	_padding: 15px 5px 0px 10px;
	margin-right: 10px;
	margin-bottom: 10px;
	background: #fbeec2 url(../img/beigebg.jpg) no-repeat center top;
}
.beigeliftup h3, .greenliftup h3, .blueliftup h3  {
	font-size: 16px;
	margin-top: 0;
}
.greenliftup h3 {
	margin-bottom: -5px;
}
.beigeliftup h4, .blueliftup h4 {
	margin-top: -20px;
	margin-bottom: 22px;
	width: 275px;
	_width: 267px;
}
.beigeliftup img, .blueliftup img {
	float: left;
	display: inline;
	padding-right: 10px;
}
.beigebottom {
	background: #fbeec2 url(../img/beigebottom.jpg) no-repeat center bottom;
	width: 288px;
	_width: 285px;
	clear: both;
	height: 10px;
	margin-left: -15px;
	_margin-left: -12px;
	_margin-right: -5px;
	xoverflow: hidden;
}
.beigeliftup p {
	font-size: 0.91em;
}
.greenliftup {
	width: 268px;
	position: relative !important;
	padding: 15px 5px 0px 15px;
	_padding: 15px 5px 0px 10px;
	margin-right: 10px;
	background: #d5e0b6 url(../img/greentop.png) no-repeat center top;
}
.greenbottom {
	background: #d5e0b6 url(../img/greenbottom.jpg) no-repeat center bottom;
	width: 288px;
	_width: 285px;
	clear: both;
	height: 10px;
	margin-left: -15px;
	_margin-left: -10px;
	_margin-right: -5px;
}
.greenliftup img {
	position: absolute !important;
	top: 30px;
	right: -15px;
	width: 154px;
	height: 117px;
}
.greenliftup p {
	width: 130px;
	font-size: 0.91em;
} 
.blueliftup {
	width: 268px;
	position: relative !important;
	padding: 15px 5px 0px 15px;
	_padding: 15px 5px 0px 10px;
	margin-right: 10px;
	background: #c7eef5 url(../img/bluetop.jpg) no-repeat center top;
	margin-bottom: 10px;
}
.blueliftup p {
	float: left;
	display: inline;
	width: 150px;
	font-size: 11px;
}
.bluebottom {
	background: #c7eef5 url(../img/bluebottom.jpg) no-repeat left bottom;
	width: 288px;
	_width: 285px;
	clear: both;
	height: 8px;
	margin-left: -15px;
	_margin-left: -10px;
	_margin-right: -5px;
}


.more {
	background: transparent url(../img/redrightarrow.png) no-repeat 100% 3px;
	_background: transparent url(../img/redrightarrow.gif) no-repeat 100% 3px;
	padding-right: 10px;
	color: #bd0030;
	text-decoration: none;

}
.more:hover {
	color: #000;
}

.form {
	width: 613px;
	height: 206px;
	padding: 20px 0 0 26px;
	background: transparent url(../img/uusikilpailubg.jpg) no-repeat 0 0;
	position: relative;
}
.form a {
	color: #ffffff;
	text-decoration: none;
	font-weight: bold;
}
.form h2 {
	margin-top: 0;
	margin-bottom: 5px;
	color: #fff;
	width: 400px;
}
.form p {
	font-size: 0.91em;
	color: #ffffff;
	width: 307px;
	margin-bottom: 4px;
}
#formi {
	position: absolute;
	top: 30px;
	_top: 20px;
	*top: 20px;
	right: 0;
	width: 300px;
}
#etunimi, #sukunimi, #sposti {
	background: transparent url(../img/inputwide.jpg) no-repeat 0 0;
	border: 0;
	height: 25px;
	line-height: 25px;
	width: 289px;
	text-indent: 5px;
	padding-top: 2px;	
}
#markkinointi {
	position: absolute;
	bottom: 10px;
	left: -318px;
}
#checkbox input {
	background: transparent url(../img/checkbox.jpg) no-repeat 0 0 !important;
	border: 0;
	width: 20px;
	height: 20px;
}


.rightcol_left {
	width: 320px;
	padding-left: 20px;
	clear: both;
	float: left;
	display: inline;
	font-size: 0.91em;	
}
.rightcol_left h2{
	color: #007c5a;
	margin: 0;
}
.rightcol_left p {
	width: 280px;
}

.rightcol_right {
	width: 268px;
	background: transparent url(../img/nightbg.jpg) no-repeat 0 0;
	padding-left: 20px;
	float: left;
	height: 151px;
	display: inline;
	font-size: 0.91em;
	color: #fff;
}
.rightcol_right span {
	font-size: 1.16em;
	font-weight: bold;
}
.rightcol_right h2 {
	color: #fff;
	margin-bottom: 0;
}
.submit {
	background: transparent url(../img/osallistu.png) no-repeat 0 0;
	_background: transparent url(../img/osallistu.jpg) no-repeat 0 0;
	width: 88px;
	height: 29px;
	text-indent: -9000px;
	border: 0;
	cursor: pointer;
	position: absolute;
	bottom: -30px;
	_bottom: -25px;
	*bottom: -25px;
	right: 12px;
}








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



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

.maincol {
	width: 600px;
	padding-left: 25px;
	float: left;
	display: inline;
	border-right: 1px dotted #babaae;
	margin-right: 20px;
}
.maincol a {
	color: #c90035;
	text-decoration: none;
}
.rightcol {
	float: left;
	display: inline;
	width: 310px;
}
.rightcol .greenliftup {
	margin-bottom: 10px;
}
.maincol h2 {
	color: #c90035;
	margin-top: 0;
}
.textitem {
	min-height: 100px;
	height: auto !important;
  	height: 100px;
	border-top: 1px dotted #babaae;
	width: 580px;
	_padding-top: 20px;
}
.textitem h3 {
	margin-bottom: 5px;
}
.textitem p span {
	color: #007c5a;
	text-transform: uppercase;
	font-size: 0.91em;
	font-weight: bold;
}

.red {
	color: #c7dca5 !important;
}
.red:hover {
	color: #ababab;
}





/* Footer
-------------------------------------------------------------- */
.footer {
	margin: auto;
	width: 958px;
	padding-top: 10px;
	margin-top: 10px;
	border-top: 1px dotted #acad9d;
}
#footermenu1 a {
	color: #9b9b92;
	text-decoration: none;
	padding-right: 12px;
	padding-left: 10px;
	background: url(../img/separator.gif) transparent center right no-repeat;
}
#footermenu1 a:hover {
	color: #abff0c;
	text-decoration: none;
	padding-right: 12px;
	padding-left: 10px;
	background: url(../img/separator.gif) transparent center right no-repeat;
}
#mainfooter {
	margin-top: 10px;
	padding-top: 25px;
	background: url(../img/doubleborder.gif) transparent repeat-x;
	line-height: 1.5em;
	font-size: 11px;
	height: 180px;
}
#mainfooter .mainfootermenu {
	float: left;
	width: 157px;
}
#mainfooter .mainfootermenu a {
	color: #5f5f57;
	text-decoration: none;
}
#mainfooter .mainfootermenu a:hover {
	color: #abff0c;
	text-decoration: none;
}
#mainfooter .crossbox {
	background: url(../img/crossbox.gif) no-repeat center left;
	padding-left: 14px;
	/*font-weight: bold;*/
}
#mainfooter .mainfootermenu h1 {
	color: #5f5f57;
	font-size: 12px;
	font-weight: bold;
	margin-bottom: 1px;
	padding: 0!important;
	/*letter-spacing: normal;*/
}
.xwidecol {
	width: 566px;
	padding-left: 20px;
	float: left;
	display: inline;
	overflow: hidden;
	padding-right: 10px;
	border-left: 1px dotted #acad9d;
}
.xwidecol a {
	color: #003574;
}

.fields td{
	padding-bottom: 4px;
}
#topicons {
	position: absolute;
	right: 30px;
	top: 15px;
}

.logo2 {
	float: right;
	padding-right: 20px;
	padding-left: 10px;
}


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

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