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

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

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

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

h1 {
  color: #000000;
  font-weight: normal;
 font-size: 20px;
  padding-bottom: 0.3em;

  margin: 0;
  font-family: 'Courgette', cursive;
  display: inline;
}
h2 {
  color: #666666;
  font-size: 16px;
  font-weight: normal;

  margin: 0;
  padding: 0;

  display: inline;
}


body, td { 										


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


font-size:15pt;
font-weight:normal;
color:#000000;
}

/* 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:#e0f6f9;
 /* 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: center 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: left top;


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

background: -moz-linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.75) 25%, rgba(255,255,255,0.75) 75%, rgba(255,255,255,0) 100%);
background: -webkit-linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.75) 25%, rgba(255,255,255,0.75) 75%, rgba(255,255,255,0) 100%);
background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.75) 25%, rgba(255,255,255,0.75) 75%, rgba(255,255,255,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1); 

}

.main {

background-color: transparent;

border: 0px solid #ffffff;

/*border-top: 3px solid #86b9be;
*/


-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: 1em;
line-height: 22pt;
}

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


}


#logoname {
display: inline;
position: absolute; 
top: 30px; 
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 {

background-color: transparent;
border: 0px solid #ABABAB;

text-align: center;
padding-top: 10px;
padding-bottom: 10px;
color: #000000;
font-size: 16px;

background: -moz-linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.75) 25%, rgba(255,255,255,0.75) 75%, rgba(255,255,255,0) 100%);
background: -webkit-linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.75) 25%, rgba(255,255,255,0.75) 75%, rgba(255,255,255,0) 100%);
background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.75) 25%, rgba(255,255,255,0.75) 75%, rgba(255,255,255,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1); 
border-bottom:1px solid #cae4e6;
}

.footerdiv b {
color: #134882;
}


/* Taulukkorakenne */

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

border-top: 3px solid #86b9be;

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

.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: 10px;
font-family: 'Courgette', cursive;
z-index: 2;
     text-shadow: -1px -1px 5px #ffffff;
text-align: center;
color: #000000;
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: normal;


}

.navi li a:hover {
color: #000000;
text-decoration: underline;
/*background-color: #386D18;
background-image: url();

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


.navi li a#active {
color: #000000;
text-decoration: underline;
/*background-color: #09CCED;
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 #86b9be;

-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 #86b9be;
border: 1px solid #86b9be;

}


.potikka  {		               
background-image: url(../images/divbg.jpg);
background-repeat: repeat-x;
background-position: right top;
font-family: Arial, sans-serif;
color:#ffffff;
font-weight:normal;
font-size: 19px;
background-color:#86b9be;

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

-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:#000000;
text-decoration:none;
}


/* Muut */


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

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

.skylogo {

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

}