/* --------------------------------------------------------------
 
   reset.css
   * Resets default browser CSS.
 
-------------------------------------------------------------- */
 
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, dialog, figure, footer, header,
hgroup, nav, section {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}
 
article, aside, dialog, figure, footer, header,
hgroup, nav, section {
    display:block;
}
 
body {
  line-height: 1.5;
}
 
/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }
 
/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
 
/* Remove annoying border on linked images. */
a img { border: none; }

/* --------------------------------------------------------------
 
   typography.css
   * Sets up some sensible default typography.
 
-------------------------------------------------------------- */
 
/* Default font settings.
   The font-size percentage is of 16px. (0.75 * 16px = 12px) */
html { font-size:100.01%; }
body {
  font-size: 12px;
  color: #222;
  background: url(../img/tausta.png) repeat-x;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}
 
 
/* Headings
-------------------------------------------------------------- */
 
h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #111; }
 
h1, #site-title { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
h2, #description { font-size: 2em; margin-bottom: 0.75em; }
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }
 
h1 img, h2 img, h3 img,
h4 img, h5 img, h6 img {
  margin: 0;
}
 
 
/* Text elements
-------------------------------------------------------------- */
 
p           { margin: 0 0 1.5em; }
p img.left  { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }
 
a:focus,
a:hover     { color: #000; }
a           { color: #6c0021;
}
h1 a, h2 a, h3 a, h4 a, h5 a {
			  text-decoration: none;
}
 
blockquote  { margin: 1.5em; color: #666; font-style: italic; }
strong      { font-weight: bold; }
em,dfn      { font-style: italic; }
dfn         { font-weight: bold; }
sup, sub    { line-height: 0; }
 
abbr,
acronym     { border-bottom: 1px dotted #666; }
address     { margin: 0 0 1.5em; font-style: italic; }
del         { color:#666; }
 
pre         { margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }
 
 
/* Lists
-------------------------------------------------------------- */
 
li ul,
li ol       { margin: 0; }
ul, ol      { margin: 0 1.5em 1.5em 0; }
 
ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }
 
dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;}
 
 
/* Tables
-------------------------------------------------------------- */
 
table       { margin-bottom: 1.4em; width:100%; }
th          { font-weight: bold; }
thead th    { background: #c3d9ff; }
th,td,caption { padding: 4px 10px 4px 5px; }
tr.even td  { background: #e5ecf9; }
tfoot       { font-style: italic; }
caption     { background: #eee; }
 
 
/* Misc classes
-------------------------------------------------------------- */
 
.small, aside      { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
.large      { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
.hide       { display: none; }
 
.quiet      { color: #666; }
.loud       { color: #000; }
.highlight  { background:#ff0; }
.added      { background:#060; color: #fff; }
.removed    { background:#900; color: #fff; }
 
.first      { margin-left:0; padding-left:0; }
.last       { margin-right:0; padding-right:0; }
.top        { margin-top:0; padding-top:0; }
.bottom     { margin-bottom:0; padding-bottom:0; }
.clear 		{ clear: both;}


/* --------------------------------------------------------------
 
   layout
 
-------------------------------------------------------------- */

body {text-align: center}

#wrap {
	width: 690px;
	height: 465px;
	position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  text-align: left;
  #position: static;
}

.page #wrap {
	background: url(../img/tausta-sisasivu3.jpg) no-repeat scroll;
}

.home #wrap {
	background: url(../img/tausta-etusivu3.jpg) no-repeat scroll;
}

#header {
	float: left;
	width: 221px;
	height: 465px;
	position: relative;
}

#description {
	position: absolute;
	top: 0;
	margin-top: 80px;
	width: 210px;
	color: #b9b7b7;
	text-transform: uppercase;
	font-size: 20px;
	text-align: right;
	line-height: 25px;
}


#description2 {
	position: absolute;
	top: 0;
	right: 0;
	margin-top: 265px;
	text-align: right;
	color: #b9b7b7;
	font-size: 18px;
	margin-right: 20px;
	letter-spacing: 1px;
	margin-bottom: 0;
}

#site-title {
	position: absolute;
	top: 160px;
	width: 240px;
	right: 20px;
}

#site-title a {
	display: block;
	height: 59px;
	width: 203px;
	background: url(../img/logo.png);
	text-indent: -9000px;
	margin-left: 50px;
}

#content {
	float: left;
	width: 400px;
	height: 395px;
	margin-top: 10px;
	padding-left: 40px;
	position: relative;
}

.page-id-3 #content, .page-id-17 #content {
	width: 400px;
}

.page-id-4 #content, .page-id-16 #content {
	width: 400px;
}

.page-id-5 #content, .page-id-15 #content {
	margin-top: 10px;
	height: 395px;
}

