/*
Theme Name: Lakimiespuhelin
Theme URI: 
Description: Lakimiespuhelin-sivuston pohja
Version: 1.0
Author: Antti Kosonen and Kimmo Hirvonen
Author URI: 
Tags: 
	
*/


/* Layout */
body {
	background: #dedad1;
	padding: 0;
	margin: 0;
	font-size: 14px;
	font-family: Georgia, serif;
	color: #000;
}

/* Default */
a {
	color: #feab4a;
}

a:hover {
	color: #058244;

}

h1 {
	font-size: 2em;
	

}

h2 {
	font-size: 1.6em;
	

}

h3 {
	font-size: 1.4em;


}

h4 {
	font-size: 0.9em;

}

h5 {
	font-size: .8em;
}

h6 {
	font-size: .7em;
}

blockquote {
	padding: 0 0.5em;
	border-left: 5px solid #f0e8a7;
	margin: 0;
	background-color: #f8f8e2;
}

img.alignleft {
	float: left;
	margin: 0 .8em .8em 0;
}

img.alignright {
	float: right;
	margin: 0 0 .8em .8em;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

a img {
	padding: 2px;
}

form {
	padding: 0;
	margin: 0;
}

/* Layout */
#container {
	background: #e1f2f2;
	width: 926px;
	height:693px;
	margin: 0 auto;
	margin-top: 20px;
	padding:8px 8px 4px 8px;
}

#header {
	height: 160px;
    margin-bottom:5px;
		
}

	.nasta{
	position: absolute;
	background: url(images/nasta.gif) no-repeat;
	margin: -15px 0 0 -25px;
	height: 50px;
	width:50px;
	
	
	}

	.header-left {
	background: url(images/header-left-bk.gif);
	height: 150px;
	width: 370px;
    float:left;
		
		
      	}
	.header-right {
	
	background: url(images/header-right.jpg) no-repeat;
	padding:0;
	height: 150px;
	width: 550px;
    float:right;
}

	
	
.suomi {

	float:left;
	height:14px;
	width:22px;
	padding:96px 0 0 0;
	margin:0 0 0 0px;

}

.ruotsi {

	height:14px;
	width:22px;
	float:left;
	clear:left;
	padding:4px 0 0 0;
	margin:0 0 0 0px;

}
.englanti {

	height:14px;
	width:22px;
	float:left;
	clear:left;
	padding:4px 0 0 0;
	margin:0 0 0 0px;

}


#tietokanta
{
	clear:both;
	width:247px;
	height:48px;
	margin-left:8px;
	
}

#header p.bloginimi {
	padding: 10px 0 0 105px;
	margin: 0;
	color: #ffffff;
	font-family: Georgia, serif;
	font-size: 2.2em;
	
}

#header p.bloginimi a,
#header p.bloginimi a:hover {
	text-decoration: none;
	color: #ffffff;
}
#header p.numero {
	padding: 0px 0 0 105px;
	margin: 0;
	color: #ffffff;
	font-family: Georgia, serif;
	font-size: 3.0em;
	letter-spacing:0em ;
	
	}
	
	
#header p.numero a,
#header p.numero a:hover {
	text-decoration: none;
	color: #ffffff;
}

#header h3 {
	float:left;
	padding: 0px 0 5px 5px;
	margin: 0;
	color: #ffffff;
	font-family: Georgia, serif;
	font-size: 8.0em;
	
	
}

#header h3 a,
#header h3 a:hover {
	text-decoration: none;
	color: #ffffff;
}

#header h4 {
	
	padding: 0px 0 0px 105px;
	margin: 0;
	color: #ffffff;
	font-family: Georgia, serif;
	font-size: 1.1em;
	
	
}

#header h4 a,
#header h4 a:hover {
	text-decoration: none;
	color: #ffffff;
}

#header .description {
	padding: 0 0 0 105px;
	color: #ffffff;
	font-family: Georgia, serif;
	font-size: 2em;
	letter-spacing: 0.1em;
}




#page {
	
	width: 923px;
	
	
	
}

#pageinner {
	
	margin: 0px 0px 10px 0;
	padding:0;
	
}

#navcontainer ul {
	
	padding: 0;
	margin: 0;
	list-style: none;
	float: left;
	width: 100%;
}

