﻿/* CSS Document */

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 {
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
	margin-top: 0;
	margin-right: 10;
	margin-bottom: 0;
	margin-left: 10;
}


ol, ul {
	list-style: none;
}



/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}


/* RESETTING PÄÄTTYY */


body
{
width:800px;
margin:0px auto;
background-color:#f1f7fc;
font-family: Helvetica, sans-serif;
}

/* NAVIGATION */

#nav {
	margin: 0;
	padding: 0 0 0px 0px;
	background-image: url(../i/nav_bg.jpg);
	width: 800px;
	height: 29px;
	}

#nav li {
	margin: 0; 
	padding: 0px 0 0 0;
	display: inline;
	list-style-type: none;
	}
	
#nav a:link, #nav a:visited {
	float: left;
	font-size: 12px;
	line-height: 29px;
	font-weight: bold;
	padding: 0px 12px 0px 12px;
	text-decoration: none;
	color: #124678;
	}

#nav a:link.active, #nav a:visited.active, #nav a:hover {
	color: #e6610b;
	/*background: url(../i/palkki.gif) no-repeat bottom center;*/
	}

#clear {
clear: both;
} 

#footer {
padding: 0px;
clear: both;
border-top: 0px solid #1079ab;
margin:0 0px;
} 

#banner
{
background-image: url(../i/banner.jpg);
width: 800px;
height:302px;
}

#oikea
{
float: right;
width: 370px;
margin-top: 15px;
padding-right: 10px;
padding-bottom: 0;
padding-left: 10px;
}

.etumainos
{
padding: 5px;
float: right;
}

#keski
{
width: 390px;
margin-left: 230px;
padding: 10px 15px 20px;
}

#keski_pankki
{
width: 545px;
margin-left: 220px;
border-left: 1px solid #1079ab;
padding: 20px 5px 0px 15px;
}

#vasen
{
float: left;
width: 200px;
margin-top: 0px;
padding-top: 20px;
padding-left: 15px;
padding-right: 15px;
}

.news
{
width: 350px;
margin: 15px;
}

h1
{
font-size:14px;
font-weight:bold;
color:#1079ab;
padding:4px;
}

h3{
font-size:12px;
font-weight:bold;
color:#1079ab;
margin-bottom:4px;
text-decoration:underline;
}

h4{
font-size:12px;
font-weight:bold;
color:#1079ab;
margin-bottom:4px;
}

h5
{
font-size: 12px;
font-weight: bold;
color: #e6610b;
text-decoration: underline;
}

h6
{
font-size: 12px;
font-weight: bold;
color: #e6610b;
}

p{
padding:4px;
font-size:12px;
color:#3d3d3d;
}

p.copy{
	text-align:center;
	font-size:10px;
	color:#cccccc;
}

p.keski{
text-align:center;
}

p.date{
font-size:11px;
font-style:italic;
color:#2072b6;
}

p.newsdate{
float:right;
font-size:11px;
font-style:italic;
color:#2072b6;
padding: 0px;
}

a:active{
color:#12465e;
}

a.title{
font-size:12px;
font-weight:bold;
color:#1079ab;
}

a.sub2{
font-weight:bold;
font-size:12px;
color:#e6610b;
}

a.sub22{
font-weight:bold;
font-size:12px;
color:#e6610b;
text-decoration:none;
}

a.sub{
font-size:12px;
color:#1079ab;
font-weight:bold;
text-decoration:none;
}

a.sub3{
font-size:12px;
color:#1079ab;
text-decoration:none;
}

a.orange{
font-size:12px;
color:#e6610b;
text-decoration:none;
}
.kumppanit
{
float: none;
padding: 10px;
}


a.orange:hover{
font-size:12px;
font-weight:bold;
color:#e6610b;
text-decoration:underline;
}

span.active{
text-decoration:underline;
font-weight:bold;
color:#ad0000;
}

span.orange{
font-weight:bold;
color:#e6610b;
}

