/**************************************
 * 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,
b, u, i, center,
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-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
:focus { outline: 0; }
ins { text-decoration: none; }
del { text-decoration: line-through; }
table { border-collapse: collapse; border-spacing: 0; }


/************************************
 * Basic elements
 *
 */

html, body, #wrapper { height: 100%; }
body > #wrapper { height: auto; min-height: 100%; }

body {
	font: normal 100%/1.45 "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	color: #000000;
	text-align: center;
	background: #ffffff url('../images/2012/bg-body.png') repeat-x center top;
	-webkit-font-smoothing: subpixel-antialiased;
}

p, li { font-size: 0.75em; }
p { margin-bottom: 1em; font-weight: bold; }
a { color: #7d7d7d; text-decoration: none; }
a:link { }
a:visited { }
a:hover { text-decoration: underline; }
a:active { }

h1, h2, h3, h4, h5, h6 { color: #7d7d7d; margin: 0 0 1em 0; font-weight: bold; line-height: 1.4; }
h1 { font-size: 20px; font-variant: small-caps; color: #ffffff;  }
h2 { font-size: 16px; }
h3 { font-size: 16px; margin-bottom: 0.8em; }
h4, h5, h6 { font-size: 12px; }

sub { vertical-align: baseline; position: relative; bottom: -0.25em; font-size: smaller; }
sup { vertical-align: baseline; position: relative; bottom: 0.33em; font-size: smaller; }

ul, ol { margin: 1em 0 1em 1em; padding-left: 1em; }
ol { list-style-type: decimal; }
ul { list-style-type: disc; }
ol li, ul li { margin: 0.1em 0; line-height: 1.3; }
li li {	font-size: 1em; }
li ul {	margin: 0; }

address { font-style: normal; }

td { font-size: 0.75em; padding-right: 0.5em; vertical-align: top;}
td p, td li { font-size: 1em; }

body.kotimainen-kilpailu td { vertical-align: middle; }

/************************************ 
 * Styles
 *
 */



/************************************
 * Layout
 *
 */

#main-wrapper { padding-top: 15px; }
#wrapper { 
    background: transparent url('../images/2012/bg-main-wrapper.png') no-repeat center top;
    text-align: left; position: relative; height: 100%; z-index: 2; 
}

#page { 
	margin: 0 auto; text-align: left; position: relative; width: 918px; 
	/*background: transparent url('../images/2012/bg-page.jpg') repeat-y left top;*/
}

#header-logo { position: absolute; bottom: 5px; left: 5px; }
#print-logo { display: none; }

#header-container {
	position: relative; clear: both; 
	height: 180px; overflow: hidden; 
	padding: 0 9px; 
	width: 900px; 
	margin: 0 auto;  
}
#slideshow { 
	width: 644px; height: 180px; margin: 0; overflow: hidden; background-color: #202020;
	position: absolute; right: 9px; bottom: 5px; 
	-webkit-box-shadow: 0px 3px 5px rgba(0,0,0, 0.5);
	-moz-box-shadow: 0px 3px 5px rgba(0,0,0, 0.5);
	box-shadow: 0px 3px 5px rgba(0,0,0, 0.5);	
	behavior: url('assets/templates/site/js/PIE.php'); 
}
#slideshow p { margin: 0; }
/*body.fi #slideshow { background: url('../images/2012/bg-slideshow-2011-fi.jpg') no-repeat left top; }	
body.en #slideshow { background: url('../images/2012/bg-slideshow-2011-en.jpg') no-repeat top left; }*/
body.fi #slideshow p { margin-bottom: 0;  }
#navigation { 
	width: 900px; margin: 0 auto; padding: 0 9px 5px;  
	/*background: transparent url('../images/2012/bg-navi-top.gif') no-repeat center top;*/ 
	position: relative;
	
	 
}
#navigation-bottom { 
	/*background: transparent url('../images/2012/bg-navi-bottom.gif') no-repeat center top; height: 4px;*/ 
	display: none; 
}	 

#search { position: absolute; top: -4px; right: 18px; height: 34px; }

#container { position: relative; padding: 0 9px 85px; overflow: auto; }

