body {
  background: #fff url('../img/head-bottom-border.gif') repeat-x 0 52px;
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: 'Arial', sans-serif;
  font-size: 11px;
  line-height: 16px;
  color: #222;
}

#head-wrap {
  width: 800px;
  margin: 10px auto 0 auto;
  text-align: left;
  position: relative;
  height: 53px;
}

#head-inner {
  margin: 0;
  position: relative;
  height: 53px;
}


/**
 * Topnavi bar
 */

#logo {
  position: absolute;
  top: 5px;
  left: -40px;
}

#lang {
  float: right;
  margin-right: 120px;
  margin-top: 5px;
}

#topnavi {
  position: absolute;
  top: 19px;
  left: 75px;
  height: 23px;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#topnavi li {
  width: 114px;
  height: 23px;
  float: left;
  margin: 0 -8px 0 0;
  z-index: 5;
}

#topnavi li:hover, #topnavi li.selected {
  z-index: 10;
}

#language {
  width: 150px;
  height: 23px;
  position: absolute;
  top: 15px;
  right: 50px;
  margin: 0;
  padding: 0;
  font-weight: bold;
  font-size: 11px;
}

#language a {
  color: #88c864;
  text-decoration: none;
}

#language a:hover {
  text-decoration: underline;
}


/**
 * Search bar
 */

#search {
  width: 112px;
  height: 23px;
  position: absolute;
  top: 15px;
  right: 50px;
  margin: 0;
  padding: 0;
}


#search input.keyword {
  background: transparent url('/files/encore/img/search-bg-v2.gif') no-repeat;
  padding: 3px 0 0 5px;  
  width: 76px; 
  height: 16px;
  border: solid 0px #fff;
  color: #008232;
  font-family: 'Arial', sans-serif;
  font-size: 12px;
  position: absolute;
  top: 2px;
  left: 4px;
}

#search input.button {
  position: absolute;
  top: 0;
  right: 0;
}

.search_box {
  background: transparent url('../img/search-bg.gif') no-repeat 0 2px;
  width: 165px;
  height: 23px;
  border: #fff solid 0px;
  font-family: 'Arial', sans-serif;
  font-size: 12px;
  padding: 4px 0 0 6px;
}

/**
 * Welcomer
 */

#welcomer-wrap {
  background: url('../img/wrap-bg-2.gif') repeat-x 0 219px;
  margin: 0;
}

#welcomer {
  margin: 0 auto 0 auto;
  width: 890px;
  background: url('../img/welcomer.jpg') no-repeat;
  height: 328px;
  position: relative;
  left: -37px;
}


/**
 * Frontpage columns
 */

#content-wrap {
  background: url('../img/wrap-bg-3.gif') repeat-x bottom;
}

#content-wrap.for-subpage {
  background: url('../img/wrap-bg-3.gif') repeat-x bottom;
}

#content {
  width: 800px;
  margin: 0 auto 0 auto;
  text-align: left;
}

.col {
  float: left;
  margin-right: 3px;
  display: inline;
}
#testi {
  background: url('../img/col-palvelumme-bg.jpg') no-repeat top;
  width: 168px;
  height: 210px;
  margin-left: 45px;
}
#testi ul {
  margin: 45px 5px 0 15px;
  padding: 0;
  list-style-type: none;
  font-family: 'Tahoma', sans-serif;
  font-size: 10px;
}



#palvelumme {
  background: url('../img/col-palvelumme-bg.jpg') no-repeat top;
  width: 168px;
  height: 210px;
  margin-left: 45px;
}

#palvelumme ul, #ajankohtaista ul {
  margin: 45px 0px 5px 15px;
  padding: 0px;
  list-style-type: none;
  font-family: 'Tahoma', sans-serif;
  font-size: 10px;
}

#palvelumme li, #ajankohtaista li {
  margin: 0px 0px 6px 0px;
  padding: 0px 0px 0px 0px;
  line-height: 12px;
}

#palvelumme a, #ajankohtaista a {
  background: url('../img/green-mini-arrow.gif') no-repeat right;
  padding-right: 10px;
  color: #008232;
  text-decoration: none;
}

#palvelumme a:hover, #ajankohtaista a:hover {
  text-decoration: underline;
}

#nayteikkuna {
  background: url('../img/col-nayteikkuna-bg.jpg') no-repeat top;
  width: 314px;
  height: 165px;
  padding: 45px 15px 0 15px;
  position: relative;
}

#nayteikkuna div.ikkunatuote {
  float: left;
  width: 145px;
}


#nayteikkuna div.ikkunakuva {
  border: 1px solid #008232;
  margin: 0px 15px 8px 0px;
  text-align: center;
  height: 85px;
  overflow: hidden;
}

#nayteikkuna div.ikkunakuva img{
 margin: 0px 0px 0px 0px;
}

#nayteikkuna div.ikkunateksti {
  float: right;
  width: 165px;
}



#nayteikkuna h1 {
  margin: 0;
  font-size: 11px;
  color: #008232;
}

#nayteikkuna p {
  margin: 0;
}

