/*
File:			custom.css
Description:	Custom styles for Thesis

BASIC USAGE:

If you have enabled the custom stylesheet in the Thesis options panel, the <body> tag 
will be appended with the "custom" class, like so: <body class="custom">. You can use 
the "custom" class to override *any* CSS declarations contained in the style.css file.

For example, if you wish to change the default link color to green, you would add the 
following declarations to this file:

	.custom a, .custom a:visited { color: #090; }	<--- This makes links green
	.custom a:hover { color: #00f; }	<--- This makes links blue when you mouse over them

WHY THIS WORKS:

By using the "custom" class, you are creating more specific CSS declarations for HTML
elements. CSS styling is applied through rules of specificity, and because declarations
prepended with .custom are more specific, they get applied when the page is rendered!

More information about styling your Thesis installation using this file can be found
in the User's Guide:
	http://diythemes.com/thesis/rtfm/customizing-thesis-with-customcss/
body.custom {
background:url("/kuvat/nb3.gif") repeat scroll 0 0 transparent;
}

*/
body.custom { background: #000000 url('/kuvat/inf_taustakuva.jpg') 0% 0 no-repeat;
background-position:top center;
 }



		.custom #page { background: #fff; }
.custom a {
color:black;
text-decoration:none;
font-weight:bold;
}
.custom a:hover {
color:#AF0721;
text-decoration:underline;
}

.custom .format_text a {
color:#AF0721;
text-decoration:none;
}

.custom .format_text a:hover {
color:#AF0721;
text-decoration:underline;
}

.custom .format_text {
line-height:1.3em;
}



/* SIVUPALKIT JA ULKOASU /*/



.custom #container {
width:987px;
}

.custom #footer {
padding-bottom:0em;
padding-top:0em;
border-top:0px;
}

.custom #header {
background:transparent;
border-bottom:0px;
padding-bottom:1em;
padding-top:1em;
padding-left:0em;
padding-right:0em;
}

.custom #page {
background:transparent;
padding-top:0px;
padding-bottom:0px;
padding:0em;
}

.custom #content {
width:498px;
margin-left:10px;
margin-right:0px;
padding-right:6px;
}

.custom #sidebars {
width:460px;
float:right;
}

.custom #sidebar_1 {
width:277px;
background:#deded2;
border-right:0px solid;
padding-top:10px;
}

.custom #sidebar_2 {
width:170px;
text-align:center;
padding-top:10px;
border-left:0px solid;
}

.custom #content_box {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:url("http://www.rytmi.com/kuvat/tausta.gif");
padding-bottom:10px;
}

.custom #lehtinostot {
background:#deded2;
height:100%;
margin-bottom:10px;
margin-top:10px;
}

.custom #text-5 h3, #otsikko h3, #rss-3 h3, #widget_killer_recent_entries-2 h3 {
color:#FFF;
background:#222222;
font-weight:bold;
margin-bottom:10px;
padding:5px;
font-size:12px;
font-variant:small-caps;
letter-spacing:2px;
line-height:15px;
height:15px;
}

.custom p.testi2 {
font-size:10px;
font-weight:normal;
letter-spacing:0px;
line-height:10px;
}

.custom h4.nosto {
font-size:14px;
font-weight:bold;
padding-bottom:3px;
padding-top:5px;
}

#tvwrapper2 {
width: 240px;
margin-left:5px;
padding-bottom:7px;
}

.custom #lehtinostot li {
list-style-position:inside;
}

.custom li.widget ul li {
margin-bottom:0.692em;
font-size:12px;
font-weight:normal;
letter-spacing:0;
line-height:14px;
list-style-image:none;
margin-left:15px;
padding-bottom:1px;
}

.custom li.widget ul {
margin-left:5px;
width:240px;
}


#headerwrapper {
width:100%;
height:138px;
}

#logokontti {
width:235px;
padding-left:10px;
padding-top:0px;
float:left;
background:#000000;
height:123px;
}


#mainoskonttifooter {
width:742px;
float:right;
background:#000000;
height:103px;
padding-top:20px;
}

.custom #ylapalkinmenu li
{
display: inline;
list-style-type: none;
padding-right: 20px;
float:right;
border-left:1px dotted #FFF;
font-size:12px;
margin-left:15px;
padding-left:15px;
padding-right:0px;
}

