
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}td{vertical-align:top;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym {border:0;font-variant:normal;}sup {vertical-align:text-top;}sub {vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{font-size:100%;}legend{color:#000;}

/* ----------------------------------------------------------------- */
/* ULKOASUN PERUSPALIKAT */
/* ----------------------------------------------------------------- */

html {
	height: 100%;
}

body {
	font: normal 1em "Trebuchet MS",verdana,sans-serif;
	background: #c1e9e9 url(/grafiikat/body.png);
	height: 100%;
}

#body {
	background: url(/grafiikat/body_gradient.png) repeat-x;
    padding: 1em;
	min-height: 350px;
}

#container {
	min-width: 35em;
	width: 90%;
	margin: 0 auto;
}

#content {
	line-height: 140%;
	clear: both;
	padding: 1em;
	background: #fff;
}

#footer {
	clear: both;
	height: 25px;
	text-align: right;
    padding-top: 1em;
}

#footer ul {
	float: left;
	padding-top: 0.2em;
}

#footer ul li {
	float: left;
	color: #c5a589;
	font-size: 100%;
	margin-right: 0.4em;
}

#footer a:link,
#footer a:visited {
	color: #c5a589;
	text-decoration: none;
}

#footer a:hover {
	color: #d00049;
	text-decoration: underline;
}


/* LINKIT */ 

a,
a:link,
a:visited {
	color: #3d929f;
}

a:hover {
	color: #d00049;
}


/* NAVIGOINTI */

#navi_container {
	height: 28px;
}

#navi {
	float: right;
}

#navi li {
	width: 125px;
	height: 28px;
	float: left;
	display: block;
	position: relative;
	margin-right: 5px;
}

#navi li a {
	display: block;
	overflow: hidden;
	cursor: pointer;
}

#navi li a span {
	background: url(/grafiikat/navi2.png) no-repeat;
	height: 100%;
	position: absolute;
	width: 100%;
}

#navi li#li-1 a span {
	background-position: 0 0;
}

#navi li#li-2 a span {
	background-position: -125px 0;
}

#navi li#li-3 a span {
	background-position: -250px 0;
}

#navi li#li-4 a span {
	background-position: -375px 0;
}

#navi li#li-5 a span {
	background-position: -500px 0;
}

#navi li#li-1 a.selected span,
#navi li#li-1 a.selected:hover span {
	background-position: 0 -56px;
}

#navi li#li-2 a.selected span,
#navi li#li-2 a.selected:hover span {
	background-position: -125px -56px;
}

#navi li#li-3 a.selected span,
#navi li#li-3 a.selected:hover span {
	background-position: -250px -56px;
}

#navi li#li-4 a.selected span,
#navi li#li-4 a.selected:hover span {
	background-position: -375px -56px;
}

#navi li#li-5 a.selected span,
#navi li#li-5 a.selected:hover span {
	background-position: -500px -56px;
}

#navi li#li-1 a:hover span {
	background-position: 0 -28px;
}

#navi li#li-2 a:hover span {
	background-position: -125px -28px;
}

#navi li#li-3 a:hover span {
	background-position: -250px -28px;
}

#navi li#li-4 a:hover span {
	background-position: -375px -28px;
}

#navi li#li-5 a:hover span {
	background-position: -500px -28px;
}


/* LOGO */

h1 {
	background: #fefef0;
	height: 78px;
    width: 283px;
	font: bold 2em "Trebuchet MS",arial,sans-serif;
	text-transform: uppercase;
	float: left;
	overflow: hidden;
    position: relative;
}

h1 a {
	cursor: pointer;
	color: #736321;
	text-decoration: none;
}

h1 span {
	display: block;
	background: #fffbed url(/grafiikat/logo.png) left top no-repeat;
	height: 100%;
	position: absolute;
	width: 100%;
}

/* LISÄÄ TARINA -PAINIKE */

a#add {
	background: #fefef0;
	height: 40px;
    width: 207px;
	margin-top: 10px;
	font: bold 2em "Trebuchet MS",arial,sans-serif;
	text-transform: uppercase;
	float: right;
	overflow: hidden;
    position: relative;
	cursor: pointer;
	color: #736321;
	text-decoration: none;
}

