/* CSS Document 
Title:		 Content Style Sheet
Author:		 Northman Design
URL:		 N/A
Date:		 20th May 2010
Description: Custom wordpress template for Mestari Werstas, by Northman Design
*/

/* 
=====================================================
FORMATTING CSS
=====================================================
Code follows
*/

html,body,td,th {
	font-family: Verdana, Tahoma, sans-serif;
	font-size: 12px;
	color: #302126;
	text-align: left;
	height: 100%;
	background: url(images/background2.jpg) center bottom fixed no-repeat;
}

body {
	behavior: url("csshover3.htc"); 
}

/* IE6 hack **/
* html #container {
	height:100%
}
	
body {
    text-align:center;
}
/* ie6 hack **/

img {
	border-style: none;
}

a {
	text-decoration: none;
	color: #8DAD5A;
	font-weight: bold;
}

a:hover {
	color: #C7E596;
}

h1,h2,h3,h4,h5,h6 {
	font-weight: bold;
}

h1 {
	font-size: 16px;
	color: #302126;
}

h2 {
	font-size: 14px;
	color: #302126;
}

h3 {
	font-size: 16px;
	color: #8DAD5A;
}

h4 {
	font-size: 14px;
	color: #8DAD5A;
}

h5 {
	font-size: 14px;
	color: #C7E596;
}

h6 {
	font-size: 14px;
	color: #fff;
}

.notes {
	font-size: 10px;
	font-variant: small-caps;
	color: #A2898F;
}

.widebox {
	position: relative;
	margin: 0 auto;
	width: 860px;
	height: 82px;
	background: url(images/widebox.png) no-repeat;
}

.widebox p {
	position: relative;
	line-height: 82px;
	text-align: center;
	font-weight: bold;
	color: #5E4B4F;
	font-size: 14px;
}

.normalbox {
	position: relative;
	margin: 0 auto;
	width: 550px;
	height: 82px;
	background: url(images/normalbox.png) no-repeat;
}

.normalbox p {
	position: relative;
	line-height: 82px;
	text-align: center;
	font-weight: bold;
	color: #5E4B4F;
	font-size: 14px;
}

.midbox {
	position: relative;
	margin: 0 auto;
	width: 400px;
	height: 82px;
	background: url(images/midbox.png) no-repeat;
}

.midbox p {
	position: relative;
	line-height: 75px;
	text-align: center;
	font-weight: bold;
	color: #5E4B4F;
	font-size: 14px;
}

.narrowbox  {
	position: relative;
	margin: 0 auto;
	width: 230px;
	height: 82px;
	background: url(images/narrowbox.png) no-repeat;
}

.narrowbox p {
	position: relative;
	line-height: 82px;
	text-align: center;
	font-weight: bold;
	color: #5E4B4F;
	font-size: 14px;
}

/* 
=====================================================
NAVIGATION CSS
=====================================================
Code follows
*/

#navcontainer {
	position: relative;
	float: right;
	width: 375px;
}	

#menu {
	list-style: none;
	padding: 0;
	margin: 0;
	width: 370px;
	height: 80px;
	position: relative;
}

#menu span {
	display: none;
	position: absolute;
}

#menu a {
	display: block;
	text-indent: -900%;
	position: absolute;
	outline: none;
}

#menu a:hover {
	background-position: left bottom;
}

#menu a:hover span {
	display: block;
}

#menu .werstas {
	width: 51px;
	height: 51px;
	background: url(images/nav/axes.png) no-repeat;
	left: 5px;
	top: 0px;
}

#menu .werstas span {
	width: 100px;
	height: 20px;
	background: url(images/nav/werstas.png) no-repeat;
	left: -24px;
	top: 55px;
}

#menu .mestarit {
	width: 51px;
	height: 51px;
	background: url(images/nav/faces.png) no-repeat;
	left: 66px;
	top: 0px;
}

#menu .mestarit span {
	width: 100px;
	height: 20px;
	background: url(images/nav/mestarit.png) no-repeat;
	left: -24px;
	top: 55px;
}

