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

}

.content a:hover {
  color:#fff;
  text-decoration:none;
}




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

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


.signature {
font-family: 'Leckerli One', cursive;
font-size: 150% ;
font-style: normal;
}


h1 {
  color: #ffffff;
  font-weight: bold;
 font-size: 25px;
  padding-bottom: 0.3em;
line-height: 34px;
  margin: 0;




text-transform: uppercase;


 
display: inline;
}
h2 {

  color: #f9d7b8;
  font-size: 23px;
  font-weight: bold;

line-height: 25px;
  margin: 0;
  padding: 0;

  display: inline;
}

.blackbox {
padding: 20px;
display: block;
background-color: #000;
text-align: center;
font-weight: bold;
color:#fff;
}



.blackbox:link, .blackbox:visited {

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



  color:#fff;
  text-decoration:none;
}

.blackbox:hover {
    opacity: 1;
  color:#fff;
  text-decoration:none;
  background-color: #222;
}


.bigarea {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  align-content: space-between;

}


.bigarea div a:link, .bigarea div a:visited {

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

display: block;
   opacity: 0.9;
  color:#fff;
  text-decoration:none;
}

.bigarea div a:hover {
    opacity: 1;
  color:#fff;
  text-decoration:none;
}


.bigarea div {
background-color: #000;

max-width: 500px;
color: #fff;
font-size: 110%;


margin: 5px;


}

.bigarea div h2 {

  color: #fff;
  font-size: 17px;
  font-weight: bold;
  padding: 25px;
}

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

h2 img {

vertical-align: top;
}

h3 {
  color: #35302C;
  font-size: 16px;
  font-weight: normal;
line-height: 25px;
  margin: 0;
  padding: 0;

  display: inline;
}

hr { border: 0; height: 2px; background: #769E2E; background-image: linear-gradient(to right, #769E2E, #99CA3A, #ffffff); }

.boxes {
margin-right: 30px;
background-color: transparent;
padding: 20px;
padding-top: 50px;

color: #000000;
min-height: 200px;



line-height: 18px;
}

#back-to-top {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 9999;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 30px;
    background: #242424;
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
    border: 0;
    border-radius: 2px;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
    opacity: 0;
    
    border: 1px solid #ffffff;
}
#back-to-top:hover {
    background: #443A32;
}
#back-to-top.show {
    opacity: 0.9;
}



.taulukko {
border-collapse: collapse;
}

.taulukko th {
color: #ffffff;
padding: 20px;
font-size: 15px;
border: 2px solid #99CA3A;
 opacity: 1;
}

.taulukko td {
color: #ffffff;
padding: 20px;
font-size: 15px;
border: 2px solid #99CA3A;
 opacity: 1;
}



.taulukko tr:nth-child(even) {background: #578425; opacity: 0.9;}
.taulukko tr:nth-child(odd) {background: #769E2E; opacity: 0.9;}

body, td { 										
font-family: 'PT Sans Narrow', sans-serif;

font-size:16px;
font-weight:normal;
color:#FDFEFF;
}

/* 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:#705841;





}

.toparea {

margin-left: auto;
margin-right: auto;

background-color: transparent;
height: 120px;

background-repeat: no-repeat;
background-position: center bottom;


 background-image: url('../images/footerdiv.jpg');

/*-webkit-animation: slide 70s linear infinite;*/


/*
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
*/
-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;

}

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

}



.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 {

padding: 0px;
min-height: 320px;
/*background-image: url('../images/mainbg.png');*/
background-repeat: repeat;
background-color: transparent;
border: 0px solid #ffffff;/**/
border-top: 0px;

font-size: 110%;
line-height: 25px;
}

.main {

    padding-top: 20px;

/*background-image: url('../images/mainbg_border.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;
}



.content {
background-color: transparent;

padding: 20px;

line-height: 20px;
}

.main .content {

min-height: 350px;
}

.main_header {
display: block;

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




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

#logotext {
margin-top: 0px;
padding-right: 0px;


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

}


.footerdiv {
background-color: #f9d7b8;

text-align: center; 
font-size: 90%; 
border-top: 2px solid #000; 
padding: 20px; 
display: table; 
width: 100%; 
margin-left: auto; 
margin-right: auto;
color: #000;

background-image: url('../images/footerdiv.jpg');
background-repeat: no-repeat;
background-position: left -1000px;

}


.footerdiv h2 {
color: #35302C;
}

/* Taulukkorakenne */

.sidebar {
display: none;
background-image: url('../images/mainbg.png');
background-repeat: repeat;
background-color: transparent;
border: 1px solid #ABABAB;

border-top: 3px solid #498723;

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

.sidebar .outer {
width: 100%;
}

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

.sidebar a:link, .sidebar a:visited {
font-size: 12px;
color:#131D78;
text-decoration:none;
}

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


.main_50
{
display: block;
width: 100%;
padding-bottom: 20px;
}

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



/* Navigointi */

#navbg {
width: 100%;
z-index: 999;
       position: absolute;

}


.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-top: 10px;
padding-bottom: 10px;
background-position: center bottom;

text-transform: uppercase;

z-index: 2;

text-align: center;
color: #ffffff;
background-color: transparent;
/*
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: 25px;


font-weight: bold;
border-bottom: 0px solid #35302c;

}

.navi li a:hover {
color: #ffffff;
background-color: #35302C;
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: #f9d7b8;
  /*text-shadow: 2px 2px 2px #8f6d27;*/


background-image: url();
/*

  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-size:13px;
font-weight:normal;
color:#000000;
background-color:#ffffff;

border: 1px solid #ffffff;
}

.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 #ffc21d;
border: 1px solid #ffffff;

}


.potikka  {		               

background-repeat: repeat-x;
background-position: right top;

color:#FFF;
font-weight:bold;
font-size: 19px;
background-color:#000;

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




border: 0px;
}



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

a.potikka:hover, .potikka a:hover {
color:#ffffff;
text-decoration:none;
opacity: 0.9;
}


/* Muut */


.mainbg img {
max-width: 320px;
}

#map {
background-color: #efefef;
height: 300px;
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;
}

.bxslider li {

margin: 0px;
}