a#add span {
	background: #fffbed url(/grafiikat/add.png) left top no-repeat;
	height: 100%;
	position: absolute;
	width: 100%;
}

/* FACEBOOK-PAINIKE */

a#facebook {
	background: #fefef0;
	height: 40px;
    width: 178px;
	margin-top: 10px;
	margin-right: 10px;
	font: bold 2em "Trebuchet MS",arial,sans-serif;
	text-transform: uppercase;
	float: right;
	overflow: hidden;
    position: relative;
	cursor: pointer;
	color: #fff;
	text-decoration: none;
}

a#facebook span {
	background: #4a6bae url(/grafiikat/facebook.png) left top no-repeat;
	height: 100%;
	position: absolute;
	width: 100%;
}

#text {
	clear: both;
}

/* OTSIKOT */

h2 {
	font-size: 170%;
	color: #20b6b3;
    margin-bottom: 1em;
}

h3 {
	font-size: 125%;
	color: #896341;
}

h4 {
	font-size: 105%;
	color: #b58c63;
}


/* ----------------------------------------------------------------------------- */
/* PERUS-HTML-ELEMENTIT */
/* ----------------------------------------------------------------------------- */

p {
	margin-bottom: 1em;
}

.bold,
strong {
	font-weight: bold;
}

em {
	font-style: italic;
}

/* ----------------------------------------------------------------------------- */
/* YLEISIÄ TYYLEJÄ */
/* ----------------------------------------------------------------------------- */

.semi-unimportant {
	color: #6a4c32;
}

.unimportant {
	color: #b58c63;
}

.smaller {
	font-size: 90%;
}

.small {
	font-size: 80%;
}


.padding05 {
	padding: 0.5em;
}

.padding1 {
	padding: 1em;
}

.highlight {
	background: #fffd59;
}

.margin {
	margin: 0;
}

.false { 
	color: #e23577;
}

.true { 
	color: #00b629;
}

.nowrap { 
	white-space: nowrap;
}

.img {
	padding: 3px;
	border: 1px solid #cdb398;
}

/* ----------------------------------------------------------------------------- */
/* LOMAKKEET */
/* ----------------------------------------------------------------------------- */

form.basic fieldset {  
	border: 1px solid #ccecec;
	margin: 1em 0;
	padding: 1em;
}

form.basic legend {  
	color: #6cbfbd;
	font: normal 1.4em "Trebuchet MS",sans-serif;
	margin-left: 1em;
	padding: 0 0.5em;
}

form.basic ol {  
	padding-right: 1em;
	display: block;
}

form.basic li {  
    list-style-type: none;
	padding: 0.5em;
	display: block;
	width: 100%;
}

form.basic label { 
	color: #896341;
	float: left; 
	font-weight: bold; 
	width: 25%;
	padding: 0.5em; 
	border: 0px solid green;
}

.mandatory { 
	color: #e23577;
	font-weight: bold;
}

.voluntary { 
	color: #00b629;
	font-weight: bold;
}



form.basic label.normal {  
	float: none;  
	width: auto;  
	margin: 0;
    padding: 0;
	cursor: pointer;
	font-weight: normal;
    color: #000;
}

form.basic .fancy {
    background: #fff;
    border: 1px solid #cdb398;
    padding: 3px;
    color: #896341;
    margin: 0;
    background: #fff;
}

form .fancy:focus {
	color: #000;
}

form.basic li {  
	float: left;  
	clear: left;  
}

form.basic div.content {  
	padding-left: 1em;
	float: left;
	border: 0px solid blue;
	width: 37%;
}

form.basic dfn {
	font-size: 85%;
	display: block;
	line-height: 130%;
	color: #916d4c;
	font-style: normal;
	margin-left: 2em;
	padding-left: 0;
	float: left;
	border: 0px solid red;
	width: 29%;
}

form.basic dfn.error {
	font-style: normal;
	background: url(/grafiikat/icon/warning_16.png) 0 4px no-repeat;
	padding: 1px 0 0 21px;
	color: #e23577;
    font-size: 105%;
	margin-top: 0.3em;
    min-height: 16px;
	clear: both;
	width: auto;
	float: left;
	margin-left: 28%;;
}

form.basic .text {
	width: 100%;
}

form.basic .radio {
	border: 0;
	background: none;
}