* html #navcontainer ul {
	
}

#navcontainer ul li { 
	display: inline; 
}

#navcontainer ul li#first a,
#navcontainer ul li#first a:hover {
	cursor: default;
	background-image: none;
	text-decoration: none;
}

#navcontainer ul li a {
	color: #faf6bb;
	margin: 5px 0 0 0;
	padding: 4px 14px 8px 12px;
	text-decoration: none;
	
	float: left;
}

#navcontainer ul li a:hover {
	text-decoration: underline;
}

#navcontainer ul li.current_page_item a,
#navcontainer ul li.current_page_ancestor a {
	
	color: #feab4a;
	padding: 4px 12px 8px 12px;
	margin-left: -2px;
	font-family: Georgia, serif;
}

#navcontainer ul li.current_page_item a:hover,
#navcontainer ul li.current_page_ancestor a:hover {
	text-decoration: none;
}

#navcontainer ul li a:hover {
	text-decoration: underline;
}

#searchBar {
	clear: left;
	
	text-align: right;
}

#searchform {
	padding: 5px;
}

#s {
	/*border: 1px solid #bbb;*/
}

#searchsubmit {
	/*border: 1px solid #bbb;*/
}

#sidebar {
	
	
	background-repeat: no-repeat;
	background-color: #ffffff;
	overflow:auto;
	width:247px;
	height:460px;
    margin: 0;
    margin-top:48px;
	margin-right:5px;
	color: #011631;
	float:left;
}
#sidebar .menu {
padding:0;
padding-top:10px;
}
.sivutab{
	float:left;
	margin: 0 0 0 0;
	background: url('images/artikkeli-tietokanta.png');
	position:absolute;
	width:247px;
	height: 48px;
	z-index:1;
	
	}
.sivutab p {
	margin:10px 0 0 20px;
}
/*.sivuotsikko
{
padding:0;
margin:0;
font-size:1em;



}
*/
#sidebar a {
	
	color: #000000;
	font-size:1em;
	font-family: Georgia, serif;
	font-weight: normal;
	

	
}

#sidebar ul {
	padding: 0;
	margin: 0 0 0 0;
	list-style: none;
}

#sidebar ul li {	
	
	margin: 0 0 0 0;
	font-size: 0.85em;
}

#sidebar ul li h2 {
	margin: 0;
	color: #000000;
	font-family: Georgia, serif;
	font-weight: normal;

	font-size: 1.2em;
	
	padding: 10px 15px 15px 15px;
}

#sidebar ul li p,
#sidebar ul li div {
	padding: 5px 10px 10px 10px;
	margin: 0;
}

#sidebar ul li table {
	padding-bottom: 5px;
}

#sidebar ul li table caption {
	padding: 5px 0 0 0;
}

#sidebar ul li ul {
	padding: 0.3em 0;
}

#sidebar ul li ul ul,
#sidebar ul li ul ul ul,
#sidebar ul li ul ul ul ul,
#sidebar ul li ul ul ul ul ul {
	padding: 0;
}

#sidebar ul li ul li {
	font-size: 14px;
	padding: 0.1em 1em 0.1em 0;
	margin: 0 0 0 1em;
}

#sidebar ul li ul li li,
#sidebar ul li ul li li li,
#sidebar ul li ul li li li li,
#sidebar ul li ul li li li li li {
	margin: 0 0 0 1em;
}

#sidebar ul li ul li a {
	text-decoration: none;
	background: url(images/sivupalkki-bullet.png) left center no-repeat;
	padding-left: 1em;
}
#sidebar ul li ul#themeswitcher li a,
#sidebar ul li ul li.recentcomments a {
	background-image: none;
	padding-left: 0;
}
#sidebar ul li ul#themeswitcher li,
#sidebar ul li ul li.recentcomments {
	background: url(sivupalkki-bullet.png) left center no-repeat;
	padding-left: 1em;
}

#sidebar ul li ul li a:hover {
	color: #feab4a;
}

/* Calendar */
#wp-calendar {
	width: 100%;
}

#wp-calendar th,
#wp-calendar td {
	text-align: center;
}

#wp-calendar td#today {
}

h1.pagetitle {
	margin: 0;
	color: #3a3a3a;
	font-family: Georgia, serif;
	padding: 3px 3px 3px 10px;
}

