﻿@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,700);
@import url(http://fonts.googleapis.com/css?family=Rufina:700);

html, body {
	background:url(http://i.imgur.com/5cDdHm2.jpg);
	padding:0;
	margin:0;
	height:100%;
	color:#322722;
	font-family: 'Open Sans', sans-serif;
	font-size:14px;
	line-height:22px;
	font-style:normal;
	text-align:left;
}

pre {
	color:#322722;
	font-size:14px;
	font-family: 'Open Sans', sans-serif;
	line-height:22px;
	font-style:normal;
	text-align:left;
}

#otsikko {
	margin:0;
	padding:10px;
	height:70px;
    font-family: 'Rufina', serif;
	font-weight:700;
	color:#fff;
	font-size:50px;
	line-height:50px;
	text-align:center;
	background-image: linear-gradient(top, #fc3fbd 0%, #b72d97 100%);
	background-image: -o-linear-gradient(top, #fc3fbd 0%, #b72d97 100%);
	background-image: -moz-linear-gradient(top, #fc3fbd 0%, #b72d97 100%);
	background-image: -webkit-linear-gradient(top, #fc3fbd 0%, #b72d97 100%);
	background-image: -ms-linear-gradient(top, #fc3fbd 0%, #b72d97 100%);
	background-image: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(0, #fc3fbd),
	color-stop(1, #b72d97)
	);
}

#otsikko a:link, #otsikko a:hover, #otsikko a:visited, #otsikko a:active {
    color:#fff !important;
    text-decoration:none !important;
}
#alaotsikko {
	margin-top:0px;
	font-size:15px;
	line-height:15px;
	color:#fc3fbd;
	text-transform:uppercase;
}

#linkit {
	border-bottom:1px solid #e8e8e8;
	background-image: linear-gradient(top, #fff 0%, #efefef 100%);
	background-image: -o-linear-gradient(top, #fff 0%, #efefef 100%);
	background-image: -moz-linear-gradient(top, #fff 0%, #efefef 100%);
	background-image: -webkit-linear-gradient(top, #fff 0%, #efefef 100%);
	background-image: -ms-linear-gradient(top, #fff 0%, #efefef 100%);
	background-image: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(0, #fff),
	color-stop(1, #efefef)
	);
}
	
#linkit ul {
	margin:0 auto;
	padding:0;
	width:900px;
	list-style-type:none;
	overflow:hidden;
}

#linkit ul li {
	display:block;
	margin:0;
	padding:0;
	float:left;
}

#linkit ul li a {
	display:block;
	margin:0;
	padding:0 31px;
	font-size:16px;
	line-height:45px;
	text-align:center;
	text-decoration:none;
	font-weight:700;
	color:#b72d97;
}

#linkit ul li a:hover {
	text-decoration:none;
	color:#fc3fbd;
	background-image: linear-gradient(top, #fff 0%, #e0e0e0 100%);
	background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
	background-image: -moz-linear-gradient(top, #fff 0%, #e0e0e0 100%);
	background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
	background-image: -ms-linear-gradient(top, #fff 0%, #e0e0e0 100%);
	background-image: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(0, #fff),
	color-stop(1, #e0e0e0)
	);
}
#linkit ul li ul {
    display: none;
}

#linkit ul li:hover ul {
    display: block;
    z-index: 100;
    position:absolute;
    width:auto;
	border-width:1px 1px 0 1px;
    border-style: solid;
    border-color: #e8e8e8;
}

#linkit ul li:hover ul li {
    float:none;
	border-bottom:1px solid #e8e8e8;
	background-image: linear-gradient(top, #fff 0%, #efefef 100%);
	background-image: -o-linear-gradient(top, #fff 0%, #efefef 100%);
	background-image: -moz-linear-gradient(top, #fff 0%, #efefef 100%);
	background-image: -webkit-linear-gradient(top, #fff 0%, #efefef 100%);
	background-image: -ms-linear-gradient(top, #fff 0%, #efefef 100%);
	background-image: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(0, #fff),
	color-stop(1, #efefef)
	);
}

#linkit ul li:hover ul li a {
    font-weight:normal;
    text-align:left;
	padding:0 19px;
	font-size:14px;
	line-height:35px;
}

#ylaosa {
	background:url(http://i.imgur.com/hTh2s5T.jpg) no-repeat;
	margin:0 auto;
	width:900px;
	padding:40px 0px 30px 0px;
}

#sisalto {
    background: rgba(255, 255, 255, 0.60);
	-webkit-border-bottom-right-radius: 20px;
	-webkit-border-bottom-left-radius: 20px;
	-moz-border-radius-bottomright: 20px;
	-moz-border-radius-bottomleft: 20px;
	border-bottom-right-radius: 20px;
	border-bottom-left-radius: 20px;
	margin:0 auto;
	padding:0 0 0 0;
	width:900px;
}

#teksti {
	padding:20px 40px;
}

#alapalkki {
	margin:20px 0 0 0;
	overflow:hidden;
	border-bottom:1px solid #d2d2d2;
	background-image: linear-gradient(top, #fff 0%, #e0e0e0 100%);
	background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
	background-image: -moz-linear-gradient(top, #fff 0%, #e0e0e0 100%);
	background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
	background-image: -ms-linear-gradient(top, #fff 0%, #e0e0e0 100%);
	background-image: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(0, #fff),
	color-stop(1, #e0e0e0)
	);
}

#alapalkki2 {
	overflow:hidden;
	margin:30px auto;
	width:900px;
}

#alapalkki2 ul {
	margin:0;
	padding:0;
}

#alapalkki2 ul li {
	list-style-type:circle;
	list-style-position:inside;
	margin:0;
	padding:2px 0;
}

.kapeapalsta {
	float:left;
	width:24%;
}

.leveapalsta {
	float:left;
	margin:0 3%;
	width:46%;
}

#copyt {
	padding:20px 0;
	text-align:center;
}

.palstat {
	width:100%;
	overflow:hidden;
}

.vasen {
	float:left;
	width:48%;
}

.oikea {
	float:right;
	width:48%;
}

.kolmepalstaa {
	width:100%;
	overflow:hidden;
}

.palsta {
	margin:0;
	float:left;
	width:30%;
}

.palstak {
	margin:0 5%;
	float:left;
	width:30%;
}

#box {
	position:relative;
	z-index:1;
	overflow:hidden;
	margin:0 auto;
	width:900px;
	padding:20px 30px 10px 30px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	-webkit-box-shadow:0px 0px 10px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow:0px 0px 10px 0px rgba(50, 50, 50, 0.5);
	box-shadow:0px 0px 10px 0px rgba(50, 50, 50, 0.5);
	background-image: linear-gradient(top, #fc3fbd 0%, #b72d97 100%);
	background-image: -o-linear-gradient(top, #fc3fbd 0%, #b72d97 100%);
	background-image: -moz-linear-gradient(top, #fc3fbd 0%, #b72d97 100%);
	background-image: -webkit-linear-gradient(top, #fc3fbd 0%, #b72d97 100%);
	background-image: -ms-linear-gradient(top, #fc3fbd 0%, #b72d97 100%);
	background-image: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(0, #fc3fbd),
	color-stop(1, #b72d97)
	);
}

#box h2, #box p {
	color:#fff;
}

.laatikko {
	overflow:hidden;
	margin:20px 0;
	width:384px;
	padding:10px 0;
	text-align:center;
	-webkit-box-shadow:0px 0px 10px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow:0px 0px 10px 0px rgba(50, 50, 50, 0.5);
	box-shadow:0px 0px 10px 0px rgba(50, 50, 50, 0.5);
	background-image: linear-gradient(top, #fc3fbd 0%, #b72d97 100%);
	background-image: -o-linear-gradient(top, #fc3fbd 0%, #b72d97 100%);
	background-image: -moz-linear-gradient(top, #fc3fbd 0%, #b72d97 100%);
	background-image: -webkit-linear-gradient(top, #fc3fbd 0%, #b72d97 100%);
	background-image: -ms-linear-gradient(top, #fc3fbd 0%, #b72d97 100%);
	background-image: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(0, #fc3fbd),
	color-stop(1, #b72d97)
	);
}

.laatikko images {
	width:92%;
}

.frontpage {
	float:right;
	margin:-130px 0 0 30px;
}

.pic {
	background:#fff;
	float:right;
	margin:0 0 20px 30px;
	padding:10px;
	width:260px;
	height:360px;
	-webkit-box-shadow:0px 0px 10px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow:0px 0px 10px 0px rgba(50, 50, 50, 0.5);
	box-shadow:0px 0px 10px 0px rgba(50, 50, 50, 0.5);
}

h1 {
	font-weight:700;
	margin:5px 0 10px 0;
	color:#4d3929;
	font-size:30px;
	line-height:30px;
}

h2 {
	font-weight:700;
	margin:5px 0 10px 0;
	color:#fc3fbd;
	font-size:20px;
	line-height:20px;
}

h3 {
	margin:20px 0 10px 0;
}

#alapalkki h3 {
	margin:0 0 10px 0;
}

hr {
	margin:30px 0;
	border-width:0 0 1px 0;
	border-style:dashed;
	border-color:#dcdcdc;
}

table {
	margin:10px 0;
	width:100%;
	border-collapse:collapse;
	border-spacing:0;
	border:0px solid #000;
}

tr {
	border-top:1px dotted #e0e0e0;
	border-bottom:1px dotted #e0e0e0;
	background-image: linear-gradient(top, #fff 0%, #efefef 100%);
	background-image: -o-linear-gradient(top, #fff 0%, #efefef 100%);
	background-image: -moz-linear-gradient(top, #fff 0%, #efefef 100%);
	background-image: -webkit-linear-gradient(top, #fff 0%, #efefef 100%);
	background-image: -ms-linear-gradient(top, #fff 0%, #efefef 100%);
	background-image: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(0, #fff),
	color-stop(1, #efefef)
	);
}

tr:hover {
	background-image: linear-gradient(top, #fff 0%, #e0e0e0 100%);
	background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
	background-image: -moz-linear-gradient(top, #fff 0%, #e0e0e0 100%);
	background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
	background-image: -ms-linear-gradient(top, #fff 0%, #e0e0e0 100%);
	background-image: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(0, #fff),
	color-stop(1, #e0e0e0)
	);
}

.huom td {
	font-weight:700;
}

.nohover tr:hover, .sukutaulu tr:hover, .tammat tr:hover {
	background:none;
}

th {
	padding:10px 0 10px 10px;
	color:#fff;
	font-weight:700;
	font-size:20px;
	line-height:20px;
	background-image: linear-gradient(top, #fc3fbd 0%, #b72d97 100%);
	background-image: -o-linear-gradient(top, #fc3fbd 0%, #b72d97 100%);
	background-image: -moz-linear-gradient(top, #fc3fbd 0%, #b72d97 100%);
	background-image: -webkit-linear-gradient(top, #fc3fbd 0%, #b72d97 100%);
	background-image: -ms-linear-gradient(top, #fc3fbd 0%, #b72d97 100%);
	background-image: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(0, #fc3fbd),
	color-stop(1, #b72d97)
	);
}

.pisteytys th {
	font-size:14px;
	line-height:22px;
}

td {
	padding:8px 0 8px 10px;
}

blockquote {
	margin-top:-10px;
	font-size:18px;
	line-height:30px;
	font-style:italic;
}

.quote {
	margin:0 25px 120px auto;
	padding:0;
	float:right;
	width:70px;
	height:200px;
	text-align:left;
	color:#525392;
	font-weight:bold;
	font-size:80px;
	line-height:80px;
	font-style:italic;
}

.quote img {
    width:200px;
}

.quote2 {
	margin:0 25px 0 auto;
	padding:5px 0 0 0;
	float:left;
	width:70px;
	text-align:left;
	color:#525392;
	font-weight:bold;
	font-size:80px;
	line-height:80px;
	font-style:italic;
}

ul li {
	list-style-type:circle;
	list-style-position:outside;
	padding-left:5px;
}

ol li {
	list-style-type:decimal;
	list-style-position:outside;
	padding-left:5px;
}
	
.eri {
	list-style-type:circle;
	list-style-position:outside;
	padding-left:5px;
}

.grey {
	color:#777;
}

.myonnetty {
	margin-left:10px;
	color:#777;
}

.red {
	color:#ff0000;
}

.pieni {
	font-size:80%;
}

strong {
	font-weight:700;
}

a:link, a:active {
	color:#fc3fbd;
	text-decoration:underline;
}

a:visited {
	color:#b72d97;
}

a:hover {
	color:#b72d97;
	text-decoration:none;
}

.palstak a:link, .palstak a:active, .palstak a:visited {
    color:#fc3fbd;
    text-decoration:underline; }
    
.palstak a:hover {
    color:#b72d97;
    text-decoration:none;}

/* -------------------- HISTORIA LISTA -------------------- */

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 75%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0);
}

/* Modal Content/Box */
.modal-content {
  background-color: #efefef;
  margin: 0 auto;
  padding: 0px;
  border: 1px solid #d9d4cc;
  width: 50%;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

/* Modal Header */
.modal-header {
  padding: 5px 30px;
  background-color: #fc3fbd;
}

/* Modal Body */
.modal-body {
  padding: 10px 30px;
  overflow: auto;
  max-height: 80vh;
}

/* The Close Button */
.close {
  margin-top: 10px;
  color: #4d5c49;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

button {
  padding: 5px 10px;
  font-family: 'Open Sans', sans-serif;
  color: white;
  font-size:14px;
  border: 1px solid #d9d4cc;
  background-color: #fc3fbd;
  cursor: pointer;
}

button:hover {
  background-color: #d9d4cc;
}