#menu .tuotteet {
	width: 51px;
	height: 51px;
	background: url(images/nav/cameras.png) no-repeat;
	left: 127px;
	top: 0px;
}

#menu .tuotteet span {
	width: 100px;
	height: 20px;
	background: url(images/nav/tuotteet.png) no-repeat;
	left: -24px;
	top: 55px;
}

#menu .logikirja {
	width: 51px;
	height: 51px;
	background: url(images/nav/writes.png) no-repeat;
	left: 189px;
	top: 0px;
}

#menu .logikirja span {
	width: 100px;
	height: 20px;
	background: url(images/nav/logikirja.png) no-repeat;
	left: -24px;
	top: 55px;
}

#menu .kontaktit{
	width: 51px;
	height: 51px;
	background: url(images/nav/hands.png) no-repeat;
	left: 250px;
	top: 0px;
}

#menu .kontaktit span {
	width: 100px;
	height: 20px;
	background: url(images/nav/kontaktit.png) no-repeat;
	left: -24px;
	top: 55px;
}

#menu .english {
	width: 51px;
	height: 51px;
	background: url(images/nav/languages.png) no-repeat;
	left: 311px;
	top: 0px;
}

#menu .english span {
	width: 100px;
	height: 20px;
	background: url(images/nav/english.png) no-repeat;
	left: -24px;
	top: 55px;
}

/* 
=====================================================
POSITIONAL CSS
=====================================================
Code follows
*/

img.floatleft {
	float: left;
	margin: 10px 10px 10px 0px;
}

img.floatright {
	float: right;
	margin: 10px 0px 10px 10px;
}

div.marginize {
	margin: 10px;
}

div.capitalize {
	text-transform: uppercase;
}

div.fivemargin {
	margin: 5px;
}

div.zeromargin {
	margin: 0px;
}

div.zeromargintop {
	margin-top: 0px;
}

div.zeropadding {
	padding: 0px;
}

div.zeropaddingtop {
	padding-top: 0px;
}

#partners {
	float: left;
}

/* 
=====================================================
LAYOUT CSS
=====================================================
Code follows
*/

hr {
	border: 0;
	width: 100%;
	color: #AAA;
	background-color: #AAA;
	height: 1px;
}

/*Main container*/
#maincontainer {
	width: 900px; 
	margin: 0 auto;
	min-height: 100%;
}

/*Header*/
#headercontainer {
	padding-top: 0px;
	float: left;
	height: auto;
	margin: 10px;
}

	.headerbox {
		width: 500px;
		height: auto;
		float: left;
		padding-bottom: 5px;
	}

/*Content*/
html>body #contentwrapper {
	text-align: left;
	float: left;
	width: 860px;
	padding: 10px;
}

#contentwrapper {
	text-align: left;
	float: left;
	width: 100%;
	padding: 10px;
}

#maincontent_left {
	float: left;
	width: 550px;
	padding: 10px;
}

#halfcontent_left {
	display: inline;
	float: left;
	width: 400px;
	padding: 10px;
}

#maincontent_right {
	float: right;
	width: 550px;
	padding: 10px;
}

#halfcontent_right {
	display: inline;
	float: right;
	width: 400px;
	padding: 10px;
}

#fullwidth {
	float: left;
	width: 100%;
	padding: 10px;
}
	
/*Sidebar*/
#sidebar_right { 
	float: right; 
	width:230px; 
	height:auto !important;
	padding: 10px 0px 10px 40px;
	background:transparent url(images/spacer.png) repeat-y left top;
}

#sidebar_left { 
	float: left; 
	width:230px; 
	height:auto !important;
	padding: 10px 20px 10px 10px;
	background:transparent url(images/spacer.png) repeat-y right top;
}

/*Footer*/
#footer {
	clear: both;
	padding: 10px;
	width: 100%;
	text-decoration: none;
	font-size: 85%;
	color: #666;
} 

