/*  
Theme Name: Agregado
Theme URI: http://www.smashingmagazine.com/2008/09/08/agregado-a-free-wordpress-theme/
Description: http://www.g-n-a.org
Version: 1.2
Author: Darren Hoyt, Matt Dawson & Eilert Behrends
Author URI: http://www.g-n-a.org

The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php

If you remix and re-release similar versions of Agregado, 
please include links/credit to the original authors

*/



/* 
TABLE OF CONTENTS

  HTML Elements
  Page Structure
  Headings
  Content Styles
  Forms
  Float Clearing
  Footer



/* ---------- @ HTML Elements -----------*/

* { 
	margin: 0;
	padding: 0;
	} 

body, html {
	min-height:101%;
	}
	
body {	
	color: #525252;
	background: #251116;
	}

body, select, textarea, input {	
	font: 100% Arial, Helvetica, sans-serif;
	}

p {	
	margin: 15px 0;
	line-height:145%;
	}
		
a, a:visited {
	text-decoration:none;
	color: #415b67;	
	}

a:hover, a:active {	
	text-decoration:underline;
	}

ol {
	margin: 15px 15px 15px 35px;
	}
	
a img, fieldset {
	border:none
	}

*:focus {
	outline:none
	}
	
		
		

/* ---------- @ Page Structure -----------*/

#top {
	background:#fff url(images/bg_top.jpg) repeat-x;
	padding-bottom:28px;
	}

.wrapper {
	margin: 0 auto;
	font-size: 1em;
	width: 960px;
	border-color: #757575;
}

#home #top .wrapper {
	background:url(images/bg_flare.jpg) no-repeat;
	}

#interior #top .wrapper {
	background:url(images/bg_flare2.jpg) no-repeat;
	}

#main {
	background:#F2F0E9  url(images/bg_main.gif) no-repeat;
	padding:17px 0 32px 30px;
	margin-bottom:12px;
	opacity: 1;
}

#content {
	float:left;
	width:614px;
	}

#interior #sidebar {
	background:#E4E0DD;
	float:right;
	width:242px;
	padding:17px 20px 20px 20px;
	background:#E4E0DD ;	
	}
						   
#masthead {
	background: url(images/bg_masthead.jpg);
	height: 100px;
	}

.left {	
	float:left;
	}

.right {	
	float:right
	}
	
#branding {
	text-align:right;
	height:102px;
	width: 680px;
}
	
#description {
	text-transform:uppercase;
	font:.6em 'Lucida Grande','Lucida Sans Unicode',Arial;	
	color:#d9c7af;
	padding-top:5px;
	letter-spacing:0.4em;
	}	

	
	
	
		
/* ---------- @ Headings -----------*/

		   
h1 {
	font: normal 2.5em Georgia, "Times New Roman", Times, serif;
	letter-spacing:0.05em;
	}

h2 {	
	font: normal 1.7em Georgia, "Times New Roman", Times, serif; 
	line-height:110%;
	color: #9e9281;
	padding-top:2px;
	}

h2, h3, h4 {
	letter-spacing:0.025em;	
	}
		
h3 {	
	font: 1.2em Georgia, "Times New Roman", Times, serif;
	color: #998d7d;
	font-weight:normal;
	margin-top:15px
	margin-bottom:11px
	}

#sidebar h3 {
	margin-bottom:7px;
	}
	
.widget h3 {
	margin-bottom:7px;
	font-size:1.5em;
	}
		
h4 {	
	font-size: 1.1em;
	}

h4#pagetitle {
	margin-bottom:15px;
	}
	
h5 {	
	font-size: 1em
	}

h5 {	
	font-size: 0.9em
	}



/* ---------- @ Content Styles -----------*/

h1 a, h1 a:visited {
	color:#f7f4ef;
	}

h1 a:hover, h1 a:active {
	text-decoration:none;
	border-bottom:1px solid #82435a
	}	

.commentcount {
	background:url(images/bubble.gif) no-repeat right;
	padding-right:12px;
	color:#87bcd2;
	}

.commentcount a {
	font-family:Georgia, "Times New Roman", Times, serif
	}
	
.module {
	background:#E4E0DD;
	padding:12px;
	overflow:auto;
	font-size:0.8em;
	}

.module img {
	padding:3px;
	border:1px solid #4f383d;
	float:left;
	margin:0 13px 7px 0;
	}

.module p {
	margin:0;
	font: 100% Arial, Helvetica, sans-serif;
	color: #2C2E48;
}
	
.drop {
	float: left;
	font: 2.5em Georgia, "Times New Roman", Times, serif;
	line-height:100%;
	margin:3px 8px 0 0;
	width:30px;
	text-align:center
	}

h3 em {
	font-style:italic;
	font-size:0.8em;
	}

#archive-list li {
	width:165px;
	float:left;
	height:120px;
	font-size:0.9em;
	margin: 0 6px 0 25px;
	line-height:140%;
	}	