#content {
	/*margin: 0 0 0 252px;*/
	padding: 0;
        float:right;
}

#contentinner {
    margin:0;
    width: 596px;
	height:450px;
	background: url(images/paperi.jpg) right top repeat-y;
	background-color: #ffffff;
	/*border-left:1px solid #f2b141;*/
	/*border-bottom:1px solid #f2b141;*/
	padding: 10px 64px 0px 10px;
	font-size: 1.0em;
	line-height: 1.4em;
	overflow:auto;
	float:left;
}


/* Post */
.post h1.posttitle {
	padding: 30px 0 10px 0;
	margin: 0;
	font-weight: normal;

	font-size: 3em;
}

.post h1.posttitle a,
.post h1.posttitle a:hover {
	text-decoration: none;
	color: #feab4a;
}



/* make your own sticky post styling */
.sticky {
}

small.postmetadata {
	font-size: 0.85em;
	color: #feab4a;
}

ul.postmetadata {
	padding: 0;
	margin: 0;
	list-style: none;
	font-size: 0.85em;
}

ul li.tags {
	float: left;
}

ul li.comments {
	text-align: right;
}

div.divider {
	
	height: 47px;
	margin: 1em 0;
}

div.navigation {
	text-align: center;
	font-family: Georgia, serif;
	padding: 0 0 2em 0;
}

div.commentnavigation {
	padding: 0;
}

#singlepost {
	padding: 0px 0px 0px 0px;
	margin: 0;
	font-size: 1.2em;
	line-height: 1.5em;
}

#commentwrapper {
	padding: 0 15px 49px 15px;
}

#commentwrapper h2 {
	margin: 0;
	padding: 0.5em 0;
}

/* Comment */
h2.commentheading {
	font-size: 1.2em;
	color: #fefef6;
	font-family: Georgia, serif;
}

ol.commentlist {
	padding: 0;
	margin: 0;
	list-style: none;
	font-family: Tahoma, 'Trebuchet MS', Verdana, Arial, sans-serif;
	color: #3a3a3a;
}

ol.commentlist a {
	text-decoration: none;
}

img.avatar {
	/*border: 3px solid #fefef6;*/
	margin: 0 0.5em;
}

ol.commentlist li.commentind {
	padding: 0 0 2em 0;
	margin: 0;
}

ol.commentlist li.depth-1 {
	border-bottom: 3px double #fefef6;
	padding: 0 0 1em 0;
	margin-bottom: 1em;
}

ul.children {
	list-style: none;
}

ol.commentlist ul.children li.commentind {
	padding: 1em 0 0 0;
}

ol.commentlist li.commentind cite {
	font-style: normal;
}

p.commentsedit {
	font-size: 0.9em;
	margin: 0 0 0 0.5em;
}

.commentindheader {
	border-bottom: 1px dotted #fefef6;
}

.commentindheader img.avatar {
	float: left;
}

ol.commentlist li.legacyAlt .commentindheader {
	text-align: right;
}

ol.commentlist li.legacyAlt .commentindheader img.avatar {
	float: right;
}

ol.commentlist li.legacyAlt p.commentsedit {
	text-align: right;
	margin: 0 0.5em 0 0;
}

/* Comment form */
form#commentform input,
form#commentform textarea {
	border: 1px solid #bbb;
}

input#author,
input#email,
input#url {
	width: 60%;
}

textarea#comment {
	width: 90%;
}

input#submit {
	border: 1px solid #bbb;
}

#footer {
	
	clear: both;
	height: 15px;
	margin: 0;
	font-family: Georgia, serif;
	text-align: center;
	font-size: 0.8em;
	color: #acb3b3;
}

	p.copyright {
	text-align:center;
	font-size: 0.9em;
	padding-top:5px;
	}
	
#footer p {
	margin: 0;
	
	line-height: 1.5em;
}

#footer a {
	color: #acb3b3;
}

#footer a:hover {
	color: #acb3b3;
}

div#recaptcha_widget_div {
	float: right;
}

