@import url(https://fonts.googleapis.com/css?family=Oswald);

/* LINKIT */
a {
	color:#5a2400; /* LINKKIEN VÄRI */
}
a:hover  {
	color:#5a2400;
	text-decoration:none;
	transition: color 0.5s ease;
}
body,html {height:100%;}
body {
	margin: 0 30px;
	font-size:16px;
	font-family:"arial narrow",sans-serif;
	text-align:justify;
	background: url(wheat.jpg) fixed no-repeat;
	background-size: 100%;
	line-height:1.5;
	color:#323232;
}

/* YLÄOSA, NAVI JA ALAOSA */
header {
	text-align:center;
	font-size:20px;
	font-family:oswald,sans-serif;
	color:#323232;
	letter-spacing:15px;
	text-transform:uppercase;
	padding-top:100px;
	padding-bottom:100px;
}
nav, footer, .valiotsikko {
	max-width:1000px;
	min-width:700px;
	margin: 0 auto;
	text-transform:uppercase;
	text-align:center;
	font-family:oswald,sans-serif;
	border-top:1px solid #323232;
	border-bottom:1px solid #323232;
	letter-spacing:10px;
	padding-top:30px;
	padding-bottom:30px;
	color:#323232;
}
footer {
	margin-bottom:30px;
}
.valiotsikko {
	text-align:left;
	padding: 20px;
}
nav a {
	color:#323232;
	text-decoration:none;
	padding: 20px 40px;
}
nav a:hover {
	background-color:rgba(255,255,255,0.05);
	transition: background-color 0.5s ease;
	color:#323232;
}

/* TEKSTIOSIO JA VÄLIOTSIKOT */
main {
	max-width:1000px;
	min-width:700px;
	margin: 0 auto;
	color:#323232;
	letter-spacing:1px;
	padding:30px 0;
	line-height:1.6;
	display:block;
}

h1 {margin-bottom: 50px;
    text-align: center;
    font-size: 25pt;
}

h1,h2 {
	text-transform:uppercase;
	font-weight:normal;
	font-family:oswald,sans-serif;
	letter-spacing:5px;
}
h2 {
	font-size:12pt;
}


/* TAULUKOT */

#perustiedot, #sukutaulu, .kisakalenteri, #lista, #kasvatit {
	width:100%;
	border-collapse:collapse;
}
#perustiedot td, #sukutaulu td, #lista td {
	border-bottom:1px solid #323232;
	padding: 5px 15px;
	width:25%;
}
.kisakalenteri td {
	width:40%;
	vertical-align:top;
	padding: 20px 5%;
	color:#323232;
}
#perustiedot td:first-child, #perustiedot td:nth-child(3) {
	text-transform:uppercase;
	font-family:oswald,sans-serif;
	letter-spacing:3px;
	font-size:10pt;
	width:20%;
}

#kasvatit td {
    border-bottom:1px solid #323232;
	padding: 5px 15px;

}

#galleria {
	text-align:center;
	padding: 20px 0;
	font-size: 12px;
}
#galleria img {
	padding:4px;
	border: 1px solid #323232;
	opacity: 0.7;
	margin: 0 10px;
    filter: alpha(opacity=70); /* For IE8 and earlier */
    height: 170px;
}
#galleria img:hover {
	opacity: 1;
    filter: alpha(opacity=100); /* For IE8 and earlier */
}

.banneri {height: 100px;}

@import url(http://fonts.googleapis.com/css?family=Oswald);

blockquote{
  font-size: 16px;
  width:90%;
  margin:30px auto;
  color: #323232;
  padding:1.2em 30px 1.2em 75px;
  border-left:8px solid #5a2400 ;
letter-spacing:1px;
	line-height:1.6;  position: relative;
  background:url(https://i.imgur.com/HauwCoS.png);

}

blockquote::before{
  font-family:Oswald;
  content: "\201C";
  color:#5a2400;
  font-size:4em;
  position: absolute;
  left: 10px;
  top:-10px;
}

blockquote::after{
  content: '';
}

blockquote span{
  display:block;
  color:#333333;
  font-style: normal;
  font-weight: bold;
  margin-top:1em;
}