

html {
	font-size:100.01%;
}
body {
	color:#333;
	margin:0;
	font:62% Arial, Helvetica, sans-serif;
	background:#fff;
	min-width:998px;
}
.inner {
	min-width:1179px;
}
form {
	margin:0;
	padding:0;
}
fieldset {
	margin:0;
	padding:0;
	border-style:none;
}
a {
	color:#333;
	text-decoration:none;
}
a:hover {
	text-decoration:underline;
}
img {
	border:none;
}
/* wrapper */
#wrapper {
	width:1007px;
	margin:0 0 0 32px;
	position:relative;
	padding-top:107px;
	font-size:1.2em;
}
.inner #wrapper {
	width:1179px;
}
#wrapper .logo {
	margin:0;
	width:185px;
	height:53px;
	position:absolute;
	top:18px;
	left:9px;
	text-indent:-9999px;
	overflow:hidden;
	z-index:100;
	background:url(/instancedata/prime_product_srk/kajaani/pics/logo.gif) no-repeat;
}
#wrapper .logo a {
	display:block;
	height:100%;
}
/* header */
#header {
	width:1000px;
	height:124px;
	position:absolute;
	top:0;
	left:0;
}
/* form-box */
.form-box {
	width:272px;
	position:absolute;
	top:16px;
	right:0;
}
.form-box label {
	width:81px;
	float:left;
	line-height:20px;
}
.form-box input {
	width:135px;
	height:17px;
	float:left;
	padding:1px 3px 0 3px;
	border:1px solid #999;
	color:#333;
	margin-right:7px;
	font:12px Arial, Helvetica, sans-serif;
}
.form-box a {
	float:left;
	line-height:20px;
}
/* nav */
#nav {
	position:absolute;
	top:92px;
	right:38px;
	margin:0;
	padding:0;
	list-style:none;
	display: table;
}

#sidebar ul li.selected {font-weight:bold;}
#sidebar ul li.selected a {color:#6B123A !important;}
#sidebar ul li {font-weight:normal;}

#sidebar ul li.selected ul li {font-weight:normal;}
#sidebar ul li.selected ul li.selected {font-weight:bold;}

#sidebar ul li.selected ul li.selected a {color:#6B123A !important;}
#sidebar ul li.selected ul li a {color:#333333 !important;}

#sidebar ul li.selected ul li.selected ul li.selected a {color:#6B123A !important;}
#sidebar ul li.selected ul li.selected ul li a {color:#333333 !important;}

#sidebar ul li.selected ul li.selected ul li.selected ul li.selected a {color:#6B123A !important;}
#sidebar ul li.selected ul li.selected ul li.selected ul li a {color:#333333 !important;}

