body{
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	width: 100%;
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 140%;
	background: #FFFFFF;
	text-align: left;
	font-size: 1em;
	
	
	/* Fonttikoot samoiksi IE5:ille */
	/* voice-family: "\"}\"",inherit;
	font-size: 1em; */
}
/*
html>body {font-size: normal; }
*/

.clearer {
	clear: both;
}
#wrapper {
	position: relative;
	width: 95%;
	padding-top: 1.5em;	
	margin-left: 5%;
}

#ylapalkki {
	height: 216px;
	background: #EEF2FB url("../images/pysty/rapsakka_layout_01_08_02.jpg") no-repeat top left;
}

h1 {
	font-size: 0;
	margin: 0;
	padding: 0 0 0 0; 
	height: 28px;
	background: #ffffff url("../images/pysty/rapsakka_layout_01_08_04.jpg") no-repeat top left;
}

#vasen {
	position: relative;
	float: left;
	width: 18%;
}

ul.navi {
	margin:  0 0 0 0;
	padding: 0 0 0 0;
	color: #000000;
	list-style: none;
}

ul.navi li {
	margin: 0;
	padding-top: 4px;
	padding-left: 46px;
	height: 42px;
}

li.body01 {
	background: url('../images/pysty/navi/not_active_01.gif') no-repeat top left;
}
li.body02 {
	background: url('../images/pysty/navi/not_active_02.gif') no-repeat top left;
}
li.body03 {
	background: url('../images/pysty/navi/not_active_03.gif') no-repeat top left;
}
li.body04 {
	background: url('../images/pysty/navi/not_active_04.gif') no-repeat top left;
}
li.body05 {
	background: url('../images/pysty/navi/not_active_05.gif') no-repeat top left;
}
li.body06 {
	background: url('../images/pysty/navi/not_active_06.gif') no-repeat top left;
}
li.body07 {
	background: url('../images/pysty/navi/not_active_07.gif') no-repeat top left;
}
li.body08 {
	background: url('../images/pysty/navi/not_active_08.gif') no-repeat top left;
}
li.body09 {
	background: url('../images/pysty/navi/not_active_09.gif') no-repeat top left;
}
li.body10 {
	background: url('../images/pysty/navi/not_active_10.gif') no-repeat top left;
}

#body01 li.body01 {
	background: url('../images/pysty/navi/active_01.gif') no-repeat top left;
}
#body02 li.body02 {
	background: url('../images/pysty/navi/active_02.gif') no-repeat top left;
}
#body03 li.body03 {
	background: url('../images/pysty/navi/active_03.gif') no-repeat top left;
}
#body04 li.body04 {
	background: url('../images/pysty/navi/active_04.gif') no-repeat top left;
}
#body05 li.body05 {
	background: url('../images/pysty/navi/active_05.gif') no-repeat top left;
}
#body06 li.body06 {
	background: url('../images/pysty/navi/active_06.gif') no-repeat top left;
}
#body07 li.body07 {
	background: url('../images/pysty/navi/active_07.gif') no-repeat top left;
}
#body08 li.body08 {
	background: url('../images/pysty/navi/active_08.gif') no-repeat top left;
}
#body09 li.body09 {
	background: url('../images/pysty/navi/active_09.gif') no-repeat top left;
}
#body10 li.body10 {
	background: url('../images/pysty/navi/active_10.gif') no-repeat top left;
}


ul.navi li a {
	text-decoration: none;
	font-size: 20px;
	color: #000000;
	font-weight: normal;
}

/*
ul.navi li a span{
	position: relative;
	padding: 0.2em 0.2em 0.2em 0.2em;
	margin: 0 0.5em 0 0;
	font-size: 28px;
	font-weight: normal;
;
}
*/

ul.navi li a span {
	display: none;
}

ul.navi li a:hover {
	color: #BEBEBE;
}


#body01 .body01 a span,
#body02 .body02 a span,
#body03 .body03 a span,
#body04 .body04 a span,
#body05 .body05 a span,
#body06 .body06 a span,
#body07 .body07 a span,
#body08 .body08 a span {
	background: #BEBEBE;
	color: #000000;
}

#body01 .body01 a ,
#body02 .body02 a ,
#body03 .body03 a ,
#body04 .body04 a ,
#body05 .body05 a ,
#body06 .body06 a ,
#body07 .body07 a ,
#body08 .body08 a  {
	color: #BEBEBE;
}

.content {
	position: relative;
	padding: 0 0 0 0;
	margin: 0 0 1em 0;
 	width: 72%;
	float: right;
}

.content ul {
	list-style-type: none;
}

.content ul li {
	position: relative;
	background-image: url('../images/pysty/red_bullet.gif');
	background-position: 0px 50%; /* X-pos Y-pos (from top-left) */
	background-repeat: no-repeat;
	padding-left: 2em;
	line-height: 1.5em;
	border: 0px solid black;
}

div.content_text {
	margin: 0 0 0 0;
	padding: 0 0 0.5em 0;
	margin-left: 15%;	
}

div.img_bg {
	padding: 1em 1em;
	width: auto;
	background: #DFDFDF;	
/*	
		border: 7px solid #FFFFFF;	
	
	position: relative;
	padding: 0.5em 0 0.5em 0;
	width: 100%;
	text-align: center;
	background: #DFDFDF;
*/
	
	}


div.img_bg img {
	padding:  0 0 0 0;
	margin: 0px 10px;
	border: 7px solid #FFFFFF;	
}

/* sivun otsikko */
h2{
	vertical-align: top;
	text-transform: uppercase;
	font-size: 26px;
	font-weight : bold;
	color: #000000;
	height: 50px;
	padding: 8px 0 0 58px;
	margin: 0 0 0 0;
}