/* Wordpress required */
.wp-caption {
	/*border: 1px solid #ddd;*/
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption-dd {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

h3.subpages {
	padding: 1em 0 0.5em 0;
	margin: 0;
}

ul.subpages {
	padding: 0 0 0 1em;
	margin: 0 0 0 1em;
	list-style: square;
}

/* Formatting */
fieldset {
	/*border: 1px solid #ccc;*/
	padding: 0 1em;
	margin: 0;
}

legend {
	color: #999;
	font-size: 1.1em;
}

hr {
	border: 0;
	color: #cfc887;
	background-color: #cfc887;
}

pre, code {
	width: 100%;
	overflow: auto;
	font-size: 1em;
}

.post table {
	width: 100%;
	border: 1px solid #ccc;
	border-top: 0;
	border-collapse: collapse;
}

.post table th,
.post table td {
	border: 1px solid #ccc;
	border-bottom: 0;
	padding: .3em .5em;
}

.post table th {
	text-align: left;
	border-bottom: 2px solid #ccc;
}

p.loggedinAs {
	margin: 0; 
	padding: 0;
}

a#cancel-comment-reply-link {
	display: block;
	margin-bottom: 1em;
}

/* header tabs */
#tabs{
margin-left:0;
padding:0;
height:48px;
font-family: Georgia, serif;
font-size:1em;
line-height:normal;
}

#tabs ul{
margin:0;
padding:0;
 list-style:none;

 }

#tabs li{
 display:inline;
 margin: 0;
 padding: 0;
}

#tabs a {
 float:left;
 background:url(images/tab-left.png) no-repeat left top;
 color:#000000;
 padding-left: 18px;
 margin-right:0px;
 text-decoration:none;
 color:#000000;
 cursor: pointer; /* IE 7 bug-fix */
}

#tabs a span{
 float:left;
 display:block;
 background:url(images/tab-right.png) no-repeat right top;
 height: 48px;
 padding-right: 15px;
}

#tabs a span span{
 display:block;
 background:none;
 height: auto;
 padding: 10px 6px 0 0px;
}

/* Commented Backslash Hack hides rule from IE5-Mac \*/
#tabs a span {float:none;}
/* End IE5-Mac hack */
#tabs a:hover span {
 color:#058244;
}

/* sub-menus */
#tabs ul li{
 float:left;
 position:relative;
}

#tabs ul ul {
  background:#eeeeef url(images/tab-subnav.png) repeat-x left top;
  position:absolute;
  display:none;
  width:200px;
  top:29px;
  left: 0;
  margin: 0;
  padding: 4px 0;
  line-height: 100%;
  border-left: 1px solid #999;
  border-right: 1px solid #999;
  border-bottom: 1px solid #999;
  -moz-border-radius-bottomleft: 4px;
  -moz-border-radius-bottomright: 4px;
}

#tabs ul ul ul{
  border: 1px solid #999;
  -moz-border-radius: 4px;
}

#tabs ul a.active ul, #tabs ul li.current_page_item ul,  #tabs ul li.current-cat ul{
  background: #fff;

}

#tabs ul.active ul ul, #tabs ul li.current_page_item ul ul, #tabs ul li.current-cat ul ul{
  border: 1px solid #666666 !important;
}

#tabs ul li ul a{
  width:180px;
  height:auto;
  float:left;
  background: none;
  margin: 0;
  padding: 4px 10px;
  color: #000;
  font-weight: normal;
  line-height: 125%;
}

#tabs ul li ul a span, #tabs ul li ul a span span{
  margin: 0;
  padding: 0;
  height: auto;
  float: none;
}

#tabs ul ul a:hover, #tabs ul ul a:hover,
#tabs ul a.active ul a:hover, #tabs ul li.current_page_item ul a:hover, #tabs ul li.current-cat ul a:hover{
  color:#fff;

  
  background:#09c6eb url(images/tab-subnav-active.gif) repeat-x left top;
}

#tabs ul li ul a span, #tabs ul li ul a span{
  background: none;
}

#tabs ul ul ul{
  top:auto;
}

#tabs ul li ul ul {
  left:195px;
  top: 4px;
}

#tabs ul li:hover ul ul, #tabs ul li:hover ul ul ul, #tabs ul li:hover ul ul ul ul{
  display:none;
}
#tabs ul li:hover ul, #tabs ul li li:hover ul, #tabs ul li li li:hover ul, #tabs ul li li li li:hover ul{
  display:block;
}