.inner #nav {
	top:92px;
}
#nav li {
	float:left;
	padding-bottom:10px;
	background:url(/instancedata/prime_product_srk/kajaani/pics/sep01.gif) no-repeat 0 35%;
	margin-left:-1px;
  font-weight:normal;
}
#nav li:first-child {
	background:none;
}
#nav li a {
	display:block;
	line-height:22px;
	padding:0 13px;
}
#nav li.active ,
#nav li.hover ,
#nav li:hover {
	background:url(/instancedata/prime_product_srk/kajaani/pics/arrow03.gif) no-repeat 50% 100% !important;
	position:relative;
}
.inner #nav li.active ,
.inner #nav li.hover ,
.inner #nav li:hover {
	background:url(/instancedata/prime_product_srk/kajaani/pics/arrow04.gif) no-repeat 50% 100% !important;
}
#nav li.active a ,
#nav li.hover a ,
#nav li:hover a {
	text-decoration:none;
	color:#fff;
	background:#603;
}
#nav li.hover .drop ,
#nav li:hover .drop {
	display:block;
}
#nav .drop {
	position:absolute;
	width:141px;
	top:32px;
	top: 100%;
	left:-5px;
	display:none;
}
#nav .drop .top-bg {	
	background:url(/instancedata/prime_product_srk/kajaani/pics/bg-drop-top.png) no-repeat;
	height:8px;
	overflow:hidden;
}
#nav .drop .btm-bg {	
	background:url(/instancedata/prime_product_srk/kajaani/pics/bg-drop-btm.png) no-repeat;
	height:13px;
}
#nav .drop .c-bg {
	background:url(/instancedata/prime_product_srk/kajaani/pics/bg-drop.png) repeat-y;
	padding:0 10px 0 5px;
	height:1%;
}
#nav .drop .c-bg:after {
	clear:both;
	display:block;
	content:"";
}
#nav ul {
	margin:-4px 0 0;
	padding:0 0 4px;
	position:relative;
	float:left;
	list-style:none;
	width:120px;
}
#nav ul li {
	padding:0 0 0 6px;
	width:120px;
	margin:0 0 2px;
	background:none !important;
}
#nav ul li a {
	padding:0 0 0 7px;
	font-size:0.9em;
	color:#fff;
	/*background:url(/instancedata/prime_product_srk/kajaani/pics/sep02.gif) no-repeat 0 8px !important;*/
	line-height:15px;
}
.inner #nav ul li:hover ,
.inner #nav ul li.hover ,
#nav ul li:hover ,
#nav ul li.hover {
	background:#8e4268 !important;
}

#nav ul ul {
position: absolute;
top: 0;
left: 100%;
}

#nav ul ul,
#nav ul li:hover ul ul,
#nav ul ul li:hover ul ul
{display: none;}

#nav ul li:hover ul,
#nav ul ul li:hover ul,
#nav ul ul ul li:hover ul
{display: block;}

#nav ul ul li {margin-bottom:0px; margin-top:3px;padding-left:0px;}
#nav ul ul {background-color:#8e4268}

#nav ul ul li, #nav ul ul li.hover, #nav ul ul li:hover a {background-color:#603}

#nav ul ul li a {background-color:#8e4268 !important}
#nav ul ul li a:hover {background-color:#603 !important}

#nav ul li a {background-color:#603 !important}
#nav ul li a:hover {background-color:#8e4268 !important}


#main {
	overflow:hidden;
	height:1%;
}
.content-hold {
	width:816px;
	float:right;
}
.hold {
	width:1001px;
	float:left;
	overflow:hidden;
}
/* content */
#content {
	width:816px;
	background:url(/instancedata/prime_product_srk/kajaani/pics/bg-content.gif) repeat-y;
}
#content .top-bg {
	background:url(/instancedata/prime_product_srk/kajaani/pics/bg-content-top.gif) no-repeat;
}
#content .btm-bg {
	background:url(/instancedata/prime_product_srk/kajaani/pics/bg-content-btm.gif) no-repeat 0 100%;
	overflow:hidden;
	height:1%;
	padding:17px 25px 25px 17px;
}
#content img {
	display:block;
	border:1px solid #333;
}

#content a img {
	display:block;
	border:none;
}
.text-hold {
	overflow:hidden;
	height:1%;
	padding:15px 9px 0 9px;
}
/* text-col */
.text-col {
	width:218px;
	float:right;
}
/* text-box */
.text-box {
	width:522px;
	float:left;
}
#content .text-box img {
	border:none;
	margin-bottom:17px;
}
.text-hold h1 {
	margin:0 0 11px;
	font-size:1.16em;
}

