
/* CSS RESET
----------------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus { outline: 0; }
body { 
	line-height: 1; 
	color: #777575; 
	background: #ececec; 
	font-family: Arial; 
}
ol, ul { list-style: none; }
/* tables still need 'cellspacing="0"' in the markup */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
strong, bold { font-weight: bold; }


/* CLEARFIX
----------------------------------------------------------------*/

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
.clearfix { display: inline-block; }
html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }


/* BASIC ELEMENTS
----------------------------------------------------------------*/
td, img, .pngFix { behavior: url(http://ytv.inoob.fi/matkakortti/wp-content/themes/Matkakorttinet/js/iepngfix.htc); }

div#content h1 { 
	font-size: 22px; 
	line-height: 28px; 
	color: #7ed610; 
	font-weight: normal; 
	margin-bottom: 18px; 
}
div#content h2 { 
	font-size: 12px; 
	line-height: 18px;
	color: #7ed610; 
	font-weight: bold; 
}
div#content h3 { font-size: 12px; line-height: 18px; font-weight: bold; }
div#content p { font-size: 12px; line-height: 18px; margin-bottom: 1em; }

em, i { font-style: italic; color: red; }

div#content ul {}
	div#content ul li { 
		font-size: 12px; 
		line-height: 18px; 
		margin-left: 15px; 
		list-style: outside disc; 
	}

div#content a { color: #7ed610; text-decoration: none; }
div#content a:hover { color: #7ed610; text-decoration: underline; }

.green { color: #7ed610; }


/* LAYOUT 
----------------------------------------------------------------*/

#page {
	margin: 0 auto;
	width:814px;
	background: #fff url(images/page_bg.gif) repeat-y;
}
	/* div: header, nav, footer, content */
	div#header, div#nav, div#content, div#footer { 
		display: inline;
		float: left; 
		clear: both; 
		width: 800px;
		margin: 0 7px; /* shadows */
	}

div#header { background-color: #7ed610; color: #fff; }
	div#header img { float: left; }
	div#header .navHelp { width: 200px; padding-top: 14px; }
	div#header .navHelp a { 
		color: #fff; 
		font-size: 11px; 
		text-decoration: none; 
		margin-right: 10px;
	}
	div#header .navHelp a:hover { text-decoration: underline; }

div#content { }
	div#content .leftCol { width: 370px; float: left; }
	div#content .rightCol { width: 340px; float: left; margin: 55px 20px 20px 0; }
	/* div#content .rightCol { width: 250px; float: left; margin: 90px 20px 20px 0; } */

div#footer {  }
	div#footer .info { 
		float: left; 
		display: inline;
		margin:16px 40px; 
		color: #777575;  
		font-size: 12px;
		margin-top: 25px;
	}
	div#footer .logo { margin:0 40px; float: right; display: inline; }
		div#footer .logo a img { float: right; }

div#pageBottom {}
	div#pageBottom img { float:left; }
	

/* NAVIGATION MAIN FIN
----------------------------------------------------------------*/

#nav li { float: left; }
#nav li a { float:left; height:31px; overflow: hidden; }
#n1 a { width:127px; background: url(images/nav1.gif) no-repeat; }
#n2 a { width:193px; background: url(images/nav2.gif) no-repeat; }
#n3 a { width:192px; background: url(images/nav3.gif) no-repeat; }
#n4 a { width:118px; background: url(images/nav4.gif) no-repeat; }
#n5 a { width:170px; background: url(images/nav5.gif) no-repeat; }

#nEng1 a { width:118px; background: url(images/nav_eng_1.gif) no-repeat; }
#nEng2 a { width:157px; background: url(images/nav_eng_2.gif) no-repeat; }
#nEng3 a { width:221px; background: url(images/nav_eng_3.gif) no-repeat; }
#nEng4 a { width:124px; background: url(images/nav_eng_4.gif) no-repeat; }
#nEng5 a { width:180px; background: url(images/nav_eng_5.gif) no-repeat; }

#nSwe1 a { width:163px; background: url(images/nav_swe_1.gif) no-repeat; }
#nSwe2 a { width:168px; background: url(images/nav_swe_2.gif) no-repeat; }
#nSwe3 a { width:199px; background: url(images/nav_swe_3.gif) no-repeat; }
#nSwe4 a { width:113px; background: url(images/nav_swe_4.gif) no-repeat; }
#nSwe5 a { width:157px; background: url(images/nav_swe_5.gif) no-repeat; }

#nav a:hover, #nav a.selected { background-position: 0 -31px; }