#nayteikkuna p a {
  color: #008232;
  background: url('../img/green-mini-arrow.gif') no-repeat right;
  padding-right: 10px;
  text-decoration: none;
}

#nayteikkuna a:hover {
  text-decoration: underline;
}

#ajankohtaista {
  background: url('../img/col-ajankohtaista-bg.jpg') no-repeat top;
  width: 207px;
  height: 210px;
  position: relative;
}

#ajankohtaista_newsbox {
  width: 140px;
  height: 140px;
  position: absolute;
  top: 45px;
  left: 13px;
}

/**

 * Subpage holder
 */

#subpage-holder {
  position: relative;
  margin: 10px auto 0 auto;
  width: 773px;
  background: url('../img/subpage-holder-bg.gif') repeat-y left;
  text-align: left;
}

#subpage-holder .top {
  height: 17px;
  background: url('../img/subpage-holder-top.gif') repeat-y left;
}

#subpage-holder .bottom {
  clear: both;
  height: 17px;
  background: url('../img/subpage-holder-bottom.gif') repeat-y left;
}

#subpage-navi {
  margin: 25px 0 15px 30px;
  width: 140px;
  float: left;
  display: inline;
}

#subpage-navi h1 {
  font-size: 24px;
  margin: 5px 0 20px 0;
  text-align: right;
  display: block;
}

#subpage-navi h1 img {
  display: inline;
}

#subpage-navi div, #subpage-navi a{
  clear: both;
  display: block;
  margin: 0px 0px 0px 0px;
  text-align: right;
}

#subpage-navi div img {
  margin: 3px 0px 3px 0px;
}

#subpage-navi a {
  padding: 3px 10px 3px 0;
  background: transparent url(../img/green-mini-arrow.gif) no-repeat right;
  line-height: 1px;
}

#sub_subnav {
  padding: 5px 0 15px 0;
}

a.sublevel, #sub_subnav a {
  color: #fc7216;
  text-decoration: none;
  background: transparent url(../img/orange-mini-arrow.gif) no-repeat right;
  font-size: 10px;
  line-height: 12px;
}

a.sublevel:hover, #sub_subnav a:hover {
  text-decoration: underline;
}

#subpage-content {
  margin: 27px 0 20px 30px;
  width: 450px;
  min-height: 440px;
  float: left;
  display: inline;
  font-size: 12px;
}

#subpage-content h1 {
  color: #008232;
  font-size: 22px;
  font-weight: normal;
/*  height: 22px;*/
  margin: 0px 0px 7px 0px;
/*  padding: 0px 0px 0px 0px;*/
  line-height: 1em;
  overflow: hidden;
}

#subpage-content h2 {
  color: #008232;
  font-size: 12px;
  margin: 0px 0px 14px 0px;
}

#subpage-content ul {
  margin-left: 20px;
  padding-left: 0;
}

#subpage-content li {
  margin-left: 0;
}

#subpage-content a {
  color: #fc7216;
  text-decoration: none;
}

#subpage-content a:hover {
  text-decoration: underline;
}

#person-right {
  position: absolute;
  top: 40px;
  left: 656px;
}

#person-small {
  position: absolute;
  bottom: 0;
  left: -20px;
}

#page-functions {
  clear: both;
  margin: 0;
  padding: 20px 0px 0px 0px;
}

#page-functions a.takaisin {
  background: url('../img/icon-takaisin.gif') no-repeat left;
  padding: 4px 0 3px 13px;
  color: #008232;
}

#page-functions a.tulosta {
  background: url('../img/icon-tulosta.gif') no-repeat right;
  padding: 4px 28px 3px 0;
  color: #008232;
}

#page-functions a.kerro-kaverille {
  background: url('../img/icon-laheta.gif') no-repeat right;
  padding: 4px 28px 3px 0;
  color: #008232;
}

#myyntinayttely_left {
  width: 338px;
  float: left;
  display: inline;
  margin-right: 10px;
  padding: 15px 0 0 0;
}

#myyntinayttely_right {
  width: 100px;
  float: left;
  display: inline;
  padding: 15px 0 0 0;
  font-size: 11px;
}

#myyntinayttely_right a {
  background: url('../img/green-mini-arrow.gif') no-repeat left;
  display: block;
  padding: 3px 0 3px 14px;
  border-top: 1px solid #dbdbdb;
  color: #333;
}

#hakutulokset-sivujako {
margin-top: 10px;
color: #888888;
font-size: 12px;
}

#hakutulokset-sivujako a {
font-weight: bold;
color: #008232;
text-decoration: none;
}

#hakutulokset-sivujako a:hover{
font-weight: bold;
color: #008232;
text-decoration: underline;
}

#myyntinayttely-haku {
  display: block;
  padding: 10px 0 10px 0;
  border-bottom: 1px solid #ddd;
}

#myyntinayttely-haku select {
  width: 120px;
  margin-left: 15px;
}

#myyntinayttely-haku input.button {
  vertical-align: bottom;
}

.myyntinayttely-tuote-pieni {
  clear: both;
  margin: 0px 0px 5px 0px;
  padding: 5px 5px 5px 100px;
  position: relative;
}

