﻿/*
Theme Name: Ekobygg
Theme URI: 
Description: Tema för ekobyggportalen
Version: 1.0
Author: Cristian Håkansson
Author URI:
Tags:
*/

@import "style/css/reset.css";
@import "style/css/typography.css";
@import "style/css/layout.css";

/*
  COLORS:
	--------------------
	light tan: #fffced
	red: #BD2A2A
	dark red: #610000
	dark green: #006229
	green: #62BE29
	light green: #DEF29B
	dark gray: #343434
*/


/***************
 GENERAL STYLES
***************/
body{
	background: #DEF29B;
	color: #343434;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	font-size: 12px;
}
p {
	margin-bottom: 18px;
	line-height: 18px;
}
a {
	text-decoration: none;
	}
	a:hover{
		text-decoration: underline;
	}
h1, h2, h3, h4, h5, h5, h6 {
	font-family: Garamond, 'Hoefler Text', Palatino, 'Palatino Linotype', serif;
	font-size: 24px;
	}
	h1 {
		font-size: 40px;
	}
	h2 {
		font-size: 27px;
		margin-bottom: 9px;
	}
	h3, h4 {
		font-weight: bold;
		font-size: 18px;
	}
#page-wrap {
	background: white;
	width: 940px;
	padding: 10px;
	margin: auto;
	border: 1px solid #006229;
	border-top: 3px solid #006229;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
.post img.alignleft {
	margin-right: 5px; 
}
.post img.alignright {
	margin-left: 5px; 
}

div.image {
	float:left;
	width: 200px;
	background: #fffced;
	border: 1px solid black;
	margin-right: 18px;
	margin-bottom: 18px;
	}
	div.image img {
		width: 200px;
	}
	div.image p{
		text-align: center;
		font-style: italic;
		margin-bottom: 0;
	}



.wp-caption {
	border:1px solid #610000;
	background: #fffced;
	padding:10px;
	margin: 0 10px;
	padding-right: 0;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	}
	.wp-caption p {
		margin-bottom: 0;
		font-size: 9px;
		line-height: 14px;
	}

/**************
 HEADER STYLES
**************/
#header {
	background: white;
	padding-top: 20px;
	padding-bottom: 10px;
	}
	#header h1 {
		width: 960px;
		color: #006229;
		margin: 0 auto;
		text-transform: lowercase;
		font-family: 'Century Gothic', 'Apple Gothic', sans-serif;
		font-weight: bold;
		letter-spacing: 2px;
		}
		#header h1 span {
			color: #62BE29;
		}
		#header h1 a {
			color: #006229;
			}
			#header h1 a:hover {
				text-decoration: none;
			}
		#header h1 img {
			height: 80px;
		}
#nav {
		clear: both;
		width: 960px;
		margin: 0 auto;
		height: 20px;
		padding-top: 5px;
		padding-left: 7px;
		font-weight: bold;
	}
	#nav li {
		height: 18px;
		display: block;
		float: left;
		padding-top: 2px;
		padding-bottom: 4px;
		}
		#nav li a {
			padding: 2px 10px 4px;
			color: #006229;
			}
			#nav li a:hover {
				text-decoration: none;
				background: #62BE29;
				color: #DEF29B;
				-moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;
				-webkit-border-radius-topleft: 5px; -webkit-border-radius-topright: 5px;
				border-radius-topleft: 5px; border-radius-topright: 5px;
			}
		#nav li.current_page_item a {
			background: #006229;
			color: #DEF29B;
			-moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;
			-webkit-border-radius-topleft: 5px; -webkit-border-radius-topright: 5px;
			border-radius-topleft: 5px; border-radius-topright: 5px;
		}


/********************
 MAIN CONTENT STYLES
********************/
#main {
	width: 550px;
	margin: 0 25px;
	float: left;
	}
	#main ul {
		list-style-type: disc;
	}
	#main ol {
		list-style-type: decimal;
		}
		#main ul li, ol li {
			list-style-type: inherit;
			margin-left: 18px;
			margin-bottom: 18px;
			line-height: 18px;
		}
	#main .intro p {
		padding: 10px;
		background: #fffced;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		border-radius: 5px;
	}


/***************
 SIDEBAR STYLES
 **************/
