/*containerit*/
body {
	margin-top: 0px;
	padding: 0;
	background-color: #DADADA;
	font-size: 12px;
	font-family: Arial;
	text-align: left;
	color: #000000;
}

#wrapper {
	width: 990px;
	margin: 0 auto;
	padding: 0;
}

/*****************/
#header {
	height: auto;
	width: 990px;
	margin: 0 auto;
}

#kieli {
	height:20px;
	text-align:right;
	margin-right:30px;
	padding-top: 30px;
}

#banner {
	height: 107px;
	width: 990px;
	margin: 0 auto;
	background: url(images/ylabanneri.gif) no-repeat left top;
	text-align:right;
}

#banner img {
	position:static;
	float:right;
	padding-top: 76px;
	padding-right: 45px;
	margin-bottom:1px;
	border: 0;
}

#navi {
	height: 41px;
	width: 990px;
	margin: 0 auto;
	background: url(images/navi.gif) no-repeat left top;
}

#navi ul {
	margin: 0 0 0 10px;
	padding: 0;
	list-style: none;
}

#navi li {
	float: left;
	height: 41px;
	/*border-right: 1px #FFFFFF dotted;*/
}

#navi li.last {
	border-right: 0;
	float: left;
	height: 41px;
}

#navi li {
	float: left;
	height: 41px;
	border-right: 1px #FFFFFF dotted;
}

.navilast {
	border-right: 0;
	float: left;
	height: 41px;
}

#navi a {
	display: block;
	margin: 12px  25px 12px 25px;
	text-decoration: none;
	font-size: 11px;
	font-weight:bold;
	color: #FFFFFF;
}

#navi2 {
	width: 990px;
	min-height: 0;
	margin: 0 auto;
	background: url(images/tausta.gif) no-repeat left top;
}

#navi2 a {
	display: block;
	margin: 0;
	padding: 0;
	text-decoration: underline;
	font-size: 11px;
	font-weight:bold;
	color: #000000;
}

#navi2 ul {
	height: 20px;
	margin: 0 0 0 35px;
	padding: 0;
	list-style: none;
}

#navi2 li {
	float: left;
	margin-right: 10px;
	margin-top: 3px;
}
/****************/

#page {
	width: 990px;
	margin: 0 auto;
	padding: 0;
	background: url(images/tausta.gif) repeat-y 50% 0;
	//background: url(images/tausta.gif);
}

.kalenteri {
	width: 960px;
	/*padding-bottom: 1000px;*/
	margin: 0 auto;
	padding-bottom: 1px;
	overflow: hidden;
}

.otsikko {
	padding: 0px 0 10px 20px;
}

.otsikko a {
    color: #8f1091;
    text-decoration: none;
}

.otsikko a:hover {
    text-decoration: underline;
}

.kuukausi {
	float: left;
	width: 120px;
	background: url(images/6bb0bf.jpg) repeat;
	min-height: 50px;
	margin: 0 auto -1000px auto;
	padding-bottom: 1000px;
	padding-left: 0px;
	border-top: 2px dotted #FFFFFF;
	text-align:center;
	overflow: hidden;
}

.kuukausi h2 {color: #FFFFFF; padding-top: 7px;}

.kurssit {
	float:left;
	background: url(images/c2f2fc.jpg);
	text-align:left;
	min-height: 50px;
	width:840px;
	border-top: 2px dotted #FFFFFF;
	padding-bottom: 1000px;
	margin: 0 auto -1000px auto;
	display: block;
	z-index: 2;
}

.boxcont {display:inline-block;}
/*rounded corners for calendar*/

.rl {
	background: url(images/rc_vasen.png) no-repeat #FFFFFF;
	float: left;
	height: 44px;
	margin-left: 3px;
	margin-top: 3px;
	margin-bottom: 3px;
	padding-left: 10px;
	text-align: center;
	font-weight: bold;
}
.rr {
	background: url(images/rc_oikea.png);
	float: left;
	height: 44px;
	margin-top: 3px;
	width: 10px;
	clear: right;
}
.rl p {margin:7px 0;}


#sidebar {
	float: left;
	border-right: 1px dotted #DFE1E0;
	width: 220px;
	margin: 0 0 0 10px;
	padding-top: 0px;
	padding-left: 20px;
	padding-right: 10px;
}
#sidebar ul {
	margin: 0;
	padding-top: 0px;
	padding-left: 0;
	list-style-type: none;
}

