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

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

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

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



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


font-family: 'Asap', sans-serif;


display: inline;
}

h2 {

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

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

  display: inline;
}


.logot {
position: absolute;
top: 5px;
right: 0px;
}

.logot a:link, .logot a:visited {
/*opacity: 0.7;
filter: grayscale(0%);
*/


-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;
filter: grayscale(0%);
*/
filter: contrast(1.2);
filter: brightness(1.2);
}


.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: 400px;
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: 'Asap', sans-serif;

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

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


 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;

}

.toparea {

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

background-color: transparent;
height: 120px;

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;

}




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


.bgtable {
max-width: 1400px;
margin-left: auto;
margin-right: auto;
border-top: 0px solid #ccc;

background-color: transparent;
}


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


line-height: 20px;

padding: 30px;
}

.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 .3s ease-in-out;
-moz-transition: all .3s ease-in-out;
-ms-transition: all .3s ease-in-out;
transition: all .3s 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: transparent;
border-top: 0px solid #578425;
color: #FFF101;

padding-top: 10px;


}


.footerdiv h1 {
color: #000;

}

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

font-family: 'Asap', sans-serif;


z-index: 2;

text-align: center;
color: #FFF;
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;

-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: #FFF101;
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: #FFF101;

background-color: transparent;
  /*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;
text-align: center;
border: 1px solid #000;
}

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

}


.potikka  {		               

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

color:#fff;
font-weight:bold;
font-size: 19px;
background-color:#000;
text-transform: uppercase;
padding: 10px;
padding-left: 55px;
padding-right: 55px;

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


border: 0px;
}



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

a.potikka:hover, .potikka:hover {
color:#ffffff;
background-color:#222;
text-decoration:none;

}


/* Muut */


.mainbg img {
max-width: 90vw;
}

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

}