#main { width: 646px; float: right; background-color: transparent;  }
#content { 
	margin-top: 20px; padding: 0px 32px 20px 32px; background-color: transparent; min-height: 395px; height: auto !important; height: 395px;
	background: #ffffff url('../images/2012/bg-content.png') repeat-x 0 0;
}
#content-bottom { background: transparent url('../images/2012/bg-content-bottom.png') no-repeat center top; width: 646px; height: 22px; display: none; }
#page-title { 
	width: 646px; padding-top: 3px;
	background-color: #30d9d7;
	/*background: transparent url('../images/2012/bg-page-title-top.gif') no-repeat center top;*/
	-webkit-box-shadow: 1px 3px 5px rgba(0,0,0, 0.5);
	-moz-box-shadow: 1px 3px 5px rgba(0,0,0, 0.5);
	box-shadow: 1px 3px 5px rgba(0,0,0, 0.5);	
	behavior: url('assets/templates/site/js/PIE.php'); 
}
#page-title #page-title-bottom { 
	/*background: transparent url('../images/2012/bg-page-title-bottom.gif') no-repeat center top;*/ 
	height: 2px; line-height: 2px; 
}
#page-title h1 {
	margin: 0; padding: 15px 15px 15px 32px;
	width: 599px; color: #ffffff; font-size: 1.25em;
	text-transform: uppercase; font-variant: normal;
	/*background: url('../images/2012/bg-page-title.jpg') repeat left top;*/
}

#sidebar { float: left; width: 254px; }
#sidebar { color: #ffffff; }
#sidebar a { color: #d0d0d0; }
#sidebar a:hover { color: #f0f0f0; }
div.sidebar-box-top,
div.sidebar-fancybox-top { height: 2px; line-height: 2px; } 
div.sidebar-box-top { background: transparent url('../images/2012/bg-sidebar-box-top.gif') no-repeat left bottom; }
div.sidebar-fancybox-top { background: transparent url('../images/2012/bg-sidebar-box-top.gif') no-repeat left bottom; }

div.sidebar-box-content,
div.sidebar-fancybox-content {	
	width: 216px;
	/*background: url('../images/2012/bg-sidebar-box-content.jpg');*/
	background-color: #eb1f59;
	font-size: 11px;
	/*border: 1px solid #444444; border-top: none; border-bottom: none;*/
	margin: 0px; padding: 10px 15px; 
	color: #000000; 
	-webkit-border-radius: 5px; 
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0px 3px 4px rgba(0,0,0, 0.5);
	-moz-box-shadow: 0px 3px 4px rgba(0,0,0, 0.5);
	box-shadow: 0px 3px 4px rgba(0,0,0, 0.5);
	behavior: url('assets/templates/site/js/PIE.php');	 
}

div.sidebar-box-social-media {
	background-color: #ffe880;
}
#sidebar div.sidebar-box-social-media a {
	color: #7d7d7d; 
}
div.sidebar-box-social-media iframe { 
	background-color: #ffffff;
	-webkit-border-radius: 5px; 
	-moz-border-radius: 5px;
	border-radius: 5px; 
}
.fb-like-box {
	border-width: 0; 
}
div.sidebar-box-social-media iframe .fbConnectWidgetTopmost { border-style: none; border-width: 0; }
div.sidebar-fancybox-content,
div.sidebar-fancybox-content h2,
div.sidebar-fancybox-content h3 {
	color: #ffffff;	
}


div.sidebar-box-content h2,
div.sidebar-fancybox-content h2 { color: #ffffff;  text-transform: uppercase; font-weight: bold; font-size: 14px;  }
div.sidebar-fancybox-content p,
div.sidebar-fancybox-content li { font-size: 1em; }

div.sidebar-box-bottom { background: transparent url('../images/2012/bg-sidebar-box-bottom.gif') no-repeat left top; height: 2px; margin-bottom: 5px;  }

div.sidebar-box-top,
div.sidebar-fancybox-top,
 div.sidebar-box-bottom { background-image: none; }
div#sidebar-sub-navigation {
	padding: 5px 6px 5px 5px; width: 235px; 
	background-color: #abc38f;
}
/*#footer { width: 918px; margin: -70px auto 0; position: relative; z-index: 10; height: 50px; clear: both; background: black; padding: 10px 0; }*/