.sidebar {
	width: 170px;
	float: left;
	}
	.sidebar>li {
		padding: 7px 10px;
		margin-bottom: 10px;
		background: #DEF29B;
		border-right: 1px solid #62BE29;
		border-bottom: 1px solid #62BE29;
		color: #006229;
		-moz-border-radius: 7px;
		-webkit-border-radius: 7px;
		border-radius: 7px;
		}
		.sidebar>li>h2 {
			font-family: Verdana, Geneva, Tahoma, sans-serif;
			color: #62BE29;
			font-size: 14px;
			/*margin-left: 4px;*/
		}
		.sidebar>li li a {
			margin-left: -10px;
			padding: 4px 10px;
			display: block;
			width: 150px;
			}
			.sidebar>li li a {
				text-decoration: none;
				font-weight: bold;
				color: #006229;
				}			
				.sidebar>li li a:hover {
					background: #62BE29;
					color: #DEF29B;
				}
				.sidebar>li li.current_page_item>a {
					background: #006229;
					color: #DEF29B;
				}
			.sidebar>li li li a {
				padding-left: 20px;
				padding-right: 0px;
				}
				.sidebar>li li li a {
					font-weight: normal;
				}
	.sidebar #ad_bar img {
		width: 150px;
		margin-left: -1px;
		border: 1px solid #006229;
	}
#searchform .hidden {
	display: none;
}
#searchform #s {
	width: 105px;
}

/******************
 FRONT PAGE STYLES
 ******************/
#news_header {
	display: inline;
	padding: 4px;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	background: #610000;
	color: #fffced;
	border-bottom: none;
	font-weight: bold;
	font-size: 14px;
	-moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;
	-webkit-border-radius-topleft: 5px; -webkit-border-radius-topright: 5px;
	border-radius-topleft: 5px; border-radius-topright: 5px;
	margin-left: 10px;
}
#news_list {
	border: 1px solid #610000;
	border-top: 3px solid #610000;
	background: #fffced;
	margin-bottom: 9px;
	padding: 10px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	}
	#news_list h2 a {
		color: #610000;
	}
		
/***************
 ARCHIVE STYLES
***************/
table#archive {
	width: 550px;
	line-height: 24px;
	}
	table#archive thead {
		background: #fffced;
		}
		table#archive th {
			padding: 0 20px 0 5px;
			font-weight: bold;
			}
			table#archive th a {
				color: #610000;
			}
			table#archive th.order_asc {
				background-attachment: fixed;
				background: url(images/down.png) no-repeat;
				background-position: 6px 5px;
				padding: 0 5px 0 20px;
			}
			table#archive th.order_desc {
				background-attachment: fixed;
				background: url(images/up.png) no-repeat;
				background-position: 6px 5px;
				padding: 0 5px 0 20px;
			}
	table#archive td {
		padding: 0 5px;
	}
	table#archive tr {
		border-bottom: 1px solid #610000;
	}

/******************
 STORE INFO STYLES
******************/
div.store_info {
	width: 240px;
	margin: 10px;
	float: left;
	border: 1px solid #610000;
	-moz-border-radius: 5px; -webkit-border-radius: 5px;
	}
	div.store_info img {
		width: 220px;
		height: 110px;
		padding: 10px;
	}
	div.store_info p.description {
		font-size: 10px;
		display: block;
	}
	div.store_info a {
		font-size: 10px;
		color: #610000;
		text-transform: uppercase;
		display: block;
		text-align: center;
	}

/***************
 PAGE AD STYLES
***************/
div.page_ad {
	width: 150px;
	margin: 10px;
	float: left;
	border: 1px solid #610000;
	-moz-border-radius: 5px; -webkit-border-radius: 5px;
	}
	div.page_ad img{
		padding: 5px 5px 1px;
	}
	div.page_ad img.text_logo {
		width: 140px;
		height: 35px;
	}
	div.page_ad img.ad_image {
		width: 140px;
		height: 100px;
	}
	div.page_ad p {
		font-size: 10px;
		text-align: center;
		padding: 1px 5px 0;
		margin-bottom: 5px;
		}
		div.page_ad p.fixed {
			height: 72px;
			overflow: hidden;
		}
	div.page_ad a {
		font-size: 10px;
		color: #610000;
		text-transform: uppercase;
		display: block;
		text-align: center;
	}

/**************
 FOOTER STYLES
**************/
#footer {
		background: #DEF29B;
		height: 50px;
		width: 900px;
		margin: 0 auto;
	}
	#footer a {
		text-decoration: none;
		color: #006229;
	}
	#footer ul#aux_nav {
		float: left;
	}
	#footer ul#meta_nav {
		float: right;
	}
	#footer li{
		display: inline;
		float: left;
		padding: 10px;
	}