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

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


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

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

#back-to-top {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 9999;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 30px;
    background: #327e08;
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
    border: 0;
    border-radius: 2px;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
    opacity: 0;
    font-weight: bold;


-moz-box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
-webkit-box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
    
}
#back-to-top:hover {
    background: #fff;
    color: #000;
}
#back-to-top.show {
    opacity: 0.9;
}


td {
text-align: left;
}




h1 {
  color:#447a3e;
  font-weight: bold;
  font-size: 35px;






  margin: 0;
line-height: 35px;
  display: inline;
}
h2 {
  color: #444444;
  font-size: 25px;
  font-weight: bold;

  margin: 0;
  padding: 0;
  text-transform: uppercase;

  display: inline;
}

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

  margin: 0;
  padding: 0;

  display: inline;
}





body, td { 										

font-size:13px;
font-weight:normal;
color:#444444;
line-height: 24px;


  font-family: "Libre Franklin", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;


}

/* Rakennetyylit */

html {
min-height: 100%;
height: auto;
overflow-y: scroll;
}

body {
margin-top:0px;
margin-left:0px;
margin-right:0px;
margin-bottom:0px;



background-color:#FFF;

   background-image: url("../images/bodybg.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-attachment: fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover; 
}

#bodybg {

}

.toppic2 {
height:15px;
}

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

background-color: transparent;
height: 200px;

background-repeat: no-repeat;
background-position: right center;
/*
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;*/

border-bottom: 0px solid #666666;

}

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


.mainbg {
background-color: transparent;
padding: 0px;
min-height: 320px;

}

.toppic2 {
background-image: url('../images/toppic2.png');
}


.content {
background-color: #fff;




padding: 1em;
border: 0px solid #666666;



min-height: 350px;
}

.main .content {

}

.main_header {
display: block;

padding-top: 0px;
padding-left: 0px;
padding-bottom: 20px;
}




.main_header h1 {
color: #444444;
font-weight: bold;
}

#logotext {
margin-top: 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; 


-webkit-animation: fadein 1s;
-moz-animation: fadein 1s;
-ms-animation: fadein 1s;
-o-animation: fadein 1s;
animation: fadein 1s;
}


#logotext {
max-width: 95%;
margin-top: 20px;
margin-left: auto;
margin-right: auto;
}


.footerdiv {
background-image: url();
background-repeat: repeat-x;
font-size: 11px;
margin-left: auto;
margin-right: auto;
margin-bottom: 0px;
background-color: #f8f1e4;
border-top: 0px solid #999;

text-align: center;
padding: 10px;
font-weight: normal;

color: #000000;

}

.footerdiv div {

line-height: 28px;
}

.footerdiv b {
color: #134882;
}


/* Taulukkorakenne */

.inner {
margin-bottom: 30px;
}


.sidebar {
display: none;

background-color: transparent;

  background-image: url("../images/mainbg.png");
  background-repeat: repeat-x;



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

padding: 1em;

}

.sidebar .outer {
width: 100%;
}

.sidebar div {
line-height: 16px;
}




.main_50
{
display: block;
width: 100%;
}

.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: 0;



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-top: 6px;
padding-bottom: 6px;

z-index: 2;

text-align: center;
color: #000;
background-color: transparent;


/*
text-shadow: 0px 0px 2px rgb(0, 0, 0);
*/




/*background-image: url("../images/navi.png");
background-repeat:  repeat-x;
background-position: center center;
*/
text-decoration: none;
font-size: 20px;

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 {
border-bottom: 3px solid #999;
/*background-color: #666666;
background-image: url();

  border-left: 1px solid #386D18;
  border-top: 1px solid #386D18;
  border-bottom: 1px solid #386D18;*/
/*text-shadow: -1px 1px 1px rgb(0, 0, 0);*/
}


.navi li a#active {
background-color: transparent;

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

.navi 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 #404040;

-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 #3672BA;

}


.potikka  {		               


color:#ffffff;
font-weight:normal;
font-size: 19px;
background-color: #818001;
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 */


.mainbg img {

    
    



  
  

}

.borderpic {

background-color: transparent;
max-width: 100%;
    transition: all 0.1s ease-in-out 0s;

-moz-border-radius:5px;
border-radius: 5px;

  -moz-box-shadow: 0px 0px 10px #EAC4AD;
  -webkit-box-shadow: 0px 0px 10px #EAC4AD;
  box-shadow: 0px 0px 10px #EAC4AD;
}


#map {
background-color: #efefef;
height: 225px;
max-width: 100%;
min-width: 200px;

border: 0px solid #ABABAB;

-moz-border-radius:5px;
border-radius: 5px;
}

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