.text-hold h2 {
	margin:0 0 11px;
	font-size:1em;
}
.text-hold p {
	margin:0 0 16px;
	line-height:1.4em;
}
/* sub-nav */
.sub-nav, .metalinklist {
	margin:0 0 0 17px;
	padding:0 0 7px;
	width:774px;
	list-style:none;
	text-align:center;
	border-bottom:1px solid #999;
}
.sub-nav li, .metalinklist li {
	display:inline;
	padding:0 8px 0 10px;
	background:url(/instancedata/prime_product_srk/kajaani/pics/sep01.gif) no-repeat 0 5px;
}
.sub-nav li:first-child, .metalinklist li:first-child {
	background:none;
}
/* icon-hold */
.icon-hold {
	margin:12px 0 0;
	padding:0;
	list-style:none;
	text-align:center;
}
.icon-hold li {
	display:inline-block;
	vertical-align:bottom;
	width:156px;
}
.icon-hold li img {
	vertical-align:bottom;
}
.icon-hold li span {
	margin:8px 0 0;
	display:block;
}
.icon-hold li a:hover span {
	text-decoration:underline;
}
/* sidebar */
#sidebar {
	width:185px;
	float:left;
	padding-top:31px;
}
#sidebar ul {
	margin:0 0 18px;
	padding:0;
	list-style:none;
}
#sidebar ul li {
	padding-left:10px;
	background:url(/instancedata/prime_product_srk/kajaani/pics/arrow01.gif) no-repeat 0 8px;
}
#sidebar ul li a {
	text-decoration:none;
	line-height:1.8em;
}
#sidebar ul li.active a ,
#sidebar ul li a:hover {
	color:#6b123a;
	text-decoration:none;
}
#sidebar ul li.active {
	background:url(/instancedata/prime_product_srk/kajaani/pics/arrow02.gif) no-repeat 0 10px;
	color:#6b123a;
}
#sidebar ul ul {
	margin:3px 0 6px 10px;
}
#sidebar ul ul li {
	padding:0 0 1px 7px;
	/*background:url(/instancedata/prime_product_srk/kajaani/pics/sep03.gif) no-repeat 0 8px;*/
  background:none;
}
#sidebar ul ul li a {
	font-size:0.9em;
	line-height:1.5em;
	color:#333 !important;
}
#sidebar ul ul li a.active ,
#sidebar ul ul li a:hover {
	color:#6b123a !important;
}
#sidebar img {
	display:block;
}
.news-box {
	width:173px;
	float:right;
	padding-top:30px;
	display:none;
}
.inner .news-box {
	display:block;
}
.news-box strong {
	font-weight:normal;
	font-size:1.1em;
}
.post-hold {
	overflow:hidden;
	height:1%;
	padding-bottom:9px;
}
.post, .channelitem {
	border-top:1px solid #d6d6d6;
	padding:8px 18px 7px 0;
	margin-top:-1px;
}
.channelitem h2, .itemdate {
  font-size:1.0em;
  font-weight:normal;
  margin:0px;
  padding:0px;
}
h1.channeltitle {
  font-size:1.2em;
  font-weight:normal;
  margin:0px;
  padding:0px;
  margin-bottom:10px;
}
.news-box a {
	font-size:0.9em;
	line-height:1.3em;
}
/* footer */
#footer {
	padding-bottom:50px;
}
.none {
	display:none;
}

#rotator ul li {
  background-image:none;
}

  div#rotator {
  margin-left:-20px;
}
	div#rotator ul li {
	float:left;
	position:absolute;
	list-style: none;
}
	div#rotator ul li img {
	border:1px solid #ccc;
	padding: 4px;
	background: #FFF;
}
  div#rotator ul li.show {
	z-index:500
}



.xmldoc a {color:#6B123A;}


/* tapahtumakalenteri */

div#timespaneventslist a {color:#6B123A}

div#timespaneventslist h2.eventname {font-size:14px;}

#timespaneventslist .eventtable {
	width: 100%;
}

#timespaneventslist .eventtable td {
	text-align: left;
	font-size: 11pt;	
	white-space: nowrap;
}

.headertext {
	font-weight: bold;
}
.headertext_small {
	font-size: 11px;
	text-transform: none;
	font-weight: normal;
	color: #660033;
}
.headertext a {
	text-decoration: none;
	font-size: 11px;
	/*text-transform: uppercase;*/
	font-weight: bold;
	color: #660033;/* #6d2864;*/
}