.procountor-banner {
	margin-bottom: 15px;
	font-weight: bold;
}

.procountor-banner .clear {
	margin-bottom: 15px;
}

.procountor-banner img {
	float: left;
	margin-right: 10px;
}

#footer {
	float: left;
	width: 469px;
}

#nav ul {
	list-style: none;
	margin: 0 0 0 0px;
}

#nav li {
	float: left;
}

.page_item a, .page_item a .hover {
	display: block;
	padding: 5px;
	font-size: 10px;
	width: 105px;
	height: 40px;
	text-transform: uppercase;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
}

.page-item-7 a {
	width: 54px;
}

.page .current_page_item a {
	color: white;
	background-color: #B7909B;
}

.home .current_page_item a {
	background-color: transparent;
}

.home #nav ul {
	margin: 0;
}

.home #nav .page_item a, .home #nav a .hover {
	height: 43px;
	width: 107px;
	font-size: 10px;
	text-align: center;
}

.home #nav  .page_item a, .home #nav a .hover {
	padding-top: 408px;
	padding-bottom: 13px;
}

.home #nav  .page-item-6 a, .home #nav .page-item-6 a .hover {
	width: 107px;
	text-align: left;
	text-indent: 20px;
}

.home #nav .highlight .page_item a:hover, .home #nav .page_item a .hover{
	background-image: url(../img/tausta-etusivu3.png);
	color: white;
}

.home #nav  .highlight .page-item-4 a:hover, .home #nav .highlight .page-item-16 a:hover, .home #nav .page_item-4 a .hover
, .home #nav .page_item-16 a .hover {
	background-position: 469px 465px;
}

.home #nav  .highlight .page-item-5 a:hover, .home #nav .highlight .page-item-15 a:hover
, .home #nav .page_item-5 a .hover, .home #nav .page_item-15 a .hover {
	background-position: 352px 465px;
}

.home  #nav  .highlight .page-item-3 a:hover, .home #nav  .highlight .page-item-17 a:hover
, .home #nav .page_item-3 a .hover, .home #nav .page_item-17 a .hover {
	background-position: 235px 465px;
}

.home #nav  .highlight .page-item-6 a:hover, .home #nav  .highlight .page-item-19 a:hover
, .home #nav .page_item-6 a .hover, .home #nav .page_item-19 a .hover {
	background-position: 117px 465px;
}

ul#homelink {
	position: absolute;
	top: 408px;
	right: 0;
	list-style: none;
	
}

#homelink li {
	float: right;
	text-align: right;
}

#homelink a {
	color: white;
	height: 30px;
	margin-top: -2px;
	font-size: 12px;
}

#homelink .current_page_item {
	color: black;
}

/* Language list */
.language_list {
	position: absolute;
	top: 10px;
	right: 0;
	
}
.language_list ul{list-style:none;margin: 0 10px 0 0;padding:0;float: right; width: 300px; text-align: right}
.language_list ul li img{margin-right:5px;}
.language_list ul li{display:inline;margin:0 5px 0 5px;padding:0;}
.language_list ul li a,.language_list ul li a:visited{text-decoration:underline;padding:5px;color: #ccc}
.language_list ul li a:hover,.language_list ul li a:active{color:#fff;background:#39000f}

/* Map */
#contact-map {
	position: absolute;
	right: 0;
	top: 0;
}
