/* reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  font-weight: normal;
  outline-style: none;
}

/*global*/
html {
  background: url(../images/html_bg.png);
}
body {
  font-size: 62.5%; /* 1em = 10px */
  font-family: Arial, Sans-Serif;
  background: url(../images/body_bg.png) top center repeat-y;
  color: #333;
  text-align: center;
  padding-bottom: 20px;
}
.container {
  margin: 0px auto;
  width: 980px;
  text-align: left;
}
.clearer {
  clear: both;
}
#header {
  position: relative;
  height: 103px;
}
h1 {
  font-size: 3em;
  position: absolute;
  left: 20px; top: 30px;
  z-index: 9999;
}
h2 {
  font-size: 30px;
  margin: 0 0 20px 0;
  color: #333;
  line-height: 26px;
  padding-bottom: 15px;
  padding-left: 30px;
  background: url(../images/arrows_red.png) 0 10px no-repeat;
  border-bottom: 1px solid #e1e8ed;
}
h3 {
  font-size: 24px;
  margin: 0 0 12px 0;
  color: #cb2d2d;
  line-height: 23px;
}
h4 {
  font-size: 14px;
  margin: 0 0 5px 0;
  line-height: 18px;
  color: #cb2d2d;
  font-family: "Trebuchet MS", Arial, sans-serif;
}
h5 {
  font-size: 12px;
  margin: 0 0 5px 0;
  font-weight: bold;
  color: #333;
  font-family: "Trebuchet MS", Arial, sans-serif;
}
strong {
  font-weight: bold;
}
p {
  margin: 0 0 15px;
  line-height: 1.5em;
  font-size: 12px;
  font-family: "Trebuchet MS", Arial, sans-serif;
}
a {
  text-decoration: none;
  color: #cb2d2d;
}
a:hover {
  text-decoration: underline;
}
hr {
  border: 0px;
  border-bottom: 1px solid #cad5de;
  margin: 0 0 20px 0;
}
#content.nobg hr {
  margin: 0 -20px 20px;
}
strong {
  font-weight: bold;
}
#iframe {
  background: #cad5de;
  padding: 5px;
}
#iframe div {
  overflow: hidden;
  width: 310px;
  height: 340px;
}
iframe {
  width: 310px;
  height: 343px;
  margin-top: -3px;
}
#content .double #iframe {
  margin-left: -20px;
  margin-right: -20px;
}
#menu {
  position: absolute;
  right: 20px; top: 30px;
}
#menu li {
  list-style: none;
  float: left;
  font-size: 17px;
  overflow: hidden;
  padding: 12px 0px 12px 0px;
}
#menu a {
  color: #222;
  text-decoration: none;
  padding: 10px 20px;
}
#menu a:hover {
  color: #555;
  text-decoration: none;
}
#menu .act a {
  background: url(../images/red_bg.png) repeat-x;
  color: #fff;
  cursor: default;
  border-bottom: 1px solid #fff;
}


/*banner*/
#banner {
  margin-left: 20px;
  width: 700px; height: 402px;
  overflow: hidden;
}
#banner ul, #banner li {
  list-style: none;
  margin: 0px; padding: 0px;
}
#banner ul {
  width: 700px; height: 402px;
  position: relative;
}
#banner li {
  position: absolute;
  left: 0px; top: 0px;
}
#banner-bottom {
  float: left;
  width: 700px;
  margin-left: 20px;
}
#banner-buttons{
  height: 10px;
  background: #fff;
  text-align: center;
  padding: 10px 0;
}
#banner-shadow {
  display: block;
}
.banner-button {
  height: 10px; width: 10px;
  background: #ccc;
  margin: 0 4px;
  display: inline-block;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}
.banner-button.act {
  background: red;
}

/**/
#breadcrumbs {
  float: left;
  width: 680px;
  padding-left: 20px;
  margin-left: 20px;
  padding-top: 10px;
  padding-bottom: 12px;
  vertical-align: middle;
}
#breadcrumbs a {
  font-size: 12px;
  vertical-align: middle;
  color: #fff;
}
#breadcrumbs span {
  font-size: 12px;
  vertical-align: middle;
  color: #fff;
}
#breadcrumbs a:hover {
  text-decoration: underline;
}
#breadcrumbs img {
  margin: 2px 10px 0;
  vertical-align: middle;
}

