/*
Theme Name: Maria Lohela
Theme URI: http://www.marialohela.fi/
Description: Maria Lohelan sivustoa varten tehty ulkoasu
Version: 1.0
Author: A1 Media Oy
Author URI: http://www.a1media.fi/
*/

* {
    margin: 0;
    padding: 0;
}
body { 
    /*font-family: Verdana, sans-serif;*/
	font-family: "Trebuchet MS", Helvetica, sans-serif;
    font-size: small;
    text-align: center;
	background: #c6d8ec url('images/bg.jpg') repeat-x top left;
	color: #000;
}
div, p, img, a, td, ul, ol {
    font-size: 1em; 
}
h1, h2, h3, h4 {
	/*font-family: Verdana, sans-serif;
	font-weight: bold;
	margin: 0.2em 0 0.5em 0;
	letter-spacing: 0.07em;
	color: black;*/
	/*font-family: Georgia,Tahoma,Verdana,Arial,Serif;*/
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-weight: normal;
	font-size: 1.7em;
	padding: 4px;
	line-height: 1.2em;
	border-bottom: 1px solid #ddd;
	letter-spacing: 0.07em;
	/*color: #557799;*/
	color: #333;
	text-decoration: none;
}
h1 { font-size: 218% }
h2 { font-size: 164%; margin: 10px 0; }
h3 { font-size: 135%; margin: 0; }
h4 { font-size: 118%; letter-spacing: .15em }

/*a, a:link { 
    text-decoration: none;
    color: black;
}
a:visited { color: black; }
a:hover { color: black; text-decoration: underline; }
a:active {  color: black; }*/


a img, img {
    border: none;
}

ul {
    margin: 0 0 20px 1.3em;
	list-style-type: disc;
}
ul ul {
	margin-bottom: 0;
}
li {
    margin-bottom: 3px;
}

div.shadow {
	margin: 0px auto 0px auto;
	width: 925px;
	background: url('images/page_shadow.png') repeat-y;
}
div#header {
	margin: 0px auto 0px auto;
	width: 900px;
	height: 143px;
	background: #fff url('images/header.jpg') no-repeat;
	position: relative;
}

div#header .top_pic {
	/*position: relative;
	right: 423px;*/
	padding-top: 10px;
	position: absolute;
	left: -110px;
}

div#menu {
	margin: 0px auto 0px auto;
	padding-top: 3px;
	width: 900px;
	height: 26px;
	background: #fff;
	overflow: hidden;
}

div#menu ul {
	padding-left: 100px;
	margin: 0;
	list-style: none;
}
div#menu ul li {
	float: left;
	padding-right: 10px;
	margin: 0;
}

div#menu ul li a {
	display: block;
	color: #000;
	font-weight: bold;
	padding: 4px 10px;
}

* html #topmenu ul li {
	width: 1px;
}

div#menu ul li a:hover {
	background: url('images/menu_active_bg.jpg') repeat-x top left;
	background-color: #fff;
	text-decoration: none;
	color: #fff;
}

#middle {
	width: 900px;
	margin: 0 12px 0 13px;
	background: #f0f5f9 url('images/content_bg.jpg') repeat-x top left;
	text-align: left;
}

div#content {
	/*width: 790px;
	padding: 30px 30px 0px 80px;
	margin: 0px auto;*/
	min-height: 400px;
	border-bottom: 3px solid #c9daec;
}
* html #content {
	height: 400px;
}

div#content p .side_pic {
	margin: 30px;
	float: right;
	border: 7px solid white;
}

div#footer {
	background: #c6d8ec url('images/footer_bg.jpg') repeat-x top left;
	position: relative;
}

div#footer_content {
	position: relative;
	color: #fff;
	margin: 0px auto 0px auto;
	width: 900px;
	height: 230px;
	background: #f0f5f9 url('images/footer_content_bg.jpg') repeat-x top left;
}

#ornamentti {
	position: absolute;
	right: -123px;
	top: -456px;
}

div#footer_content p {
	text-align: left;
	margin-left: 30px;
	margin-top: 30px;
	float: left;
	width: 260px;
}

div#footer_content .bold {
	font-size: 130%;
	font-weight: bold;
}

.clear, .gapfix {
	height: 0;
}
* html .clear, * html .gapfix {
	overflow: hidden;
}
.clear {
	clear: both;
}

/*---------------------------------------------------------------------------------*/

/* Elements */
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
	/*font-family:Georgia, Tahoma, Verdana, Arial, Serif;*/
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-weight:normal;
	color: #333;	
}

p, blockquote, ul, ol {
	margin-top: 0;
	padding-top: 0;
	margin-bottom:0.5em;	
}
p 
{
	line-height:1.8em;
}

a:link, a:visited {
	color: #579;
	text-decoration:none;
	/*border-bottom:#c96 1px dotted;*/
}
a:hover,a:active 
{
	color:#960;
	text-decoration:none;
	border-bottom:#699 1px solid;
}
img.left 
{
	float:left;
	margin:0 1em 1em 0;
}
img.right 
{
	float:right;
	margin:0 0 1em 1em;
}
a img 
{
	border:0;
	padding-bottom:2px;
	border-bottom:1px dashed;
}
blockquote 
{
	margin:1em;
	padding:0 2em;
	background:url(img/quote.gif) no-repeat left top;
	color:#888;
}
fieldset 
{
	border:none;
}

dl {
	margin:1em 0px;
}
dt 
{
	font-weight:bold;
}
dd 
{
	margin:0.5em 1em;
	padding:0;
}

/* Main */

