@charset "utf-8";
/* CSS Document */.rows {
  display: flex;
  flex-wrap: wrap;
}
#mainosa{
	padding:3px;
	float: left;
	width: 50%;
	background-color: white;
	top: 0px;
	border-width: 2px;
	border-style:dotted;
	border-bottom-color:black;
	background-image:url(kuvat/ripples.png);
}
#mainosb{
	padding:3px;
	float: left;
	width: 25%;
	background-color: white;
	top: 0px;
	border-width: 2px;
	border-style:dotted;
	border-bottom-color:black;
	background-image:url(kuvat/ripples.png);
}
#taulukko {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

#taulukko td, #taulukko th {
  border: 1px solid #ddd;
  padding: 8px;
}

#taulukko tr:hover {background-color: #ddd;}

#taulukko th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  color: white;
}
.content {
  padding: 6px;
}

.columns{
	padding:3px;
	float: left;
	width: 50%;
	background-color: white;
	top: 0px;
	border-width: 2px;
	border-style:dotted;
	border-bottom-color:black;
	background-image:url(kuvat/ripples.png);
}

.teksti{
	font-size:1em;
	padding-left:6px;}
/* On screens that are 600px wide or less, make the columns stack on top of each other instead of next to each other */
@media screen and (max-width: 720px) {
		#mainosa{
	padding:3px;
	float: left;
	width: 100%;
	top: 0px;
	border-width: 2px;
	border-style:dotted;
	background-image:url(kuvat/ripples.png);
}
	.teksti{
	font-size:2em;
	padding-left:6px;}
	body {
		padding:3px;
	
	font-size: 4vw;;
	
}

  .rows {
    flex-direction: column;
  }
  .columns{

	width: 100%;
	
}
}
.content a:first-child { border-top: none }
.content a:link { text-decoration: none; color: blue }
.content a:visited { text-decoration: none; color: #CCC }
.content a:hover {
	color: red;
	background-color: #CC9;
}
body {
	background-color: #000;
}

img.bg {
  /* Set rules to fill background */
  min-height: 100%;
  min-width: 1024px;
	
  /* Set up proportionate scaling */
  width: 100%;
  height: auto;
	
  /* Set up positioning */
  position: fixed;
  top: 0;
  left: 0;
  z-index:-1
}
img.hide{
display:none;}
@media screen and (max-width: 720px) { /* Specific to this particular image */
  img.bg {
    left: 50%;
    margin-left: -360px;   /* 50% */
  }
}
body {
	margin: 0;
	font-size: 2vw;;
	font-family: Arial, Helvetica, sans-serif;
	
	background-image:url(kuvat/ripples.png);
}
* {
	box-sizing: border-box;
	
}

.column {
	float: left;
	width: 33.33%;
	background-color:white;
	top: 0px;
	padding:10px;
}

		
/* Clearfix (clear floats) */
.row::after {
  content: "";
  clear: both;
  display: table;
}

.etu{
	padding-left:5px;
	margin-left:5px;
	}
#yla{
	width:100%;
	font-size:4vw;
	padding: 30px;	
	padding:10px;
	text-align:center;	
	color:white;
	background-image:url(kuvat/yla.jpg);
	background-size: cover;
	background-attachment: scroll;
	background-repeat: no-repeat;
	background-position:right;

	}


img.vasen {	padding:0px;
	position: relative;
	z-index: 0;
	left:10px;
	height: 112px;;
	display:block;
}


.topnav {
	padding-top:4px;
  overflow: hidden;
  background-color: #333;
  }

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}
.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}


.dropdown {
  float: left;
  overflow: hidden;  
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: red;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: fixed;;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}
a.icon{display: none;}

@media screen and (max-width: 720px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  img.hide{
	  display:block;
	  
}
  .topnav a.icon {
    float: right;
    display: block;
  }
} 

 .topnav.responsive a {
    float: none;
    display:block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {
	  position:relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
	position:relative;
  }
 

#navbar {
  overflow: hidden;
  background-color: #333;
  }

#navbar a {
  float: left;
  display: block;
  color: white;
}

#navbar a:hover {
  background-color: #ddd;
  color: black;
}

#navbar a.active {
  background-color: #4CAF50;
  color: white;
}



.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.sticky + .content {
  padding-top: 60px;}

.mainosl{
	display:none;
}
.mainosr a{
	display:inline;
	width:auto;}
.mainosr{display:inline;
	width:100%;
}
.linkit {
  padding: 16px;
}
.linkit a{
	display: block;
	background-image:url(kuvat/ripples.png);
	font-size: x-large;
	margin-top: 10px;
	margin-right: 10px;
	margin-left: 10px;
	text-align: left;
}
.linkit a:first-child { border-top: none }
.linkit a:link { text-decoration: none; color: blue}
.linkit a:visited { text-decoration: none; color: #CCC }
.linkit a:hover {
	color: red;
	background-color: #CC9;
}

.mainosy{
	width:100%;}
.mainokset a{display:none;
	}
@media screen and (max-width: 720px) { 
img.vasen {
	padding:0px;
	position: relative;
	z-index: 0;
	left:10px;
	height: 30px;
	width: 30px;
}

.mainosr{
display:none;
}

.mainosl{
	display:block;
width:100%;
}
}