span.cent{
text-align:center;
}

li.title{
padding: 5px;
}

li{
padding: 2px;
}

li.sub {
padding: 5px;
padding-left: 1em;
}

li.sub2 {
padding: 5px;
padding-left: 2em;
}

li.sub3 {
padding: 5px;
padding-left: 3em;
}

table{
padding:4px;
font-size:12px;
color:#3d3d3d;
}

table#tuotteet {
margin-left:0px;
}

td.text{
padding:4px;
font-size:12px;
}

td.sin{
text-align:right;
padding:4px;
font-size:12px;
font-weight:bold;
color:#1079ab;
}

td.kiekko{
padding-right:4px;
vertical-align: middle;
}

td.tuotteet{
padding:5px;
}

td.teksti{
padding:10px;
}


#full
{
width: 600px;
margin-top: 10px;
margin-left: 30px;
margin-right: 30px;
}

#sailio
{
background: #FFFFFF;
width: 800px;
border-top: 1px none #1079ab;
border-right: 1px solid #1079ab;
border-bottom: 1px solid #1079ab;
border-left: 1px solid #1079ab;
}



.thrColFixHdr #container {
width: 800px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
background: #FFFFFF;
margin: 0 auto;
text-align: left; /* this overrides the text-align: center on the body element. */
} 
.thrColFixHdr #header {
background: url(../i/banner.jpg);
padding: 0;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
height: 302px;
width: 800px;
} 
.thrColFixHdr #header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}
.thrColFixHdr #sidebar1 {
float: left; /* since this element is floated, a width must be given */
width: 200px; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 5px 15px 15px; /* padding keeps the content of the div away from the edges */
border-right: 1px none #1079ab;
clear:both;
}
.thrColFixHdr #sidebar2 {
	float: right; /* since this element is floated, a width must be given */
	width: 180px; /* padding keeps the content of the div away from the edges */
	padding-top: 15px;
	padding-right: 5px;
	padding-bottom: 15px;
	padding-left: 5px;
}

.thrColFixHdr #sidebar22 {
float: right; /* since this element is floated, a width must be given */
width: 400px; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 15px 10px; /* padding keeps the content of the div away from the edges */
border-left: 1px solid #1079ab;
}

.thrColFixHdr #mainContent {
margin: 0px 0 0 230px; /* the right and left margins on this div element creates the two outer columns on the sides of the page. No matter how much content the sidebar divs contain, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the sidebar spaces when the content in each sidebar ends. */
padding: 15px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
border-right: 0px none #1079ab;
width: 350px;
border-top: 0px none #1079ab;
border-left: 1px solid #1079ab;
border-bottom-style: none;
} 

.thrColFixHdr #mainContent2 {
margin: 0px 0 0 20px; /* the right and left margins on this div element creates the two outer columns on the sides of the page. No matter how much content the sidebar divs contain, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the sidebar spaces when the content in each sidebar ends. */
padding: 15px 15px 0px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
border-right: 1px solid #1079ab;
width: 350px;
} 

.thrColFixHdr #mainContent22 {
margin: 0px 0 0 20px; /* the right and left margins on this div element creates the two outer columns on the sides of the page. No matter how much content the sidebar divs contain, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the sidebar spaces when the content in each sidebar ends. */
padding: 15px 15px 0px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
width: 320px;
} 

.thrColFixHdr #footer {
padding: 2px;
margin-top: 10px;
clear: both;
border-top: 0px none #1079ab;
margin-right: 20px;
margin-left: 20px;
} 
.thrColFixHdr #footer p {
margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
padding: 0px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

.news
{
width: 320px;
padding: 5px 5px 5px 0px;
border-bottom: 1px dotted #1079ab;
margin: 4px 15px 10px 6px;
}

.logot
{
background: top;
padding-top: 5px;
padding-bottom: 10px;
}

.tekstiosa
{
float: right;
padding: 5px;
width: 400px;
height: 190px;
}
