/* Sisällön tyylit */
a:link, a:visited, .email {
  color:#226810;
  text-decoration:none;
}

a:hover {
  color:#222222;
  text-decoration:none;
}

a.tele:link, a.tele:visited {
  color:#000000;
  text-decoration:none;
  cursor: default;
}

a.tele:hover {
  color:#000000;
  text-decoration:none;
}


.logot a:link, .logot a:visited {
  color:#fff;
  text-decoration:none;
  cursor: default;
}

.logot a:hover {
  color:#fff;
  text-decoration:none;
}

.logot div {

cursor: default;
display: block;
white-space: nowrap;
padding: 10px;
padding-left: 20px;
font-weight: bold;
font-family: 'Kanit', sans-serif;
margin-top: 5px;


background-color: #5ea74b;
color: #fff;

border-top-left-radius: 50px;
border-bottom-left-radius: 50px;
}



h1 {
  color: #226810;
  font-size: 25px;
  font-weight: bold;

  margin: 0;
  padding: 0;
line-height: 34px;
font-family: 'Kanit', sans-serif;


  display: inline;
}
h2 {
  color: #000;
  font-size: 17px;
  font-weight: bold;

  margin: 0;
  padding: 0;

  
  font-family: 'Kanit', sans-serif;


  display: inline;
}


.content_text li {
margin-left: 20px;

}

.content_text ul ul li {
margin-left: 40px;

}

.etusivulinkki {
font-family: 'PT Sans Narrow';
font-size: 30px;
text-decoration:none;
}

.etusivulinkki {
font-family: 'PT Sans Narrow';
font-size: 30px;

}
a:link.etusivulinkki, a:visited.etusivulinkki {

text-decoration:none;
}
a:hover.etusivulinkki, a:hover.etusivulinkki {

opacity: 0.8;
}


.logot {
position: absolute;
top: 5px;
right: 0px;
}

.logot a:link, .logot a:visited {




-webkit-transition: all .1s ease-in-out;
-moz-transition: all .1s ease-in-out;
-ms-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;

}

.logot a:hover{
opacity: 1;


}

.logot div {

margin-top: 20px;

}

body, td { 										
font-family:calibri,arial,sans-serif;
font-size:15px;
font-weight:normal;
color:#000000;
}

/* Rakennetyylit */

html {
min-height: 100%;
height: auto;
overflow-y: scroll;
}

body {
margin-top:0px;
margin-left:0px;
margin-right:0px;
margin-bottom:40px;

background-color:#fff;


background-image:url('../images/wall.jpg');
background-repeat: repeat;/*
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-position: center top;
background-attachment: fixed;*/
}

.toppic {
background-color: transparent;

}

.toppic2 {

text-align: left;

}

.toparea {
margin-left: auto;
margin-right: auto;

background-color: transparent;
height: 200px;


background-image: url('../images/toppic.png');
background-repeat: repeat-x;
background-position: top;





}

.bgtable {
max-width: 1100px;
margin-left: auto;
margin-right: auto;

border: 0px solid #ffffff;
border-top: 0px;

}




.toppic {
/*background: #ffffff;
min-height: 65px;

margin-left: auto;
margin-right: auto;

-moz-box-shadow: 0px 0px 5px rgba(00, 00, 00, 0.5);
-webkit-box-shadow: 0px 0px 5px rgba(00, 00, 00, 0.5);
box-shadow: 0px 0px 5px rgba(00, 00, 00, 0.5);
*/
-webkit-transition: all .1s ease-in-out;
-moz-transition: all .1s ease-in-out;
-ms-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;


}


.picdiv {
height: 150px;
width: 100%;
background-color: #000;

  border-top: 2px solid #000;
background-repeat: no-repeat;
background-position: center center;

-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;


}


.mainbg {


	border-top:  5px solid #333;
	border-bottom:  5px solid #333;
background-color: transparent;

/*background-image: url('../images/mainbg.png');
background-repeat: repeat;*/
padding: 0px;



margin-top: 0px;
padding: 10px;

padding-left: 10px;
padding-right: 10px;

}

#etusivu .mainbg {

	border-top:  0px;
	border-bottom:  0px;
}



.content {
background-color: transparent;

padding: 2em;
padding-bottom: 0px;



}

#etusivu .content {
padding: 1em;
}



.main .content {

}

.main_header {
display: block;

padding-top: 0px;
padding-left: 0px;
padding-bottom: 20px;
}




.main_header h1 {
color: #469600;
font-weight: bold;
}

#logotext {
margin-top: 10px;
max-width: 100%;
max-height: 100px;

-webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
-ms-transition: all .2s ease-in-out;
transition: all .2s ease-in-out; 
}




.footerdiv {

padding-left: 50px;
padding-right: 50px;
background-color: #000;
border-top: 0px solid #ffffff;

text-align: center;
padding-top: 10px;

font-size: 15px;

padding-bottom: 10px;
color: #ffffff;
margin-bottom: 20px;

}

.footerdiv b {
color: #134882;
}


/* Taulukkorakenne */

.inner {
margin-bottom: 30px;
}




.main_50
{
display: block;
width: 100%;
text-align: left;
}

.main_55, 
.main_45
{
padding-bottom: 20px;
}

.mainbg img, iframe {
max-width: 100%;
    transition: all 0.1s ease-in-out 0s;
    
}



/* Navigointi */

#navbg {
width: 100%;

}


.navi {
-webkit-transition: none;
-moz-transition: none;
-ms-transition: none;
transition: none;
-webkit-transform-style: preserve-3d;
overflow: hidden;
margin-top: 0;
margin-bottom: 0;
margin-left: auto;
margin-right: auto;


width: 100%;
max-height: 0; 
z-index: 99;



}

.navi.opacity {
opacity: 0; 
}

.navi.navi-show {
max-height: 2000px;
opacity: 1;
-webkit-transition: all .1s ease-in-out;
-moz-transition: all .1s ease-in-out;
-ms-transition: all .1s ease-in-out;
transition: all .1s ease-in-out; 
}


.navi li a {
position: relative;
display: block;
padding: 10px;
padding-bottom: 0px;

z-index: 2;

text-align: center;
color: #226810;
background-color: transparent;
border: 0px solid #ffffff;
font-family: 'Kanit', sans-serif;





/*
background-image: url('../images/mainbg.png');
background-repeat: repeat;

  border-left: 1px solid #ABABAB;
  border-top: 1px solid #ABABAB;
  border-bottom: 1px solid #ABABAB;
*/



text-decoration: none;
font-size: 15px;

font-weight: bold;

-webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
-ms-transition: all .2s ease-in-out;
transition: all .2s ease-in-out; 


}

.navi li a:hover {
color: #000000;
background-color: transparent;/*
background-image: url();

  border-left: 1px solid #386D18;
  border-top: 1px solid #386D18;
  border-bottom: 1px solid #386D18;*/

}


.navi li a#active {
color: #000;
background-color: transparent;
background-image: url();
border: 0px solid #114B89;

/*
  border-left: 1px solid #386D18;
  border-top: 1px solid #386D18;
  border-bottom: 1px solid #386D18;*/
}

.navi li {
font-size: 100%;

overflow: hidden;
margin: 0px;
}

#map {
background-color: #efefef;
height: 250px;
max-width: 100%;
min-width: 200px;


}




/* Lomaketyylit */
input, select, textarea {
font-family:arial,helvetica,sans-serif;
font-size:13px;
font-weight:normal;
color:#000000;
background-color:#ffffff;

border: solid 1px #000000;

-moz-border-radius:3px;
border-radius: 3px;
}

.txtinput, .selekti {		       
width:90%;
padding: 7px;
}

.tarea  { 		               
width:90%;
height:120px;
padding: 7px;
}


input[type=text], textarea {
-webkit-transition: all 0.30s ease-in-out;
-moz-transition: all 0.30s ease-in-out;
-ms-transition: all 0.30s ease-in-out;
-o-transition: all 0.30s ease-in-out;
outline: none;

}

input[type=text]:focus, textarea:focus {
box-shadow: 0 0 5px #4575B7;
border: 1px solid #000000;

}


.potikka  {		               


color:#ffffff;
font-weight:normal;
font-size: 19px;
background-color: #666666;
border: 2px solid #ffffff;
font-family: 'Fjalla One', sans-serif;

padding: 10px;
padding-left: 25px;
padding-right: 25px;

-moz-border-radius:3px;
border-radius: 3px;


}

a.potikka:link, a.potikka:visited, .potikka a:link, .potikka a:visited {
color: #ffffff;
}

a.potikka:hover, .potikka a:hover {
color:#000000;
text-decoration:none;
}


/* Muut */




#map {
background-color: #efefef;
height: 225px;
max-width: 100%;
min-width: 200px;

border: 1px solid #ABABAB;
}

.icons {
width: 250px;

display: block;
text-align: left;
white-space: nowrap;
}


.icons a {
padding-right: 0px;
}


label {
display: inline-block;
width: 5em;
}