/*
Theme Name: Maskun kunta 
Theme URI: http://wordpress.org/
Description: Maskun kunnan teema.
Version: 0.1
Author: Pasi lunden
Author URI: http://
Tags: masku
*/


/* Begin Typography & Colors */
body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	background: #d5d6d7 url('images/kubrickbgcolor.jpg');
	color: #333;
	text-align: center;
	}

#page {
	background-color: white;
	text-align: left;
	}

#header {
	background: #73a0c5 url('images/masku_header.jpg') no-repeat bottom center;
	}

#menu {
	background: #73a0c5 url('images/masku_menubg.jpg') no-repeat bottom center;
	}

#breadcrumb {
	font-size: 0.8em;
	}

#content {
	font-size: 1.2em ;
	}

.widecolumn .entry p {
	font-size: 1.05em;
	}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.4em;
	}

.widecolumn {
	line-height: 1.6em;
	}

.narrowcolumn .postmetadata {
	text-align: center;
	}

.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	}

#footer {
	background: #eee url('images/masku_footer_1000.jpg') no-repeat top;
	border: none;
	}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}

h1, h2, h3 {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: bold;
	}

h1 {
	font-size: 1.8em;
	}

h2 {
	font-size: 1.6em;
	}

h3 {
	font-size: 1.4em;
	}

h4 {
	font-size: 1.2em;
	}

h2.pagetitle {
	font-size: 1.6em;
	}

#left_sidebar {
	font: 1.2em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: bold;
	}

#right_sidebar {
	font: 1.2em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

#left_sidebar h2 {
	font-size: 1.4em;
	}

#right_sidebar h2 {
	font-size: 1.4em;
	}

#contact_information {
	font-family: 'Lucida Grande', Verdana, Sans-Serif;
	font-size: 0.8em;
	}

#ajankohtaista_box {
	font-family: 'Lucida Grande', Verdana, Sans-Serif;
	font-size: 1.0em;
	}

h1, h1 a, h1 a:visited {
	text-decoration: none;
	}

h2, h2 a, h2 a:visited {
	color: #016fae;
	}

h3, h3 a, h3 a:visited {
	color: #80af13;
	}


h1, h1 a, h1 a:visited, h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited, h4, h4 a, h4 a:visited, #left_sidebar h2, #right_sidebar h2, caption, cite {
	text-decoration: none;
	}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover {
	text-decoration: underline;
	}

/*.entry p a:visited {
	color: #b85b5a;
	}*/





small, #left_sidebar ul ul li, #left_sidebar ul ol li, #right_sidebar ul ul li, #right_sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

a {
	color: #016fae;
	text-decoration: none;
	}

a:hover {
	text-decoration: underline;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}

#content .hilite { background-color:yellow }

#content table { 
	font-size: 1.0em; 
	}

/* End Typography & Colors */

/* Begin Structure */
body {
	margin: 0 0 0 0;
	padding: 0;
	}

#page {
	background-color: white;
	margin: 5px auto;
	padding: 0;
	width: 1000px;
	border: none;
	}

#header {
	background-color: white;
	margin: 0 0 0 0;
	padding: 0;
	height: 120px;
	width: 1000px;
	}

#header a
{
         display: block;
         float: left;
}

#header a span
{
         display: none;
}

#header a#link
{
         height: 120px;
         width: 250px;
}

#headerimg {
	margin: 0 0 0 0;
	padding: 0;
	height: 110px;
	width: 980px;
	}

#menu {
	background-color: white;
	margin: 0 0 0 0;
	padding: 0;
	height: 23px;
	width: 1000px;
	}

#vaakuna {
	margin: 0;
	padding: 0;
	height: 42px;
	width: 225px;
	background: white url('images/vaakuna_pieni.jpg') no-repeat left;
	border: 1px red;
	}

/***** HORIZONTAL MENU *****/
#menutxt {
	margin: 0 0 0 20px;
	padding: 0 0 0 0;
	height: 23px;
	width: 700px;
	float: left;
	text-align: left;
	display: inline;
	}