#content {
	float: left;
	width: 630px;
	margin: 0;
	padding: 0px 10px;
}

#sisalto {
	float: left;
	width: 930px;
	padding: 0 30px;
}

pre {
	font-size: 12px;
	font-family: Arial;
	text-align: left;
	color: #000000;
}

/********************/
#footer {
	width: 990px;
	height: 28px;
	margin: 0 auto;
	padding: 0;
	background: url(images/alareuna.gif) no-repeat left top;
}

/* fontit*/
h1 {
	font-family: Clarendon;
	margin: 0;
	padding: 0;
	color: #8F1091;
	font-size: x-large;
}

h2 {
	font-family: Arial;
	font-weight: bold;
	margin: 0;
	padding: 0;
	color: #8F1091;
	font-size: large;
}

h3 {
	font-family: Arial;
	font-weight: bold;
	margin: 0;
	padding: 0;
	color: #8F1091;
	font-size: medium;
}

/* LOGO */

#logo {
	width: 880px;
	height: 100px;
	margin: 0 auto;
}

#logo h1, #logo h2 {
	float: left;
	margin: 0;
	text-transform: uppercase;
	line-height: normal;
}

#logo h1 {
	padding: 40px 0 10px 80px;
	font-size: 24px;
	//background: url(images/img05.jpg) no-repeat 30px 30px;
}

#logo h1 a {
	text-decoration: none;
	color: #BA9F5A; 
}

#logo h1 a:hover { text-decoration: underline; }

#logo h2 {
	padding: 50px 0 0 5px;
	font: 12px Arial, Helvetica, sans-serif;
	color: #28313A;
}

#logo p a {
	text-decoration: none;
	color: #28313A;
}

#logo p a:hover { text-decoration: underline; }


/*formi*/