.pagenavigationbox {
	color:#a19e94;
	margin-top:20px;
	}
	
.pagenavigationbox a, .pagenavigationbox a:visited, .pagenavigationbox span {
	width:24px;
	height:20px;
	display:block;
	float:left;
	font:0.7em Arial,Georgia, "Times New Roman", Times, serif;
	padding-top:4px;
	margin-right:4px;
	text-align:center;
	color:#a19e94;
	}
	
.pagenavigationbox, .pagenavigationbox a, .pagnavigationbox a:visited {
	background:url(images/bg_pagelink.gif) no-repeat;
	}
		
.pagenavigationbox a:hover, .pagenavigationbox a:active {
	background:#372529;
	text-decoration:none;
	}
	
.pagenavcurrent {
	background:url(images/bg_current_pagelink.gif) no-repeat;
	}
	
			
	
/*Widgets*/					
.widget {
	margin-bottom:30px;
	font-size:0.85em;
	}	

.widget li {
	background:url(images/bg_headline.gif) bottom no-repeat;
	padding:10px 0 13px 0;
	list-style:none;
	line-height:135%;
	}
	
#wp-calendar {
	width:100%;
	font-size:0.9em;
	}

#wp-calendar caption {
	padding-bottom:5px;
	}
	
#wp-calendar td,
#wp-calendar th {
	text-align:center;
	}

#wp-calendar #prev {
	text-align:right;
	}

#wp-calendar #next {
	text-align:left;
	}
			
#wp-calendar th {
	background:#3e292e;
	padding:2px 4px
	}

.textwidget {
	font-size:.9em;
	line-height:145%;
	}
	
#recentcomments em {
	font:italic 0.9em Georgia, "Times New Roman", Times, serif;
	padding-right:19px;
	background:url(images/bg_recentcomment.gif) right no-repeat;
	color: #537584;
	letter-spacing:.08em;	
	}

#recentcomments a, #recentcomments a:visited {
	color: #777774;
	font-size:0.9em;
	}

#tagcloud a {
	line-height:150%;
	padding-right:6px;
	}
				
#sidebar li  {
	list-style:none;
	}


	
/* ---------- @ Forms -----------*/

#searchform {
	margin-left:0px;
	}
	
#searchform .field {
	padding:3px;
	width:140px;
	font-size:1em;
	}

#searchform .button {
	margin:0;
	padding:3px;
	font-size:1em;
	background: url(images/header_search.png) no-repeat ! important;
	width: 45px;
	height: 45px;
	border-width: 0;
}





		
.button {	
	background: #251116;
	border:none;
	font-size:0.8em;
	color:#e0e5e9;
	padding:4px 18px;
	margin-top:7px;
	border-bottom:2px solid #251116;
	border-right:2px solid #251116;
	}

a.button, a.button:visited {
	color:#e0e5e9;
	width:78px;
	margin:18px 0 0 30px;
	display:block
	}

a.button:hover, a.button:active {
	text-decoration:none
	}
	
.button:focus, .button:hover {	
	background: #110307 url(images/bg_button.gif) no-repeat ! important;
	}

.field {
	background: #e4e0dd;
	border:none;
	padding:4px 4px 4px 22px;
	font-size:0.8em;
	color: #8d8d89;
	}

.field:focus {	
	background: #fff;
	border:none;
	padding:4px 4px 4px 22px;
	font-size:0.8em;
	color: #737370;
	}



.field#user-name {	
	background: #e4e0dd url(images/user-name.gif) 5px 4px no-repeat ! important;
	width:118px;
	margin-right:5px;
	}

.field#user-name:focus {	
	background: #fff url(images/user-name.gif) 5px 4px no-repeat ! important;
	}
		
.field#user-email {	
	background: #e4e0dd url(images/user-email.gif) 5px 7px no-repeat ! important;
	width:118px;
	}		

.field#user-email:focus {	
	background: #fff url(images/user-email.gif) 5px 7px no-repeat ! important;
	}	

.field#user-comment {	
	background: #e4e0dd url(images/user-comment.gif) 5px 6px no-repeat ! important;
	width:273px;
	height:120px;
	margin-top:8px;	
	}	

.field#user-comment:focus {
	background: #fff url(images/user-comment.gif) no-repeat 5px 6px ! important;
	}

.field#user-url {	
	background: #e4e0dd url(images/user-url.gif) 4px 8px no-repeat ! important;
	}		

.field#user-url:focus {	
	background: #fff url(images/user-url.gif) 4px 8px no-repeat ! important;
	}	
	
#interior .field#user-name, #interior .field#user-email,
#interior .field#user-url, #interior .field#user-url {
	width:260px
	}

#interior .field#user-comment {
	width:586px;
	height:300px;
	}	

			

/* ---------- @ Float Clearing -----------*/

.clearfloat:after {
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	content:".";
	}
	
.clearfloat {
	display:inline-block
	}

