﻿/*
Theme Name: Ekobygg
Theme URI: 
Description: Tema för Ekobyggportalen
Version: 2.0
Author: Robert Huselius & Christian Håkansson
Author URI:
Tags:
*/

@import "style/css/reset.css";
@import "style/css/typography.css";
@import "style/css/layout.css";
@import "style/css/bbpress.css";

/*
  COLORS:
	--------------------
	light tan: #fffced
	red: #BD2A2A
	dark red: #610000
	dark green: #006229
	green: #62BE29
	light green: #DEF29B
	dark gray: #343434
*/

#copyright {
    text-align: center;
    color: #666;
    font-size: 10px;
    margin-bottom: 50px;
}

#ad_bar a img {
    margin-bottom: 10px;
}

#searchform {
    display: block;
    width: 190px;
    margin-top: 266px;
    margin-right: -20px;
    float: right;
}

#search form {
    font-size: 11px;
}

#searchbox {
    background-color: #FFF;
    margin-left: 15px;
    width: 120px;
    height: 20px;
    border: none;
    margin-top: 3px;
    padding: 5px 12px 5px 3px;
    font-size: 11px;
    color: #6e6e6e;
    float: left;
    border: 1px solid #9b9b9b;
}

#searchbutton {
    background: url(images/search_btn.jpg) no-repeat;
    width: 26px;
    height: 32px;
    border: none;
    cursor: pointer;
    margin-top: 3px;
    margin-left: -3px;
    float: left;
}

/***************
 GENERAL STYLES
***************/
body{
/*    background: #DEF29B;*/
/*    background: #A3E03A;*/
    color: #343434;
    font-family: Verdana, Tahoma, sans-serif;
    font-size: 12px;
    background-image: url(images/bakgrund-blad4.png);
/*    background-image: url(images/bakgrund-sten.png);*/
    background-repeat: repeat;
    background-position: top;
}
p {
    margin-bottom: 18px;
    line-height: 18px;
}
a {
    text-decoration: none;
    color: #F47323;
    /*color: #006229;*/
}
a:visited {
    color: #BE4E0A;
    /*color: #006229;*/
}
a:hover {
    text-decoration: underline;
}
h1, h2, h3, h4, h5, h5, h6 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    margin-bottom: 9px;
}
h1 {
    font-size: 20px;
}
h2 {
    font-size: 18px;
}
h3, h4 {
    font-weight: bold;
}
#page-wrap {
/*    background: #A3E03A;*/
    width: 960px;
    padding: 10px;
    margin: auto;
/*    border: 1px 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; 
}
.post>h2 {
    color:#228F00;
}

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: none;
    padding:0px;
    margin: 3px 6px;
}
.wp-caption.alignleft {
    margin-left: 0;
}
.wp-caption img {
    margin: 0;
}
.wp-caption p {
    margin-bottom: 0;
    font-size: 9px;
/*    font-style: italic;
    font-weight: bold;*/
    color: #666666;
    line-height: 14px;
}

/*************
HEADER STYLES
**************/
#header {
    display: block;
    height: 318px;
    width: 960px;
    margin-top:5px;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    border-left: 1px solid #999;
    border-top: 1px solid #999;
    border-radius: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    background-image: url(images/sidhuvud.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    position: relative;
}
#header h1 {
    width: 1000px;
    color: #006229;
    margin: 0 auto;
    text-transform: lowercase;
    font-family: 'Century Gothic', 'Apple Gothic', sans-serif;
    font-weight: bold;
    letter-spacing: 2px;
    visibility: hidden;
}
#header h1 span {
    color: #62BE29;
}
#header h1 a {
    color: #006229;
}
#header h1 a:hover {
    text-decoration: none;
}
#header h1 img {
    height: 80px;
}
		
#nav {  /* menyrad överst */
    /*font-family: Arial, Helvetica, sans-serif;*/
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 12px;
    margin-top: 268px;
     }
	#nav td {
		height: 18px;
		display: block;
		float: left;
/*		padding-top: 2px;
		padding-bottom: 4px;*/
		padding: 2px 9px 4px;
		}
		#nav td a {
			/*padding: 2px 9px 4px;*/
			color: white;
			font-weight:bold;
			}
			#nav td a:hover {
				text-decoration: none;
				color: #F9B05B;
			}
		#nav td.current_page_item a {
		    color: #F9B05B;
/*		    background:#333;
		    color: #FFF;
		    -moz-border-radius: 7px;
		    -webkit-border-radius: 7px;
		    border-radius: 7px;*/
		}


