@charset "UTF-8";
/* CSS Document */

html, 
html * {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: "Open Sans", sans-serif, Arial, Helvetica Neue, Helvetica, "sans-serif";
}










nav {
	position: fixed;
	overflow: hidden;
  	background-color: none;
  	top: 0;
	left: 0;
  	width: 100%; 
	

}

header {
	padding: 60px;
	/*background-color: #F15A24;*/
}



html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    background: url("../images/taustakuva.jpg") center center / cover no-repeat;
}



main {
	/*background-color: green;*/
}


section
{
	
}


footer {
	padding: 20px 20px;
	/*background-color: #0071BC;*/
}


/***************/

only-deskotop{
	display: none;
}




img {
	width: 100%;
	max-width: 450px;
	height: auto;
	vertical-align: middle;
	display: block;
    margin: 0 auto;
}


.fullwidth {
	width: 100%;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	display: block;
    margin: 0 auto;
}








/* Mobiilinäkymä: logo keskelle */
.desktop-style-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); /* Siirtää sekä X- että Y-akselilla */
    height: 40px; /* Mobiilissa pienempi logo */
    width: auto; /* Säilytetään kuvasuhde */
	

}















/*linkkien säätö*/
a:link {
    text-decoration: none;
	color: #000000;
	outline: none;
}

a:visited {
    text-decoration: none;
	color: #000000;
	outline: none;
}

a:hover {
    text-decoration: none;
	color: #000000;
	outline: none;
}

a:active {
    text-decoration: none;
	color: #000000;
	outline: none;
}




/**//**/














.osio h2 {
    text-align: center;
}


h1 {  /*OTSIKOT*/
	font-size: 30px;
	/*text-transform: uppercase;*/
	font-weight: 200;
	margin-bottom: 60px;
}

h2 { /*LEIPÄTEKSTI*/
	font-size: 20px;
	margin-bottom: 23px;
	margin-top: 23px;

	font-weight: 400;
	letter-spacing: 0.5px;
}

h3 { /*LEIPÄTEKSTI*/
	font-size: 20px;
	margin-bottom: 23px;
	font-weight: 400;
}

h4 { /*COPYRIGHT TEKSTI*/
	font-size: 15px;
	font-weight: 200;
	margin-bottom: 23px;
	margin-top: 25px;
}

p {
	font-size: 18px;
	font-weight: 400;
	margin-bottom: 35px;
	line-height: 1.5;
	letter-spacing: 0.5px;
}





.copyright {
    text-align: center;
    font-size: 13px;
    margin-top: 10px;
	margin-bottom: 0px;
	padding-bottom: 0px;
}



.col {
	width: 100%;
}

.col-txt-100 {
	

    width: calc(100% - 30px);
   /* max-width: 700px;*/
    margin: 10px auto;
    padding: 10px;
    border: 22px solid #68440b;
    border-radius: 10px;
    background-color: white;
    box-sizing: border-box;
	
	/*width: 100%;
	padding: 10px;
	border: 22px solid #68440b;
	border-radius: 10px;
	background-color: white;*/

}

.osio{
	width: 100%;
	padding: 10px;
margin: 0 auto;
	
}

.osio2{
	width: 100%;
	float: left;	
	background-color: antiquewhite;
	padding: 10px;
}



.row:before, .row:after {
	content: "";
	display: table;
}

.row:after {
	clear: both;
}





/*YHTEYDENOTTOLOMAKE*/

.lomakkeenkeskitys{
	width: 100%;
	margin: auto;
}


form{
	margin-top: 20px;
	/*transition: all 4s ease-in-out;*/
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 30px;
	padding-bottom: 30px;
	margin-bottom: 50px;
	margin-left: 0px;
	margin-right: 0px;
	border: 1px solid black;
}

.form-control{
	width: 100%;
	background: transparent;
	border: none;
	outline: none;
	border-bottom: 1px solid gray;
	color: #000000;
	font-size: 16px;
	margin-bottom: 16px;
	
}



.form-control-laheta{
	width: 100%;
	background: transparent;
	border: none;
	outline: none;
	color: #000000;
	font-size: 16px;
	margin-bottom: 16px;
}



input{ 
	height: 35px;
	padding-left: 5px;
}

textarea{
	padding-left: 5px;
	padding-top: 1px;
}

form .submit{
	display: block;
	margin: auto;
	/*background: #ff5722;
	border-color: transparent;
	border: 1px #000000 solid;
	border-radius: 2px;*/
	color: #000000;
	font-size: 16px;
	/*font-weight: bold;*/
	letter-spacing: 2px;
	margin-top: 20px;
	height: 50px;
	width: 100px;
	padding: 0px 0px 0px 0px;
}

form .submit:hover{
	/*background-color:#F5F5F5;    #f44336;*/
	cursor:pointer;
	border-bottom: 1px #000000 solid;
	width: 100px;
	padding: 1px 0px 0px 0px;
}