/*
h2 em {
	color: #BA0202;	
	font-size: 42px;
	font-weight : bolder;
	padding: 0 0.2em 0 0;
	margin: 0 0 0 0;
}
*/

/* otsikkojen numerot kuviksi */
body h2 em {
	display: none;
}

#body01 h2 {
	background: url('../images/pysty/header/red_01.gif') no-repeat top left;
}
#body02 h2 {
	background: url('../images/pysty/header/red_02.gif') no-repeat top left;
}
#body03 h2 {
	background: url('../images/pysty/header/red_03.gif') no-repeat top left;
}
#body04 h2 {
	background: url('../images/pysty/header/red_04.gif') no-repeat top left;
}
#body05 h2 {
	background: url('../images/pysty/header/red_05.gif') no-repeat top left;
}
#body06 h2 {
	background: url('../images/pysty/header/red_06.gif') no-repeat top left;
}
#body07 h2 {
	background: url('../images/pysty/header/red_07.gif') no-repeat top left;
}
#body08 h2 {
	background: url('../images/pysty/header/red_08.gif') no-repeat top left;
}
#body09 h2 {
	background: url('../images/pysty/header/red_09.gif') no-repeat top left;
}
#body10 h2 {
	background: url('../images/pysty/header/red_10.gif') no-repeat top left;
}


h3 {
	font-size: 18px;
	color: #BA0202;
	text-transform: uppercase; 
}

#yhteystiedot {
	font-size: 85%;
	border-top: 1px solid #939393;
}

#yhteystiedot p {
	color: #939393;
}

#footer {
	clear: both;
	background: #DDDDDD;
	margin: 0;
	padding: 0;
	font-size: 70%;
	color: 	#555555;
	text-align: center;
}

#footer a {
	color: #777777;	
}

div.cal_bg {
	padding: 1em 1em;
	width: auto;
	background: #DFDFDF;
}

#calendar {
	position: relative;
	float:left;
	background: #fefefe;
	border: 7px solid #DFDFDF;
}

#calendar td {
	text-align: center;
	padding: 0.5em;
}

#calendar .calendar_navi {
	color: #555555;	
}

#calendar .month_name {
	color:	#000000;
	font-weight: bolder;
}

#calendar a {
	color: #fefefe;
	font-weight: bolder;
}

#calendar a:hover {
	color: #ffff33;
}
#selitykset {
	text-align: left;
	font-size: 0.6em;
	float: left;
	padding-top: 8em;
}

#selitykset ul li {
	clear: both;
	background: transparent;
	padding: 0.5em;
}

#selitykset ul li span{
	padding: 3px;
	margin: 5px;
}

.weekno {
	background: white;
}

.empty_day {
	background: #eeeeee;	
}

.A_week, .A_week span {
	background: orange;
}

.B_week, .B_week span {
	background: #bcbcbc;
}
.C_week, .C_week span {
	background: green;
}
.E_week, .E_week span {
	background: yellow;
}

.reserved, .reserved span {
	background: #BA0202;
}

.half_reserved, .half_reserved span {
	background: transparent url('../images/small_corner.gif') no-repeat top left;
}

.only_a, .only_b {
	background: transparent url('../images/corner.gif') no-repeat top left;
}
/* .editable form textarea, .editable_textarea form textarea{
	width: 100%;
}
*/

/* Form -styling */

fieldset {  
	position: relative;
	clear: both;
	width: 100%;  
	margin: 0 0 0 0;  
	padding: 0 0 0 0;  
	border-style: none;  
	border-top: 0;
	border-bottom: 1px solid #BFBAB0;  
	background-color: transparent;
}
legend span {  
	position: absolute;  
	left: 0.74em;  
	top: 0;  
	margin-top: 0.5em;
}

legend {  
	padding: 0em;
	color: #545351;  
	font-weight: bold;
}

#lomake fieldset ul {
	list-style: none;
	padding: 2.5em 1em 1em 1em;  
	margin:  0 0 0 0;
}

#lomake fieldset ul li {
	background: transparent;
	margin:  0 0 0 0;
	padding: 0 0 0 0;
}

em {
	color: #ff0000;
	padding-left: 5px;	
}

#tiedot, #tiedot_incomplete {
	margin: 0 0 0 1.5em;
	clear: both;	
}

#tiedot #total {
	color: #BA0202;
	font-weight: bolder;
}

#henkilotiedot fieldset{
	background: #DFDFDF;
}

#henkilotiedot fieldset.submit, fieldset.submit {
	background: transparent;
	margin: 0 0 0 0;
	padding: 1em 0 1em 0em;
	border-style: none;
}

label {
	float: left;
	width: 10em;  
	margin-right: 1em;  
	text-align: right;
	font-weight: normal;
}

#lomake ul li.checkbox {
	padding-left: 11em;
}

#lomake ul li.submit {
	padding-top: 1em;
	padding-left: 11em;
}

label .checkbox{
	margin-left: 0;
}


label.radio, label.checkbox {
	float: none;  
	width: auto;
	margin-right: auto;
	font-weight: normal;
}

/************************************/

div#gallery_images img{
	margin: 1em;;
	width: 80px;
	height: 80px;
	vertical-align: top;
}

/************************************/
/* Login / logout -box */

#login {
	display: none;
	font-size: 0.8em;
	padding: 1em;
	margin: 0;
}

#login fieldset, #login ul, #login ul li {
	border: 0;
	margin: 0;
	padding: 0;	
}
#login ul {
	list-style: none;	
}

#login .submit {
	margin-left: 11em;	
}
#logout a {
	color: red;
}