/*content*/
#content {
  padding: 20px;
  float: left;
  width: 660px;
  background: #fff url(../images/content_bg.jpg) bottom right no-repeat;
  margin-left: 20px;
  position: relative;
}
#content.nobg {
  background: none;
}
#content li {
  list-style: none;
  margin: 0 0 20px 0;
  font-size: 1.2em;
  padding: 0 0 0 20px;
  background: url(../images/li.png) 0 7px no-repeat;
}
#content.alasivu {
  float: left;
  width: 700px;
}


/*sidebar*/
#sidebar {
  float: right;
  width: 220px;
  margin-right: 20px;
}
.sidebar-menu {
  margin-bottom: 10px;
}
#sidebar .title {
  position: relative;
}
#sidebar .title:hover {
  text-decoration: none;
}
#sidebar .title img {
  position: absolute;
  right: 10px; top: 14px;
}
#sidebar .item  {
  position: relative;
  z-index: 1;
}
#sidebar .item img {
  position: absolute;
  top: 13px; left: 20px;
  display: none;
}
#sidebar .item:hover  {
  color: #cb2d2d;
  text-decoration: underline;
  z-index: 2;
  -moz-box-shadow: #999 0px 0px 3px;
  -webkit-box-shadow: #999 0px 0px 3px;  
}
#sidebar .item:hover img {
  display: block;
}
#sidemenu li {
  list-style: none;
  margin-bottom: 3px;
}
#sidemenu li ul {
  background: #20729f url(../images/subtitles_bg.png) top left no-repeat;
  padding-top: 2px;
}
#sidemenu li ul li {
  border-bottom: 1px solid #1f6890;
  border-top: 1px solid #2b9ac1;
  margin: 0px;
}
#sidemenu li ul li a {
  color: #042231;
  font-size: 14px;
  text-shadow: #2fa8cd 0px 1px 0px;
  display: block;
  padding: 5px 20px;
}
#sidemenu li ul li.first {
  border-top: 1px solid transparent;
}
#sidemenu li ul li.last {
  border-bottom: 1px solid transparent;
}
#sidemenu li ul li a:hover {
  padding-left: 22px;
}
#slogan {
  text-align: center;
  font-size: 20px;
  line-height: 22px;
  color: #333;
  text-shadow: #fff 0px 1px 0px;
  margin: 30px 10px;
}


/*footer*/
#footer {
  background: #b1bbc3 repeat-x;
  text-align: center;
  color: #fff;
  font-size: 1.2em;
  position: relative;
  width: 940px;
  margin-left: 20px;
  margin-top: 20px;
  height: 40px;
}
#copyr {
  position: absolute;
  top: 12px; left: 20px;
  color: #fff;
}
#mf {
  position: absolute;
  right: 20px; top: 14px;
}
#autonomy {
  position: absolute;
  right: 118px; top: 12px;
}
#footer-logo {
  position: absolute;
  left: 20px; top: 20px;
}
#footer-menu {
  position: absolute;
  top: 30px; left: 110px;
}
#footer-menu li {
  list-style: none;
  float: left;
  margin-right: 20px;
}
#footer-menu a {
  color: #040a0d;
  text-shadow: #e3e6eb 0px 1px 0px;
  text-transform: uppercase;
}



