/* Muuramen kunta, CSS-tyylit, 2008 */

body {
	background: #A2A3A6 url("pics/tausta_harmaa.gif") repeat-x top left;
	margin: 0;
	padding: 0;
}

a:link {
	text-decoration: underline;
	color: #3C5DBF;
}

a:visited {
	color: #A83CBF;
}

a:hover, a:active {
	text-decoration: none;
}

#container {
	background: transparent url("pics/tausta_kirkko.jpg") no-repeat top right;
	min-width: 960px;
}

.left {
	width: 690px;
	float: left;
}

.right {
	width: 270px;
	float: right;
}

br.clear {
	clear: both;
	margin: 0;
	padding: 0;
	line-height: 1em;
}

#logo {
	width: 960px;
	margin: 0 auto;
	height: 155px;
}

#logo img {
	margin: 59px 0 0 20px;
	border: 0;
}

#header {
	width: 960px;
	margin: 0 auto;
}


/* VALIKOT */

#links {
	width: 690px;
	height: 44px;
	background: transparent url("pics/tausta_linkit.gif") no-repeat bottom left;
	border-bottom: 1px solid #FFF;
	position: relative;
}

ul#linkit {
	margin: 0;
	padding: 0;
	list-style: none;
	position: absolute;
	bottom: 0;
	left: 9px;
	z-index: 999;
}

#linkit li {
	float: left;
	position: relative;
	margin: 0 1px 0 0;
	padding: 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	z-index: 999;
}

#linkit li#current {
	background: transparent url("pics/li_oikea.gif") no-repeat right top;
	z-index: 999;
}

#linkit li a:link, #linkit li a:visited {
	display: block;
	padding: 19px 11px 9px 11px;
	color: #3C3C4D;
	text-decoration: none;
}

#linkit li#current a:link, #linkit li#current a:visited {
	color: #FFF;
	background: transparent url("pics/li_vasen.gif") no-repeat left top;
}

#linkit li a:hover, #linkit li a:active {
	text-decoration: underline;
}

#linkit li.vali {
	width: 2px;
	background: transparent url("pics/li_vali.gif") no-repeat bottom left;
	padding: 19px 0 9px;
	overflow: hidden;
	z-index: -1;
}

#links div.alalinkit, #links .alalinkit div {
	display: none;
	position: absolute;
	margin-top: 1em;
	top: 30px;
	left: -5px;
	width: 230px;
	font-family: Georgia, "Times New Roman", Times, serif;
	background-color: #fff;
	border: 1px solid #C7C7C7;
	z-index: 999;
	/* filter: alpha(opacity=90); */
/*	moz-opacity: 0.9;
	opacity: 0.9; */
}

#links div.alalinkit ul {
	margin: -1px 0 0;
	padding: 0;
	width: 230px;
	list-style: none;
	z-index: 999;
}

#links .alalinkit li {
	margin: 0;
	padding: 0;
	width: 230px;
	font-family: Verdana, sans-serif;
	font-size: 80%;
	z-index: 999;
}

#links .alalinkit li a:link, #links .alalinkit li a:visited, #links #current .alalinkit li a:link, #links #current .alalinkit li a:visited {
	background-image: none;
	color: #464651;
	margin: 0 4px;
	padding: 0.5em 5px;
	border-top: 1px solid #D0CCCA;
	display: block;
	height: 1.2em;
	z-index: 999;
}

#links .alalinkit li a#current2:link, #links .alalinkit li a#current2:visited { font-weight: bold; }

#links .alalinkit li a:hover, #links .alalinkit li a:active, #links #current .alalinkit li a:hover, #links #current .alalinkit li a:active {
	background-color: #EAEAEC;
	color: #000;
	text-decoration: none;
	z-index: 999;
}

#links .alalinkit div {
	display: block;
	margin: -1.7em 0 0 230px;
	font-size: 120%;
	z-index: 999;
}

#links #sivupolku {
	position: absolute;
	right: 8px;
	bottom: 14px;
	text-align: right;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 60%;
	color: #90909D;
}