/****************/

.kiitosviestistasi{
	display: block;
	float: left;
	width: 100%;
	padding: 0px 20px;
	padding-top: 50px;
	padding-bottom: 200px;
	
}

























/*Tablet View*/

@media (min-width: 768px){
	
body {
	max-width: 778px;
		  margin: 0 auto;
}
	

	
	
/*VALIKKO ALKAA*/

/*VALIKKO LOPPUU*/
	

	
	
	
	
	
h1 {  /*OTSIKOT*/
	font-size: 30px;
	margin-bottom: 90px;
}
	
h2 {  /*LEIPÄTEKSTI*/
	margin-bottom: 30px;
	margin-top: 30px;

	font-size: 24px;

}
	
h3 { /*LEIPÄTEKSTI*/
	margin-bottom: 16px;
	font-size: 25px;


}

	
	.copyright {
    text-align: center;
    /*font-size: 16px;*/
    margin-top: 17px;
	margin-bottom: 0px;
	padding-bottom: 0px;
}


	
.col {
	float: left;
	padding: 15px 10px;
}
	
.col-txt-100 {
	width: 100%;
	padding: 20px;

}

	
	
		

	
/*YHTEYDENOTTOLOMAKE*/	
	
.lomakkeenkeskitys{
	width: 100%;
	margin: auto;
}


	
.form-control{
	width: 100%; /*600px;*/
	background: transparent;
	border: none;
	outline: none;
	border-bottom: 1px solid gray;
	color: #000000;
	font-size: 20px;
	margin-bottom: 16px;
}
	
	
	
}	
.form-control-laheta{
	width: 100%; /*600px;*/
	background: transparent;
	border: none;
	outline: none;;
	color: #000000;
	font-size: 20px;
	margin-bottom: 16px;
}


input{ 
	height: 35px;
}

form .submit{
	display: block;
	margin: auto;
	/*background: #ff5722;
	border-color: transparent;
	border: 1px #000000 solid;
	border-radius: 2px;*/
	color: #000000;
	font-size: 20px;
	/*font-weight: bold;*/
	letter-spacing: 2px;
	height: 50px;
	margin-top: 20px;
	/*margin-left: 250px;*/
	width: 100px;
}

form .submit:hover{
	/*background-color:#F5F5F5;    #f44336;*/
	cursor:pointer;
	border-bottom: 1px #000000 solid;
	width: 100px;
	padding: 1px 0px 0px 0px;
}
	
		
	
	/**//**/	
	
	
	
	




/*Desktop View*/

@media (min-width: 1024px){
	
body {
	/*max-width: 1500px;*/
	max-width: 1500px;
	  margin: 0 auto;
}
	
	
header {
	margin-top: 0px;	
	height: 150px;
	}
	

/******/	
	

	.desktop-style-logo {
	  position: static; /* Poistetaan absoluuttinen sijainti */
        transform: none; /* Poistetaan muunnokset */
    height: 90px; /* Aseta sopiva korkeus logolle */
    width: auto; /* Säilytä oikea kuvasuhde */
}
	
	
	
/************

	
***********/
	
	
	
	
/*VALIKKO ALKAA*/
	
/* Add a black background color to the top navigation */

.topnav {
    display: flex;
    justify-content: flex-end; /* Siirretään linkit oikealle */
    align-items: center;
    gap: 20px; /* Lisää tilaa linkkien väliin */
	border-bottom: 0px solid black;
}
	



/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: inline-block;
  color: black;
  text-align: center;
  padding: 20px 16px;
  text-decoration: none;
  font-size: 30px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #F9F9F9;
  color: black;
}



/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
 .topnav a:not(:first-child) {display: block;}
  .topnav a.icon {
    float: right;
    display: none;
  }

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
.topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: none;
    text-align: left;
  }

/*VALIKKO PÄÄTTYY*/
	

.topnav a {
  transition: background 0.1s ease-in-out;
  padding-bottom: 18px;

}
.topnav a.active {
  background: #F9F9F9;
  border-bottom: none;
  border: 0px solid #F9F9F9;
  padding-bottom: 18px;

	
}


h2 .topnav a.active { /**/
	color: black;
	line-height: 1;
}


h2 .topnav a { /**/
	color: black;
	line-height: 1;
}
	


	/*************/
	
	
	
	
	
	
	/************/
	
	
.col-txt-100 {
	width: 900px;
	padding: 20px;
	margin: 10 auto;
	/*background-color: aqua;*/

}
	
.osio{
	width: 100%;
	padding: 20px;
	margin: 0 auto;
	max-width: 700px;


}

.osio2{
	width: 1000px;
	padding: 20px;
	float: none;
    margin: 0 auto;
	}
	
	img {
	width: 450px;
	height: auto;
	vertical-align: middle;
}
	
	
	
}

