/* Basics
----------------------------------------------- */
html, body {
	margin: 0;
	padding: 0;
}

body, p, td, th, div, blockquote, dl, ul, ol {	
font-family: "Trebuchet MS";
color: #999999;
font-size: 12px;
line-height: 16px;
font-weight: normal;
}

body {

background: #000 url(/files/hansvalimaki/gfx/bg.jpg) top left no-repeat;}

td, th {
	text-align: left;
	vertical-align: top;
}
img {
	border: 0;
	display: block;
}

img, div {behavior: url(/files/hansvalimaki/js/iepngfix.htc);}


/* Header
----------------------------------------------- */
/* Structure
----------------------------------------------- */
#container {	
width: 825px;
margin-left: 100px;
}

#header {
float: left;
position: relative;
width: 825px;
height: 337px;
float: left;
}

#nav_container {
position: absolute;
/*left: 217px;*/
right: 10px;
top: 30px;
height: 21px;
width: 560px;
text-align: right;
}

img#logo {
position: absolute;
right: 30px;
top: 82px;
}

#front_top {
float: left;
background: transparent url(/files/hansvalimaki/gfx/front_top_top.png) top left no-repeat;
width: 825px; 
line-height: 15px;
}

html > body #front_top {
position: relative;
}


#height {
float: left;
width: 1px;
height: 270px;
}

#top_left_cont {
float: left;
width: 380px;
padding-left: 60px;
margin-top: 28px;
color: #cccccc;
z-index: 50;
}

#top_right_cont {
float: right;
width: 255px;
padding-right: 30px;
margin-top: 28px;
color: #cccccc;
z-index: 50;
}

#front_top_bottom {
float: left;
background: transparent url(/files/hansvalimaki/gfx/front_top_bottom.png) top left no-repeat;
width: 825px;
height: 19px;
}

#front_bottom {
float: left;
background: transparent url(/files/hansvalimaki/gfx/front_bottom.gif) top left no-repeat;
height: 280px;
width: 825px;
}

#bottom_cont {
padding-left: 60px;
padding-top: 28px;
line-height: 18px;
}

#front_logos {
float: left;
position: relative;
width: 825px;
height: 96px;
}

#chezd {
position: absolute;
right: 30px;
top: 20px;
}

#footer {
float: left;
background: transparent url(/files/hansvalimaki/gfx/footer_hr.gif) top left no-repeat;
width: 825px;
height: 96px;
position: relative;
}

#footer_text {
padding: 20px 60px;
color: #999999;
line-height: 14px;
font-size: 11px;
filter:alpha(opacity=93);
-moz-opacity:.93;
opacity:.93;
}

#footer_text2 {
position: absolute;
width: 200px;
right: 60px;
text-align: right;
top: 20px;
color: #999999;
line-height: 14px;
font-size: 11px;
filter:alpha(opacity=93);
-moz-opacity:.93;
opacity:.93;
}

#sub_top {
float: left;
background: transparent url(/files/hansvalimaki/gfx/sub_top.png) top left no-repeat;
width: 825px;

}

#tab {
position: absolute; 
left: 9px;
top: 10px;
z-index: 10px;
width: 9px;
filter:alpha(opacity=49);
-moz-opacity:.49;
opacity:.49;
}

#sub_height {
float: left; 
width: 1px;
height: 469px;
}

#sub_left {
float: left;
width: 450px;
padding-left: 60px;
margin-top: 28px;
position: relative;
}

#sub_left a {
color: #fff;
text-decoration: underline;
}

#sub_right {
width: 217px;
float: right;
padding-right: 37px;
margin-top: 73px;
}

#sub_bottom {
float: left;
background: transparent url(/files/hansvalimaki/gfx/sub_bottom.png) top left no-repeat;
width: 825px;
height: 25px;
}

.product-thumbnail {
border: 2px solid white;
}

/* News 
----------------------------------------------- */

.ajank_box {
float: left;
background: url(/files/hansvalimaki/gfx/ajank_bg.jpg) right top no-repeat;
height: 238px; 
width: 217px;
padding: 0 18px;
}


.ajank_img {
width: 211px;
height: 128px;
border: 3px solid white;
overflow: hidden;
}

.ajank_txt {
width: 200px;
font-size: 12px;
padding-top: 10px;
}