/*classes*/
.col {
  float: left;
  margin-right: 20px;
}
.col.last {
  margin-right: 0px !important;
}
.double {
  width: 420px;
  padding: 0 20px;
  margin-bottom: 10px;
}
#content .double {
  width: 280px;
  padding: 0px;
  padding: 0 20px;
}
#content .double .title {
  margin-left: -20px;
  margin-right: -20px;
  margin-bottom: 10px;
}
#content .double.nomargin .title {
  margin-left: 0px;
  margin-right: 0px;
}
.double.nomargin.last {
  margin-right: 0px !important;
}
.quad {
  width: 220px;
}
.single {
  width: 660px;
}
.btn {
  text-decoration: none;
  padding: 5px 10px;
  cursor: pointer;
}
.btn.arrowed {
  position: relative;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  border: 1px solid #d9e1e7;  
  background: #fff;
  color: #093079;
  padding: 5px 15px 5px 15px;
  font-size: 14px;
  display: inline-block;
  margin-right: 10px;
}
.btn.arrowed:hover {
  text-decoration: none;
}
.btn.arrowed img {
  position: absolute;
  right: 10px; top: 9px;
}
.red {
  background: #c12323 url(../images/red_bg.png) repeat-x;
  color: #fff;
  text-shadow: #b61616 0px -1px 0px;
}
.gray {
  background: url(../images/gray_bg.png) repeat-x;
  color: #333;
  text-shadow: #fff 0px 1px 0px;
}
.gray.tall {
  background: #e1e8ed url(../images/gray_bg_tall.png) repeat-x;
}
.gray.short {
  background: url(../images/gray_bg_short.png) repeat-x;
}
.dark {
  background: url(../images/dark_bg.png) repeat-x;
  color: #fff;
}
.title {
  font-size: 17px !important;
  display: block;
  padding: 10px 20px;
}
.title.gray {
 border: 1px solid #e1e8ed;
}
.item {
  display: block;
  padding: 8px 20px;
  font-size: 12px;
}
.item.gray {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #ddd;
}
.item.gray.first {
  border-top: 0px;
}
.item.gray.last {
  border-bottom: 0px;
}
.pvm {
  color: #cb2d2d;
  margin-bottom: 0px;
}
.linkbox {
  display: block;
  border: 1px solid transparent;
  overflow: hidden;
  width: 218px;
  margin-bottom: 15px;
}
.linkbox:hover {
  -moz-box-shadow: #999 0px 2px 5px;
  -webkit-box-shadow: #999 0px 2px 5px;
  border: 1px solid #eee;
  text-decoration: none;
}
.linkbox img {
  display: block;
  width: 220px;
  margin-bottom: 1px;
}
.linkbox .title {
  text-align: center;
  font-size: 12px !important;
  padding-left: 0px;
  padding-right: 0px;
}
.title a:hover {
  text-decoration: none;
}
.linkbox:hover span {
  text-decoration: none;
}

/*etusivu*/
#etusivu-links {
  margin-left: 20px;
  margin-top: 15px;
  margin-bottom: 0px;
  float: left;
  width: 700px;
}


/*tuotteet*/
#cats {

}
#cats .linkbox {
  width: 208px;
  border: 0px;
}
#cats .quad {
  width: 208px;
  margin-right: 17px;
}
#cats .linkbox:hover {
  -moz-box-shadow: #ccc 0px 2px 5px;
  -webkit-box-shadow: #ccc 0px 2px 5px;
  text-decoration: none;
}
#cats .linkbox img {
  width: 206px; height: 137px;
  border: 1px solid #ddd;
}


/*tuotelistaus*/
#product-list {

}
#product-list .title .spacer {
  width: 102px; height: 20px;
  display: inline-block;
  margin-right: 10px;
}
#product-list .title {
  border: 1px solid #e1e8ed;
  padding-left: 0px;
  padding-right: 0px;
}
#product-list .name {
  width: 400px;
  display: inline-block;
  vertical-align: middle;
}
#product-list .price {
  width: 100px;
  display: inline-block;
  vertical-align: middle;
}
.product {
  border-right: 1px solid #e1e8ed;
  border-left: 1px solid #e1e8ed;
  padding: 10px 0;
  display: block;
  vertical-align: middle;
  font-size: 14px;
  z-index: 1;
  position: relative;
}
.product:hover {
  color: #cb2d2d;
  z-index: 2;
  -moz-box-shadow: #777 0px 0px 3px;
  -webkit-box-shadow: #777 0px 0px 3px;   
  text-decoration: none;
}
.product .img {
  width: 82px; height: 60px;
  padding-left: 10px;
  padding-right: 10px;
  display: inline-block;
  vertical-align: middle;
  border-right: 1px solid #fff;
  margin-right: 10px;
}
.product .img div{
  width: 80px; height: 60px;
  border: 1px solid #ddd;
  background:#fff url() no-repeat center center;
}