#menutxt ul { width: 700px; margin: 3px 0 0 0; padding: 0; list-style: none; }
#menutxt ul li { display: inline; margin: 0; font-size: 1.2em;}
#menutxt ul li a { padding: 0 0 0 15px; text-decoration: none; font-weight: bold;  color: white; }
#menutxt ul li a:hover { color: white; text-decoration: underline; }

/***** SEARCH *****/
#search { float: right; width: 250px; margin: 2px 20px 0 0; font-weight: bold;  color: white; }
#search form { float: right; margin: 0 4px 0 0; padding: 0; }
#search input#s { color: #797a52; width: 155px; margin: 0; padding: 0; border: 1px solid #c4cccf; }
#search .search-submit { padding: 0 0 0 10px; text-decoration: none; font-weight: bold;  color: white; font-size: 1.2em; } 
#search a:hover { color: white; text-decoration: underline; }

#breadcrumb {
	margin: 0 0 0 0;
	padding: 0;
	}

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

.narrowcolumn {
	float: left;
	padding: 0 0 20px 45px;
	margin: 0px 0 0;
	width: 450px;
	}

.widecolumn {
	padding: 10px 0 20px 0;
	margin: 5px 0 0 150px;
	width: 450px;
	}

.post {
	margin: 0 0 40px;
	text-align: left-justify;
	}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: both;
}

.clear {
	clear: both;
}

#footer {
	padding: 20px 0;
	margin: 0 auto;
	width: 1000px;
	clear: both;
	}

.recentdate {
	color: black;
	}
/* End Structure */

/* Begin Headers */

h1 {
	padding-top: 70px;
	margin: 0;
	}

h2 {
	margin: 20px 0 0;
	}

h3 {
	padding: 0;
	margin: 30px 0 0;
	}

/* End Headers */

/***** MAIN CONTENT *****/

#content { float: left; width: 460px; margin: 10px 20px 0; padding: 0 0 0 0; }


