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

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


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




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

#logo {

width: 90%;
max-width: 300px;
  -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; 
  
  margin-left: auto;
  margin-right: auto;
}

#etusivu #logo {

width: 90%;
max-width: 300px;

}


H1 {
    color: #314378;
    display: inline;
      font-family: 'Passion One', cursive;
    font-size: 2em;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
}
h2 {
  display: inline;
  color: #000000;
  font-weight: bold;
  font-size: 16px;
  padding-bottom: 0.3em;
  font-family:tahoma,helvetica,sans-serif;
  margin: 0;

  
}

li {
margin-left: 20px;
}

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

body, td { 												/* Sivuston fonttityylit */
font-family:tahoma,helvetica,sans-serif;
font-size: 13px;
font-weight:normal;
color:#000000;

}


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

  


}

.bodybg {

}


.logoarea {
  vertical-align: top;
  text-align: center;
  display: table-cell;
  width: 100%;

}

.toppic {
  background-color: transparent;
  min-height: 65px;
  
  margin-top: 0em;
  margin-bottom: 0em;
  padding-top: 0em;
  padding-left: 0em;
  background: transparent;
  -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; 
}

    #etusivu .toppic {
      min-height: 105px;
    }    

.bgtable, .toppic, .contpic, .picdiv {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}


.contpic {

vertical-align:bottom;
margin: 0px;
width: 100%;

  -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; 
  
  margin-left: auto;
  margin-right: auto;
}


.bgtable {
background-color: #ffffff;
background-repeat: repeat;


border: 1px solid #FFFFFF;
box-shadow: 0 0 5px #CCCCCC;
}

.bgtable h4 {
  color: #338A9E;
  font-size: 16px;
  font-weight: normal;
  padding-bottom: 0.3em;

  margin: 0;

  display: inline-block;
}



.mainbg {
  padding: 0em;
  min-height: 320px;
  
  line-height: 19px;
  
      background-image: url('../images/mainbg.jpg');
      background-repeat: repeat-x;
}

.main {
  padding: 3em;
  width: auto;
}



.footerdiv {
      background-image: url('../images/divbg2.png');
      background-repeat: repeat-x;
  text-align: center;
  padding: 0.8em;
  color: #ffffff;
  

}

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


.logot {
position: absolute;
right:50%;
margin-right: -520px;
top: 365px;
background-color: transparent;
padding-left: 25px;
padding-right: 25px;


padding-top: 5px;

width: 270px;

}
.logot a {
opacity: 0.5;
}
.logot a:hover {
opacity: 1;
}


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

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


    .contact {
    
      color: #ffffff;
      font-size: 115%;
       text-shadow: 0px 0px 10px #231F20;
      vertical-align: top;
      margin-bottom: 50px;
      
    }


/* Navigointi */

    #navbg {
      background-color: #304478;
      width: 100%;

border-bottom: 1px solid #000000;

    }


.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;
  
  max-width: 1100px;
}

.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:link, .navi li a:visited {

   display: table-cell;
    vertical-align: middle;
border-bottom: 1px solid #000000;
  padding: 10px;
  width: 100%;
  height: 100%;
  
  height: 60px;
  
  z-index: 2;
  
  font-size: 20px;
  text-transform: uppercase;
  font-weight: normal;
  font-family: 'Passion One', cursive;
  text-align: center;
  color: #ffffff;
  background-color: transparent;
  
  
  text-decoration: none;
  -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: #ffff00;
  background-color: #314579;
  
    -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#active {
  color: #ffff00;
  background-color: #091023;
}

.navi li {

display: table;

        background-image: url('../images/divbg.png');
      background-repeat: repeat-x;
      background-color: #304478;
  font-size: 100%;
  position: relative;
  overflow: hidden;
  margin: 0px;
}


.navi li~li a {


border-left: 1px solid #000000;
}


/* 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: 1em;
  font-size: 15px;
  color: #ffffff; 
}


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

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

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

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

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

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

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




/************/

.subnav {
display: table-cell;

padding-top: 2em;

}

.selectedanchor{
background: ;
}

.anylinkcss{
margin-top: 4px;



line-height: 18px;
z-index: 100;

width: 230px;
}

.anylinkcss ul {
margin: 0;
padding: 0;
list-style-type: none;
}

.anylinkcss ul li a {

font-size:16px;
color:#ffffff;
font-weight:normal;
font-family: 'Gudea', sans-serif;
text-decoration:none;

width: 100%;
color: #999999;
display: block;
text-indent: 3px;

padding: 6px;
text-decoration: none;

background: #F2F2F2;
margin-bottom: 10px;
}

.anylinkcss a.active {
color: #000000;
}

.anylinkcss a:hover {

color: #000000;
}

.anylinkshadow {
position: absolute;
left: 0;
top: 0;
z-index: 99;
background: black;
visibility: hidden;
}



/* Mobipainikkeet */
#mobi {
  display: none;
  
}


/* Lomakkeet */

input, select, textarea {
font-family:tahoma,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 {		         /* teksti-inputti, nimi, puh/email  */
width:250px;
padding: 7px;
}

.tarea  { 		                  /* viestin tekstialue */
width:400px;
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 #48C2F2;
  border: 1px solid #000000;

}


.potikka  {		                 /* lÃ¤hetÃ¤-painike  */
  display: block;
  padding: 16px;
  width: 150px; 
  
    font-size: 110%;
    border-radius: 5px;
    border: 2px solid rgba(0, 0, 0, 0.2); 
  font-family: 'Questrial', sans-serif;
  text-align: center;
  color: #ffffff;
  background: #000099;
  
  
  text-decoration: none;
  -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; 
}

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

a.potikka:hover, .potikka:hover {
  color: #ffffff;
  background: #000099;
  
    -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; 
  
  text-decoration: none;
}