.custom #ylamenu2 {
float:right;
width:990px;
height:20px;
padding-bottom:5px;
}



.custom #ylamenu2 a {
color:#FFF;
text-decoration:none;
}

.custom #ylamenu2 a:hover {
color:#FFF;
text-decoration:underline;
}

/* without text */
#menu {display:block; height:27px; margin:0px;}
#menu ul {margin:0; padding:0; list-style-type:none;}
#menu li {float:left; margin-right:0px; display:block; border:0px solid #000;}
#menu li.list1 {background:transparent url(/kuvat/inferno.gif); width:96px;}
#menu li.list2 {background:transparent url(/kuvat/kisat.gif); width:69px;}
#menu li.list3 {background:transparent url(/kuvat/arkisto.gif); width:90px;}
#menu li.list4 {background:transparent url(/kuvat/heavy_cooking.gif); width:134px;}
#menu li.list5 {background:transparent url(/kuvat/jutut.gif); width:69px;}
#menu li.list6 {background:transparent url(/kuvat/kuvat.gif); width:69px;}
#menu li.list7 {background:transparent url(/kuvat/tiedotus.gif); width:99px;}
#menu a {display:block; width:100%; padding-top:27px; height:0; color:#000; text-decoration:none; overflow:hidden;}
* html #menu a:link, * html #menu a:visited {height:27px; he\ight:0;}

#menu a#item1 {background:transparent url(/kuvat/inferno_mouseover.gif) -96px -27px no-repeat;}
#menu a#item2 {background:transparent url(/kuvat/kisat_mouseover.gif) -96px -27px no-repeat;}
#menu a#item3 {background:transparent url(/kuvat/arkisto_mouseover.gif) -96px -27px no-repeat;}
#menu a#item4 {background:transparent url(/kuvat/heavy_cooking_mouseover.gif) -134px -27px no-repeat;}
#menu a#item5 {background:transparent url(/kuvat/jutut_mouseover.gif) -96px -27px no-repeat;}
#menu a#item6 {background:transparent url(/kuvat/kuvat_mouseover.gif) -96px -27px no-repeat;}
#menu a#item7 {background:transparent url(/kuvat/tiedotus_mouseover.gif) -99px -27px no-repeat;}




#menu a#item1:hover {background-position:top left; z-index:50;}
#menu a#item2:hover {background-position:top left; z-index:50;}
#menu a#item3:hover {background-position:top left; z-index:50;}
#menu a#item4:hover {background-position:top left; z-index:50;}
#menu a#item5:hover {background-position:top left; z-index:50;}
#menu a#item6:hover {background-position:top left; z-index:50;}
#menu a#item7:hover {background-position:top left; z-index:50;}
* html #menu a:hover {height:27px; he\ight:0;}

/* HAKUPALKKI JA SOCIAL MEDIA /*/

.custom #searchform {
height:32px;
}


.custom #searchform input:focus, textarea:focus, input, textarea {
background:#EEE;
border:1px solid #BBB;
}

.custom #s {
height:30px;
width:240px;
font-size:24px;
}

.painike {
background: url(http://217.30.182.87:969/kuvat/navi/Hae.gif) no-repeat;
border:0px;
width:79px;
height:32px;
}

.custom ul.sidebar_list {
padding-top:0em;
}

.custom .comment_box textarea {
background:#EEE;
border:1px solid #BBB;
}

.custom #content img {
max-width: 460px;
width: expression(this.width > 460 ? 460: true);
}

.custom #iconwrap div {
width: 40px;
height: 32px;
background:#deded2;
float: left;
text-align:center;
}

.custom #dwrap div {
width: 987px;
height: 20px;
background:#FFF;
border-top: 1px solid #d2d2d2;
float: left;
text-align:center;
padding-top:10px;
}

.custom format_text h2 {
margin:0em 0 0.611em;
}

.custom .headline_area h2, .headline_area h1 {
letter-spacing:-1px;
font-weight:bold;
}

.custom .headline_area {
margin-bottom:1.2em;
}
.custom .afterpostad {
margin-left:1.1em;
}
