* {
  box-sizing: border-box;
}
	
html {

}
	
body {
	content: "";
	display: block;
	left: 0;
	top: 0;
	font-family: Arial, Sans-Serif;
	font-size: 0.9rem;
	color: #000000;
	text-decoration: none; 
	background-color: #404040;
	margin:0;
	padding:0;
	border-spacing:0px 0px;
	border-collapse: separate;
	height: 100%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;		
}
	
div {
	padding: 0;
	border-spacing:0px 0px;
	border-collapse: separate;
}

img {
	padding: 0 0;
	border-width: 0;
}
	
table {
	padding: 0;
	border-spacing:0px 0px;
	border-collapse: separate;
	border: 0;
}

td {
	border-spacing:0px 0px;
	border-collapse: separate;
	padding: 0px;
}

a {	
	
	font-weight: normal;
	color: rgb(231, 27, 42);
	text-decoration: underline;
}

a:hover {

	font-weight: normal;
	color: rgb(231, 27, 42);
	text-decoration: underline; 
}	

.navbar {
	overflow: hidden;
	background-color: white;
	position: fixed;
	top: 0;
	width: 100%;
	border-spacing:0px 0px;
	border-collapse: separate;
	-webkit-box-shadow: -1px 2px 5px -1px black;
	-moz-box-shadow: -1px 2px 5px -1px black;	
}

.navbar a {
	float: left;
	display: block;
	background-color: rgb(231, 27, 42);
	color: white;
	padding: 5px 15px;
	text-decoration: none;
	text-align: center;  
	font-weight: 500;
	font-size: 1.1rem;
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;	
	-webkit-box-shadow: -1px -1px 1px -1px rgba(128,128,128,1);
	-moz-box-shadow: -1px -1px 1px -1px rgba(128,128,128,1);
	box-shadow: -1px -1px 1px -1px rgba(128,128,128,1);  
}

.menu_nappi_act {
	border-bottom: 1px solid rgb(231, 27, 42); 
	border-top-right-radius: 5px; 
	border-top-left-radius: 5px;
	
}

.menu_nappi_norm {
	border-bottom: 1px solid rgb(231, 27, 42); 
	border-top-right-radius: 5px; 
	border-top-left-radius: 5px;
	
}

.main {
  padding: 0px;
  margin-top: 130px;
  width: 100%;
  height: 1000px; /* Used in this example to enable scrolling */
}
  
.main_mobile {
  padding: 0px;
  margin-top: 0px;
  width: 100%;
  height: 1000px; /* Used in this example to enable scrolling */
}  

@media screen and (max-width: 500px) {
  .navbar a {
    float: none;
    display: block;
  }
}
	
/* mobiilinavi */
.nav {
  background-color: white;
  opacity: 0.9;
  position: relative;
  z-index: 1000;
}

.nav .logo i {
  color: #303030;
  opacity: 0.0;
  font-size: 1.0rem;
  padding: 19px;
  top: 10px;
}

/* menu nappi */
.nav .main-nav .hamburger-nav::after {
  font-family: fontawesome;
  content: "\f0c9";
  color: #303030;
  font-size: 2.5rem;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
}

.nav .main-nav .menu {
  display: none;
  list-style: none;
  position: absolute;
  top: 64%;
  padding-left: 0;
  width: 100%;
  overflow: hidden;
  z-index: 10;
}

/* menu bg normaali */
.nav .main-nav .menu a {
  display: block;
  background: #505050;
  text-decoration: none;
  text-align: left;
  padding: 19px;
  border-bottom: 0.5px solid rgba(200, 200, 200, 0.2);
}

/* menu bg hover*/
.nav .main-nav .menu a:hover {
  transition: background 0.3s ease;
  background-color: #707070;
}

/* menu linkki hover */
.nav .main-nav .menu a:hover li {
  color: white;
}

/* menu linkki normaali */
.nav .main-nav .menu a li {
  color: white;
  text-transform: uppercase;
  font-family: Verdana, sans-serif;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 1px;
}

