/* Sisällön tyylit */
a:link, a:visited, .email {
  color:#131D78;
  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: #666666;
  font-weight: normal;
  font-size: 17px;
  padding-bottom: 0.3em;

  margin: 0;

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

  margin: 0;
  padding: 0;

  display: inline;
}


body, td { 										
font-family:arial,helvetica,sans-serif;
font-size:13px;
font-weight:normal;
color:#666666;
}

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

.toparea {
margin-left: auto;
margin-right: auto;

background-color: #ffffff;
height: 250px;

background-repeat: no-repeat;
background-position: center center;

-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;

}

.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: #ffffff;
padding: 5px;
min-height: 320px;

background-image: url('../images/bottombg.png');
background-repeat: repeat-x; 
background-position: left top;
}

.content {
padding: 1em;
line-height: 18px;
}

.main_header {
display: block;

padding-top: 0px;
padding-left: 0px;
padding-bottom: 20px;
}




.main_header h1 {
color: #469600;
font-weight: bold;
}

#logotext {
margin-top: 20px;
max-height: 40px;
}


#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-image: url('../images/footerbg.png');
background-repeat: no-repeat;
background-position: top;
background-color: transparent;

text-align: left;
padding-top: 30px;
padding-left: 50px;
padding-bottom: 30px;
color: #666666;
}

.footerdiv b {
color: #134882;
}


/* Taulukkorakenne */


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


/* Ylänavi */

.toplinks {
position: absolute; 
top: 5px; 
right: 20px; 


color:#666666;
text-align: right;
}

.toplinks .outlinks {
display: none;
}

.toplinks a:link, .toplinks a:visited {
color:#666666;
text-decoration:none;
}

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


.bottomlinks {

display: block;

color:#666666;
text-align: right;
float: right;
}

.bottomlinks .outlinks {
float: right;
}

.bottomlinks a:link, .bottomlinks a:visited {
color:#666666;
text-decoration:none;
}

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



/* Navigointi */

#navbg {
position: relative;
margin: 0 0;
margin: 0em auto 0;

background-color: transparent;
height: 0px;
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: 16px;

z-index: 2;

text-align: left;
color: #ffffff;
background-color: #2971c0;
border-bottom: 1px solid rgba(0, 0, 0, 0.15);

text-decoration: none;
font-size: 16px;

font-weight: normal;
}

.navi li a:hover {
color: #ffffff;
background-color: #357FCE;
}


.navi li a#active {
color: #66DD00;
background-color: #2971c0;
}

.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 #759FC9;

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

}


.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:#749FC9;

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: 250px;
max-width: 100%;
min-width: 200px;
-moz-border-radius-bottomright: 10px;
border-bottom-right-radius: 10px;
-moz-border-radius-bottomleft: 10px;
border-bottom-left-radius: 10px;
-moz-border-radius-topleft: 10px;
border-top-left-radius: 10px;

}

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


#lounaslista {
cursor: pointer;
border: 1px solid #7788bb;
background: #e9f4fc;
color: #134882;
height: 150px;
width: 90%;
max-width: 350px;
-moz-border-radius-bottomright: 10px;
border-bottom-right-radius: 10px;
-moz-border-radius-bottomleft: 10px;
border-bottom-left-radius: 10px;
-moz-border-radius-topleft: 10px;
border-top-left-radius: 10px;

background-image:url('../images/lounas.jpg');
background-position: center center;
opacity: 0.8;

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


#lounaslista:hover {
opacity: 1;
-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;
}