.ajank_txt h1 {
color: #ffffff;
margin-bottom: 6px;
padding-top: 0px;
margin-top: 0px;
}

.ajank_txt a, .ajank_txt a:visited {
color: #ffffff;
font-size: 11px;
}
.ajank_txt a:hover {
color: #ffffff;}

/* Nav
----------------------------------------------- */
#newmainnav {
position: absolute;
top: 40px;
/*left: 225px;*/
right: 0;
z-index: 100000;
width: 590px !important;
}
#newmainnav a {
margin: 0 !important;
padding: 0 !important;
height: 15px !important;
}
#newmainnav img {
height: 15px !important;
float: left !important;
display: block !important;
margin: 0 0 0 20px !important;
/*padding: 0 10px 0 0 !important;*/
/*border-right: 1px solid #989ca0 !important;*/
}



.mainmenu {
float: left; 
border-right: 1px solid #86898c;
/*padding: 0px 5px 0 8px;*/
padding-left: 9px;
padding-right: 0;
height: 18px; 
font-size: 17px;
line-height: 17px;
}

#no_border {
border-right: 0px solid #86898c;
}

/*Blog
----------------------------------------------- */

.blog_img_box {
position: relative;
width: 217px;
height: 134px;
overflow: hidden;
background: transparent url(/files/hansvalimaki/gfx/pic_frame.gif) top left no-repeat;
}

img.blog_img {
z-index: 5;
}

img.blog_img_frame {
position: absolute;
top: 0;
left: 0;
z-index: 10;
}

.kuvateksti {
color: #999999; 
font-size: 12px; 
padding: 10px 0 20px 0;

}

/* Search
----------------------------------------------- */
/* Headings
----------------------------------------------- */

h1 {
font-family: Arial, Helvetica, sans-serif;	
font-size: 14px;
font-weight: bold;
line-height: 16px;
margin: 0 0 0.5em 0;
}

#top_left_cont h1 , #top_left_cont h1 a {
text-decoration: none;
color: #d7aa7f;
}

#blog_h1 {
font-family: Arial, Helvetica, sans-serif;	
font-size: 14px;
font-weight: bold;
line-height: 16px;
color: #d7aa7f;
display: inline;
}

#arvostelu_h1 {
font-family: Arial, Helvetica, sans-serif;	
font-size: 14px;
font-weight: bold;
line-height: 16px;
color: #cccc66;
display: inline;
}

#top_right_cont h1, #top_right_cont h1 a {
color: #cccc66;
text-decoration: none;
}

h2 {
color: #fff;
font-size: 14px;
font-weight: bold;
margin-bottom: 8px;
}



h3, h4, h5, h6 {	
}

/* Lists
----------------------------------------------- */

ul#bloglist, ul#arvostelulist {list-style-type: none; margin: 8px 0 25px 0; padding: 0px;}

ul#bloglist li a {text-decoration: none; color: #d7aa7f;}

ul#arvostelulist li a {text-decoration: none; color: #cccc66;}


/* Forms
----------------------------------------------- */
form {
	margin: 0;
}

/* Links
----------------------------------------------- */
a {
color: #999999;
text-decoration: none;
}

a:hover {
color: #999999;
text-decoration: underline;
}



/* Misc
----------------------------------------------- */
.clearer {
	clear: both;
	height: 1px;
	line-height: 0px;
	font-size: 0;	
}
.skip {
	display: none;
}

.date {
color: #999999;
font-size: 11px; 
line-height: 16px;
display: inline;
}

/*  sIFR
 ---------------------------*/
 
 
 
/* These are standard sIFR styles... do not modify */
 
.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;
}
 
/* Hide Adblock Object tab: the text should show up just fine, not poorly with a tab laid over it. */
.sIFR-flash + div[adblocktab=true] {
  display: none !important;
}
 
/* These "decoy" styles are used to hide the browser text before it is replaced... the negative-letter spacing in this case is used to make the browser text metrics match up with the sIFR text metrics since the sIFR text in this example is so much narrower... your own settings may vary... any weird sizing issues you may run into are usually fixed by tweaking these decoy styles */
 
/*.sIFR-hasFlash h1 {
    visibility: hidden;
}
 
.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;
}*/