#sivupolku a:link, #sivupolku a:visited {
	color: #90909D;
	text-decoration: none;
}

#sivupolku a:hover, #sivupolku a:active { text-decoration: underline; }


/* HAKU */

#haku {
	width: 270px;
	height: 44px;
	position: relative;
	border-bottom: 1px solid #FFF;
}

#haku input#hakusana {
	float: left;
	background: #FFF;
	border: 1px solid #CFCECC;
	width: 166px;
	padding: 5px 2px;
	display: block;
	font-size: 16px;
	position: absolute;
	top: 6px;
	left: 20px;
}

#haku input#hae {
	margin-left: 1px;
	width: 52px;
	height: 30px;
	position: absolute;
	top: 7px;
	right: 20px;
}

#main {
	width: 960px;
	margin: 0 auto;
	background: transparent url("pics/tausta_main.gif") repeat-y top left;
}


/* TIETOPALKKI */

#tietopalkki ul#karki_ilmoitukset {
	display: inline-block;
	list-style-type: none;
	width: 690px;
	height: 239px;
	padding: 0;
	margin: 0;
	z-index: 0;
}

#tietopalkki ul#karki_ilmoitukset li {
	list-style-type: none;
	z-index: 0;
}

#tietopalkki {
	background: transparent url("pics/tausta_tietopalkki.jpg") no-repeat top left;
	width: 690px;
	height: 239px;
	z-index: 0;
}

h2#tieto_otsikko {
	display: block;
	padding: 38px 0 0;
	margin: 0 0 0 335px;
	width: 315px;
	text-transform: uppercase;
	font-size: 26px;
	font-weight: normal;
	font-family: Arial, Helvetica, sans-serif;
	color: #464651;
	text-align: right;
}

div#tieto_sisalto {
	margin: 15px 0 0 335px;
	width: 305px;
	text-align: right;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 11px;
	color: #464651;
}


/* VASEN PALSTA (alalinkit ja sisältö) */

#content {
	margin: 30px 0 0;
	width: 690px;
	background: transparent url("pics/tausta_content.gif") repeat-y top left;
}

#inner_left {
	float: left;
	width: 230px;
}

#inner_left ul {
	margin: 0 0 0 20px;
	padding: 0;
	list-style: none;
	width: 180px;
}

#inner_left li {
	text-transform: uppercase;
	margin-bottom: 1.4em;
	font-size: 70%;
	font-family: Arial, Helvetica, sans-serif;
}

#inner_left li a:link, #inner_left li a:visited {
	display: block;
	width: 172px;
	height: 20px;
	text-decoration: none;
	color: #464651;
}

#inner_left li a:link, #inner_left li a:visited {
	position: relative;
	display: block;
	width: 172px;
	height: 20px;
	line-height: 20px;
	padding: 0 9px;
	margin-left: -9px;
}

#inner_left li a:hover, #inner_left li a:active {
	background: #EAEAEC url("pics/tausta_tyomuodot.gif") 0 20px;
}

#inner_left li a#current3:link, #inner_left li a#current3:visited, #inner_left li a#current3:hover {
	position: relative;
	display: block;
	width: 172px;
	height: 20px;
	line-height: 20px;
	margin-left: -9px;
	padding: 0 9px;
	background: #464651 url("pics/tausta_tyomuodot.gif") 0 0;
	color: #FFF;
}

#inner_left .inner_left_submenu {
	position: relative;
	display: none;
	margin: 1px 0 0 -4px;
	padding: 0;
}

#inner_left li.current .inner_left_submenu { display: block; }

#inner_left .inner_left_submenu ul {
	margin: 0;
	padding: 0;
	width: 180px;
}

#inner_left .inner_left_submenu ul li {
	margin: 0;
	padding: 0;
}

#inner_left .inner_left_submenu li a:link, #inner_left .inner_left_submenu li a:visited,
#inner_left .inner_left_submenu li a:active, #inner_left .inner_left_submenu li a:hover {
	position: relative;
	display: block;
	width: 170px;
	margin: 0;
	padding: 5px;
	background: #EAEAEC none;
	text-decoration: none;
	font-size: 120%;
}

