/*
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:#eeeeee;
}



.custom #header {
padding-right:0em;
padding-left:0em;
padding-top:0em;
}

.custom #page {
padding:1.1em;
}

.custom #container {
width:990px;
}

.custom #content {
width:520px;
}

.custom #content2 {
width:100%;
background:url('/frontbg.gif');
}

.custom .post_box2 {
width:100%;
padding-top:2.2em;
border:0em;
}


.custom #sidebars {
width:405px;
}
.custom #sidebar_1 {
width:240px;
}

.custom #sidebar_2 {
width:160px;
}


.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:100%;
height:20px;
padding-bottom:5px;
}



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

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


.custom .menu, .menu a, .menu li ul {
background: #b60202;
border-width:0 0 0 0;
height:20px;
line-height:20px;
color:#FFF;
padding:0em 0.818em;
}

.custom .menu {
border-width:0 0 0 0;
height:20px;
line-height:20px;
width:100%;
padding-right:0px;
padding-left:0px;
}

.custom .menu li {
border-right: 1px solid #eee;
margin-bottom:0;
height:20px;
line-height:20px;
width:125px;
text-align:center;
}

.custom .menu .current a, .menu .current a:hover, .menu .current-cat a, .menu .current-cat a:hover {
background: #b60202;
}

.custom #header {
border-width:0 0 0 0;
}

.custom .menu .current a, .menu .current a:hover, .menu .current-cat a, .menu .current-cat a:hover { 
color: #FFF;
font-weight: bold;
}

.custom .menu a:hover {
color: #FFF;
background:#2e2e2e;
}

.custom .menu .rss { 
padding-right:10px;
}

.custom .menu a {
text-transform:uppercase;
padding:0px 0px;
letter-spacing:0px;
font-size:12px;
font-weight:bold;
}

.custom .menu .rss a, .menu .rss a:hover {
color:#FFF;
}

.custom #float1 {
width:600px;
padding-right:5px;
float:left;
}

.custom #float2 {
width:184px;
padding-right:5px;
float:left;
}

.custom #float3 {
width:160px;
padding-right:5px;
float:left;
text-align:right;
}

.custom #content_box {
background:#FFF;
}

.custom #valokeilassafloat1 {
width:290px;
padding-right:5px;
float:left;
}

.custom #valokeilassafloat2 {
width:305px;
float:left;
}

.custom #uusimmatwrap div {
width: 140px;
height: 260px;
background:#FFF;
float: left;
text-align:left;
padding-right:10px;
}

.custom #uusimmatwrap p {
font-size:12px;
line-height:16px;
}

.custom #valokeilassafloat1 p {
font-size:12px;
line-height:16px;
}

.custom .featuredh3, .sidebar h3 {
background:#545454;
color:#FFFFFF;
font-size:14px;
font-weight:bold;
letter-spacing:0;
padding:5px;
margin-right:0px;
margin-top:0px;
}

.custom .uusimmath2 {
margin-top:0em;
font-size:12px;
font-weight:bold;
}

.custom .uusimmath22 {
margin-top:0em;
font-size:16px;
font-weight:bold;
}

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

#logokontti {
width:170px;
padding-left:10px;
padding-top:5px;
float:left;
}


#mainoskonttifooter {
width:740px;
float:right;
text-align:right;
}

.custom #valokeilassafloat2 a, #sidebars a {
color:#2e2e2e;
font-size:12px;
font-weight:bold;
text-decoration:underline;
}

.custom #sidebars h3 a {
color:#FFF;
}

.custom li.widget ul li {
font-size:12px;
font-weight:normal;
padding-bottom:1px;
letter-spacing:0px;
line-height:14px;
list-style-image:url("/redarrow.gif");
margin-left:15px;
}

.custom #valokeilassafloat2 ul li, #lisaajuttuja ul li {
font-size:12px;
font-weight:normal;
padding-bottom:3px;
letter-spacing:0px;
line-height:14px;
list-style-image:url("/redarrow.gif");
margin-left:0px;
}

.custom .headline_area h1, .headline_area h2 {
font-weight:bold;
}

.custom .menu li.cat-rss {
border-right:0px;
float:right;
margin-top:0px;
width:40px;
}

.custom #lisaajuttuja {
padding:5px;
background:#eee;
width:590px;
height:14px;
line-height:14px;
margin-bottom:15px;
}

.custom #lisaajuttuja2 {
padding:5px;
background:#eee;
width:290px;
height:14px;
line-height:14px;
margin-bottom:15px;
font-weight:normal;
}

.custom .wpcf7-list-item input {
width:40px;
}

.custom #kilpailuvalinta span.wpcf7-list-item {
margin-left:0.5em;
margin-right:300px;
}

.custom .sliderwrapper {
border:0 none white;
height:235px;
overflow:hidden;
position:relative;
width:185px;
}

.custom .afterpostads {
margin-left:1.1em;
}