#footer { 
	width: 900px; margin: -65px auto 0; padding: 5px 9px 0; 
	/*background: transparent url('../images/2012/bg-footer-top.gif') no-repeat center top;*/
	position: relative; z-index: 10; height: 60px; clear: both;
}
#footer-container { 
	margin: 0; padding: 0; position: relative;
	/*background-color: #ef8bb0;*/ 
    /*border: 1px solid #9d5c74; border-top: none; border-bottom: none;*/
    /*background-color: #ffe880;*/
	background-color: #7d7d7d; 
	-webkit-border-radius: 5px; 
	-moz-border-radius: 5px;
	border-radius: 5px; 
	height: 60px; 
	-webkit-box-shadow: 0px 3px 5px rgba(0,0,0, 0.5);
	-moz-box-shadow: 0px 3px 5px rgba(0,0,0, 0.5);
	box-shadow: 0px 3px 5px rgba(0,0,0, 0.5);	
	color: #ffffff;
	behavior: url('assets/templates/site/js/PIE.php');

}
#footer table { margin: 0 auto; }
#footer table td { padding:  9px 6px 5px;  vertical-align: middle; text-align: left;  }
#footer td,
#footer td p, 
#footer a { color: #ffffff; font-weight: normal; margin-bottom: 0.25em;   }
#footer-bottom { 
	/*background: transparent url('../images/2012/bg-footer-bottom.gif') no-repeat center top;*/ 
	height: 4px; display: none; 
}	 
#footer img { padding: 0 5px 0 2px; }
#footer-crosslink { width: 50px; position: absolute; top: 4px; left: 10px;  }

/***************************************
 * Navigation
 *
 */

#navigation ul { 
	margin: 0; padding: 0 0 0 8px; list-style: none; 
	/*background-color: #ef8bb0;*/ 
	/*border: 1px solid #9d5c74; border-top: none; border-bottom: none;*/
	height: 34px;
	border: 1px solid #d1d0d1;  
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px; 
	border-radius: 5px;
	behavior: url('assets/templates/site/js/PIE.php');
}
#navigation ul li { margin: 5px 5px 0 0; padding: 0; float: left; line-height: 24px; font-size: 1em;   }
#navigation ul li a { 
	color: #000000; font-weight: bold; 
	display: block; font-size: 0.75em; padding: 0 0.6em;
	-webkit-transition: all 0.2s linear;
	   -moz-transition: all 0.2s linear;
	    -ms-transition: all 0.2s linear;
	     -o-transition: all 0.2s linear;
	        transition: all 0.2s linear;
}
#navigation ul li a span {
	background-color: transparent; 
	/*text-shadow: 0px 6px 8px #808080;*/
    filter: dropshadow(color=#808080, offx=0, offy=6);
    text-shadow: 0px 6px 8px rgba(60,60,60,0.5);
}
	
#navigation ul li.last { margin-right: 0;  }
#navigation ul li a:hover { 
	background-color: #aeaeae; 
	background-color: rgba(174,174,174,0.75);
	text-decoration: none;
	-webkit-box-shadow: 0px 6px 8px rgba(174,174,174, 0.33);
	-moz-box-shadow: 0px 6px 8px rgba(174,174,174, 0.33);
	box-shadow: 0px 6px 8px rgba(174,174,174,0.33); 
}
#navigation ul li a.active { 
	background-color: #aeaeae; 
	background-color: rgba(174,174,174,0.75);
	-webkit-box-shadow: 0px 6px 8px rgba(0,0,0, 0.17);
	-moz-box-shadow: 0px 6px 8px rgba(0,0,0, 0.17);
	box-shadow: 0px 6px 8px rgba(0,0,0,0.17);
}

#navigation ul li a:active { }

#sub-navigation ul { margin: 0; padding: 0; list-style: none; }
#sub-navigation ul li { padding-left: 2px; font-size: 11px; float: none; }
#sub-navigation ul li a { color: #ffffff; font-weight: bold; padding: 0.6em; display: block; text-decoration: none;  }
#sub-navigation ul li a:hover { 
	background-color: #9bb37f; color: #ffffff; text-decoration: none;
	-webkit-border-radius: 5px; 
	-moz-border-radius: 5px;
	border-radius: 5px;  
	behavior: url('assets/templates/site/js/PIE.php');
}
#sub-navigation ul li a.active { 
	background-color: #9bb37f; color: #ffffff;
	-webkit-border-radius: 5px; 
	-moz-border-radius: 5px;
	border-radius: 5px;  
	behavior: url('assets/templates/site/js/PIE.php');
}