#inner_left .inner_left_submenu li a:hover {
	color: #464651;
	background: #F5F5F6 none;
}

#inner_right {
	float: right;
	width: 430px;
	padding-right: 30px;
	overflow: visible;
}

#content .alasivu {
	margin: -30px 0;
	padding-top: 200px;
}

#content .hakusivu {
	margin: -30px 0;
	padding-top: 30px;
}

#inner_right #artikkelit {
	background-color: #F4F3F2;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 80%;
	line-height: 1.5em;
	padding: 15px 30px;
	margin: 30px -30px 0 0;
	text-align: left;
}

#inner_right h1, #inner_right #artikkelit h2, #inner_right #text h2 {
	font-size: 120%;
	font-family: Arial, Garamond, sans-serif;
	font-weight: normal;
	color: #73798B;
	text-transform: uppercase;
	margin: 0.5em 0 1em 30px;
}


/* Muutos 16.8.2010: vasemman palstan linkkivalikon marginaali vasemmalla 30->20px */
#inner_left h2 {
	font-size: 120%;
	font-family: Arial, Garamond, sans-serif;
	font-weight: normal;
	color: #73798B;
	text-transform: uppercase;
	margin: 0.5em 0 1em 20px;
}

#inner_right #artikkelit h2, #inner_right #text h2 {
	margin-left: 0;
	font-size: 140%;
}

#inner_right #text h2 { margin-top: 1em; }

#inner_right #artikkelit a:link, #inner_right #artikkelit a:visited {
	font-size: 120%;
	font-weight: bold;
	color: #3C5DBF;
	text-decoration: none;
}

#inner_right #artikkelit a:hover, #inner_right #artikkelit a:active {
	text-decoration: underline;
}

#inner_right #artikkelit a.edellinen:link, #inner_right #artikkelit a.edellinen:visited {
	background: transparent url("pics/edellinen.gif") left center no-repeat;
	padding: 0 4px 0 17px;
	border-right: 1px solid #FFF;
	font-size: 90%;
	font-weight: normal;
	text-decoration: none;
}

#inner_right #artikkelit a.seuraava:link, #inner_right #artikkelit a.seuraava:visited {
	background: transparent url("pics/seuraava.gif") right center no-repeat;
	padding: 0 17px 0 0;
	font-size: 90%;
	font-weight: normal;
	text-decoration: none;
}

#inner_right #artikkelit a.edellinen:hover, #inner_right #artikkelit a.edellinen:active,
#inner_right #artikkelit a.seuraava:hover, #inner_right #artikkelit a.seuraava:active {
	text-decoration: underline;
}

#inner_right #artikkelit p {
	font-size: 80%;
	color: #7C8293;
}

@media all and (min-width: 0px) {
  #inner_right #artikkelit p { font-size: 90%; }
}


/* OIKEA PALSTA / TAPAHTUMAT */

#tapahtumat {
	margin: 9px auto;
	width: 230px;
}

div.box_yla {
	width: 230px;
	height: 6px;
	background: transparent url("pics/tausta_tap_yla.gif") no-repeat top left;
	overflow: hidden;
	clear: both;
}

div.box_kk {
	background-color: #464651;
	width: 230px;
	color: #FFF;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align: center;
	font-size: 80%;
	height: 20px;
	clear: both;
}

div.box_kk img { margin: 0 12px; }

div.box_ala {
	width: 230px;
	height: 6px;
	background: transparent url("pics/tausta_tap_ala.gif") no-repeat top left;
	overflow: hidden;
	clear: both;
}

div.box_tapahtumat, div.box_haku {
	background-color: #464651;
	width: 230px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align: center;
	font-size: 80%;
	clear: both;
}

div.box_tapahtumat p.otsikko {
	background: transparent url("pics/tapahtumia.gif") no-repeat center left;
	text-align: left;
	font-size: 11px;
	font-weight: bold;
	color: #FFF;
	padding: 10px 0 0 40px;
	margin: 0 10px;
}