form.basic .smallest {
	width: 2em;
}

form.basic .textarea {
	line-height: 120%;
    width: 100%;
}
	
.bg1 {
	background-color: none;
}

.bg1_error {
	background-color: #fceef3;
}

.bg2 {
	background-color: #f2ece1;
}

.bg2_error {
	background-color: #fadee8;
}


/* ----------------------------------------------------------------------------- */
/* TARINAT */
/* ----------------------------------------------------------------------------- */

.palebox {
	background: url(/grafiikat/palebox_bg.png) no-repeat;
	padding: 0.5em;
	margin-bottom: 1em;
    clear: left;
}

#content_column .palebox h3 {
	float: left;
	width: 50%;
}

.palebox h2 .partners {
	color: #bf9f7d;
	font-size: 75%;	
}

.palebox a {
	text-decoration: none;
}

.palebox a:hover {
	text-decoration: underline;
}

.sex_f,
.sex_f:link,
.sex_f:visited {
	color: #e23577;	
}

a.sex_f:hover {
	color: #b11955;	
}

.sex_m,
.sex_m:link,
.sex_m:visited {
	color: #009cc0;	
}

a.sex_m:hover {
	color: #006082;	
}

.palebox .time {
	color: #bf9f7d;
	font-size: 90%;	
	margin: 0;
}

#content_column .time {
	float: right;
	width: 50%;
	text-align: right;
}

.palebox .text {
	padding: 0.3em 0;
    clear: left;
}

.palebox .text  {
	line-height: 140%;
}

.palebox .more {
	margin: 0;
}

.palebox .more a {
    padding-left: 18px;
    background: url(/grafiikat/pagination/next.png) -4px 4px no-repeat;
}

.palebox p {
	margin: 0;
}

#story_details  {
	clear: both;
}


#story_details h3 {
	clear: both;
	padding: 1em 0;
}

#story_details .left {
	width: 50%;
	float: left;
}

#story_details .right {
	width: 49%;
	float: right;
}

#story_details .answer {
	padding: 0.5em;
}



/* ----------------------------------------------------------------------------- */
/* KOMMENTIT */
/* ----------------------------------------------------------------------------- */

.comment h4 {
	float: left;
}

.comment .time {
	float: right;
    text-align: right;
}

.comment p.comment {
	clear: both;
}


/* ----------------------------------------------------------------------------- */
/* PAINIKKEET */
/* ----------------------------------------------------------------------------- */

.button,
a.button {
	background: #ece3d2;
	padding: 0.2em;
	border: 2px solid #cdb398;
	margin: 1em 0;
	text-decoration: none;
	color: #896341;
	font: bold 1em/140% "Trebuchet MS",verdana,sans-serif;

}

.button:hover {
	background: #fbf1db;
	color: #c07742;
	cursor: pointer;
    border-color: #e6ceb4;
}

.button_positive {
	background: #dcffcd;
    border-color: #8ced65;
    color: #34b600;
}

.button_positive:hover {
	background: #bfffa5;
    border-color: #72e941;
    color: #298e00;
}

.button_negative {
	background: #fceef3;
    border-color: #efadc4;
    color: #e23577;
}

.button_negative:hover {
	background: #f9dde7;
    border-color: #e88cac;
    color: #d01e65;
}


/* ----------------------------------------------------------------- */
/* TILASTOT */
/* ----------------------------------------------------------------- */

.stat_left {
	width: 49%;
	float: left;
	margin-right: 1%;
}

.stat_right {
	width: 50%;
	float: right;
}

.opacity {
	filter: Alpha(opacity=30);
	-moz-opacity: .30;
	opacity: 0.30;
}

.stats table td {
	padding: 0.25em;
	vertical-align: middle;
	border: 0px solid #2aa8bc;
}

.stats td.label {
	white-space: nowrap;
	width: 50%;
}

.stats td.bar {
	width: 50%;
}

.stats td.percent {
	white-space: nowrap;
	color: #7f5c3d;
	text-align: right;
}

.stats .bar img {
	height: 15px;
}

.stats .bar img.m {
	border: 1px solid #2aa8bc;
}

.stats .bar img.f {
	border: 1px solid #e13d7e;
}

/* SIVUPALKIN TILASTOT */

