/* Sisällön tyylit */




a:link, a:visited, .email {
  color:#295E7E;
  text-decoration:underline;
}

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


.footerdiv a:link, .footerdiv a:visited, .email {
display: block;
background-color: #efefef;
max-width: 300px;
padding: 30px;
margin-left: auto;
margin-right: auto;
  color:#000;
  text-decoration:none;
  
  border-radius: 25px;
  text-align: center;
}

.footerdiv a:hover {
  color:#000;
  text-decoration:none;
}


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

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

.flag {
 float: right;
 margin: 5px;
 border: 1px solid #D1C2B3;
 -moz-box-shadow: 0 0 4px #D1C2B3;
 -webkit-box-shadow: 0 0 4px #D1C2B3;
 box-shadow: 0 0 4px #D1C2B3;
 
  opacity: 0.8;
  
  -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; 
}

.flag:hover {
  opacity: 1;
}


h1 {
   font-family: "Fjalla One", sans-serif;

  font-weight: normal;
 font-size: 30px;
  padding-bottom: 0.3em;

  margin: 0;

line-height: 40px;

cursor: default;

display: inline;
}
h2 {

font-style: italic;
  font-size: 23px;
  font-weight: normal;
letter-spacing: 0.5px;
line-height: 25px;
  margin: 0;
  padding: 0;

  display: inline;
}

h2 img {

vertical-align: top;
}

h3 {

  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: #CCC;
padding: 20px;
border: 2px solid #35302C;
color: #000000;
min-height: 200px;

-moz-border-radius-topleft: 20px;
border-top-left-radius: 20px;


-moz-border-radius-bottomleft: 20px;
border-bottom-left-radius: 20px;

-moz-border-radius-bottomright: 20px;
border-bottom-right-radius: 20px;

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: #000;
    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: "Outfit", sans-serif;
  font-optical-sizing: auto;


font-size:18px;
font-weight:normal;
color:#000;
}

/* 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:#f2f2f2;
 /* background-image: url("../images/bodybg.jpg");
  background-repeat:  repeat;
  background-position: center center;
*/

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

.toparea {

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

background-color: transparent;
height: 200px;

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

/*
-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: 100%;
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;


}

.toppic2 {
background-image: url('../images/toppic.jpg');

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

-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;
display: flex;
justify-content: center;
text-align: center;
}


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

.main {

    padding-top: 20px;

/*background-image: url('../images/mainbg_border.png');*/
background-repeat: repeat-x;


font-size: 110%;

-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: 25px;
}

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

#logopic {
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: fadein2 5s;
-moz-animation: fadein2 5s;
-ms-animation: fadein2 1s;
-o-animation: fadein2 1s;
animation: fadein2 1s;

}

#logotext {
cursor: default;

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


align-items: center;


}

#logotext h1 {
color: #fff;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4); 

}

#logotext div {
text-align: center;
}

.footerdiv {
width: 100%;



background-color: #373737;
text-align: center;

color: #FFF;

}

.footerdiv b {
color: #000;
}


/* Taulukkorakenne */

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

border-top: 0px 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: 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: 0.5em;

background-position: center bottom;


  font-family: "Fjalla One", sans-serif;

z-index: 2;
 /*text-shadow: 0px 0px 3px #578425;*/
text-align: center;
color: #FFF;
background-color: #373737;
/*
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: normal;
border-bottom: 0px solid #35302c;

}

.navi li a:hover {
color: #ffffff;
text-decoration: underline;
background-color: #666666;
background-image: url();

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


.navi li a#active {
color: #ffffff;
/*border-radius: 3px 3px 0px 0px;*/
background-color: #222222;

text-decoration: underline;
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-family:arial,helvetica,sans-serif;
font-size:13px;
font-weight:normal;
color:#000000;
background-color:#ffffff;

border: solid 1px #000000;

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

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

}


.potikka  {		               

background-repeat: repeat-x;
background-position: right top;
font-family: Arial, sans-serif;
color:#ffffff;
font-weight:normal;
font-size: 19px;
background-color:#A10404;

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

-moz-border-radius: 10px;
border-radius: 10px;

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: 100%;
height: auto;
border-radius: 20px;
margin: 5px;
}

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

.skylogo {

position: absolute; top: 100px; right: 0;

}