.myyntinayttely-tuote-pieni p.img {
  position: absolute;
  border: 1px solid #fff;
  margin: 0 0 0 -100px;
  width: 76px;
  height: 50px;
  text-align: center;
  cursor: pointer;
}

.myyntinayttely-tuote-pieni a, div#hakutulokset div.myyntinayttely-tuote-pieni a {
  margin: 0 0 5px 0;
  font-weight: bold;
  font-size: 12px;
  color: #008232;
}

.myyntinayttely-tuote-pieni p {
  margin: 0 0 5px 0;
}


/*
 * Forms
 ****/

.text_input {
 width: 250px;
}


/**
 * Footer
 */

#footer {
  clear: both;
  margin: 0 auto 0 auto;
  font-size: 9px;
  height: 58px;
  width: 800px;
}

#footer .footer-left {
  float: left;
  margin: 0 0 0 40px;
  width: 210px;
  color: #14902d;
  display: inline;
}

#footer .footer-center {
  float: left;
  margin: 0;
  width: 350px;
  color: #fe8e2a;
  display: inline;
}

#footer .footer-center a {
  color: #fe8e2a;
  text-decoration: none;
}

#footer .footer-center a:hover {
  text-decoration: underline;
}

#kuvaslider_holder {
  position: relative;
  height: 222px;
  overflow: hidden;
  border: 1px solid #bbb;
}

#kuvaslider  {
  position: absolute;
  left: 0;
  width: 10000px;
}

#kuvaslider div {
  width: 338px;
  position: absolute;
  top: 0;
  text-align: center;
}

#kuvaslider_valikko {
  margin: 5px 0 15px 0;
}

#kuvaslider_valikko img {
  border: 1px solid #bbb;
  margin-right: 5px;
  cursor: pointer;
}


/**
 * sIFR
 */

.sIFR-flash {
	visibility: visible !important;
	margin: 0;
}

.sIFR-replaced {
	visibility: visible !important;
}

span.sIFR-alternate {
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 0;
	display: block;
	overflow: hidden;
	letter-spacing: 0;
}

.sIFR-hasFlash h1 {
	visibility: hidden;
/*  line-height: 27px;*/
}
/*
.sIFR-hasFlash h2 {
	visibility: hidden;
	letter-spacing: -9px;
	font-size: 55px;
}

.sIFR-hasFlash h3 {
	visibility: hidden;
	letter-spacing: -6px;
	font-size: 25px;
}

.sIFR-hasFlash h4 {
	visibility: hidden;
	letter-spacing: -5px;
	font-size: 21px;
}

.sIFR-hasFlash h5#pullquote {
	letter-spacing: -4px;
	visibility: hidden;
	font-size: 24px;
}
*/

a img {
  border: 0;
}

div.cmHotspot {
  position: relative;
}


/* Kutsu 
---------------*/

#kutsu_body {
  background: #008232;
  text-align: left;
}

#kutsu_container {
  width: 829px;
  height: 700px;
  position: relative;
  margin: 0 auto;
  padding: 0px;
  background: transparent url(/files/encore/img/kutsu_bg.gif) top no-repeat;
}

#kutsu_txt {
  padding: 100px 0 0 250px;
  color: #000000;
  width: 390px;
}

#kutsu_txt img,
img.alpha {
  behavior: url(/files/encore/js/iepngfix.htc);
}

.kutsu_input {
  width: 152px;
  height: 19px;
  background:  transparent url(/files/encore/img/kutsu_input.gif) no-repeat;
  border: solid 0px #fff;
  padding: 1px 0 0 4px;
}

.kutsu_form input.alert{
  width: 149px;
  height: 19px;
  background:  transparent url(/files/encore/img/kutsu_input_alert.gif) no-repeat top;
  border: solid 0px #fff;
  padding: 1px 0 0 4px;
}

.kutsu_cell {
  font-size: 13px;
  font-weight: bold;
}

div.eikuvaa {
  width: 150px;
  height: 200px;
  background: #eeeeee;
  color: #cccccc;
  font-weight: bold;
  text-align: center;
}

div.eikuvaa p {
   margin-top: 90px;
}

p.red {
  font-weight: bold;
  color: #dd2633;
  font-size: 13px;
  display:none;
}

div.clearer {
  clear: both;
  height: 0px;
  line-height: 0px;
  font-size: 0px;	
  margin: 0px;
  padding: 0px;
}

th {
 font-weight: normal;
}

input.ngformError, select.ngformError, textarea.ngformError, input.checkbox.ngformError, input.file.ngformError { 
	border: 1px solid red;
	outline: 1px solid red;
}

/* Muutospyyntölomake 
---------------*/
table.muutoslomake {
        width: 100%;
}
table.muutoslomake td {
        width: 370px;
}
table.muutoslomake input[type="text"] {
        width: 95%;
}
table.muutoslomake textarea {
        width: 95%;
}


/*

  Customer magazine order form styles

*/

#customermagazine label,
#customermagazine input.text
{
  display: block;
  margin: 0 0 5px 0;
}

#customermagazine input.text
{
  width: 300px;
}


#customermagazine .ngformError input
{
  border: 2px solid red;
}