ul.stats li {
	color: #947356;
    font-size: 82%;
}


/* ----------------------------------------------------------------- */
/* SIVUTUS */
/* ----------------------------------------------------------------- */

.pagination div.previous {
	float: left;
    width: 33%;
    text-align: left;
}

.pagination div.range {
	float: left;
    width: 34%;
    text-align: center;
}

.pagination div.next {
	float: left;
    width: 33%;
    text-align: right;
}

.pagination a {
	text-decoration: none;
}

.pagination a.first {
    background: url(/grafiikat/pagination/first.png) 0 4px no-repeat;
    padding-left: 23px;
}

.pagination span.first {
    background: url(/grafiikat/pagination/first_disabled.png) 0 4px no-repeat;
    padding-left: 23px;
    color: #a59473;
}

.pagination a.previous {
    background: url(/grafiikat/pagination/previous.png) 0 4px no-repeat;
    padding-left: 18px;
}

.pagination span.previous {
    background: url(/grafiikat/pagination/previous_disabled.png) 0 4px no-repeat;
    padding-left: 18px;
     color: #a59473;
}

.pagination a.next {
    background: url(/grafiikat/pagination/next.png) right 4px no-repeat;
    padding-right: 18px;
}

.pagination span.next {
    background: url(/grafiikat/pagination/next_disabled.png) right 4px no-repeat;
    padding-right: 18px;
     color: #a59473;
}

.pagination a.last {
    background: url(/grafiikat/pagination/last.png) right 4px no-repeat;
    padding-right: 23px;
}

.pagination span.last {
    background: url(/grafiikat/pagination/last_disabled.png) right 4px no-repeat;
    padding-right: 23px;
     color: #a59473;
}



/* ----------------------------------------------------------------------------- */
/* SIVUPALKKI */
/* ----------------------------------------------------------------------------- */

#sidebar {
	float: right;
	width: 207px;
	margin-right: 0;
	padding-top: 0;
}

#sidebar p {
	color: #947356;
    font-size: 82%;
}

#content_column {
	margin-right: 222px;
}	

.roundedbox_brown,
.roundedbox_blue {
	margin-bottom: 1em;
}

.roundedbox_brown {
    background: url(/grafiikat/roundedbox/brown/body_bg.png);
}

.roundedbox_blue {
    background: url(/grafiikat/roundedbox/blue/body_bg.png);
}

.roundedbox {
	background-repeat: no-repeat;
    background-position: bottom right;
}

.roundedbox_brown .roundedbox {
    background-image: url(/grafiikat/roundedbox/brown/body_right.png);
}

.roundedbox_blue .roundedbox {
    background-image: url(/grafiikat/roundedbox/blue/body_right.png);
}

.roundedbox_brown .roundedbox_head_bg {
    background-image: url(/grafiikat/roundedbox/brown/head_bg.png);
}

.roundedbox_blue .roundedbox_head_bg {
    background-image: url(/grafiikat/roundedbox/blue/head_bg.png);
}

.roundedbox_brown .roundedbox_head {
    background-image: url(/grafiikat/roundedbox/brown/head_right.png);
}

.roundedbox_blue .roundedbox_head {
    background-image: url(/grafiikat/roundedbox/blue/head_right.png);
}

.roundedbox_head {
	background-repeat: no-repeat;
    background-position: top right;
}

.roundedbox_head h3 {
	background-repeat: no-repeat;
    background-position: top left;
	padding: 0.5em;
	color: #947356; 
	margin: 0;
	font-size: 1.1em; 
	line-height: 1em;
	text-align: left;
}

.roundedbox_head h3 a {
	color: #947356; 
	text-decoration: none;
}

* html .roundedbox_head h3 {
	height: 1%;
}

.roundedbox_brown .roundedbox_head h3 {
    background-image: url(/grafiikat/roundedbox/brown/head_left.png);
}

.roundedbox_blue .roundedbox_head h3 {
    background-image: url(/grafiikat/roundedbox/blue/head_left.png);
}

.roundedbox_body {
	background-repeat: no-repeat;
    background-position: bottom left;
	padding: 5px 12px 12px 10px;
}

.roundedbox_brown .roundedbox_body {
	background-image: url(/grafiikat/roundedbox/brown/body_left.png);
}