#footer a {
	text-decoration: none;
}

#footercopyright {
	margin: 0px 15px 2px 0px;
	float: right;
}

#footercopyright a {
	text-decoration: none;
	color: #666;
}

#footercopyright a:hover {
	text-decoration: none;
	color: #333;
}

/* 
=====================================================
GALLERY CSS
=====================================================
Code follows
*/

#master {
	width: 160px;
	display: inline;
	float: left;
	height: 230px;
	padding: 10px 0px 10px 10px;
	text-align: left;
}

#workshop {
	width: 200px;
	display: inline;
	float: left;
	height: 250px;
	padding: 10px 0px 10px 10px;
	text-align: left;
}

/* 
=====================================================
BUTTONS CSS
=====================================================
Code follows
*/
	
#mininav {
	margin: 0 auto;
	width: 150px;
}
	
#backbutton .nav {
	float: left;
	width: 350px;
	height: 25px;
	background-image:url(images/takaisinglow.png);
}

#prevmasterbutton .nav {
	float: left;
	width: 150px;
	height: 25px;
	background-image:url(images/edellinenmestariglow.png);
}

#nextmasterbutton .nav {
	float: right;
	width: 150px;
	height: 25px;
	background-image:url(images/seuraavamestariglow.png);
}

#prevprojectbutton .nav {
	float: left;
	width: 150px;
	height: 25px;
	background-image:url(images/edellinenprojektiglow.png);
}

#nextprojectbutton .nav {
	float: right;
	width: 150px;
	height: 25px;
	background-image:url(images/seuraavaprojektiglow.png);
}

#prev .nav{
	float: left;
	width: 16px;
	height: 16px;
	background-image:url(images/mini-nav-left_glow.png);
}

#next .nav {
	float: right;
	width: 16px;
	height: 16px;
	background-image:url(images/mini-nav-right_glow.png);
}

div.nav {
	position: relative;
	margin:10px;
	padding:0;
	border: none;
}

div.nav a, div.nav a:link, div.nav a:visited {
	display:block;
}

div.nav img {
	width:100%;
	height:100%;
	border:0;
}

div.nav a:hover img {
	visibility:hidden;
}

/* 
=====================================================
WORDPRESS CSS
=====================================================
Code follows
*/

#form {
	margin:0px;
	padding:0px;
}

/*Posts*/
#blogcontent {
	margin-top: 10px;
	float: left;
	width: 100%;
	overflow: hidden;
}

	.post {
		float: left;
		padding-top: 10px;
		width: 100%
	}
	
	.post-date {
		color: #8DAD5A;
		text-decoration: none;	
		display: inline;
		float: right;
	}

	.post-title {
		float: left;	
		width: 100%;
		margin: 0px;
		font-weight: bold;
		display: inline;
	}
	
	.post-title a {
		color: #8DAD5A;
		text-decoration: none;	
	}			
	
	.post-title a:hover {
		color: #C7E596;
	}	
			
	.entry {
		clear: both;
		font-weight: normal;
	}

	.post-cat {
		display: none;
		visibility: hidden;
	}	

	.post-comments {
		background: url(images/mini-comments.png) no-repeat left center;
		padding-left: 18px;
		float: right;
		font-size: 95%;
	}
	
	.post-comments a {
		text-decoration: none;
	}		

	.post-calendar {
		background: url(images/mini-calendar.png) no-repeat left center;
		padding-left: 18px;
		float: right;
		font-size: 95%;
		color: #5E4B4F;
	}

	.post-content {
		clear: both;
		padding-top: 5px;
	}

	.navigation {
		clear: both;
		padding: 10px 0px;
	}

	.navigation a {
		color: #302126;
		text-decoration: none;
	}

	.previous-entries {
		float: left;
		padding-left: 18px;
		background: url(images/mini-nav-left.png) no-repeat left center;
	}

	.next-entries {
		float: right;
		padding-right: 18px;
		background: url(images/mini-nav-right.png) no-repeat right center;
	}