#middle h2 {
	padding: 4px;
	font-size: 1.6em;		
	line-height:1.2em;
	border-bottom:#ddd 1px solid;
}
#middle h3 {
	padding: 4px;
	font-size: 1.4em;		
	line-height:1.2em;
	border-bottom:#ddd 1px solid;
}
#middle h2 a 
{
	border:0;
}
#content ul {
	margin: 0.5em 0;
	padding: 0 0 0 2em;
	list-style-type:none;
}
#content ul li 
{
	padding:5px 0;
	list-style-image:url(img/arrows.gif);
	line-height:1.8em;
}
#content ol 
{
	margin:0;
	padding:0 0 0 3em;	
}
#content ol li 
{
    margin:0;
    padding:3px;
    line-height:1.8em;
}
#content .post 
{
	margin-bottom:3em;
}
#content .entry 
{
    clear:both;
	padding: 10px 5px;
}
.post .date {
	float: right;
	margin:5px 0 0 5px;
	padding:0 10px;
	text-align:center;
	font-size: 0.8em;
	border:#ccc 1px solid;
	font-weight:bold;
	background:url(img/bgstripes.gif) repeat;
	color:#468;
	font-family: "Lucida Sans", "Trebuchet MS", Verdana, Arial, Serif;
}
.post .date span 
{
	display:block;
}
.post .date .day 
{
	font-size:1.6em;
	color:#345;
}
.post .meta {
	margin-bottom: 10px;
	padding-left: 5px;
	font-size: 0.9em;
	color:#999;
}
.post .comments 
{
    font-size:0.9em;
    border-bottom:#ccc 1px dotted;
    color:#999;
    padding-left:17px;
    background:url(img/comments.gif) no-repeat left;
}
.post .comments a 
{
	border-bottom:0px;
}
#middle .feed 
{
	list-style-image:none;
	background:url(img/icon_feed.gif) no-repeat left 3px;
	padding:3px 17px; 
}
#content .trackback 
{
	background:url(img/trackback.gif) no-repeat left 6px;
	padding:3px 12px; 
}
ul.authorposts
{
	margin:0;
	padding:0 2em;
}
ul.authorposts li
{
	margin:0;
	padding:5px;	
}
ul.authorposts li em 
{
	float:right;
	font-style:normal;
}
/* Content */

#content {
	float: right;
	width: 640px;
	padding:10px;
}
/* Column Two */

#sidebar {
	float: left;
	width: 205px;		
	padding: 10px;	
	font-size:0.9em;
	margin: 105px 5px 5px 5px;	
	/*position relative is needed to make links work on top of decorative
	images that are positioned on top of them with position relative (but earlier in the source code)*/
	position: relative;
}

#sidebar 
{
	border-right:#ccc 1px dotted;
}
#sidebar ul 
{
	margin:0;
	padding:0;
	list-style:none;
	background:none;
}
#sidebar li
{
	margin:0;
	padding:0;
	list-style:none;
	background:none;
}
#sidebar h2
{
	padding: 10px 0 0 0;
	font-variant:small-caps;
}
#sidebar p, #sidebar form
{
	padding:10px;
	margin:0;
}
#sidebar ul ul
{
	margin:10px 0 0 20px;
	padding:0;
}
#sidebar ul ul ul
{
	margin:0px 0 0 10px;
	padding:0;
}
#sidebar li li 
{
	list-style-image:url(img/bullet.gif);
	margin:5px 0;
	padding:0;
	
}
/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	text-decoration:none;
	}
#wp-calendar #today 
{
	border:#999 1px solid;
}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */
/* Comments */
input.textbox
{
	border:#ccc 1px solid;
	background:#f9f9f9;
	font:1em Verdana, Arial, Serif;
	padding:2px;
	width:150px;
}
textarea{
	width: 90%;
	padding:5px;
	height: 20em;
	border: 1px solid #ccc;	
	background:#f9f9f9;
	font:1em Verdana, Arial, Serif;
}
input.textbox:focus, textarea:focus
{
	background:#fff;
	border:#999 1px solid;
}
#commentform 
{
	margin:0;
	padding:10px;
	background:#fff;
}
#content .commentlist {
	margin: 0;
	padding: 0;
}
#content .commentlist li 
{
	list-style:none;
	margin: 0;
	padding: 1em;			
	border-bottom:#ddd 1px solid;
	font-size:0.9em;
}
#content .commentlist li .cmtinfo 
{
	padding:5px;
	margin-bottom: 5px;
	position:relative;	
}
#content .commentlist li .cmtinfo em 
{
	margin:0;
	padding:0 1em;
	font-weight:normal;			
	font-style:normal;
	color:#999;	
}
#content .commentlist li cite 
{
	font-style:normal;
	font-weight:bold;
	font-size:1.1em;
}
#content .commentlist li.alt
{
	background:#f9f9f9;	
}
#content .nocomments
{
	font-size:0.9em;
	color:#999;
	text-align:center;
}
/* Footer */

/*#footer {
	margin: 5px auto 0;
	padding:0 15px;
	width:870px;
	background: #333;
	border:#ccc 3px double;
}

#footer p {
	margin: 0;
	padding: 7px;
	font-size: 0.9em;
	color: #696;	
}
#footer p span 
{
	float:right;
}
#footer a:link, #footer a:visited {
	color: #696;
	border:0;
}
#footer a:hover, #footer a:active,#footer p strong {
	color: #eee;
	text-decoration:none;
	border:0;
}
#header, #content, #sidebar, #footer, .widget 
{
	overflow:hidden;
}*/