.antique form {
	padding: 0 10px 10px 10px;
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	background-color:#FFF;
	border: 0;
}
.antique fieldset {
	margin: 20px 0;
	padding: 15px 10px;
	background-color:#F4F4F2;
	border: 3px double #878177;	
}
.antique legend {
	padding: 2px 5px;
	color: #1C1C1C;
	background-color: #FFD;
	border: 1px solid #878177;
}
.antique fieldset fieldset  {
	border: 1px solid #ccc;
	background-color:#FFF;
}
.antique fieldset fieldset legend {
	border: 1px solid #ccc;
}
.antique .inlineSection {
	overflow: auto;
	width: 100%;
}
.antique form table {
	border-collapse: collapse;
}
.antique form td {
	padding: 0 4px;
	border-left: 1px solid #CCC;
	border-right: 1px solid #CCC;	
}
.antique form th {
	padding: 0 4px;
}
.antique form .alternate-1 {
	background-color:#E9E9E6;
}
.antique form .alternate-0 {
}
.antique form .oneField {
	
}
.antique form .inlineSection .oneField {
	float: left;	
	padding: 0;
	margin-right: 4px;
}
.antique form .oneChoice {
	white-space: nowrap; 
}
.antique label, .antique  form .label {	
	color: #333;
	font-size: small;
}
.antique label.preField {
	display: block;
	padding: 2px;
	margin: 0.4em 4px 0 0;
	font-weight: bold;
}
.antique form .label  {
	display: block;
	padding: 2px;
	margin: 0.4em 4px 0 0;
	font-weight: bold;
}
.antique label.postField  {
	margin: 0 4px 0 4px;
}
.antique .inlineSection .oneField .inlineLabel {
	display: block;	
	padding: 0 3px;
	font-weight: bold; 
	margin: 0.4em 4px 0 0;
}
.antique textarea {
	padding: 0;
	vertical-align: top;
	margin: 2px 2px 1px 0;
}
.antique input {
	margin: 0 2px 0 0;
}
.antique select {
	padding: 0;
	margin: 2px 2px 1px 0;
}
.antique .inlineSection .oneField select {
	margin: 0 2px 1px 0 !important;
}
.antique .gridSection select  {
	margin: 0 !important;
}
.antique form .actions {
	text-align: center;
	margin: 20px 0 10px 0;		
}
.antique form .primaryAction {
}
.antique form .secondaryAction {
	color: grey;
}
.antique form .secondaryAction:hover {
	color: black;
}
.antique form .instructions {
	margin: 1em 0;
}
.antique form .reqMark {
	color: #F00;
	padding: 0 4px;
	font-weight:normal;
}
.antique form .errFld {
	padding: 1px;
	border: 1px solid #F00;
}
.antique form .errMsg {	
	color: #CC3333 !important;
	display: block;
}
.antique form .field-hint {
	color: #000;
	float: right;
	width: 220px;
	margin: 15px 0 0 0;
}
.antique form .field-hint-inactive {
	color: #666;
	float: right;
	clear: right;
	width: 220px;
	margin: 15px 0 0 0;
}
.antique div.repeat {
	border: 1px dotted #ccc;
	background-color: #FFFFFF;
	margin: 3px 0;
	padding-right: 3px;
}
.antique div.removeable {
	border: 1px dotted #ccc;
	background-color: #F5F5F5;
	padding-right: 3px;	
}
.antique form .duplicateLink {
	line-height: 260%;
	font-weight: bold;
	color: #5C594E;
}
.antique form .removeLink {
	line-height: 260%;
	color: #CC3300;
}
.antique form td .duplicateLink, .antique  form td .removeLink  {
	margin: 0;
	line-height: 100%;
}
.antique .onstate-a, .antique   .onstate-b, .antique   .onstate-c, .antique   .onstate-d, .antique 
.onstate-e, .antique   .onstate-f, .antique   .onstate-g, .antique   .onstate-h, .antique  
.onstate-i, .antique   .onstate-j, .antique   .onstate-k, .antique   .onstate-l, .antique  
.onstate-m, .antique   .onstate-n, .antique   .onstate-o, .antique   .onstate-p, .antique  
.onstate-q, .antique   .onstate-r, .antique   .onstate-s, .antique   .onstate-t, .antique 
.onstate-u, .antique   .onstate-v, .antique   .onstate-w, .antique   .onstate-x, .antique   
.onstate-y, .antique   .onstate-z, .antique   .onstate-aa, .antique  .onstate-ab, .antique 
.onstate-ac, .antique  .onstate-ad, .antique  .onstate-ae, .antique  .onstate-af, .antique 
.onstate-ag, .antique  .onstate-ah, .antique  .onstate-ai, .antique  .onstate-aj, .antique 
.onstate-ak, .antique  .onstate-al, .antique  .onstate-am, .antique  .onstate-an, .antique 
.onstate-ao, .antique  .onstate-ap, .antique  .onstate-aq, .antique  .onstate-ar, .antique 
.onstate-as, .antique  .onstate-at, .antique  .onstate-au, .antique  .onstate-av, .antique 
.onstate-aw, .antique  .onstate-ax, .antique  .onstate-ay, .antique  .onstate-az {
	display: block;
}
.antique form {
	height:expression('1%'); 
}
.antique form fieldset {
	position:expression('relative'); 
	margin-top:expression('1em');
	padding-top:expression('1.5em');
}
.antique form fieldset legend {
	position: expression('absolute'); 
	top: expression('-.5em'); 
	left:expression('.5em');
}

