@import url('reset.css');
@import url('grid.css');
@import url('forms.css');

body {
background-color: #215b96;
font-family: Trebuchet MS, Helvetica, sans-serif;
font-weight: lighter;
word-spacing: 0.3em;
color: #444444;
}

#header {
background-image: url(../img/menu_bg.png);
height: 41px;
width: 100%;
background-repeat: repeat-x;
}

#logo a img {
border: none 0px;
float: left;
margin-top: -41px;
margin-left: -10px;
z-index: 2;
position: relative;
}

a img {
border: none;
}

#tarjouksessa{
height: 120px;
width: 460px;
margin-top: 20px;
display: block;
position: relative;
}

#tarjouksessa img {
z-index: 30;
position: relative;
margin-top: 0px;
margin-left: 10px;
}

#centerarea {
height: 209px;
width: 100%;
background-image: url(../img/bg.png);
background-repeat: repeat-x;
}

#verkkokauppa {
margin-left: 70px;
margin-top: 45px;
display: inline;
float: left;
position: relative;
}

#centercontent{
margin-top: 30px;
margin-bottom: 20px;
}

.product {
background-color: #efefef;
height: 220px;
margin-top: 20px;
}

#productcontainer {
float: left;
position: relative;
margin-bottom: 20px;
}

.liehu {
height: 68px;
width: auto;
background-image: url(../img/liehu2.png);
background-repeat: no-repeat;
margin-top: 10px;
margin-left: -10px;
}

.tuoteotsikko {
height: 40px;
width: 180px;
margin-left: 20px;
margin-top: 5px;
float: left;
}

h3 {
font-variant: small-caps;
letter-spacing: 0.1em;
font-weight: normal;
}

.kuva {
height: 130px;
width: 200px;
margin: 2px 9px 10px 9px;
border: 1px solid #cdcdcd;
}

.ajankohtaista {
background-color: #aed2e9;
height: 460px;
margin-bottom: 20px;
margin-top: 20px;
}

.ajankohtaista img {
margin-top: -10px;
margin-left: 10px;
}

#footer {
background-color: #aed2e9;
float: left;
position: relative;
height: auto;
margin-bottom: 20px;
}

.uutinen {
float: left;
height: auto;
width: 100%;
border-bottom: 1px dotted #444444;
margin-bottom: 5px;
}

p.uutisteksti {
margin: 0px 10px 20px 10px;
font-size: 0.75em;
width: auto;
}

.uutinenotsikko {
float: left;
margin: 10px 10px 10px 10px;
font-size: 0.9em;
}

.tuotekuva {
margin-left: -10px;
margin-top: 20px;
margin-bottom: 20px;
padding: 0px;
border: 1px solid #cdcdcd;
}

a.uutislinkki, a:visited.uutislinkki {
color: #444444;
text-decoration: none;
}

a:hover.uutislinkki {
color: #444444;
text-decoration: underline;
}

#menu {
display: block;
height: 41px;
text-indent: -9999px;
margin-left: 220px;
}

#menu ul {
display: inline;
float: left;
margin-left: 1px;
width: 680px;
height: 41px;
list-style-type: none;
}

#menu ul li{
width: 112px;
height: 41px;
float: left;
position: relative;
}

#menu ul li a{
width: 112px;
float: left;
display: inline;
height: 41px;
background-image: url(../img/nav_mat.png);
}

a#yritysesittely, a:visited#yritysesittely {
background-position: 0px 0px;
}

a:hover#yritysesittely {
background-position: 0px -41px;
}

a#yritysesittely_active {
background-position: 0px -82px;
}

a#tuotteet, a:visited#tuotteet {
background-position: -111px 0px;
}

a:hover#tuotteet {
background-position: -111px -41px;
}

a#tuotteet_active {
background-position: -111px -82px;
}

a#ajankohtaista, a:visited#ajankohtaista {
background-position: -222px 0px;
}

a:hover#ajankohtaista {
background-position: -222px -41px;
}

a#ajankohtaista_active {
background-position: -222px -82px;
}

a#rekrytointi, a:visited#rekrytointi {
background-position: -333px 0px;
}

a:hover#rekrytointi {
background-position: -333px -41px;
}

a#rekrytointi_active {
background-position: -333px -82px;
}

a#yhteystiedot, a:visited#yhteystiedot {
background-position: -444px 0px;
}

a:hover#yhteystiedot {
background-position: -444px -41px;
}

a#yhteystiedot_active {
background-position: -444px -82px;
}

a#palaute, a:visited#palaute {
background-position: -555px 0px;
}

a:hover#palaute {
background-position: -555px -41px;
}

a#palaute_active {
background-position: -555px -82px;
}

#textarea {
background-color: #efefef;
margin-bottom: 20px;
height: auto;
margin-top: 10px;
}

#textarea p, h2 {
margin: 20px;
}

#textarea br {
margin-bottom: 0px;
}

.footer ul {
font-size: 0.8em;
list-style: none;
margin: 20px;
}

.footer ul li a {
text-decoration: none;
color: #444444;
}

#tarjous-teksti {
height: 110px;
width: 420px;
list-style-type: none;
font-weight: normal;
z-index: 1;
}

#tarjous-teksti li {
float: left;
position: relative;
z-index: 1;
height: 110px;
width: 460px;
margin-left: 0px;
margin-top: -24px;
}

#tarjous-teksti li img {
margin-left: 0px;
}

table {
margin: 2em 1em 1em 1em;
font-size: 0.8em;
}

table th{
margin: 1em;
border-bottom: 1px solid #444444;
text-align: left;
padding: 1em;
}

table tr td {
padding: 0.5em;
}

table tr td a, table tr td a:visited{
text-decoration: none;
color: #444444;
}

table tr td a:hover{
text-decoration: underline;
color: #444444;
}

#tnimi {
width: 600px;
}

.panel {
position: absolute;
z-index: 50;
top: 0px;
right: 0px;
display: none;
background: #ffffff;
width: 100px;
height: auto;
padding: 10px 100px 10px 20px;
filter: alpha(opacity=85);
opacity: .85;
}

.panel p{
margin: 0 0 5px 0;
padding: 0;
color: #444444;
text-indent: 0px;
font-size: 15px;
}

.panel a, .panel a:visited{
margin: 0;
padding: 0;
color: #444444;
text-decoration: none;
}

.panel a:hover, .panel a:visited:hover{
margin: 0;
padding: 0;
color: #888888;
text-decoration: none;
}

.trigger{
right: 0;
position: absolute;
z-index: 60;
text-indent: 0px;
font-size: 15px;
cursor: pointer;
float: right;
right: 10px;
top: 0px;
}

a.trigger{
height: 40px;
position: absolute;
text-decoration: none;
top: 0px; right: 10px;
font-family: verdana, helvetica, arial, sans-serif;
color:#ffffff;
padding: 0px 0px 0px 40px;
font-weight: 700;
background:#ffffff url(../img/plus.png) 15% 70% no-repeat;
display: block;
}

a.trigger:hover{
position: absolute;
text-decoration: none;
font-size: 0.8em;
font-family: verdana, helvetica, arial, sans-serif;
color:#fff;
padding: 0px 0px 0px 40px;
font-weight: 700;
background:#ffffff url(../img/plus.png) 15% 70% no-repeat;
display: block;
}
}

a.trigger.active {
background:#ffffff url(../img/minus.png) 15% 70% no-repeat;
}