.clearfloat {
	display:block
	}



/* ---------- @ Footer -----------*/

#footer {
	background:url(images/bg_footer.jpg) repeat-x;
	}
	
#footer .wrapper {
	color:#916972;
	text-align:right;
	font:.65em 'Lucida Grande','Lucida Sans Unicode',Arial;
	text-transform:uppercase;
	letter-spacing:0.08em;
	padding: 46px 48px 40px 0;
	background:url(images/bg_flare_bottom.jpg) no-repeat right top;
	}
	

/* Layered menu CSS generated by dTabs */

/* style the tabs in IE (the trailing comma prevents other browsers from reading this) */
.tabbar li, .tabbar ul li, {
	
	/* make them horizontal in IE*/
	display: inline;
	
	/* space them a little in IE*/
	margin: 0 5px;
}

/* style the tabs */
.tab, .tabselected {
	
	/* make them horizontal in Firefox 2*/
	display: -moz-inline-box;
	
	/* make them horizontal in all other browsers*/
	display: inline-block;
	
	/* space them a little */
	padding: 5px;
	
	/* set a grey background for non-selected tabs (which we will overide for selected tabs later) */
	background-color: #D3CDC8;
	
	/* set a border, make it rounded at the top */
	border: 1px solid #2c2e47;
	border-bottom-color: #f2f0e9;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	-khtml-border-radius-top-left: 5px;
	-khtml-border-radius-top-right: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	text-transform: uppercase;
	text-align: left;
	color: #D3CDC8;
	font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}


a.tab, .tabselected , a:visited.tab, .tabselected  {
	text-decoration:none;
	color: #415b67;	
	}


a:active.tab, .tabselected  {	
	
	font-weight: bold;
}

/* make changes to the selected tab */
.tabselected {
	
	/* set a white background */
	background-color: #F2F0E9;
	
	/* make the border along the bottom blend into the white background */
	border-bottom-color: #d3cdc8;
}

/* style the drop down menus and submenus */
.dmenu, .tabbar .fademenu .dmenu ul li ul {
	/* left align the text */
	text-align: left;
	
	/* REQUIRED */
	position: absolute;
	
	/* js fade method should display them 23px below the top of the tabs */
	margin: 23px 0 0 0;
	
	/* put some space around the contents */
	padding: 5px 15px;
	
	/* set a grey background */
	background-color: rgb(240,240,240);
	
	/* set a border, round all the corners except the top left */
	border: 1px solid rgb(150,150,150);
	-moz-border-radius: 5px;
	-moz-border-radius-topleft: 0;
	-khtml-border-radius: 5px;
	-khtml-border-radius-top-left: 0;
	-webkit-border-radius: 5px;
	-webkit-border-top-left-radius: 0;
}
.tabbar .dmenu ul {
	
	/* put space at the top and bottom of top-level menus */
	padding: 5px 0 0 10px;
	
	/* stop ie going crazy */
	margin: 0;
	
}

/* REQUIRED: hide menus and submenus off screen by default, as well as child menus when their parent is selected */
.dmenu, 
.tabbar .fademenu .dmenu ul li ul, 
.tabbar .fademenu .dmenu ul li:hover ul li ul, 
.tabbar .fademenu .dmenu ul li ul li:hover ul li ul {
	left: -999em;
}

/* REQUIRED: show menus on hovering */
.tabbar .fademenu:hover .dmenu, 
.tabbar .fademenu .dmenu ul li:hover ul, 
.tabbar .fademenu .dmenu ul li ul li:hover ul, 
.tabbar .fademenu .dmenu ul li ul li ul li:hover ul {
	left: auto;
}

/* style the options in the menus */
.tabbar .fademenu .dmenu a {
	
	/* make them so wide */
	width: 8em;
	
	
	/* make them span the full width of that particular (sub)menu */
	display: block;
	
	/* space them out a little and leave a gap between the edge of the (sub)menu */
	padding: 2px 5px;
}

/* style menus */
.tabbar .fademenu .dmenu {
	
	/* position top-level menus correctly */
	margin: 5px 0 0 -6px;
	
	/* reset spacing */
	padding: 0;
}
.tabbar .fademenu .dmenu ul {
	
	/* put space at the top and bottom of top-level menus */
	padding: 5px 0;
	
}

.tabbar .fademenu .dmenu ul li ul, 
.tabbar .fademenu .dmenu ul li ul li ul {
	
	/* put space at the top and bottom of submenus */
	padding: 5px 0;
	
	/* position submenus correctly */
	margin: -22px 0 0 80px;
}
.tabbar .fademenu .dmenu ul li {
	
	/* dont use bullets */
	list-style-type: none;
	
	
	/* no space around list-items */
	padding: 0;
	margin: 0;
	
}
.tabbar .fademenu .dmenu ul li:hover {
	
	/* change the background colour for options in the menus as they are hovered over */
	background-color: rgb(250,250,250);
}	

	

