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

#etusivu .mainbg a:link, #etusivu .mainbg a:visited, #etusivu .mainbg .email {
color:#fff;
text-decoration:underline;
}


a:hover {

text-decoration:underline;
}


.footerdiv a:link, .footerdiv a:visited {

text-decoration:none;
}

.footerdiv  a:hover {

text-decoration:none;
}


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


#logo {
/*
-webkit-transition: all .1s linear;
-moz-transition: all .1s linear;
-ms-transition: all .1s linear;
transition: all .1s linear;
*/
}

h1 {


    font-size: 29px;
    font-weight: bold;
font-family: 'Oswald', sans-serif;



  margin: 0;
  padding: 0;
  display: inline;
  

}
h2 {

    
    font-size: 29px;




  margin: 0;
  padding: 0;

  display: inline;
}

td {
vertical-align: top;
}

.logot_big {
position: absolute; 
top: 0; 
right: 0;
padding: 10px;

background-color: #ffffff;
opacity: 0.9;
-moz-border-radius-bottomleft: 20px;
border-bottom-left-radius: 20px;
border: 1px solid #ffffff;

box-shadow: 0px 0px 5px #000000;
z-index: 99;
}


.logot_small {
display: none;
}

.logot_big img, .logot_small img  {
border: 1px solid #666666;
}
li {
margin-left: 20px;
}

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

body, td { 												/* Sivuston fonttityylit */

font-family: tahoma, sans-serif;

font-size:19px;
font-weight:normal;

color:#000;


}

body#etusivu, #etusivu td {
color:#FFF;
  text-shadow: 1px 1px 2px black, 0 0 25px #000, 0 0 5px rgba(255, 255, 255, 0.4);
}

body { 															/* Sivuston tausta */
margin-top:0px;
margin-left:0px;
margin-right:0px;
margin-bottom:40px;

background-color:#5d5c66;

background-image: url(../images/body.jpg);
  background-repeat:  no-repeat;
  background-position: center top;
  background-attachment: fixed;
 

}


.content {
    padding: 0em;
    padding-bottom: 0;
    line-height: 25px;
}

.mainbg {
background-color: #FFF;
  padding: 5px;
  min-height: 0px;
}


#etusivu .mainbg {
background-color: transparent;
}


#navbg {
    margin: 0 0;
}




.bgtable h4 {
    color: #999;
    padding-bottom: 0.3em;
    text-transform: uppercase;
    margin: 0;
    border-bottom: 2px solid #eee;
    display: inline-block;
}


.footerdiv {
       background-color: transparent;
    text-align: center;
    padding: 2em;
    font-weight: bold;
    color: #C3541D;

border-bottom: 3px dashed #CCC;
margin-bottom: 20px;

}

.footerdiv h2 {
    display: inline;
    font-weight: normal;
}

#map {
  height: 250px;
  max-width: 100%;
  min-width: 200px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid #C4C4C4;
}


.bgtable {

    background-color: transparent;
    /*background-image:url('../images/mainbg.png');
    background-repeat: repeat-y;  
    background-position: top right;*/
}

#navbg {
    margin: 0em auto 0;

 
    height: auto;
    z-index: 1000;

    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: transparent;

}

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


}

.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.one-page {
  position: fixed;
}

.navi li a {

  position: relative;
  display: block;
  padding-top: 1px;
  padding-bottom: 1px;
font-family: 'Oswald', sans-serif;


  z-index: 2;
  font-size: 16px;
  text-align: right;
  color: #fff;
  background-color: #C3541D;

  text-decoration: none;
    font-weight: bold;


  /*
  overflow: hidden;
  */

}

.navi li a:hover {
  color: #fff;
  background-color: #C3541D;



}


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

}

.navi li {
  font-size: 100%;
  position: relative;
  overflow: hidden;
  margin: 0px;

}

/* Alavalikkonuoli */
.navi .touch-button {
  position: absolute;
  z-index: 999;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  display: inline-block;
  text-align: center; 
}

.navi .touch-button:hover {
  cursor: pointer; 
}

.navi .touch-button .navicon {
  position: relative;
  top: 0.7em;
  font-size: 15px;
  color: #ffffff; 
}


/* Alavalikko */
.navi li ul {
  width: 100%; 
}

.navi li ul li {
  font-size: 90%;
  position: relative;
  overflow: hidden; 
  margin: 0px;
}

.navi li ul.navi-show li {
  overflow: visible; 
}

.navi li ul li a {
  display: block;
  background: #000000; 
}

.navi li ul li a:hover {
  background: #000000;
}

.navi ul li ul li a {
  background: #000000; 
}

.navi ul li ul li ul li a {
  background: #000000; 
}





/* Lomakkeet */

.feedback {
width: 500px;

}

.feedback div {
display: table-cell;
padding-right: 20px;
width: 50%;

vertical-align: top;


} 
.feedback .row {
display: table-row;
padding-right: 20px;
padding-bottom: 20px;
height: 70px;
width: 500px;


} 
.feedback .long_row {
display: block;
padding-right: 20px;
padding-bottom: 20px;
min-height: 70px;
width: 500px;


} 
input, select, textarea {
font-family:tahoma,arial,helvetica,sans-serif;
font-size:13px;
font-weight:normal;
color:#000000;
background-color:#ffffff;

border: solid 1px #000;

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

.txtinput, .selekti {		         /* teksti-inputti, nimi, puh/email  */
width:100%;
padding: 7px;
}

.tarea  { 		                  /* viestin tekstialue */
width:100%;
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 #9BBFC1;
  border: 1px solid #11767E;

}


.potikka  {		                 /* lÃ¤hetÃ¤-painike  */
margin: 0px;

color:#ffffff;
font-weight:bold;
background-color:#834700;

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

-moz-border-radius: 2px;
border-radius: 2px;

border: 1px solid darkred;
font-size: 20px;
}

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;
}
.mainbg img {
  -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; 
max-width: 100%;
height: auto;
    transition: all 0.1s ease-in-out 0s;
}


.greendiv {
background-color: #231F20;
min-height: 100px;
border: 3px solid #333333;
-moz-box-shadow: 0px 0px 15px #000000;
-webkit-box-shadow: 0px 0px 15px #000000;
box-shadow: 0px 0px 15px #000000;
padding: 20px;

   border-radius: 2px;

}

#logot{
float:right;

}
#logot ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#logot ul li{
    padding-top: 5px;
    padding-bottom: 10px;
}
