/**************************************************************/
.slideshow {
	margin-left: 649px;
	top: 45px;
}
.endofcontent {
	background-image: url('../img/endofcontent.png');
	background-repeat: no-repeat;
	background-position: top right;
	height: 2px;
}
.wrap {
	width: 901px;
	margin: 0 auto;
	background: #fff url('../img/bg_mid.png') repeat-y;
}
.wrap_topbg {
	background-image: url('../img/top.png');
	background-repeat: no-repeat;
	background-position: top center;
}
.wrap_bottombg {
	background-image: url('../img/bottom.png');
	background-repeat: no-repeat;
	background-position: bottom center;
	min-height: 9px;
}
.wrap_panel {
	margin: 15px auto;
	padding: 8px;
	width: 900px;
	background: #ffffed;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}
.navi {
	clear: both;
}
ul.dropdown li {
	background-image: url('../img/bg_link.png');
	background-repeat: no-repeat;
	background-position: left;
}
.spacer {
	height: 26px;
}
.wrap_content {
	padding: 235px 15px 15px 5px;
}
.wrap_content p {
	margin: 1em 0;
}
.wrap_info {
	width: 895px;
	margin: 5px auto 0px;
	color: #392920;
	text-align: right;
}
.wrap_info a {
	color: #392920;
}
.clearboth {
	clear: both;
}
.content p {
	line-height: 1.4em;
}
.content {
	float: right;
	width: 580px;
	text-align: left;
	padding: 0px 15px 0px 0px;
	margin: 0px 0px;
}
.wrap_content a {
	color: #7a5542;
	text-decoration: none;
}
.wrap_content a:hover, .wrap_content a.hover {
	text-decoration: underline;
}
.leftpanel {
	float: left;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	width: 215px;
}
.kalenteri {
	margin: 0;
	padding: 0 0 10px 10px;
}
.kalenteri p {
	margin-left: 15px;
	font-size: 0.9em;
	line-height: 1.4em;
}
.kalenteri p em {
	font-size: 0.9em;
}
.ajankohtaista {
	margin: 0;
	padding: 0 0 5px 10px;
}
.ajankohtaista p {
	margin-left: 15px;
	font-size: 0.9em;
	line-height: 1.4em;
}
.showall {
	margin: 3px 0px;
	text-align: right;
	font-style: italic;
	font-size: 0.9em;
}
.kalenteritable {
	font-size:0.9em;
	width: 95%;
	margin: 0 0px;
	padding: 0px;
}
.kalenteritable .monthtitle {
	font-weight: bold;
	border-bottom: 1px #ccc solid;
	padding-top: 8px;
}
.kalenteritable tr td {
	padding: 0px;
	margin: 0px;
}
.galleriagrid {
	width: 100%;
}
.galleriagrid td {
	width: 50%;
	text-align: center;
}
.seteventcolor {
	display: none;
}
/**************************************************************/

.calendargrid {
	width: 100%;
	border-collapse: collapse;
	font-size: 1em;
	color: #555;
	text-align: center;
}
.calendargrid th {
	font-weight: normal;
}
.calendargrid td {
	width: 14%;
}
.calendargrid td a {
	text-decoration: none !important;
	display: block;
	border: 1px #fff solid;
}
.hasevents {
	background-image: url('../img/ok.png');
	background-position: top right;
	background-repeat: no-repeat;
}
.calendargrid td a:hover {
	border: 1px #7a5542 solid;
}
.calendargrid #currday {
	font-weight: bold;
	font-size: 2.0em;
}
.selday {
	border: 1px #7a5542 solid !important;
}
.calendartitle {
	font-weight: bold !important;
	padding: 10px;
}
#weekdays th {
	border-bottom: 1px #d7d7d7 solid !important;
}
.calendarday {
	padding-top: 10px;
	height: 50px;
}
/**************************************************************/
/**************************************************************/
body {
	font: 12px Verdana, Geneva, Arial, Helvetica, sans-serif;
	color: #000;
	background: #7a5542 url('../img/bg.png') repeat-x;
	padding: 0;
}
h1 {
	font-size: 1.3em;
	font-weight: normal;
}
h1.colored {
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	font-size: 1.2em;
	font-weight: normal;
	color: #000;
	padding: 4px 9px;
	margin-top: 20px;
}
h1.bluebg { background-color: #ccf; border: 1px #aad solid; }
h1.greenbg { background-color: #cfc; border: 1px #ada solid; }
h1.redbg { background-color: #fcc; border: 1px #daa solid; }
h2 { }
hr.smallhr {
	border: none;
	border-bottom: dotted 1px #aaa;
	width: 100%;
	background-color: #fff;
	color: #fff;
}
img {
	border: 0;
}
/* *********************************************************** */
ul, ol {
	margin-left: 3em;
}
form {
	margin:0;
	padding:0;
	display:inline;
}
label {
	vertical-align: middle;
	font-size: 0.9em;
}
input, button {
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
input[type=text], input[type=password], textarea {
	border: 1px #aaa solid;
	background: #fff;
	padding: 3px;
	margin: 2px 0px;
	font-size: 1em;
	font-family: Courier New, Courier;
}
input[type=checkbox] {
	vertical-align: middle;
	margin-right: 2px;
}
textarea {
	width: 100%;
}
.customform textarea {
	width: 300px !important;
	height: 80px !important;
}
input.short {
	width: 100px !important;
}
input[type=text]:focus, input[type=password]:focus {
	border: 1px #bb8 solid;
	background: #ffd;
}
input[type=submit], button {
	cursor: pointer;
	border: 1px #aaa solid;
	color: #777;
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	font-weight: bold;
	padding: 4px 7px;
	background: #ccc url('../img/submitbg.gif') repeat-x left top;
}
input[type=submit]:hover, button:hover {
	border: 1px #555 solid;
	color: #222;
}
.poista {
	color: #d33 !important;
}
.selectbox {
	width: 195px;
	font-size: 1em;
	font-family: Tahoma;
}
/* *********************************************************** */
.box, .boxmid {
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 1em;
	border: 1px #eaeaea solid;
	background: #fafafa;
	padding: 10px 20px;
	margin-left: 66px;
	margin-top: 20px;
	margin-bottom: 40px;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}
.boxmid {
	margin-left: auto !important;
	margin-right: auto !important;
	margin-bottom: 20px;
}
.w170 {
	width: 170px;
}
.w170 input[type=text], .w170 input[type=password] {
	width: 150px;
}
.w200 {
	width: 200px;
}
.w200 input[type=text], w200 input[type=password] {
	width: 175px;
}
.w300 {
	width: 300px;
}
.w300 input[type=text], w300 input[type=password] {
	width: 175px;
}
.w400 {
	width: 400px;
}
.w400 input[type=text], w400 input[type=password] {
	width: 175px;
}

/**************************************************************/
#loginlink {
	position: absolute;
	right: 0;
	top: 0;
}
#mainlink {
	position: absolute;
	left: 50%;
	top: 80px;
	margin-left: -420px;
}
.icontitle {
	font-family: 'Trebuchet MS', Arial, sans-serif;
	font-size: 2.2em;
	font-weight: 100;
	height: 52px;
	background:  url('../img/title_underline.png') no-repeat;
	background-position: 39px 42px;
	margin-left: 10px;
	color: #444;
	margin-bottom: 20px;
}
.login {
	background: transparent url('../img/ico/login48.png') no-repeat;
	background-position: 0px 0px;
	padding: 14px 0px 0px 55px;
	height: 48px;
}
#errmsg {
	color: #f00;
	font-weight: bold;
	font-family: Verdana;
	font-size: 0.9em;
	font-style: italic;
}
.error {
	color: #f00;
}
