/* Start of CMSMS style sheet 'gr' */
* {
margin:0;
padding:0;

}

/*	RAKENNE ja PERUS*/
body {
	background-color:#B7C0C9;
	font-family: Arial, Helvetica, Sans-Serif;
font-size:90%;
	color: #333333;
	text-align:center;		
	margin: 0;
	padding: 0;
}

#wrap {
background:#E8E8E8 url('/img/wrap_bg.png') repeat-y 15em;
/*
min-width:50em;
max-width:60em;
*/
border:2px solid #E0E0E0;
text-align:left;
margin:1em auto 1em auto;
padding:0px;	
overflow:hidden;
color: #333333;
width:864px;
}

div#otsake {	
	background:#353E49 url('/uploads/header_background.jpg') no-repeat right top;
	height:165px;
color: #333333;
}

div#otsake h1 {
text-indent:-9999px;
}

div#otsake img {

}

div#vasen img {
margin:1em auto 0 auto;
display:block;
}

div#vasen {
	width:15em;
	float:left;
overflow:hidden;
}

div#content {
/* margin-left:15em; */
	padding: 20px 25px 0px 20px;
overflow:hidden;
}

div#footteri {
	text-align: right;
	font-size:80%;
	padding: 10px 25px;
clear:both;
}


/*	OTSIKOT  */	
#content h1 {

margin-bottom:.5em;
}
#content h2 {
margin-bottom:.5em;
}
#content h3 {
margin-bottom:.5em;
}



/*   LINKIT  */
a {
background-color:inherit;
	text-decoration: underline;
	font-weight: bold;
	color: #42336A;
}
a:hover, 
a:active {
	color: #70408C;
background-color:inherit;
}

div#vasen ul {
list-style:none;
}

div#vasen li {
width: 15em;
}

div#vasen div#menuwrapper a {
background: #EEEEEE url('/img/a.png') no-repeat center left; 
border-bottom:2px solid #E3E3E3;
display: block;
text-decoration: none;
font-weight: bold;
font-size:100%;
line-height:24px;
color: #353E49;
text-indent:40px;
}

div#vasen div#menuwrapper li li a, div#vasen div#menuwrapper li li a.menuactive {
background-color:inherit;
background:none;
display: block;
text-decoration: none;
font-weight: bold;
font-size:90%;
line-height:2em;
color: #353E49;
text-indent:4em;
}

div#vasen div#menuwrapper li li li a, div#vasen div#menuwrapper li li li a.menuactive {
background-color:inherit;
background:none;
display: block;
text-decoration: none;
font-weight: normal;
font-size:90%;
line-height:24px;
color: #353E49;
text-indent:5em;
}

div#vasen div#menuwrapper a:hover, 
div#vasen div#menuwrapper a:active {
background: #EEEEEE url('/img/ah.png') no-repeat center left;
color:#FBC246;
}

div#vasen div#menuwrapper li li a:hover, 
div#vasen div#menuwrapper li li a:active
{
background: #EEEEEE url('/img/at.png') no-repeat center left;
color:#FBC246;
}

div#vasen div#menuwrapper li a.menuactive:hover
{
background: #EEEEEE url('/img/at.png') no-repeat center left;
color:#FBC246;
}


div#vasen div#menuwrapper li a.menuactive {
background: #EEEEEE url('/img/at.png') no-repeat center left;
font-size:110%;
line-height: 36px;
color:#FBC246;
/* color: #353E49; */
margin:0px;
text-indent:1em;
}

div#vasen div#menuwrapper li li a.menuactive,
div#vasen div#menuwrapper li li li a.menuactive
{
color:#FBC246;
background-color:inherit;
}

div#content p {
margin:1em;
}


div#footer a {
	text-decoration: underline;
	font-weight: normal;
}

table.jaseneksi input, table.jaseneksi textarea {
width:250px;
}

table.jaseneksi div.radio input {
border:1px solid red;
width:110px;
}

table.jaseneksi {
border-spacing:0;
width:32em;
margin:0 auto;
}

td {
padding: 2px 0 2px 10px;
}

td.header {
width:150px;
display:block;
}

td.header, td.header+td {
background-color:#eee;
color: #333333;
font-weight:bold;
}

table.jaseneksi textarea {
height:5em;
}

div#otsake ul {
list-style:none;
padding-left:20px;
}

div#otsake ul li a {
color:white;
background-color:inherit;
text-decoration:none;
}


div#content ul, div#content ol {
margin:.5em 1.5em;
}

div#content dt {
margin:2em 0 0 0;
font-weight:bold;
}
div#content dd {
margin:1em 0 1em .5em;
}

div#content a {
text-decoration:none;
color:#363E49;
background-color:inherit;
}

div#content a:hover {
text-decoration:underline;
color:#E06C00;
background-color:inherit;
}

div.NewsSummary {
background-color:#F2F2F2;
color:black;
padding:1em;
margin-top:1em;
margin-bottom:1em;
border:1px solid #363E49;
width:89%;
}

div#NewsPostDetail {
width:90%;
border:1px solid #363E49;
}

div#content div.NewsSummary div.NewsSummaryLink a {
text-align:center;
background-color: #363E49;
color: white;
display:block;
padding:.3em;
}

div#content div.NewsSummary div.NewsSummaryCategory,
div#content div.NewsSummary div.NewsSummaryPostdate,
div#content div.NewsSummary div.NewsSummaryAuthor 
{
float:left;
display:block;
width:33.3%;
text-align:center;
background-color: #797C80;
color:white;
}

h3#NewsPostDetailTitle {
text-align:center;
background-color: #363E49;
color: white;
display:block;
padding:.3em;
margin-bottom:0;
}

div#NewsSummarySummary{
color:black;
background-color: #797C80;
}

div#NewsPostDetailCategory,
div#NewsPostDetailDate,
div#NewsPostDetailAuthor 
{
float:left;
display:block;
width:33.3%;
text-align:center;
background-color: #797C80;
color:white;
}

div#kuvagalleria table td {
padding:1em;
}

div#kuvagalleria img {
width:100%;
margin:0;
padding:0;
}

div#kuvagalleria div.kuvat_prev_next {
text-align:center;
padding: 1em;
}

div#kuvagalleria h3 {
text-align:center;
}

div#kuvagalleria,
div#kuvagalleria table,
div#kuvagalleria table caption
 {
margin:0 auto;
}

div#imagegallery div.thumb {
float:left;
display:block;
width:190px;
height:130px;
text-align:center;
padding-top:10px;
}
div#imagegallery div.thumb p.thumbPicCaption {
margin:0;
}

/* frontpage image */

img.centered {
display:block;
margin:1em auto 1em auto;
padding:1em 0 1em 0;
}

.fleft {
width:49%;
float:left;
}

div.calendar-list  {
text-align:center;
color:black;
background-color:white;
width:98%;
border:1px solid #fff;
}

div.calendar-list h2 {
text-align:center;
background-color:#363E49;
color:#fff;
}


div.calendar-event  {
margin-bottom:1em;
background-color:#e8e8e8;
border:1px solid #353e49;
color:inherit;
border:1px solid #363E49;
width:99%;
}

div.calendar-event div.categories {
margin-top:-0.9em;
font-size:90%;
background-color:#353e49;
color:white;
margin-bottom:1em;
}

.calendar-date-title,
.calendar-summary-title,
.calendar-details-title
{
display: none;
}

/* End of 'gr' */

