@charset "utf-8";
/* CSS Document */


body {
	margin: 0px
	}
	
* {
    box-sizing: border-box;
}



.flex-container {
  display: flex;
  flex-wrap: nowrap;
  background-color:#B4B4B4;

}

.flex-container .box {

  width: 100%;
  height: 100vh;
  margin: 0px;
  text-align: center;
}


	
	
.keski {
	
	min-width: 1150px;
	background-color: #FFF; 
	border-radius: 5px; 
	box-shadow: 3px 3px 11px #7D7D7D; 
	margin-top: 17px;
	margin-bottom: 100px;
	


	}
	
	
	
	
	
	
	
	
	
	
	
	

.flex-laatikko {
  display:flex;
  flex-wrap:wrap;
  justify-content: center;
  align-items: center;
  margin-right: 0px;
  margin-left: 0px;
  text-align: center;
  


}



	
	

div.pystykatkoviiva
	{
	
	margin: 0px;
	min-height:600px;
	border: 1px;
	border-style: none none none dashed;
	border-color:#999;
	}

.valikko {
	display: flex;
	flex-wrap: wrap;
	 justify-content: center;
	 align-items: flex-end;


	
	}
	
.valikko > div {
	

  margin-right: 6px;
  margin-left: 6px;
  margin-top: 0px;
  margin-bottom: 13px;
  text-align: center;
  background-color:#999;

  
}



.otsikko {
	padding-top: 18px;
	padding-bottom: 10px;
	}
	
.alaotsikko {
		 
	 margin-top: 18px;
  	 margin-bottom: 17px;
	
	}

.about {
	margin-right: 15%;
  margin-left: 15%;
  margin-top: 22px;
  margin-bottom: 45px;

  
  font-size: 1.1em;
	line-height: 1.56em;
	 text-align: center;
	 letter-spacing: 0.05em;
	 word-spacing: 0.06em;
	 font-family: "Times New Roman", Times, serif;
	 font-weight: lighter;
  
	}		
	
h1 {
    font-size: 1.41em;
	line-height: 1.45em;
	 text-align: center;
	 letter-spacing: 0.155em;
	 word-spacing: 0.18em;
	 font-family: "Times New Roman", Times, serif;
	 font-weight: lighter;
}



hx {
    font-size: 1em;
	line-height: 1;
	 text-align: center;
	 letter-spacing: 0.17em;
	 word-spacing: 0.045em;
	 text-transform: uppercase;
	 font-family: Arial, Helvetica, sans-serif;
	 font-weight: lighter;
}


h2 {
    font-size: 1.2em;
	line-height: 1;
	 text-align: center;
	 letter-spacing: 0.05em;
	 word-spacing: 0.045em;
	 font-style: italic;
	 font-family: "Times New Roman", Times, serif;
	 font-weight: lighter;

}



h3 {
    font-size: 0.7em;
	line-height: 1.45;
	 text-align: center;
	 letter-spacing: 0.18em;
	 word-spacing: 0.15em;
	 font-family: Arial, Helvetica, sans-serif;
	 font-weight: lighter;
	 color: white;
	 text-decoration: none;

	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 9px;
	padding-right: 9px;
	margin:0px;
	 
}


p.copyteksti {
    font-family: "Arial", Helvetica, sans serif;
	font-size: 0.56em;
	letter-spacing: 0.2em;
	word-spacing: 0.05em;
	line-height: 1.4;
	text-transform: uppercase;
	color:#B1B1B1;
	text-align: center;
	margin-right:10px;
	margin-top:20px;
	margin-bottom:20px;
}


p.copyteksti2 {
    font-family: "Arial", Helvetica, sans serif;
	font-size: 0.56em;
	letter-spacing: 0.2em;
	word-spacing: 0.05em;
	line-height: 1.4;
	text-transform: uppercase;
	color:black;
	text-align: center;
	margin-right:10px;
	margin-top:20px;
	margin-bottom:20px;
}

a {
text-decoration: none;
}


h3:hover {
    background-color: #000;
}



img {
	max-width: 100%;
    height: auto;
	}

p.kuvateksti 
	{
	
	font-family: "Arial", Helvetica, sans serif;
	font-size: 0.7em;
	letter-spacing: 0.2em;
	word-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
	color:#999;

	}
	

hr.katkoviiva {
	
	border-style: dashed none none none;
	border-width: 1px;
	border-color:#999;
	margin: 0px;
	width:100%;
	}
	
.katkoviiva_respons {
	
	display: none;
	border-style: dashed none none none;
	border-width: 1px;
	border-color:#999;
	margin: 0px;
	width:100%;
	}
	
	
hr.katkoviiva_musta {
	
	border-style: solid none none none;
	border-width: 1px;
	border-color:#999;
	margin: 0px;
	width:100%;
	}
	

	
@media only screen and (max-width: 1150px) {
.testi {
        background-color: lightblue;
    }
	
.keski {
	min-width: 100%;
	margin-top: 0px;
	margin-bottom: 0px;
	border-radius: 0px;
	  height: 100vh;
	  box-shadow: none;
}

div.pystykatkoviiva
	{
	
	display: none;
	}
	
.katkoviiva_respons {
	
	display: block;
	border-style: dashed none none none;
	border-width: 1px;
	border-color:#999;
	margin: 0px;
	width:100%;
	}
		