/*Comments*/
#comments, #respond {
	border-bottom: 1px dotted #A2898F;
	padding-bottom: 5px;
}

	.commentlist {
		margin: 10px 0px;
		padding-left: 20px;
		line-height: 130%;
	}

	.commentlist li{
		padding: 5px 10px;
		position: relative;
	}

	.commentlist .avatar {
		position: absolute;
		top: 5px;
		right: 5px;
		border: solid 1px #000;
		padding: 1px;
		background: #fff;
	}

	.commentlist .alt {
		background: #f1fedb;
	}

	.commentlist cite, .commentlist cite a {
		font-weight: bold;
		font-style: normal;
		font-size: 120%;
		color: #321C21;
	}

	.commentlist small {
		margin-bottom: 5px;
		display: block;
		font-size: 87%;
	}

#commentform {
	margin-top: 10px;
	font: 110% Verdana, Tahoma, sans-serif;
}

#commentform p {
	padding: 6px 0px;
	margin: 0px;
}

#commentform label{
	font-weight: bold;
	color: #999;
	font-size: 100%;
}

#commentform input{
	width: 153px;
	background:#999;
	border: 1px solid #bdd77f;
	padding: 3px;
	margin-top: 3px;
}

#commentform textarea{
	width: 430px;
	height: 115px;
	background:#999;
	border: 1px solid #bdd77f;
	padding: 2px;
	margin-top: 3px;
}

#commentform textarea:focus, #commentform input[type="text"]:focus {
	background: #ccc;
	color: #321C21;
}

#commentform #submit{
	background: #321C21;
	font: bold 12px Arial, Helvetica, sans-serif;
	color: #FFF;
	border: none;
	float:right;
	width: 144px;
	height: 29px;
}

/*Wordpress sidebar elements*/
	.ul-cat {
		clear: both;
		list-style: none;
		margin:0px 0px 15px;
		padding:0px;
	}

	.ul-cat li{
		margin: 0px;
		padding: 2px 0px 2px 20px;
		background: url(images/mini-category.png) no-repeat left center;
	}

	.ul-cat li a {
		color: #8DAD5A;
		text-decoration: none;
	}

	.ul-cat li a:hover{
		color: #BAE693;
		text-decoration: none;
	}

	.ul-archives {
		clear: both;
		list-style: none;
		margin:0px 0px 15px;
		padding:0px;
	}

	.ul-archives li{
		margin: 0px;
		padding: 2px 0px 2px 20px;
		background: url(images/mini-monthly-archive.png) no-repeat left center;
	}

	.ul-archives li a {
		color: #8DAD5A;
		text-decoration: none;
	}

	.ul-archives li a:hover{
		color: #BAE693;
		text-decoration: none;
	}

/*Recent Comments*/
	.recent-comments {
		list-style: none;
		margin: 0px;
		padding: 0px;
		line-height: 100%;
	}

	.recent-comments li {
		background: url(images/mini-footer-comments.png) no-repeat;
		padding: 0px 0px 10px 20px;
	}

	.recent-comments a {
		font-size: 105%;
		line-height: 130%;
		font-weight: bold;
	}

/*Recent Posts*/
.recent-posts {
	list-style: none;
	margin: 0px;
	padding: 0px;
	font-size: 92%;
	line-height: 110%;
}

.recent-posts  ul, ul li{
	list-style: none;
	margin-left: 0px;
	padding-left: 0px;
}

.recent-posts a{
	font-size: 130%;
	line-height: 130%;
	font-weight: bold;
}

.recent-posts img {
	border:none;
	float: left;
	margin: 2px 5px;
}

/*Wordpress credits*/
#credits {
	clear: both;
	margin: 0px auto;
	width: 100%;
	line-height: 120%;
}

#credits a {
	font-weight: bold;
	text-decoration: none;
	color: #666;
}

#credits a:hover {
	text-decoration: none;
	color: #333;
}
