/******************************************************************************
*                         Leiska ja Staattiset elementit                      *
******************************************************************************/
#master {
	width: 780px;
	margin: 12px auto 8px auto;
}
#ylalinkit {
	height: 21px;
	padding: 6px 6px 0 0;
	background: url(bg_ylalinkit.gif) bottom left no-repeat;
	text-align: right;
	color: #840F17;
	font-size: 12px;
}
#ylalinkit a,
#ylalinkit a:visited {
	color: #2C402A;
	text-decoration: none;
	padding-right: 13px;
	margin-right: 17px;
}
#ylalinkit a:hover {
	color: #840F17;
}
#wrapper {
	border: 3px solid #840F17;
	background: white;
}
#ylapalkki {
	border: 1px solid #CCBDAF;
}
#vintti {
	height: 15px;
	padding: 0 7px 0 0;
	border-bottom: solid 1px #7D7D7D;
	background: #465345 url(bg_vintti.gif) repeat-x;
	font-size: 12px;
	text-align: right;
	color: #eee;
}
#vintti img {
	vertical-align: text-bottom;
}
#vintti .erotin {
	color: #AD9E90;
	padding: 0 19px 0 20px;
}
#vintti a,
#vintti a:visited  {
	color: #C3CDC3;
	text-decoration:none;
}
#vintti a:hover {
	color: #eee;
	text-decoration:none;
}
#kehystaulu {
	width: 100%;
}
.vpalkki {
	width: 190px;
	border-right: 1px solid #D3BFB1;
	background: #EAEBE0;
	vertical-align: top;
}
#juvasrk {
	padding: 6px 0 5px 0;
	text-align: center;
	font-size: 15px;
	font-weight: bold;
	letter-spacing: 1px;
	color:#333;
}
#juvasrk a,
#juvasrk a:visited {
	color:#333;
	text-decoration: none;
}
#banneriteksti {
	width: 175px;
	overflow: hidden;
	padding: 2px 2px 22px 13px;
	border-bottom: 4px solid #404F3F;
	background: white;
	font-size: 93%;
	color: #343D33;
}
#sisalto {
	padding: 16px 30px 22px 25px;
	background: white;
	vertical-align: top;
}
#pohjatoiminnot {
	padding: 0 15px 0 25px;
	background: white;
	text-align: right;
}
#pohjaerotin {
	border-top: 1px solid #BDB1A6;
	height: 1px;
}
#scroll-up,
#window-print {
	display: block; /* pitää olla blokki, IE ei tue alphaa muuten */
	width: 112px;
	height: 20px;
	float: right;
	margin-left: 20px;
	opacity: 0.75;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
	filter: alpha(opacity=75);
}
#scroll-up:hover,
#window-print:hover {
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
}
#copyright {
	padding-top: 7px;
	color: #2C402A;
	font-size: 85%;
	text-align: center;
	letter-spacing: 1px;
}
#copyright a,
#copyright a:visited {
	color: #2C402A;
	text-decoration: none;
}
#copyright a:hover {
	color: black;
	text-decoration: underline;
}
#page-editor #master {
	width: 790px;
}
#page-editor #sisalto {
	padding: 16px 15px 22px 15px;
}




/* Etusivun spesiaalit */
#etusivu-kuvaotsikko {
	margin: 10px 0 15px 0;
}
#etusivu-ala-vasen {
	float: left;
	width: 312px;
	margin: 20px 0;
}
#etusivu-ala-oikea {
	float: right;
	width: 194px;
	margin: 20px 0;
}
#etusivu-ala-vasen h2 {
	border-bottom: 1px dashed #747474;
	margin-bottom: 12px;
}
#etusivu-bannerit img {
	margin-top: 16px;
	padding: 0;
	border: none;
}


/******************************************************************************
*                                  Tulostelut                                 *
******************************************************************************/
@media print {
	#master, #wrapper, #sisalto {
		width: 100%;
	}
	#ylalinkit, .vpalkki {
		display: none;
	}
	#wrapper {
		border: none;
	}
}



