p, h2, h3, h4, i {
	font-family:"Georgia";
}
h1 {
	font-family:georgia;
	text-align:center;
	color:#ebf0ff;
}
ul {
	margin-left: -20px;
}
li {
	font-family:georgia;
	font-size:17px;
}
a{
	font-family:georgia;
	font-size:17px;
	text-decoration-line:none;
	color:black;
}
td, th {
	border:1px solid #dddddd;
	font-family:georgia;
	text-align:left;
	padding:8px;
	font-size:15px
}
tr {
	background-color:white;
}
tr:nth-child(even) {
	background-color:#dee6ff;
}
table {
	font-family:arial, sans-serif;
	border-collapse:collapse;
	width:100%;
}
body {
	background-image:url("images/pioneer2.jpg");
	height: 100%;
	background-repeat:repeat;
	background-attachment: fixed;
}
.ydin {
	width:75%;
	display:block;
	margin-left:auto;
	margin-right:auto;
	padding:10px;
	background-image:linear-gradient(to bottom, #2145b3, #6b80c1);
	border-style:solid;
	border-color:#173282;
	overflow:auto;
}
.palikka-main {
	background-color:white;
	margin-bottom:10px;
	margin-right:2px;
	border-style:solid;
	border-color:#173282;
	padding:10px 15px 10px 15px;
}
.logo {
	text-align:center;
}
.paivitykset {
    height:400px;
    background-color:#f1e5d8;
    padding:10px;
    overflow:auto;
    border-style:solid;
	border-color:#7f6f62;
    margin-bottom:20px;
}
.tanssi{
	display:block;
	margin:10px auto 10px auto;
}
.ala-img{
	display:block;
	width:15%;
	margin:10px auto 0px auto;
	padding:10px;
}
@keyframes slide-in {
  from {
    translate: 150vw 0;
    scale: 200% 1;
  }

  to {
    translate: 0 0;
    scale: 100% 1;
  }
}


/* Add a black background color to the top navigation bar */
.topnav {
	overflow:hidden;
	background-color:#ffffff;
	border-style:solid;
	border-color:#173282;
	margin-bottom:10px;
}

/* Style the links inside the navigation bar */
.topnav a {
  float:left;
  display:block;
  color:black;
  text-align:center;
  padding:14px 16px;
  text-decoration:none;
  font-size:17px;
  transition:0.18s;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color:#c0c9e6;
  color: black;
  transition:0.18s;
}

/* Style the "active" element to highlight the current page */
.topnav a.active {
  background-color: #6b80c1;
  color: white;
}