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

a:hover {
text-decoration:underline;
}

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


.mainbg img {

height: auto;
max-width: 100%;
}

#logo {
width: 100%;
text-align:center;
font-size: 2vw;
-webkit-transition: all .1s linear;
-moz-transition: all .1s linear;
-ms-transition: all .1s linear;
transition: all .1s linear;
  text-shadow: 2px 2px 0 #073f6d, 2px -2px 0 #073f6d, -2px 2px 0 #073f6d, -2px -2px 0 #073f6d, 2px 0px 0 #073f6d, 0px 2px 0 #073f6d, -2px 0px 0 #073f6d, 0px -2px 0 #073f6d, 3px 3px 2px #073f6d;
}

h1 {
  display: block;
  color: #ffffff;
  font-weight: bold;
  font-size: 120%;
  padding-bottom: 0.3em;

  margin: 0;

  display: inline;
}
h2 {
  color: #ffffff;
  font-size: 16px;
  font-weight: normal;

  margin: 0;
  padding: 0;

  display: inline;
}

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: 1em;
font-weight:normal;
color:#ffffff;

}

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

background-color:#668bb8;

/*background-image: url(../images/bg.jpg);
background-repeat:repeat-x;*/

background-image: url("../images/bg.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;
}


.content {
    padding: 1em;
}

.mainbg {
  padding: 5px;
  min-height: 320px;
}

#navbg {
    margin: 0 0;
}

body .primary-button {
    background: #02a6eb;
    color: #fff;
}




.intro {
margin: 0em auto 0;
padding: 3em 0.5em;


background-color:transparent;

height: 350px;

}

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

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


.footerdiv {
    text-align: center;
    padding: 2em;
    color: #fff;
}

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




#navbg {
    margin: 0em auto 0;

 
    height: auto;
    z-index: 1000;
	background-color: transparent;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;


}

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

.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: 10px;
  padding-bottom: 10px;
  
  z-index: 2;
  font-size: 14px;
  text-align: center;
  color: #ffffff;
  background-color: #154d7f;
background-image: url(../images/lnavtdbg.jpg);
  text-decoration: none;
  font-weight: bold;
border: 1px solid #ffffff;
background-attachment: fixed; 
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
  /*
  overflow: hidden;
  */
}

.navi li a:hover {
  color: #ffffff;
background-image: url();
}


.navi li a#active {
  color: #fff;
  border: 1px solid #fff;
  background-image: url();
}

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

/* Mobipainikkeet */
#mobi {
position: absolute;
top: 120px;

  width: 100%;
   z-index: 99;
}

.menu-button, .call-button {
  float: left;
  display: block;
  padding: 1em;

  background: #073f6d;
  color: #ffffff;
  cursor: pointer;
  border-bottom: 1px solid #fff; 
  width: 33.33%;
  text-align: center;
  border-right: 1px solid #fff; 
  
  white-space:nowrap;
}

.menu-button a, .call-button a {
  color: #ffffff;
  text-decoration: 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 #cccccc;

-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 #AAF7CB;
  border: 1px solid #fff;

}


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

color:#ffffff;
font-weight:bold;
background-color:#073f6d;

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

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

.bigbutton {
background-color: #3B5C88;
-moz-border-radius: 5px;
border-radius:5px;
display: block;
width: 420px;
padding: 20px;
color: #ffffff;
font-size: 20px;
     text-shadow: 2px 2px #26446B;
     border: 1px solid #fff;

}

.bigbutton a:link, .bigbutton a:visited, .bigbutton .email {
color:#ffffff;
text-decoration:none;
}

.bigbutton a:hover {
color:#ffffff;
text-decoration:underline;
}