/*tuotekortti*/
#kortti-kysy {
  position: absolute;
  top: 25px; right: 20px;
}
#kortti-kysy .arrowed {
  margin: 0px;
}
.col.nomargin {
  margin-left: 0px !important;
  padding: 0px !important;
  width: 320px !important;
}
.product-img-big {
  border: 1px solid #ddd;
  width: 318px;;
  float: left;
  margin-bottom: 10px;
}
.product-img-small {
  border: 1px solid #ddd;
  float: left;
  margin-right: 12px;
  margin-bottom: 10px;
  width: 69px; height: 50px;
  overflow: hidden;
}
.product-img-small span {
	display:block;
	height:50px;
	width:69px;
	background:#fff url() no-repeat center center;
}
.product-img-small.last {
  margin-right: 0px;
}
.product-price {
  margin-top: 10px !important;
}
.product-price strong {
  vertical-align: middle;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  border: 1px solid #d9e1e7;  
  background: #fff;
  color: red;
  padding: 5px 15px 5px 15px;
  font-size: 20px;
  margin-right: 10px;
  line-height: 20px;
  display: inline-block;
}
.product-price span {
  vertical-align: middle;
}
.double table {
  margin-right: -20px;
  margin-left: -20px;
  width: 318px;
}
.double.nomargin table {
  margin-right: 0px;
  margin-left: 0px;
  width: 318px;
}
table {
  border: 1px solid #E0E8ED;
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 12px;
  font-family: "Trebuchet MS", arial, sans-serif;
}
tr.even td {
  background: #E0E8ED;
}
td {
  padding: 5px 10px;
  background: #F0F4F7;
}
td.first {
  border-right: 1px solid #fff;
  color: #093079;
  font-weight: bold;
}


/*käyttäjätuki*/
.tab {
  margin-bottom: 20px;
  font-size: 12px;
}
.tab .content {
  border: 1px solid #ddd;
  border-top: 0px;
}
.tab .row {
  margin: 0 10px;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  z-index: 1;
  position: relative;
}
.tab .row:hover {
  -moz-box-shadow: #777 0px 0px 3px;
  -webkit-box-shadow: #777 0px 0px 3px;
  z-index: 2;
  margin: 0px;
  padding: 10px 20px;
  border-bottom: 1px solid transparent;
}
.tab .row.last {
  border: 0px;
}
.tab .row a {
  float: right;
  padding: 0 10px;
  border-left: 1px solid #ddd;
}
.tab .name {
  float: left !important;
  border: 0px !important;
  padding: 0px !important;
}
.tab a.pdf {
  background: url(../images/pdf_icon_16.gif) 10px 0px no-repeat;
  padding-left: 35px;
  vertical-align: middle;
}
.trigger {
  background: url(../images/btn_bg.png) repeat-x;
  color: #333;
  font-size: 12px;
  float: right;
  margin-top: -2px;
  border: 1px solid #cad5de;
  padding: 3px 8px;
}
.tab form {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
}
.tab .single {
  margin-left: 20px;
  width: 620px;
  padding-top: 20px;
}
.tab .single p {
  margin-bottom: 10px;
}
.tab .single hr {
  border-bottom: 1px solid #eee;
}

/*vikailmoitus*/
.field_wrapper {
  margin-bottom: 5px;
  vertical-align: middle;
}
.field_wrapper span, .field_wrapper .radio, .field_wrapper label {
  vertical-align: middle;
}
.field_wrapper.radio {
  padding: 5px 10px;
}
form .double {
  width: 298px !important;
  padding: 0px !important;
  margin: 0px !important;
}
form .double.first {
  margin-right: 20px !important;
}
form .single {
  margin: 0px !important;
  padding: 0px !important;
}
input.text, textarea {
  background: #fff url(../images/gray_bg_short.png) bottom repeat-x;
  border: 1px solid #cad5de;
  padding: 5px 10px;
  font-family: Arial, sans-serif;
  font-size: 12px;
}
form .double .text, form .double textarea {
  width: 278px;
}
textarea {
  height: 150px;
}
form hr {
  margin-bottom: 10px;
}
form p {
  font-family: Arial, sans-serif;
  font-size: 12px !important;
  padding: 5px 10px;
}
select, option {
  background: transparent;
  border: 1px solid #cad5de;
}
select {
  background:  url(../images/gray_bg_short.png) bottom repeat-x;
  border: 1px solid #cad5de;
}
.double select {
  width: 300px;
  padding: 5px 10px;
}
.button_reset {
  display: none;
}
.button_submit {
  text-align: right;
  padding-right: 2px;
}
.button_submit input {
  background: url(../images/dark_bg.png) repeat-x;
  border: 0px;
  padding: 5px 10px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
}
.button_submit input:hover {
  -moz-box-shadow: #777 0px 0px 3px;
  -webkit-box-shadow: #777 0px 0px 3px;
}
.error {
  color: red !important;
}