body.fi #language a.finnish,
body.en #language a.english { display: none; }

/************************************ 
 * Language
 *
 */
#language {
	position: absolute; right: 160px; top: 2px; 
	font-size: 11px; line-height: 34px; 
	padding: 0 8px 0 0;  
}
#language a { 
	color: #000000; font-weight: bold; 
	/*text-shadow: 0px 6px 8px #808080;*/
    filter: dropshadow(color=#808080, offx=0, offy=6);
    text-shadow: 0px 6px 8px rgba(60,60,60, 0.5);
}


/************************************ 
 * Forms
 *
 */

form { font-size: 11px;  }
div.form-row { margin-bottom: 0.5em; clear: both; position: relative; }
div.form-left { float: left; width: 32%;}
div.form-right { float: right; width: 67%;}
fieldset { border: 0; margin: 0 0 1.5em 0; position: relative; clear: both; display: block; }
div.fieldset { border: 0; margin: 0 0 1.5em 0; height: auto; clear: both;  }
fieldset.blank { }
input, textarea, select, option { font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif; font-size: 11px;  }	
label { float: left; width: 200px; }
div.errors, div.required, span.required { color: #a00000; font-weight: bold; }
div.errors { font-size: 1em; margin-bottom: 1em; }
input.field { width: 100px; }
input.button { }
option { border: 0; padding: 1px 2px;}
select { border: 1px solid #ccc; padding: 0;}
div.checkbox-container { }

#mailing-list-form p, #mailing-list-form li { font-size: 1em; font-weight: bold;  }
#mailing-list-form h3 { text-transform: uppercase; margin-top: 1.5em; margin-bottom: 0.5em; }
#mailing-list-form div.form-left { width: 220px; }
#mailing-list-form div.form-right { width: 340px; float: left;  }
#mailing-list-form label { width: auto; line-height: 2; font-weight: bold;  }
#mailing-list-form label.heading { text-transform: uppercase; font-weight: bold; }
#mailing-list-form input.field { width: 80%; }
#mailing-list-form input.field-medium { width: 50%; }
#mailing-list-form input.field-short { width: 3em; }
#mailing-list-form textarea { width: 90%; height: 8em; }

#contest-form p, #contest-form li { font-size: 1em; font-weight: bold;  }
#contest-form h3 { text-transform: uppercase; margin-top: 1.5em; margin-bottom: 0.5em; }
#contest-form label { width: auto; line-height: 2; font-weight: bold;  }
#contest-form label.heading { text-transform: uppercase; font-weight: bold; }
#contest-form input.field { width: 90%; }
#contest-form input.field-medium { width: 50%; }
#contest-form input.field-short { width: 3em; }
#contest-form textarea { width: 90%; height: 8em; }

#accre-form p, #accre-form li { font-size: 1em; font-weight: bold;  }
#accre-form h3 { text-transform: uppercase; margin-top: 1.5em; margin-bottom: 0.5em; }
#accre-form label { width: auto; line-height: 2; font-weight: bold;  }
#accre-form label.heading { text-transform: uppercase; font-weight: bold; }
#accre-form input.field { width: 90%; }
#accre-form input.field-medium { width: 50%; }
#accre-form input.field-short { width: 3em; }
#accre-form textarea { width: 90%; height: 8em; }
#accre-form span.checkbox-spacer { padding-left: 26px;  }

#worker-form p, #worker-form li { font-size: 1em; font-weight: bold;  }
#worker-form h3 { text-transform: uppercase; margin-top: 1.5em; margin-bottom: 0.5em; }
#worker-form label { width: auto; line-height: 2; font-weight: bold;  }
#worker-form label.heading { text-transform: uppercase; font-weight: bold; }
#worker-form input.field { width: 90%; }
#worker-form input.field-medium { width: 35%; }
#worker-form input.field-short { width: 3em; }
#worker-form textarea { width: 90%; height: 8em; }

#feedback-form p, #feedback-form li { font-size: 1em; font-weight: bold;  }
#feedback-form h3 { text-transform: uppercase; margin-top: 1.5em; margin-bottom: 0.5em; }
#feedback-form label { width: auto; line-height: 2; font-weight: bold;  }
#feedback-form label.heading { text-transform: uppercase; font-weight: bold; }
#feedback-form input.field { width: 90%; }
#feedback-form input.field-medium { width: 35%; }
#feedback-form input.field-short { width: 3em; }
#feedback-form textarea { width: 90%; height: 8em; }

#membership-form p, #membership-form li { font-size: 1em; font-weight: bold;  }
#membership-form h3 { text-transform: uppercase; margin-top: 1.5em; margin-bottom: 0.5em; }
#membership-form div.form-left { width: 250px; }
#membership-form div.form-right { width: 320px; }
#membership-form label { width: auto; line-height: 2; font-weight: bold;  }
#membership-form label.heading { text-transform: uppercase; font-weight: bold; }
#membership-form input.field { width: 90%; }
#membership-form input.field-medium { width: 50%; }
#membership-form input.field-short { width: 3em; }
#membership-form textarea { width: 90%; height: 8em; }

/****
 * Search
 */

#ajaxSearch_form { height: 40px; line-height: 40px;}
#ajaxSearch_form fieldset { margin-bottom: 0; height: 40px; line-height: 40px;}
#ajaxSearch_form label { float: none; width: auto; }
#ajaxSearch_input { 
	width: 125px; background-color: #d3d3d3;
	border: none;
	margin: 0; padding: 4px 3px;
	font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
	color: #000000;
	font-size: 11px; 
	display: block;
	position: relative; 
	top: 11px;  
	-webkit-box-shadow: 0px 6px 8px rgba(0,0,0, 0.17);
	-moz-box-shadow: 0px 6px 8px rgba(0,0,0, 0.17);
	box-shadow: 0px 6px 8px rgba(0,0,0,0.17);
}
#ajaxSearch_submit { display: none; }

.ajaxSearch_result { margin-bottom: 1.5em; border-bottom: 1px dotted #e0e0e0;  }
.ajaxSearch_result h3 { margin-bottom: 0.1em; }
div.search-result-extract p { margin-bottom: 0; }

.ajaxSearch_paging { font-weight: bold; font-size: 0.75em; text-align: center; margin: 1em 0; padding: 1.5em 0em; }
.ajaxSearch_paging span.left { width: 20%; float: left; text-align: left; }
.ajaxSearch_paging span.right { width: 20%; float: right; text-align: right; }
.search-link-off { color: #d0d0d0; }

.search-link { padding: 0 0.5em; border: 1px solid #ccc;  margin: 0 0.2em; background-color: #fafafa; }
.search-link-current { background-color: #ea4411; color: #ffffff;  border: 1px solid #ea4411; }

/************************************ 
 * News
 *
 */

div.news-item { }
div.news-item h2 { }
div.news-item p { }

div.news-item-short { padding-bottom: 1.25em;  }
div.news-item-short h3 { margin: 0; color: #ffffff; font-size: 11px; padding-bottom: 0.15em;   }
div.news-item-short p { font-size: 1em; margin: 0; padding-bottom: 0.25em; }
div.news-item-short p.date { font-size: 11px; color: #000000; padding-bottom: 0.1em; }
p.news-more { font-size: 1em; }

div.news-item-archive p.date { margin-bottom: 0.1em; }
div.news-item-archive h3 { margin: 0; color: #000000;  }

div.pagination { font-weight: bold; font-size: 0.75em; text-align: center; margin: 1em 0; padding: 2em 0em; }
div.pagination span.left { width: 20%; float: left; text-align: left; }
div.pagination span.right { width: 20%; float: right; text-align: right; }
div.pagination .ditto_off { color: #d0d0d0; }

.ditto_currentpage,
.ditto_page { padding: 0 0.5em; border: 1px solid #ccc;  margin: 0 0.2em; background-color: #fafafa; }
.ditto_currentpage { background-color: #30d9d7; color: #ffffff;  border: 1px solid #30d9d7; }

/************************************ 
 * Fixes and special cases
 *
 */

.clearfix:after, #container:after, div.form-row:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix {display: inline-block;}
/* Hide from IE Mac \*/
.clearfix {display: block;}
/* End hide from IE Mac */
.hidden { display: none; } 
 