/*
Original design: In Response (v1.1 - May 15th, 2013)
For more information, see http://andreasviklund.com/dt_portfolio/in-response/
*/

*{margin:0; padding:0;}

/* General styles */
body {background:url(background2.jpg) top center no-repeat; font-family: "EB Garamond", serif;  line-height:1.6em;}
a {color:#8AC452; text-decoration:none; font-weight:400;}
a:hover {text-decoration:underline;}
p,ul,ol,dl {margin:0 0 15px 0; font-size:1.3em; line-height:1.6em;}
h1 {color:#888; font-size:4.6em; margin-bottom:0;}
h1 a {text-transform:none; font-weight:400;}
h1 a:hover {text-decoration:none; color:#eee;}
h2 {font-size:2.8em; color:#333; margin:0 0 10px;}
h3 {font-size:1.8em; margin:0 0 10px 0;}
h1{font-family: 'Playfair Display SC', serif; color:#8AC452; font-weight:400; line-height:1.4em;}
h2,h3 {font-family: 'Handlee', cursive;, serif; color:#8AC452; font-weight:400; line-height:1.4em;}
h4 {font-family: 'La Belle Aurore', cursive; color:#8AC452; font-weight:400; line-height:1.4em;}

/* Main layout container */
#layout {margin:40px auto 0; width:960px;}
body.wider #layout {margin:40px auto 0; width:1200px;}

/* Footer */
#footer {background:#0a0a0a url(insidebg.jpg) top center no-repeat;}
#footer .col {color:#555; border-top:1px dotted #1a1a1a; padding:20px 0;}
#footer p {text-align:center;}
#footer a {color:#555; font-weight:400; text-decoration:none; border-bottom:1px dotted #333;}
#footer a:hover {color:#aaa; text-decoration:none; border-bottom:1px dotted #888;}

/* Grid classes, fixed width, 960px with 12 columns */
.col {float:left; margin:0 10px; overflow:hidden; float:left; display:inline;}
.col img {max-width:100%;}
.row {width:960px; margin:20px auto 0; overflow:hidden;}
.row .row {margin:0 -10px; width:auto;	display:inline-block;}
.c1 {width:60px;}
.c2 {width:140px;}
.c3 {width:220px;}
.c4 {width:300px;}
.c5 {width:380px;}
.c6 {width:460px;}
.c7 {width:540px;}
.c8 {width:620px;}
.c9 {width:700px;}
.c10 {width:780px;}
.c11 {width:860px;}
.c12 {width:940px;}

/* Grid classes, fixed width, 1200px with 12 columns - add class="wider" to the <body> element to use this */
body.wider .row {width:1200px;}
body.wider .c1 {width:80px;}
body.wider .c2 {width:180px;}
body.wider .c3 {width:280px;}
body.wider .c4 {width:380px;}
body.wider .c5 {width:480px;}
body.wider .c6 {width:580px;}
body.wider .c7 {width:680px;}
body.wider .c8 {width:780px;}
body.wider .c9 {width:880px;}
body.wider .c10 {width:980px;}
body.wider .c11 {width:1080px;}
body.wider .c12 {width:1180px;}

/* Menu list styles */
ul.menu {list-style:none; margin:0; padding:10px 0; border-top:1px solid #333;}
ul.menu li {list-style:none; text-align:center; font-size:1.2em; margin:0 0 10px; padding:0 0 8px 0; color:#888; border-bottom:1px solid #333;}
ul.menu li a {font-size:1.2em; font-weight:400;}
ul.menu li a:hover {color:#eee; text-decoration:none;}

/* Additional text classes */
.slogan {color:#bbb; font-size:1.2em;}
.alignleft {text-align:left;}
.alignright {text-align:right;}
.aligncenter {text-align:center;}
.alignjustify {text-align:justify;}
.nomargin {margin:0; padding:0;}
.separator {height:100px; margin:0; padding:0; background: #0a0a0a url(insidebg2.jpg) bottom center no-repeat; border-bottom:1px dotted #1a1a1a;}
.larger {font-size:1.2em;}
.smaller {font-size:0.9em;}
.spacer {margin:0 20px;}
.clear {clear:both;}
.hide {display:none;}
.border {border:1px solid red;}
body .navmenu a {font-size:1.4em;}

/* Light styles, apply by using class="light" on the body HTML element */
body.light {background:#fff url(background.jpg) top center no-repeat; color:#000000;}
body.light a {color:#6C9E3A;}
body.light a:hover {color:#000000;}
body.light h1 {color:#2B471A; font-size:4.6em; margin-bottom:0;}
body.light h1 a:hover {color:#000000;}
body.light h1 a {color:#4A6B36;}
body.light h4 {color:#000000; font-family:'La Belle Aurore', cursive; font-size:1.9em; line-height:1.0em;}
body.light h1, body.light h2, body.light h3 {color:#6C9E3A;}
body.light h2 a, body.light h3 a {color:#628050;}
body.light ul.menu {border-top:1px solid #ddd;}
body.light ul.menu li {border-bottom:1px solid #ddd;}
body.light ul.menu li a:hover {color:#333;}
body.light .separator {background: #f5f5f5 url(insidebg2-light.jpg) bottom center no-repeat; border-bottom:1px dotted #ccc;}
body.light .slogan {color:#000000; font-family:'La Belle Aurore', cursive; }
body.light #footer {background:#f5f5f5 url(insidebg-light.jpg) top center no-repeat;}
body.light #footer .col {color:#555; border-top:1px dotted #ccc;}
body.light #footer a {color:#555; border-bottom:1px dotted #ddd;}
body.light #footer a:hover {color:#444; border-bottom:1px dotted #eee;}
body.light .navmenu a {font-size:1.4em;}

/* Alternate colors, apply by adding class="blue" (or any of the other available colors) to the body HTML element */
body.blue a {color:#3288a8;}
body.blue h1, body.blue h2, body.blue h3 {color:#3288a8;}
body.grey a {color:#666;}
body.grey h1, body.grey h2, body.grey h3 {color:#666;}

.navmenu a {font-size:1.2em; margin: 0 20px;}

div.thumbnails img {width:160px; margin:0 10px 10px 0; border-radius:12px;}
div.thumbnails img.last {margin-right:0;}

.headerimage img {border-radius:12px;}

@media only screen and (max-width : 960px){
#layout, body.wider #layout {width:auto; margin:0; padding:20px;}
.row {width:100%;}
.col {margin:0 0 20px 0;}
.c1, .c2, .c3, .c4, .c5, .c6, .c7, .c8, .c9, .c10, .c11, .c12 {width:100%;}
h1 {margin:-15px auto 5px; line-height:1.4em;}
body .navmenu {margin:0px 0 -15px;}
body .navmenu a {font-size:1.4em; display:inline-block; line-height:2.0em;padding:7px 12px; margin:0 10px 8px 0; background-color:#111; border:1px solid #222; border-radius:10px;}
body.light .navmenu a {font-size:1.4em; display:inline-block; line-height:2.0em;padding:7px 12px; margin:0 10px 8px 0; background-color:#fff; border:1px solid #eee; border-radius:10px;}
body .navmenu a.current {border-color:#444;}
body.light .navmenu a.current {border-color:#ddd;}
.headerimage img {width:100%; height:auto;}
div.thumbnails img {width:24%; margin:0;}
div.thumbnails img.last {margin-right:0;}
}



img.thumb-right {
  float: right;
  margin: 0px 0px 20px 20px;
  border: 1px solid #000;
  display: block;
  box-shadow: 0px 0px 10px -2px #222222;
  border-radius: 5px;
  height: 250px;
}
img.thumb-leftp {
  float: left;
  margin: 0px 20px 20px 20px;
  border: 1px solid #000;
  display: block;
  box-shadow: 0px 0px 10px -2px #222222;
  border-radius: 5px;
  height: 170px;
}
/* center säiliöön voi lisätä esim useamman kuvan, kuvat tasautuvat keskelle */
div.center {
  text-align:center;
}
div.center img {
  margin: 20px;
  border: 1px solid #000;
  /*box-shadow: 0px 0px 10px -2px #222222;*/
  border-radius: 5px;
  height: 180px;
}



/* PERUSTIETOTAULUKON TYYLIMÄÄRITTELYT */

#perustieto {
	width: 800px;
	border-collapse:collapse;
}
#perustieto td {
	padding: 5px 10px;
	border: 1px solid #ccc; /* perustietotaulukon reunojen väri */
	width: 200px;
}
#perustieto .tieto {
	width: 100px;
	background:#eee; /* perustietotaulukon harmaa taustaväri */
	letter-spacing: 1px;
	font-size: 14px;
}

/* SUKUTAULUTAULUKON TYYLIMÄÄRITTELYT */

#sukutaulu {
	width: 800px;
	background:#fff; /* sukutaulun taustaväri  */
	border-collapse:collapse;
}
#sukutaulu td {
	padding: 5px 10px;
	border: 1px solid #ccc; /* sukutaulun reunojen väri */
}


/* KISAKALENTERITAULUKON TYYLIMÄÄRITTELYT */

#kisakalenteri {
	width: 800px;
	border-collapse:collapse;
}
#kisakalenteri td {
	padding: 15px;
	line-height:1.6;
	border: 0px solid #fff; /* kisakalenterin reunojen väri */
}
#kisakalenteri .eka {
	padding: 5px 10px;
	background:#eee;  /* kisakalenterin harmaa taustaväri */
	font-size: 14px;
	letter-spacing:1px;
}


#kansat {
	width: 1000px;
	border-collapse:collapse;
}
#kansat td {
	padding: 15px;
	line-height:1.6;
	border: 0px solid #fff; /* kisakalenterin reunojen väri */
}
#kansat .eka {
	padding: 5px 10px;
	background:#eee;  /* kisakalenterin harmaa taustaväri */
	font-size: 14px;
	letter-spacing:1px;
}