.roundedbox_blue .roundedbox_body {
	background-image: url(/grafiikat/roundedbox/blue/body_left.png);
}






.roundedbox_body .bg1 {
	background: none;
}

.roundedbox_body .bg2 {
	background: #fbf7f3;
}




/* ----------------------------------------------------------------------------- */
/* VIRHE- JA OK-ILMOITUKSET */
/* ----------------------------------------------------------------------------- */

p.error {
	background: url(/grafiikat/icon/error_22.png) 0.75em 0.75em no-repeat #fceef3;
	color: #e23577;
	padding: 0.75em 0.75em 0.75em 47px;
	font-weight: normal;
	font-size: 125%;
}

p.ok {
	background: url(/grafiikat/icon/ok_22.png) 0.75em 0.75em no-repeat #dcffcd;
	color: #34b600;
	padding: 0.75em 0.75em 0.75em 47px;
	font-weight: normal;
	font-size: 125%;
}


/* ----------------------------------------------------------------------------- */
/* ARVOSTELUT */
/* ----------------------------------------------------------------------------- */

div.star{
	float: left;
	width: 24px;
	height: 22px;
	text-indent: -999em;
	cursor: pointer;
	display: block;
	background: transparent;
	overflow: hidden
}

div.star,
div.star a {
	background: url(/grafiikat/star.png) no-repeat
}

div.star a {
	display: block;
	width: 22px;
	height: 100%;
	background-position: 0 0;
}

div.star_on a {
	background-position: 0 -22px !important;
}

div.star_hover a,div.star_live a:hover{
	background-position: 0 -22px !important;
}

div.star_readonly a,div.star_readonly a:hover{
	cursor: default !important;
}

div.star{
	background: transparent !important;
	overflow: hidden !important;
}


/* -------------------------------- */
/* Kerro kaverille */
/* -------------------------------- */

.tell_friend {
	margin: 10px 0;
	text-align: center;
	padding: 0.5em;
}

.tell_friend a {
	margin: 0 6px;
	height: 18px;
	cursor: pointer;
}

.tell_friend a:hover {
	text-decoration: none;
}

.tell_friend a img {
	margin-bottom: -3px;
	width: 16px;
	height: 16px;
}

/* ----------------------------------------------------------------------------- */
/* CHECKBOXIT */
/* ----------------------------------------------------------------------------- */

.jquery-checkbox-box   {display: inline; font-size: 100px; line-height: 100px; cursor: pointer; cursor: hand;}
.jquery-checkbox       {display: inline; position: relative;}
.jquery-checkbox .mark {display: inline;}

.jquery-checkbox img {vertical-align: middle; width: 100px; height: 100px; margin: 0 15px 15px 0;}

.jquery-checkbox img{background: transparent  no-repeat;}

#position_677 .jquery-checkbox img{background-image: url(/grafiikat/positions/677.png);}
#position_678 .jquery-checkbox img{background-image: url(/grafiikat/positions/678.png);}
#position_679 .jquery-checkbox img{background-image: url(/grafiikat/positions/679.png);}
#position_690 .jquery-checkbox img{background-image: url(/grafiikat/positions/690.png);}
#position_686 .jquery-checkbox img{background-image: url(/grafiikat/positions/686.png);}
#position_687 .jquery-checkbox img{background-image: url(/grafiikat/positions/687.png);}
#position_689 .jquery-checkbox img{background-image: url(/grafiikat/positions/689.png);}
#position_688 .jquery-checkbox img{background-image: url(/grafiikat/positions/688.png);}



.jquery-checkbox img {
	background-position: 0px 0px;
}
.jquery-checkbox-hover img{
	background-position: 0px -100px;
}
.jquery-checkbox-checked .jquery-checkbox img{
	background-position: 0px -200px;
}
.jquery-checkbox-checked .jquery-checkbox-hover img {
	background-position: 0px -200px;
}


/* ----------------------------------------------------------------------------- */
/* TOOLTIP */
/* ----------------------------------------------------------------------------- */

#tooltip {
	position: absolute;
	z-index: 3000;
	border: 1px solid #96d4d3;
	background-color: #dbf1f0;
	padding: 5px;
	opacity: 0.75;
}
#tooltip h3, #tooltip div { margin: 0; }