#timespaneventslist div.separator  {
  height: 18px;
}

#timespaneventslist .separator {
  margin-left: 20px !important;
  margin-left: 30px;
  margin-right: 30px;
	text-align: center;
	margin-top: 5px;
	margin-bottom: 5px;
}

.headerblock {
	font-size: 12px;
	text-transform: uppercase;
	font-weight: bold;
	padding: 3px;
	color: #660033
}

#timespaneventslist .buttontable  {
	border-collapse: collapse;
	height: 21px;
}

#timespaneventslist .eventname  {
  display: block;
}


a.LinkButton2 
{
	font-size: 11px;
}

a.LinkButton2 .text {
	white-space: nowrap;
}




#timespaneventslist .buttontable td.leftborder {
	background: url('Images/buttonleftborder.gif') left top;
	background-repeat: repeat-y;
	width: 3px;

}

#timespaneventslist .buttontable td.rightborder {
	background: url('Images/buttonrightborder.gif') right top;
	width: 6px;
}

#timespaneventslist .buttontable td.buttonbody {
	background: url('Images/buttonbodybg.gif');
}

#timespaneventslist .simplelink {
	color: #660033;
	text-decoration: none;
}




#timespaneventslist a.tablebutton {
	color: #660033;
	text-decoration: none;
}


.boxheader{
	padding-top: 0px;
	margin-left: 0px;
	padding-left: 0px;
	
}

.boxheader img {
/*	display: none;*/
}

.boxfooter {
	width: 100%;
	
	margin-left: 10px;
}


.boxfooter img {
	display: none;

}


.eventinfotable td {
	padding-right: 20px;
}

.eventinfotable {
margin-top:-10px;
margin-left:-3px;
}

.eventinfoheader {
	font-weight: bold;
}

.eventblock {
	margin-bottom: 20px;
	margin-top: 10px;
}


/* CALENDAR NOTE */


.calendarnote p {
}

.calendarnote h1 {

margin-top:7px;

margin-bottom:0px;
}

.calendarnote p img {
  display: none;
  width: 0px;
  height: 0px;
}



/* CALENDARTABLE */

.smallcal_caltable {
border-collapse: collapse;
margin-top: 15px;
margin-bottom: 15px;
}


/* DAY CELLS */

.smallcal_caltable td a {
	text-decoration: none;
  width: 17px;
  display: block;
  margin: 0;
  padding: 0;
}

.smallcal_caltable td a:hover {
	font-weight: bold;
}

.smallcal_selectedday, .smallcal_unselectedday {
  padding: 4px;
  font-size: 11px;
  text-align: center;
  border: 1px solid #660033;
}

.smallcal_selectedday {
  background-color: #d5bdc9;
  text-align: center;
  font-weight: bold;
}

.smallcal_daylinkbright {
	color: #660033;
}

.smallcal_daylinkgrey {
  color: #a3a3a3;
}

.smallcal_reservedday {
  background-color: #c3c3c3;
  text-align: center;
  font-weight: bold;
}

/* END OF DAY CELLS */


/* SELECTED WEEK */

.smallcal_selectedrow td {
  background-color: #d5bdc9
  border-top: 0px solid #660033;
  border-bottom: 0px solid #660033;
  font-weight: bold;
}

/* END OF SELECTED WEEK */




/* SELECTORCELL */
.smallcal_caltable td.smallcal_selectorcell input {
}

.smallcal_caltable td.smallcal_selectorcell {
padding: 0px;
margin: 0px;
border: 0px;
font-size: 11px;
padding-top: 4px;
width: 20px;
}

.smallcal_caltable td {
  width: 10px;
}

.smallcal_caltable td a.selector {
  display: inline;
	color: #660033;
}