/***** IMAGES *****/
p img { padding: 0; max-width: 100%; }
a img { border: #b0aa96 1px solid; padding: 3px; background: none; }

img.avatar { float: left; margin: 3px; border: #afb997 1px solid; }
img.centered { display: block; margin-left: auto; margin-right: auto; }
img.alignright { padding: 3px; margin: 0 0 0 7px; display: inline; }
img.alignleft { padding: 3px; margin: 0 7px 0 0; display: inline; }

.alignright { float: right; }
.alignleft { float: left; }
.aligncenter, div.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.wp-caption { border: 1px solid #ddd; text-align: center; background-color: #f3f3f3;   padding-top: 4px; margin: 10px; /* optional rounded corners for browsers that support it */ -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px;    border-radius: 3px; }
.wp-caption img { margin: 0; padding: 0; border: 0 none; }
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; padding: 0 4px 5px; margin: 0; }

#flickrrss img { border: 1px solid #61574a; float: left; margin: 0 0 3px 3px; }

.thumbnail { width: 60px; height: 60px; float: left; margin: 3px; border: #3f464f 1px solid; }
.medium { width: 250px; height: 150px; float: left; margin: 3px; border: #3f464f 1px solid; }

/***** NAVIGATION *****/
.navigation { padding: 5px 0 5px 10px; font-size: 9px; font-weight: bold; line-height: 18px; }

/***** SUBSCRIPTION *****/
.subscribe  { background: url(images/feed-icon.jpg) no-repeat 2% center; width: 25px; margin: 5px 0 0 10px; padding: 6px 0 6px 20px; text-decoration: none; }
.subscribe a:hover { text-decoration: underline; }

/** LINER **/
#liner { width: 3px; height auto; float: left; margin: 40px 0; padding: 0; background-color: #0095e6; }

/***** SIDEBAR *****/

#left_sidebar { width: 225px; float: left; margin: 10px; padding: 0 auto 0 auto; }
#left_sidebar a.title { color: #6b6b47; padding: 0px; margin: 0px; }	
#left_sidebar ul { margin: 30px 0 0 0; padding: 0; }
#left_sidebar ul li { display: block; padding: 3px; margin: 0px; font-size: 1em; list-style: none; }
#left_sidebar ul ul { margin: 0 0 0 10px; padding: 0; }


#left_sidebar ul li.current_page_ancestor a, #left_sidebar ul li.current_page_item a { color: white; font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif; font-size: 12px; font-weight: bold; padding: 3px 3px 3px 10px; border: none; text-align: left; background: url(images/sidebar_head_blue.png); } 

#left_sidebar ul ul li.page_item a { color: #016fae; font-weight: bold; background: none; padding: 0;}
#left_sidebar ul ul li.current_page_item a { color: black; font-weight: bold; background: none; } 

#left_sidebar ul ul ul li.page_item a { color: #016fae; font-weight: bold; background: none; }
#left_sidebar ul ul ul li.current_page_item a { color: black; font-weight: bold; background: none; } 

#left_sidebar ul ul ul ul li.page_item a { color: #016fae; font-weight: bold; background: none; }
#left_sidebar ul ul ul ul li.current_page_item a { color: black; font-weight: bold; background: none; } 

#left_sidebar ul ul ul ul ul li.page_item a { color: #016fae; font-weight: bold; background: none; }
#left_sidebar ul ul ul ul ul li.current_page_item a { color: black; font-weight: bold; background: none; } 

#left_sidebar ul li.page_item ul { display: none; }
#left_sidebar ul li.current_page_item ul { display: block; }
#left_sidebar ul li.current_page_ancestor ul { display: block; }

#left_sidebar ul ul li.page_item ul { display: none; }
#left_sidebar ul ul li.current_page_item ul { display: block; }
#left_sidebar ul ul li.current_page_ancestor ul { display: block; }

#left_sidebar ul ul ul li.page_item ul { display: none; }
#left_sidebar ul ul ul li.current_page_item ul { display: block; }
#left_sidebar ul ul ul li.current_page_ancestor ul { display: block; }

#left_sidebar ul ul ul ul li.page_item ul { display: none; }
#left_sidebar ul ul ul ul li.current_page_item ul { display: block; }
#left_sidebar ul ul ul ul li.current_page_ancestor ul { display: block; }

#left_sidebar ul ul ul ul ul li.page_item ul { display: none; }
#left_sidebar ul ul ul ul ul li.current_page_item ul { display: block; }
#left_sidebar ul ul ul ul ul li.current_page_ancestor ul { display: block; }

#right_sidebar { width: 215px; float: right; margin: 10px; padding: 5px auto 0 auto; }
#right_sidebar ul li a { color: black; }
#right_sidebar ul li a:hover { color: black; text-decoration: underline}
#right_sidebar ul li a { display: inline; margin: 0; padding: 0; }
#right_sidebar ul li { display: block; padding: 0; margin: 0px; font-size: 1em; color: black; list-style: none; }
  
#right_sidebar ul { margin: 30px 0 5px 0; padding: 0; }
#right_sidebar ul ul { margin: 0 0 0 0; background-color: #cfe195; }
#right_sidebar ul ul li { padding: 10px; }
#right_sidebar h2 { color: white; font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif; font-size: 12px; font-weight: bold; padding: 3px 3px 3px 10px; border: none; text-align: left; background: url(images/sidebar_head.png); } 
#right_sidebar a h2 { color: white; }
#right_sidebar a:hover h2 { color: white; text-decoration: underline; }

/***** INTRO BOX *****/
#intro { width: 515px; margin: 14px 0 20px 0; float: left; padding: 0; text-align: left; background: transparent url(images/dot.gif) repeat-x scroll 0pt 100%; } 
#intro p { font-size: 1em; font-style: italic; line-height: 1.42em; }
#intro h2 { font-size: 1.077em; text-transform: uppercase; width: 90%; background: none; margin: 0 auto 0 auto; padding: 3px; text-align: left; border-bottom: #94927b 2px solid; } 



/***** IE HACKS *****/
*html #left_sidebar { margin: 0 0 20px 5px; } 
*html .search { margin: 10px 10px 0 0; }