#nav{
	width: auto;
	top: 0px;
	left: 0px;
	background-color: #7ed610;
}

/* NAVIGATION SUB DROPDOWNS FIN
----------------------------------------------------------------*/

#active { 
	position:absolute; 
	top:-500px; 
	left:-500px; 
	visibility:hidden;
	z-index: 999;
}
	#active table { 
		position: absolute; 
		top: 0; 
		left: 0; 
		border-top: 1px solid #ededed; 
	}

#n2_dd { width: 205px; z-index: 750; }
#n3_dd { width: 204px; z-index: 800; }
#n4_dd { width: 130px; z-index: 850; }
#n5_dd { width: 182px; z-index: 900; }
#n2_dd td img, #n3_dd td img, #n4_dd td img, #n5_dd td img { float: left; }


/* NAVIGATION DROPDOWNS
----------------------------------------------------------------*/

.dd { margin-top: 10px; }
	.dd li { border-top: 2px solid #e8e9e7; padding: 5px 0;  }
	.dd li.first { border-top: 0; }
	.dd li a { 
		display: block;
		width: 100%;
		color: #77c813; 
		background-color:#fff; 
		text-decoration: none; 
		font-weight: bold; 
		line-height: 14px; 
		font-size:14px;  
	}
	.dd li a:hover { color: #a5d414; background-color:#fff; }
	

/* POP POP POPUP
----------------------------------------------------------------*/

#pop, #pop2 { 
	position: absolute; 
	left:50%; 
	top:190px; 
	width: 582px; 
	margin-left: -291px; 
	font-family: Helvetica, Arial, sans-serif;
	display: none;
	font-size: 12px;
}
	#pop .popHead {  height:11px; width: 582px;  }
	#pop .popContent {
		display: inline-block; 
		width: 512px; /* 582px - padding */
		height: auto;  
		background: transparent url(images/pop_bg.png) repeat-y; 
		padding: 15px 35px;
		border: 0px solid lime;
	}
	#pop .popBottom { height: 12px; width: 582px;  }
	#pop .popHead img,
	#pop .popBottom img { float: left; }
	
	#pop h1, #pop2 h1 {
		font-size: 16px; 
		line-height: 24px; 
		color: #777575; 
		font-weight: bold; 
		margin-bottom: 2em; 	
	}
	#pop p.question, #pop2 p.question{
		position: relative;
		clear: both;
		font-size: 14px; 
		line-height: 20px;
		color: #777575; 
		margin-bottom: 0; 	
	}
	#pop p.question img, #pop2 p.question img{ margin-top: -5px; margin-bottom: 14px; float: left; }
	#pop p#actions, #pop2 p#actions{
		position: relative;
		clear: both;
		font-size: 14px; 
		line-height: 20px;
		color: #777575; 
		margin-top: 30px;
		margin-bottom: 0; 	
	}
	#pop p#actions img, #pop2 p#actions img { display: inline; margin-top: -5px; margin-bottom: 14px; margin-right: 10px; float: left; }
	#pop a, #pop2 a { color: #777575; text-decoration: none; }

#pop2{
	top: 170px;
}

#popClose { position:absolute; top:15px; right:15px; }

.actions2{
	margin-top: 30px;
	margin-left: 35px;
}

.actions2 img{
	float: left;
}

#notice, #notice1, #notice2, #notice3 { font-weight: bold; font-size: 14px; display: block; float: left; margin-top: 8px; margin-left: 5px; }

#results ,#question_2, #question_3, #error, #thanks, #feedback{ visibility: hidden; height: 0; }

#results p { font-size: 14px; line-height: 24px; margin-bottom: 1em; }

.long { width: 310px; border: 1px solid #ededed; }

form#competition { float: left; }
	form#competition p { margin: 5px 0; font-size: 14px; }
	form#competition label { display: inline-block; width: 190px; float: left;  }
	form#competition input.long { width: 310px; border: 1px solid #dbdbdb; }/*#ededed*/

.breadcrumb{
	color: #7ed610;
	font-size: 12px;
	margin-left: 45px;
	margin-top: 5px;
	float: left;
	margin-bottom: 5px;
}

.breadcrumb a{
	color: #777575;
}

.answer{
	display: none;
	clear: both;
	font-size: 12px;
}

.feedB td{
	padding-bottom: 5px;
}

.actions2{
	clear: both;
}

.popC p{
	line-height: 18px;
}

.pop2C p{
	line-height: 18px;
	font-size: 14px;
}

.pop2Ch{
	line-height: 50px;
	font-size: 24px;
	color: #7ed610;
}

.pop2C strong .green{
	font-size: 22px;
}