/* END OF SELECTORCELL */



/* MONTH AND YEAR */


.smallcal_text {
  font-size: 11px;
/*  font-weight: bold;*/
  padding-left: 4px;
  padding-top: 15px;
  white-space: nowrap;
  text-transform: uppercase;
  display: block;
}

.smallcal_text a {
  font-size: 12px;
  font-weight: bold;
}



/* END OF MONTH AND YEAR */

.section {
	margin-top: 10px;
	margin-bottom: 10px;
}

.button {
	border: 1px solid #660033;
	background: #f8f8f8;
	color: #5f5f5f;
	font-weight: bold;
	margin: 3px;
  white-space: nowrap;
}

a.button {
	border: 1px solid #660033;
	background: #f8f8f8;
	color: #5f5f5f;
	font-weight: bold;
	margin: 3px;
  white-space: nowrap;
}


input.datafield, .datafield input , textarea.datafield, select.datafield{
	border: 1px solid #660033;
	margin: 3px;
	padding: 1px;
}

#T_Slot102_C102_0_ctl01_ClearTimeCheckBox {
  border:none;
}

.formtable {
	border-collapse: collapse;
}

.formtable td {
	border-bottom: 1px solid #EEEEEE;
	vertical-align: top;
	padding: 3px;
	font-family: Arial;
	font-size: 13px;
}

.formtable .headercell {
	font-weight: bold;
}

.smalllisttable {
	margin: 10px;
	border-collapse: collapse;
	border: 1px solid #660033;
	background-color: #fcfcfc;
}

.smalllisttable .headerrow td, .smalllisttable td.headerrow {
	background-color: #660033;
	color: white;
	padding: 3px;
	font-weight: bold;
	font-size: 12px;
}

.smalllisttable tr td {
	padding: 1px 3px 1px 3px;
	vertical-align: middle;
	font-size: 12px;
	border-top: 1px solid #660033;
	border-bottom: 1px solid #660033;
}

.smalllisttable tr td .button {
	font-size: 12px;
	font-weight: normal;
}

.error {
	color: red;
}

#timeselection input.datafield, #timeselection .datafield input , #timeselection textarea.datafield, #timeselection select.datafield
{
  font-size: 11px;
  max-width: 230px;
}

.button {
  color: #000;
  background-color: #fbd29a;
  font-size: 10px;
  font-weight: bold;
  border: 1px solid #ffffff;
  text-transform: uppercase;
  padding: 2px 3px;
}

.returnButton  {
  color: #000;
  background-color: #fbd29a;
  font-size: 10px;
  font-weight: bold;
  border: 1px solid #ffffff;
  text-transform: uppercase;
  padding: 2px 3px;
}

{}

.button {
  background-color: transparent;
  border: none;
}

#search_seurakunta__muu_yksikko {
  display: none;
}

a.button {
  background-color: transparent;
  border: none;
  white-space: nowrap;
  font-weight: bold;
  font-size: 9px;
}


a#T_PageHeader_Search {
  font-size:12px; text-transform:none; font-weight:normal; margin:0; padding:0;
}
.searchitemtitle
{
    font-size: 12px;
    font-weight: bold;
    display: block;
}
.shortdescription
{
    font-size: 11px;
    font-weight: bold;
    display: block;
    margin: 5px 5px 5px 0px
}
.resourceimage
{
    float:right;
    margin: -12px 0px 10px 30px;
    
}
.searchterms select
{
    width:185px;
}
.searchterms input[type="text"]
{
    width:180px;
}
.searchterms input[type="submit"]
{
    float:right;
    margin-right:30px;
    background-color: #8e4268;
    color: #FFFFFF;
    border: 1px solid #603;
    
}

.news-box
{
    margin-top:-30px;
}

h1.channeltitle 
{
    margin-top:30px;
}
.xmldoc img
{
    margin: 0px 0px 10px 10px;
} 
