html, body {
  
	height: 100%;
	min-height: 100%;
	overflow: hidden;
	font-family: 'Fira Sans', sans-serif;
	font-size: 14px;
	}

	
body {
  
	display: flex;
	flex-direction: column;
	margin: 0;
	
}

.topnav_container {

	flex: 0 0 auto;
	background-image: url('pic/bg_fade1.png');
	background-size: 50% 100%;
	background-repeat: repeat-x;
    background-color:#ffffff;
	height: 255px;
	position: relative;
	
}

.topnav_logo {

height: 200px;

}

.topnav_menu {

height: 56px;

}

.topnav_logo img {

	height: 100%;
	padding 0;
	-webkit-filter: drop-shadow(2px 0px 1px #fff);
    filter:         drop-shadow(2px 0px 1px #fff); 


}

.footer_container img {

}

ul.topnav {
    list-style-type: none;
	height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #fff;
	width: 100%;
	opacity: 0.8;
    filter: alpha(opacity=80);

}

ul.topnav li { 

	
}

ul.topnav li a {

	font-family: 'Fira Sans', sans-serif;
    color: black;
    text-align: center;
    padding: 16px 16px;
    text-decoration: none;
	display: inline-block;
	float: left;

}

ul.topnav li a:hover:not(.active) {

	background-color: #c0c0c0;

}

ul.topnav li a.active {

	background-color: #f4f4f4;
	border-style: none none solid none;
	border-width: 4px;
	border-color: #0c0c0c;
	
}

ul.topnav li.right {

float: right;

}

.rectangle {
 
	flex: 0 0 auto;
	height: 5px;
	width: 100%;
	background-color: #d8d8d8;

 }

.content_div {

	display: flex;
	flex: 1 1 auto;
	overflow-y: scroll;
	height: 80%;
}

.content_left {

float: left;
width: 50%;

}

.content_right {

	float: right;
	width: 50%;
	background-image: url('pic/etusivu_fadeout.jpg');
	background-size: 100% 100%;

}

.content_fullpage {

float: right;
width: 100%;
	
}

.content_margin {

margin: 35px 10px 10px 40px;

}

.content_margin a:link {

color: #49505b;
text-decoration: none;
font-weight: bold;

}

.content_margin a:visited {

color: #49505b;
text-decoration: none;
font-weight: bold;

}


.content_fullpage p {

margin: 25px 10px 10px 10px;

}


.footer_container {

	flex: 0 0 auto;
    height: 100px;
	font-family: 'Fira Sans', sans-serif;
	background-color: #7e7e7e;
	
}

.footer_logos_div {
	position: absolute;
	right: 0;
}

.footer_logos_div li  {
float:right;
display:inline;
list-style:none;
}

.footer_logos_div img {
           position:relative;
		   height: 70px;
		   margin: 0 25px 0 auto;
		   border: 2px inset #ddd;
		   background-color:#fff;
}

.tabs {
  margin: 0px 0px;
  position: relative;
  background: #ffffff;
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
  height: 100%;
}

.tabs nav {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  background: #e8e8e8;
  color: #6C5D5D;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.2);
  width: 350px;
}

.tabs nav a {
  padding: 10px 5px;
  text-align: left;
  width: 100%;
  cursor: pointer;
}

.tabs nav a:hover,
.tabs nav a.selected {
  background: #c6c6c6;
  color: #000000;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

.tabs .content {
  padding: 20px 0px;
  position: absolute;
  top: 0px;
  left: 350px;
  color: #6C5D5D;
  width: 0px;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.1s linear 0s;
}

.tabs .content.visible {

  padding: 20px;
  width: calc(100% - 390px);
  overflow: scroll;
  opacity: 1;
}

.tabs .content p { padding-bottom: 2px; }

.tabs .content p:last-of-type { padding-bottom: 0px; }

.tuotteet_table {

width: 100%;

}

.tuotteet_left {

width: 80%;
text-align: left;
vertical-align: top;
}

.tuotteet_left p {

font-weight: normal;

}

.tuotteet_right {
text-align: center;
vertical-align: top;
padding-top: 20px;
width: 20%;

}

.tuotteet_right a {

  text-decoration: none;
  font: bold 11px Arial;
  background-color: #EEEEEE;
  color: #333333;
  width: 200px;
  text-align: center;
  line-height: 15px;
  padding: 5px;
  border-top: 1px solid #CCCCCC;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  border-left: 1px solid #CCCCCC;
  display: inline-block;

}

.tuotteet_right a:hover {

background-color: #C0C0C0;

}

input[type=text], select {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 300px;
	height: 10px;
}

input[type=submit] {
    width: 150px;
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type=submit]:hover {
    background-color: #45a049;
}

.table_container {

width: 100%;

}

.reference_table {
    
    border-collapse: separate;


}

.reference_table tr {
    

}

.reference_table td {
	
	vertical-align: top;
	padding-left: 5px;
    border-radius:6px;
    border:solid black 1px;

}

.reference_content_left {
    
    border: solid 1px #000;
    vertical-align: top;
    text-align: left;    
    width: 50%;
 
}

.reference_content_right {

    border: solid 1px #000;
    vertical-align: top;
    text-align: left;    
    width: 50%;
    margin-left: 25px;

}



* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;

}

.slideshow-container img {

  margin: auto;
  display:block;
  margin-top: 10px;
  width: auto;
  max-height: 300px;
  max-width: 99%;

}

.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}