/********************
 MAIN CONTENT STYLES
 ********************/
#main {
    position:top;
    padding: 10px 10px 5px 10px;
    margin: 0 10px;
    background:white;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    border-left: 1px solid #999;
    border-top: 1px solid #999;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    border-radius: 7px;
    width: 575px;
    float: left;
}
#main ul {
    list-style-type: disc;
    margin-bottom: 16px;
}
#main ol {
    list-style-type: decimal;
}
#main ul li, ol li {
    list-style-type: inherit;
    margin-left: 18px;
    margin-bottom: 2px;
    line-height: 18px;
}
#main .intro p {
    padding: 10px;
    background: #fffced;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}


/***************
 SIDEBAR STYLES
 **************/
.sidebar {
    position:top;
    padding: 0 5px 7px 5px;
    margin-bottom: 10px;
    background:white;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    border-left: 1px solid #999;
    color: #096328;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    border-radius: 7px;
    width:180px:
}
.leftbar {
    float:left;
    width:180px;
}
.sidebar.rightbar {
    float:right;
    width:150px;
}
.sidebar>li,
.sidebar_group>li {
    padding-bottom:5px;
}
.sidebar>li a,
.sidebar_group>li a {
    font-weight:bold;
    font-size:8pt;
    color: #006229;
}
.sidebar>li li a,
.sidebar_group>li li a {
    font-weight:normal;
    margin-left:10px;
    font-size:7pt;
    color: #343434;
}
.sidebar>hr {
    color:#333;
    margin:5px 0;
}
.sidebar>li h2 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #FFF;
    background: #228F00;
    font-size: 12px;
    padding:5px;
    padding-left:10px;
    margin-right:-6px;
    margin-top:0px;
    margin-left:-5px;
    -moz-border-radius: 7px 7px 0px 0px;
    -webkit-border-radius: 7px 7px 0px 0px;
    border-radius: 7px 7px 0px 0px;
    /*margin-bottom:-2px;*/
    /*margin-left: 4px;*/
}
/*
	    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;
	    border: 1px solid #333;
	}
	#searchform .hidden {
	    display: none;
	}
	#searchform #s {
	    width: 95px;
	}

/******************
 FRONT PAGE STYLES
******************/
#news_header {
	display: inline;
	padding: 4px;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	background: #F47323;
	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 #F47323;
	border-top: 3px solid #F47323;
	background: white;
	margin-bottom: 9px;
	padding: 10px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	}
	#news_list h2 a {
	    font-size:14px;
	    color: #F47323;
	}
		
/***************
 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;
	height: 240px;
	margin: 10px;
	float: left;
	border: 1px solid #000000;
	}
	div.page_ad img{
		/*padding: 5px 5px 10px;*/
	}
	div.page_ad img.text_logo {
	        padding: 10px 5px 10px;
		width: 140px;
		height: 35px;
	}
	div.page_ad img.ad_image {
	        padding: 5px 5px 10px;
		width: 140px;
		height: 100px;
	}
	div.page_ad p {
	        line-height: 14px;
		font-size: 10px;
		text-align: center;
		padding: 1px 5px 0;
		margin-bottom: 5px;
		height: auto;
		overflow: hidden;
		}
		div.page_ad p.fixed {
			height: 62px;
			overflow: hidden;
		}
	div.page_ad a {
		font-size: 10px;
		color: #610000;
		text-transform: uppercase;
		display: block;
		text-align: center;
	}

/*
  EGENANNONS
*/
.egenannons_notice {
    clear: both;
    margin: 10px;
    border: 1px #333333 solid;
    padding: 5px;
    background-color: #ffdddd;
}
.egenannons_page_box {
    margin-left: 170px;
}
ul.egenannons {
    margin-left: 10px;
    list-style-type: none !important;
}
p.egenannons_parent {
    margin: 0;
    font-size: 11px;
}
p.egenannons_children {
    padding-left: 20px;
    margin: 0;
    font-size: 10px;
}
table.egenannons td {
    padding: 5px 5px 0 0;
}
table.egenannons {
    margin-bottom: 10px;
}

/**************
 FOOTER STYLES
**************/
#footer {
/*		background: #DEF29B;
                background: #A3E03A;*/
		height: 50px;
		width: 585px;
		margin: 0 auto;
	}
	#footer a {
		text-decoration: none;
		color: #333;
	}
	#footer ul#aux_nav {
		float: left;
	}
	#footer ul#meta_nav {
		float: right;
	}
	#footer li{
		display: inline;
		float: left;
		padding: 10px;
	}