div.box_haku  {
	text-align: left;
	font-weight: bold;
	color: #FFF;
	font-size: 11px;
	padding: 8px 0;
}

div.box_haku div {
	margin: 0 10px;
	background: transparent url("pics/nappi_hae.gif") no-repeat center left;
	text-align: left;
	font-size: 11px;
	padding: 8px 0;
}

div.box_haku p {
	margin: 0 10px;
	padding: 2px 0 0;
}


div.box_haku form { margin: 5px 10px; }

div.box_haku form p { margin: 5px 0; }

div.box_haku form select {
	border: 0;
	background: url("pics/selectbox.gif") center center no-repeat;
	padding: 4px;
	margin: 0 10px 5px 0;
}

div.box_haku form a:link, div.box_haku form a:visited {
	color: #E2E2E2;
	text-decoration: underline;
	vertical-align: super;
}

div.box_haku form a:hover, div.box_haku form a:active {
	text-decoration: none;
}

div.box_haku div  p { margin: 0 0 0 40px; }

div.tapahtuma {
	margin: 0 10px;
	background: transparent url("pics/kal_pvm.gif") no-repeat top left;
	text-align: left;
	font-size: 11px;
	padding: 8px 0;
}

div.tapahtuma div {
	float: left;
	padding: 8px 0 0 7px;
	color: #767683;
	text-transform: uppercase;
}

div.tapahtuma p {
	margin: 0 0 0 40px;
	padding: 2px 0 0;
	color: #E2E2E2;
}

div.tapahtuma span.aika {
	color: #A5A5B0;
}

div.tapahtuma span.aihe {
	color: #FFF;
	font-weight: bold;
	text-decoration: none;
}

div.tapahtuma a.info:link, div.tapahtuma a.info:visited, div.tapahtuma a.info:active {
	float: right;
	position: relative;
	display: block;
	width: 22px;
	height: 22px;
	background: transparent url("pics/info.gif") no-repeat top right;
	text-decoration: none;
	z-index: 1;
}

div.tapahtuma a.info span { 	display: none; }

div.tapahtuma a.info:hover span {
	display: block;
	position: absolute;
	bottom: 22px;
	right: -3px;
	width: 160px;
	padding: 13px 10px;
	text-align: left;
	background: transparent url("pics/kupla.gif") no-repeat bottom left;
	color: #000;
	z-index: 2;
}

div.tapahtuma a.info span p {
	margin: 0 0 10px;
	text-align: left;
}

p.nappi_hae {
	display: block;
	width: 230px;
	background: transparent url("pics/nappi_hae.gif") no-repeat center left;
}

.nappi_hae a:link, .nappi_hae a:visited {
	display: block;
	color: #FFF;
	font-style: italic;
	font-size: 12px;
	font-family: Georgia, "Times New Roman", Times, serif;
	padding: 10px 5px 10px 50px;
	text-decoration: none;
}

.nappi_hae a:hover, .nappi_hae a:active {
	text-decoration: underline;
}


/* kalenteri */

table#kalenteri {
	width: 210px;
	border-collapse: collapse;
	border: 1px solid #D6D5D3;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 70%;
	margin: 0 auto;
}

#kalenteri td {
	width: 30px;
	height: 30px;
	border: 1px solid #D6D5D3;
	text-align: center;
}

#kalenteri tr.vko_paivat {
	color: #7A654D;
	font-weight: bold;
}

#kalenteri tr.vko1 {
	background-color: #E1E0DE;
	cursor: pointer;
}

#kalenteri tr.vko2 {
	background-color: #F2F1EF;
	cursor: pointer;
}

#kalenteri tr.vko1 td.vkl { background-color: #D4D0D6; }

#kalenteri tr.vko2 td.vkl, #kalenteri tr.vko_paivat td.vkl { background-color: #E4E0E6; }

#kalenteri td.sis { 	font-weight: bold; }

#kalenteri td.tanaan { color: #A16A5A; font-weight: bold; }

#kalenteri td.eri_kk { color: #ABABAB; }

#kalenteri tr.valittu, #kalenteri tr.valittu td.vkl {
	background-color: #464651;
	color: #FFF;
}

