﻿@import url(http://fonts.googleapis.com/css?family=Open+Sans|Rochester);

a {text-decoration: underline; color:#c68c42;}
a:hover {text-decoration: none; color:#c9b467;}

body {
	background:#efebbe url(tausta.jpg) repeat-y center;
	font-family:"open sans";
	font-size:13px;
	line-height:1.7;
	text-align:justify;
	margin:0;
}

#main {
	background:url(ylakuva.jpg) no-repeat;
	width:971px;
	min-height:450px;
	margin: 0 auto;
}
h1 {
	color:#5c442c;
	font-family:"Rochester",cursive;
	font-weight:normal;
	margin:0;
	font-size:50px;
	width:450px;
	text-align:center;
	display:table-cell;
	padding-left:20px;
	height:210px;
	vertical-align:middle;
}
#tekstit {
	width: 870px;
	margin: 20px auto;
	clear:both;
}
#linkit {
	text-align:center;
	font-size:16px;
}
#linkit a {
	color:#5c442c;
	text-decoration:none;
	padding:5px 20px;
}
#linkit a:hover {color:#dad05a;}
hr {
	border: 0;border-top: 1px solid #dad05a;
	width:100%;
}
.keski {
	text-align:center;
}
.oikea {
	text-align:right;
}


#kuvagalleria {
	text-align:center;
}
#kuvagalleria img {
	border:0;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
	margin: 10px;
}

#perustieto tr:last-child td:first-child ,.kisakalenteri tr:last-child td:first-child , #nurkat {
    -moz-border-radius-bottomleft:10px;
    -webkit-border-bottom-left-radius:10px;
    border-bottom-left-radius:10px
}

#perustieto tr:first-child td:first-child,.kisakalenteri tr:first-child td:first-child, #sukutaulu tr:first-child td:first-child {
    -moz-border-radius-topleft:10px;
    -webkit-border-top-left-radius:10px;
    border-top-left-radius:10px
}

#perustieto tr:last-child td:last-child, .kisakalenteri tr:last-child td:last-child, #sukutaulu tr:last-child td:last-child {
    -moz-border-radius-bottomright:10px;
    -webkit-border-bottom-right-radius:10px;
    border-bottom-right-radius:10px;
}
#perustieto tr:first-child td:last-child , .kisakalenteri tr:first-child td:last-child , #sukutaulu tr:first-child td:last-child {
    -moz-border-radius-topright:10px;
    -webkit-border-top-right-radius:10px;
    border-top-right-radius:10px;
}

.puolipala {
	width: 42%;
	padding: 10px 4%;
	float:left;
}

#perustieto {
	width: 100%;
	margin: 0 0;
	border-collapse:collapse;
}
#perustieto td {
	background: #f5f2ce;
	padding: 4px 8px;
	border-bottom: 1px solid #e0dca6;
	width:25%;
}
#perustieto .tieto {
	background: #d4cc60;
	border:0;
	text-transform:uppercase;
}

#sukutaulu {
	width: 100%;
	border-spacing:0;
}
#sukutaulu td {
	padding: 4px 9px;
	width: 33%;
	background: #f5f2ce;
}
#sukutaulu em {font-size:11px;}
.ero {background:#e8e4b5 !important;}

.kisakalenteri {
	width: 100%;
	border-spacing:0;
	margin: 20px 0;
}
.kisakalenteri td {
	padding: 7px 9px;
	vertical-align:top;
	background: #f5f2ce;
}
.kisakalenteri .eka {
	background:#d4cc60 !important;
	padding:7px 9px;
	text-transform:uppercase;
	font-size:14px;
}

.tekstilaatikko {
	max-height:200px;
	overflow:auto;
	padding: 0 20px;
}