.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropbtn:hover, .dropbtn:focus {
    background-color: #3e8e41;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.show {display:block;}
	
section {
	border-radius: 1em;
	padding: 1em;
	position: absolute;
	left: 50%;
	margin-right: -50%;
	transform: translate(-40%, -10%);
}	  

div.headeri {
	position: absolute;
	left: 50%;
	margin-right: -50%;
	transform: translate(-40%, -10%);	
}	
	
a.palaa {	
	
	font-weight: bold;
	color: #000000;
	text-decoration: underline;
	font-size: 1.0rem;
}

a.palaa:hover {

	font-weight: bold;
	color: #008bdc;
	text-decoration: underline; 
	font-size: 1.0rem;
}

div.paa_teksti {
	
	font-size: 1.0rem;
}

table.ots_header {
	padding: 0px;
	border-spacing: 0px 0px;
	border-collapse: separate;
	border: 0px solid #008bdc;
	width: 100%;

}	

img.kuvavarjo {
	padding: 0 0;
	-webkit-box-shadow: 0px 2px 5px -1px rgba(43,40,30,1);
	-moz-box-shadow: 0px 2px 5px -1px rgba(43,40,30,1);
	box-shadow: 0px 2px 5px -1px rgba(43,40,30,1);
}

.paaotsikko {	
	color: black; 
	font-family: Helvetica 35 Thin;
	font-size: 2.8rem;		  
}		

.paaotsikko_mobile {
	color: black; 
	text-shadow: 1px 1px 2px #ffffff;
	font-family: Helvetica 35 Thin;
	font-size: 2.0rem;		  
}		

.sloganotsikko {
	color: black; 
	text-shadow: 1px 1px 2px #ffffff;
	font-family: Helvetica 35 Thin;
	font-size: 1.3rem;			
}	

.sivuotsikko {
	color: white; 
	font-size: 2.2rem; 
	text-transform: uppercase;	
	background-color: rgb(231, 27, 42);
	text-shadow: 1px 1px 2px #000000;
	padding: 0px 0px 0px 0px;
}

.sivuotsikko_mobile {
	color: white; 
	font-size: 1.6rem; 
	text-transform: uppercase;	
	background-color: rgb(231, 27, 42);
	text-shadow: 1px 1px 2px #000000;
	padding: 0px 0px 0px 0px;
}	

.ots {
	font-size: 1.3rem;
	color: rgb(231, 27, 42);
}

.laatikko {
	padding: 10px;
	font-size: 1.2rem;	
}	

div.txt-oletus {
	
	font-size: 1.5rem;	
}

div.txt-p {
	
	font-size: 1.2rem;	
	width: 95%;
}	

div.paa_container {
	padding: 0;
	width: 100%;
	border-spacing:0px 0px;
	border-collapse: separate;
	border-top: 0px solid #808080;
}	

div.sub_container {
	padding: 0;
	border-spacing:0px 0px;
	border-collapse: separate;
	border: 0px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	background-color: white;
}	

div.paa_sisalto {

	background-color: white;
	-webkit-box-shadow: 0px 2px 2px -1px rgba(43,40,30,1);
	-moz-box-shadow: 0px 2px 2px -1px rgba(43,40,30,1);
	box-shadow: 0px 2px 2px -1px rgba(43,40,30,1);		
}

.palkki {
		background-color: white;
		-webkit-box-shadow: 0px 2px 2px -1px rgba(43,40,30,1);
		-moz-box-shadow: 0px 2px 2px -1px rgba(43,40,30,1);
		box-shadow: 0px 2px 2px -1px rgba(43,40,30,1);	
		height: 100px;
}	

.palkki_mobile {
		background-color: white;
		-webkit-box-shadow: 0px 2px 2px -1px rgba(43,40,30,1);
		-moz-box-shadow: 0px 2px 2px -1px rgba(43,40,30,1);
		box-shadow: 0px 2px 2px -1px rgba(43,40,30,1);	
		height: 80px;
}	

.alapalkki {
		background-color: #404040;
		color: white;
		height: 100px;
		width: 100%;
}	

.alapalkki_tiedot {
		width: 100%;
		color: #cccccc;
		font-size: 1.0rem;
		text-align: left;
		padding: 40px;
		background-color: #404040;
}	
		
.yhteys_form {
	border-top-right-radius: 10px;
	border-top-left-radius: 10x;
	background-color: rgb(231, 27, 42); 
	color: white; 
	border: 1px solid rgb(231, 27, 42);		
}

input.nappi {
  font-family: Arial;
  color: #ffffff;
  font-size: 18px;
  background-color: rgb(231, 27, 42);
  padding: 7px 7px 7px 7px;
  text-decoration: none;		
}