#kalenteri tr.valittu td.eri_kk { color: #999; }


/* FOOTER */

#footer {
	width: 960px;
	margin: 0 auto;
	background: transparent url("pics/tausta_footer.gif") repeat-y top left;
}

#footer_left {
	width: 460px;
	float: left;
	background: transparent url("pics/tausta_footer_vas.gif") no-repeat top left;
}

#footer_left_in {
	padding: 29px 0 0 30px;
	margin-bottom: 20px;
}

#paivan_sana, #footer_left span {
	width: 370px;
	margin-left: 30px;
	font-family: Georgia, "Times New Roman", Times, serif;
}

#paivan_sana span { margin: 0; }

#paivan_sana span, #footer_left span, #footer_left span a:link, #footer_left span a:visited {
	color: #A5A5B0;
}


#footer_center {
	float: left;
	width: 229px;
	background: transparent url("pics/tausta_footer_yla.gif") repeat-x top left;
}

#footer_center_in {
	background: transparent url("pics/footer_v_kesk.gif") no-repeat top left;
	padding: 29px 0 0 30px;
	min-height: 200px;
	font-family: Arial, Helvetica, sans-serif;
}

#footer_right {
	width: 271px;
	float: right;
	background: transparent url("pics/tausta_footer_yla.gif") repeat-x top left;
}

#footer_right_in {
	background: transparent url("pics/footer_v_oik.gif") no-repeat top left;
	padding: 29px 0 0 30px;
	min-height: 200px;
	font-family: Arial, Helvetica, sans-serif;
}

#footer h4 {
	text-transform: uppercase;
	color: #E2E2E2;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 90%;
	margin: 0 0 0.5em;
	padding: 0;
}

#footer p, #footer ul {
	font-size: 70%;
	color: #E2E2E2;
}

#footer ul {
	margin: 0 0 1.5em;
	padding: 0 0 0 1.2em;
	list-style: disc;
	line-height: 1.4em;
}

#footer ul.rss { list-style-image: url("pics/rss_sin.gif"); }

#bottom {
	width: 960px;
	height: 93px;
	margin: 0 auto;
	background: transparent url("pics/tausta_kiekurat.jpg") no-repeat top center;
	color: #E2E2E2;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 70%;
	line-height: 2em;
}

#bottom div { padding: 18px 0 0 31px; }

#bottom a:link, #bottom a:visited, #footer a:link, #footer a:visited {
	color: #E2E2E2;
	text-decoration: underline;
}

#bottom a:hover, #bottom a:active, #footer a:hover, #footer a:active { text-decoration: none; }

form {
	margin: 0;
	padding: 0;
}

form input#hae {
	width: 52px;
	height: 30px;
	border: 0;
	padding: 0;
	background: transparent url("pics/hae.gif") no-repeat;
	margin: 5px;
}

.hakusivu form {
	background-color: #F2F1EF;
	margin: 0 -30px;
	padding: 0 30px 10px;
}

p {
	margin: 0 0 1em 0;
	padding: 0;
}


/* Leipätekstin tyylit (div#text:in sisällä) */

#text {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 80%;
	line-height: 1.5em;
	margin-left: 30px;
}

#text p.nosto {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	width: 125px;
	padding: 15px 20px;
	background-color: #F0F0F0;
	float: left;
	margin: 0 20px 0.7em -30px;
	color: #444;
	display: inline;
	position: relative;
}

#text p.info {
	background: transparent url("pics/tausta_info.gif") no-repeat top left;
	font-family: Arial, Helvetica, sans-serif;
	color: #777775;
	padding-left: 20px;
	font-style: italic;
}	

#text ul {
	list-style: square inside;
	padding: 0;
	margin: 0;
}

table.tyontekijat {
	width: 100%;
	border: 0;
	padding: 0;
	margin: 0 0 2em 0;
	border-collapse: collapse;
}

table.tyontekijat tr {
	vertical-align: top;
	border-bottom: 1px solid #ddd;
}

table.tyontekijat td {
	padding: 0.4em 0;
}