/******************************************************************************
*                             Valikko ja alavalikko                           *
******************************************************************************/
#valikko {
	background: white;
	border-bottom: 9px solid #404F3F;
}
.valikko-taso-1 {
	background: #641B34;
	border-top: 1px solid #D3BFB1;
	font-size: 13px;
	font-size: 100%;
}
.valikko-taso-1 a,
.valikko-taso-1 a:visited {
	display: block;
	padding: 2px 0 2px 12px;
	background: white;
	color: black;
}
.valikko-taso-1.valikko-avoinna a,
.valikko-taso-1.valikko-valittu a,
.valikko-taso-1.valikko-avoinna a:visited,
.valikko-taso-1.valikko-valittu a:visited,
.valikko-taso-1 a:hover {
	margin-left: 6px;
	padding-left: 6px;
	color: black;
}
.valikko-intranet {
}
.valikko-ei-lupaa {
}

#alavalikko     {
	border-top: 1px solid #D3BFB1;
	padding: 2px 2px 5px 15px;
	font-size: 93%;
}
#alavalikko div {
	margin-top: 4px;
	margin-bottom: 4px;
}
#alavalikko a,
#alavalikko a:visited  {
	color: #690A11;
	text-decoration: none;
}
#alavalikko a:hover {
	text-decoration: underline;
}
#alavalikko .valikko-avoinna {
} 
#alavalikko .valikko-valittu a,
#alavalikko .valikko-valittu a:visited {
	color: #1F1813;
}




/******************************************************************************
*                                Sisällön tyylit                              *
******************************************************************************/
body {
	font-family: Arial, Helvetica, sans-serif;
	background: #BCBFB7;
	color: #2F231C;
	font-size: 13px;
} 
a, a:visited {
	text-decoration: underline;
	color: #786554;
}
a:link:-moz-read-write {  /* apply link style to moz designmode */
	text-decoration: underline !important;
	color: #786554 !important;
}
a:hover {
	text-decoration: underline;
	color: #9F010C;
}
h1 {
	color: #840F17;
	font-weight: bold;
	font-size: 123.1%;
}
h2 {
	color: #840F17;
	font-weight: bold;
	font-size: 116%;
}
h3 {
	color: #840F17;
	font-weight: bold;
	font-size: 108%;
}
hr {
	color: silver;
	background-color: silver;
}
blockquote {
	border: 1px solid #840F17;
	background: #EAEBE0 none repeat scroll 0 0;
	padding: 0 10px;
	width: 312px;
	clear: both;
	font-weight: bold;
	font-size: 93%;
	color: #433;
}
body.ckeditor.ingressi {
    font-size: 12px;
}
.ingressi {
	color: #8F857C;
	font-size: 100%;
}





/******************************************************************************
*                             Hakuformi ja hakutiedot                         *
******************************************************************************/
form.hakulomake {

}
input.hakusana {
	display: block;
	float: left;
	margin-right: 5px;
}
input.hakunappi {
	display: block;
	float: left;
}



/******************************************************************************
*                               Sivukartta                                    *
******************************************************************************/
#sivukartta-box a,
#sivukartta-box a:visited {
	text-decoration: none;
	color: #786554;
}
#sivukartta-box a:hover	{
	text-decoration: underline;
	color: #786554;
}
.sivukartta-intranet {}
.sivukartta-ei-lupaa {}



/******************************************************************************
*                        Nostot, haku ja kokokoma                             *
******************************************************************************/
#nostot-box { }
#kokoomat-box {
	border-top-style: dashed;
	width: 350px;
	float: left;
	clear: left;
}
#hakutulos-box { }
a.nosto-title,
a.nosto-title:visited {
	font-size: 108%;
}
a.nosto-title:hover {
}
.nosto-image img {
	border: 1px solid #786554;
	margin-right: 0;
}






/******************************************************************************
*                            Sisältökuvien tyylit                             *
******************************************************************************/
.kuvateksti {
	color: #444;
	font-size: 85%;
}
.kuvagalleria {
    _margin-left: -12px;
}
.kuvagalleria td {
	padding-left: 12px;
	width: 162px
}
.kuvagalleria .highslide img,
.isokuva  .highslide img,
.isokuva img.non-highslide {
	border: 1px solid #786554;
	padding: 0px;
}

