/* Sisällön tyylit */
a:link, a:visited, .email {
  color:#00ab4f;
  text-decoration:none;
}

a:hover {
  color:#000000;
  text-decoration:none;
}

.logot_big a:link, .logot_big a:visited {
cursor: default;
  color:#ffffff;
  text-decoration:none;
}

.logot_big a:hover {
  color:#ffffff;
  text-decoration:none;
}



.newsbg {
width: 200px;
display: box;
margin-bottom: 20px;

color: #000000;
padding: 20px;
-moz-border-radius-bottomright: 10px;
border-bottom-right-radius: 10px;
-moz-border-radius-topright: 10px;
border-top-right-radius: 10px;

}
.newsbg a:link, .newsbg a:visited
{
color: #000000;

}


.newsbg:nth-child(even)
{
background-color: #C0E0C0;


}

.newsbg:nth-child(odd)
{
background-color: #85B585;
}



.small_box {
width: 220px;
float: left;


border: 1px solid #cccccc;
margin: 5px; 
padding: 10px;  
}

.small_box img {

}

a.tele:link, a.tele:visited {
  color:#58595B;
  text-decoration:none;
  cursor: default;
}

a.tele:hover {
  color:#58595B;
  text-decoration:none;
}

h1 {
  color: #00ab4f;
  font-weight: normal;
  font-size: 25px;
  padding-bottom: 0.3em;
font-family: 'Hammersmith One', sans-serif;
letter-spacing: -0.5px;
  margin: 0;
line-height: 35px;
  display: inline;
}
h2, .text_otsbold {
display: block;
  color: #58595B;
  font-size: 16px;
  font-weight: bold;

margin: 0;
padding:0;

margin-top: 20px;
  text-transform: uppercase;


}

h3 {
  color: #5C86C2;
  font-size: 16px;
  font-weight: bold;

  margin: 0;
  padding: 0;

  display: inline;
}

.vcard, .tel {
  display: inline;
}

div, td {
vertical-align: top;
}

body, td { 										
font-family:arial,helvetica,sans-serif;
font-size:13px;
font-weight:normal;
color:#58595B;
}

/* 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/bodybg.jpg');

  background-repeat:  no-repeat;
  background-position: center top;
  background-attachment: fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.toppic2 {
text-align: center;
}

.toparea {
margin-left: auto;
margin-right: auto;

background-color: transparent;
height: 200px;

background-repeat: repeat-x;
background-position: center center;
/*
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
*/
border-bottom: 0px solid #575150;

}

.bgtable {
max-width: 1100px;
margin-left: auto;
margin-right: auto;

border: 0px solid #ffffff;
border-top: 0px;

}


.toppic {
background-color: #00ab4f;
/*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;
}

.mainbg {
background-color: transparent;
padding: 0px;
min-height: 320px;
background-color: #ffffff;
-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;

border-top: 0px solid #006FBF;

}


.content_text {

}


.content {
background-color: transparent;

padding: 0.5em;
padding-right: 1em;

line-height: 18px;


min-height: 350px;
}

.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: 5px;
margin-bottom: 5px;
max-height: 130px;

-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; 
}


#logoname {
display: inline;
position: absolute; 
top: 0px; 
right: 20px;
color: #469600;
cursor: default; 
    font-size: 18px;
    font-family: arial;
font-weight: bold;
}


#logopic {
display: none;

-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;
}

.footerdiv {
width: 100%;
margin-left: auto;
margin-right: auto;
background-color: #00ab4f;
border-top: 1px solid #58595B;

text-align: center;
padding: 20px;
padding-top: 5px;

padding-bottom: 0px;
color: #ffffff;


}

.footerdiv td {
color: #ffffff;
}

.footerdiv h1 {
color: #ffffff;
}

.footerdiv b {
color: #ffffff;
}

.footerdiv a:link, .footerdiv a:visited {
color: #ffffff;
}

.footerdiv a:hover{
color: #ffffff;
}

/* Taulukkorakenne */

.inner {
margin-bottom: 30px;
}


.main_50
{
display: block;
width: 100%;
text-align: left;
padding-top: 15px;
padding-bottom: 15px;
}

.main_55, 
.main_45
{
padding-bottom: 20px;
}



/* Navigointi */

#navbg {
width: 100%;
z-index: 99;

}


.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: 12px;

z-index: 2;

text-align: center;
color: #ffffff;
background-color: #00ab4f;
border:0px solid #ffffff;
font-family: 'Hammersmith One', 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: 13px;

font-weight: normal;




}

.navi li a:hover {
color: #C0E0C0;
background-color: #00ab4f;
background-image: url();
/*
  border-left: 1px solid #386D18;
  border-top: 1px solid #386D18;
  border-bottom: 1px solid #386D18;*/

}


.navi li a#active {
color: #000000;
background-color: #ffffff;
background-image: url();
border:0px solid #000000;

/*
  border-left: 1px solid #386D18;
  border-top: 1px solid #386D18;
  border-bottom: 1px solid #386D18;*/
}

.navi li {
font-size: 100%;

overflow: hidden;
margin: 0px;
}



/**********/




.lnavi li a {

display: block;
padding: 3px;

z-index: 2;


text-align: center;
color: #000000;
background-color: #85B585;
border-bottom:1px solid #000000;
font-family: 'Hammersmith One', 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: 13px;

font-weight: normal;




}

.lnavi li a:hover {
color: #00ab4f;
background-color: transparent;
background-image: url();
/*
  border-left: 1px solid #386D18;
  border-top: 1px solid #386D18;
  border-bottom: 1px solid #386D18;*/

}


.lnavi li a#active {
color: #ffffff;
background-color: #222222;
background-image: url();
border: 1px solid #000000;

/*
  border-left: 1px solid #386D18;
  border-top: 1px solid #386D18;
  border-bottom: 1px solid #386D18;*/
}

.lnavi li {
font-size: 100%;

overflow: hidden;
margin: 0px;
}












/* Lomaketyylit */
input, select, textarea {
font-family:arial,helvetica,sans-serif;
font-size:13px;
font-weight:normal;
color:#000000;
background-color:#ffffff;

border: solid 1px #66665B;

-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 #E4E4DC;
border: 1px solid #66665B;

}


.potikka  {		               


color:#00ab4f;
font-weight: strong;
font-size: 19px;
background-color: #00ab4f;
border: 1px solid #cccccc;
font-family: tahoma, sans-serif;

padding: 10px;
padding-left: 25px;
padding-right: 25px;

-moz-border-radius:3px;
border-radius: 3px;


}

.footerdiv .potikka {
background-color: #ffffff;
}

a.potikka:link, a.potikka:visited, .potikka a:link, .potikka a:visited {
color: #ffffff;
}

a.potikka:hover, .potikka a:hover {
color:#efefef;
text-decoration:none;
}


.footerdiv a.potikka:link, .footerdiv a.potikka:visited, .footerdiv .potikka a:link, .footerdiv .potikka a:visited {
color: #00ab4f;
}

.footerdiv a.potikka:hover, .footerdiv .potikka a:hover {
color:#000000;
text-decoration:none;
}


/* Muut */


.mainbg img {
max-width: 100%;
height: auto;
width: auto;
    transition: all 0.1s ease-in-out 0s;
    

}


#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;
}


li {
margin-left: 25px;
}




label {
display: inline-block;
width: 5em;
}