.kehyskuvat img {
	border: 2px solid #D3BFB1;
}
.highslide img {            /* HS-Kuva */
	padding: 1px;
	background-color: #EEE8E2;
}
.highslide:hover img {      /* HS-Kuva hover */
	border-color: gray;
}
img.non-highslide {         /* Peruskuva */
	padding: 1px;
	background-color: #EEE8E2;
}
a img.non-highslide {       /* Kuvalinkki */
/*	border: 2px solid silver; */
}
a:hover img.non-highslide { /* Kuvalinkki hover */
/*	border-color: red; */
}



/******************************************************************************
*                           Muokattavat lomakkeet                             *
******************************************************************************/
.sforms-heading {
	border-top-color: #465345;
	background: #EAEBE0;
	color: ???;
}

/* Vain jos halutaan muu kuin sininen focus-reunus 
.sforms-type-email input:focus,
.sforms-type-freetext input:focus,
.sforms-type-freetext textarea:focus {
	border-color: #666;
	-moz-box-shadow: 0 0 3px #333;
	-webkit-box-shadow: 0 0 3px #333;
	box-shadow: 0 0 3px #333;
	outline: none;
}
.lte-ie9 .sforms-type-email input:focus,
.lte-ie9 .sforms-type-freetext input:focus,
.lte-ie9 .sforms-type-freetext textarea:focus {
	outline: 1px solid #888;
}
*/




/******************************************************************************
*                               Päivän sana                                   *
******************************************************************************
.sananaika {

}



/******************************************************************************
*                            Vieraskirja/Foorumi                              *
******************************************************************************
#bbs-box a, #bbs-box a:visited {
	text-decoration: underline;
}
#bbs-box a:hover {
	text-decoration: none;
}
textarea#bbsquote, textarea#bbsbody {
	width: 500px;
}
input.bbs-compose-input, #bbs-compose-threadtitle {
	width: 300px;
}



/******************************************************************************
*                                  Sijainti                                   *
******************************************************************************
a.sivusijainti, a.sivusijainti:visited {
	text-decoration: none;
}
a.sivusijainti-valittu, a.sivusijainti-valittu:visited {
}




/******************************************************************************
*                                RSS-Syötteet                                 *
******************************************************************************
.rss-box {}
.rss-title {}
.rss-title a { color: red }
.rss-item {}
.rss-item a { color: red }
.rss-odd {}
.rss-even {}
*/



/******************************************************************************
*                   Tapahtumakalenteri (jos käytössä)                         *
******************************************************************************/
.events-box   { }
.event-item   { 
	margin: 0;
	padding: 0;
	border: 0;
	clear: both;
}
.event-date {
	min-width: 60px;
	float: left;
	margin: 0;
	padding: 0;

	font-size: 100%;
}
.event-times { 
	float: left;
	margin: 0;
	padding: 0;
	margin-left: 10px;

	font-weight: bold;
	font-size: 100%;
}
.event-desc   {
	clear: both;
	margin: 0;
	padding: 0 0 5px 0;

}
.event-desc br {
	line-height: 5px;
}
.event-desc a, .event-desc a:visited { }
.event-desc a:hover {}


#tapahtumakalenterit .adminpopupbutton {
	margin-top: -10px;
	margin-bottom: 30px;
	width: 190px;
}
#tapahtumakalenterit h2 {
	margin: 0;
	padding: 4ex 0 1ex 0;
}
.eq-ie6 #tapahtumakalenterit {
	color: black;
}





/******************************************************************************
*                         Gallupit (jos käytössä)                             *
******************************************************************************
#gallup-box { }
#gallup-graph { }
.gallup-barwidth  { width: 100px; }
.gallup-bar       { background-color: red; border-color: red; }
.gallup-votecount { display: inline; }
.gallup-parens    { display: inline; }
.gallup-percent   { display: inline; }
*/


/******************************************************************************
*                       AddThis-jako (jos käytössä)                           *
******************************************************************************
#at-logo {
        display: none;
}
html > body div #at15s {
        width:150px !important;
}
*/


