/*
Theme Name: MAM
Theme URI: http://matterhornassetmanagement.com/
Description: Custom theme for MAM
Version: 1.0
Author: Jochem Maas, Edward Maas
Author URI: http://iamjochem.com/
Tags: custom home, custom header, fixed width, two columns, widgets, numerous page layouts, newsletter magic

*/

/* Begin Typography & Colors */
body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	background: #f5f4f3 url(images/bg.gif);
	text-align: center;
	}

#content {
	font-size: 1.2em;
	}

.widecolumn .entry,
.narrowcolumn .entry {
	font-size: 1.2em;
	}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.8em;
	}

.widecolumn {
	line-height: 1.6em;
	}

.thread-alt {
	background-color: #f8f8f8;
}
.thread-even {
	background-color: white;
}
.depth-1 {
border: 1px solid #ddd;
}

.even, .alt {
	border-left: 1px solid #ddd;
}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}

h1, h2, h3 {
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: bold;
	}

h1 {
	font-size: 2.4em;
	line-height:1 .0em;
	text-align: left;
	}

#headerimg .description {
	font-size: 1.2em;
	text-align: center;
	}

h2 {
	font-size: 1.6em;
	}

h2.pagetitle {
	font-size: 1.6em;
	}

#sidebar h2 {
	font-family: 'Lucida Grande', Verdana, Sans-Serif;
	font-size: 1.2em;
	}

h3 {
	font-size: 1.3em;
	}

h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description, .stnl_title {
	text-decoration: none;
	color: #C0945D;
	}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	color: #333;
	}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
	}

h2.stnl_title {
	font-size: 2em;
	line-height:1.2em;
	margin-top: 0px;
	}

.entry p {
    margin: .2em 0 1em 0;
	}
.entry p a:visited {
	color: #b85b5a;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}
.commentlist li ul li {
	font-size: 1em;
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar {
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}

#sidebar {
	font: 1.2em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

small, #sidebar ul ul li, #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, h2 a:hover, h3 a:hover {
	color: #B98647;
	text-decoration: none;
	}

a:hover {
	color: #c0945d;
	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;
	}
/* End Typography & Colors */



/* Begin Structure */
body {
	margin: 0 0 20px 0;
	padding: 0;
	}

form {
	display: inline;
	}
#page {
	background-color: white;
	border: 1px solid #d8d7d1;
	text-align: left;
	margin: 10px auto;
	padding: 0;
	width: 976px;
	}


#header {
	height: 90px;
	background: url('images/logo.png') no-repeat top left; margin-left:20px; margin-bottom:10px;
	}

#headerimg * {
	display: none;
	}

.narrowcolumn {
	float: left;
	background-color:#F8F8F8;
	border:1px solid #D6D2CD;
	padding:20px;
	margin: 10px 10px 10px 20px;
	width: 686px;
	}

.widecolumn {
	padding: 10px 20px 10px 20px;
	}

.post {
	text-align: justify;
	}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 6px 0 18px 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;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.linklove {
	display: none;
}

#footer {
	border-top: #F5F4F3 10px solid;
	border-bottom: #F5F4F3 20px solid;
	margin: 0px 20px 20px 20px;
	padding: 20px 20px 10px 20px;
	clear: both;
	color: #918e8b;
	}

#footer p {
	margin: 0;
	padding: 20px 0;
	text-align: center;
	}

/* End Structure */

/* Main Menu */
ul#nav {
   list-style-type : none;
   text-align : center;
   margin: 0px 20px 0 20px;
   background-color: #4d5c54;
   padding: 0px;
}
ul#nav a, ul#nav a.rss {
   background: url(images/navitem-bg.gif) no-repeat bottom right;
   padding : 8px 12px 2px 12px;
   height : 24px;
   color : #fff;
   font-style : normal;
   font-size : 11px;
   display : block;
   float: left;
   text-decoration : none;
   border-left: 1px solid #2d3d34;
}

ul#nav li.first a {
   border-left: none !important;
}
ul#nav li {
   margin-bottom : 10px;
   margin-left : 0;
   display: inline;
}
ul#nav a:hover, ul#nav a:focus, ul#nav a:active {
   color : #CBA475;
}

ul#nav li.current_page_item a, ul#nav li.current_page_item a:hover,
ul#nav li.current_page_item a:focus, ul#nav li.current_page_item a:active,
ul#nav li.current_page_parent a, ul#nav li.current_page_parent a:hover,
ul#nav li.current_page_parent a:focus, ul#nav li.current_page_parent a:active,
ul#nav li.current_page_ancestor a, ul#nav li.current_page_ancestor a:hover,
ul#nav li.current_page_ancestor a:focus, ul#nav li.current_page_ancestor a:active {
   background: url(images/navitem-bg-active.gif) no-repeat bottom right;
   color : #fff;
   text-align : left;
}

ul#nav li.current_page_item a, ul#nav li.current_page_item a:hover,
ul#nav li.current_page_item a:focus, ul#nav li.current_page_item a:active {
   cursor : default;
}

/*	Begin Headers */
h1 {
	margin: 0 0 20px 0;
	}

h2.pagetitle {
	margin: 0 0 5px 0;
	text-align: center;
}

#sidebar h2 {
	margin: 5px 0 0;
	padding: 0;
	}

h3 {
	padding: 0;
	margin: 10px 0 0;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	}

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: ".";
	    display: block;
	    height: 0;
	    clear: both;
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li {
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar
{
	padding: 20px 0 10px 0;
	margin-left: 766px;
	width: 190px;
	}

#sidebar form {
	margin: 0;
	}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: right;
	}

#wp-calendar td {
	padding: 3px 0;
	}


#wp-calendar th, #wp-calendar td {
	text-align: right;
	}

#wp-calendar td.pad:hover {
	background-color: #fff;
	}
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}

hr {
	margin-top: 10px;
	margin-bottom: 10px;
	border: none 0;
	border-top: 1px solid #fff;
	height: 1px;
}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-bottom: 40px;
	}
/* End Various Tags & Classes*/



/* Captions */
.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;
	-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;
}
/* End captions */

/* Custom Search widget */
#headersearch {
	padding-top: 20px;
	padding-right:20px;
    float: right;
}

#headersearch #searchform {
	margin: 0px;
	padding: 0px;
	text-align: left;
    width: 160px;
}

input.newsletter,
#headersearch #s {
	border: none;
	height: 19px;
	background: url(images/go-input-bg.gif) no-repeat top left;
	margin: 0px;
	padding-left: 3px;
	float: left;
	width: 120px;
}
input.newsletter {
	width: 310px;
}

#home_newsletter input.newsletter {
	width: 176px;
}

#headersearch #searchsubmit {
	margin: 0px;
	padding: 0px;
	height: 19px;
	float: left;
}

/* Home Page */
#home_slogan {
	float: left;
	height: 188px;
	width: 373px;
	background : url(images/slogan_home.gif);
	border-bottom: #687a70 2px solid;
}
#home_images {
	float: left;
	height: 190px;
	width: 563px;
}
#home_brown {
	background-color: #e9e8e6;
}
#home_news {
	float: left;
	padding: 0 20px 0 20px;
	width: 331px;
	background-color: #f5f4f3;
	border: #e9e8e6 1px solid;
}
#home_newsletter {
	padding: 10px;
	background-color: #f5f4f3;
	border: #d6d2cd 1px solid;
	color: #333333;
}
#home_newsletter h2 {
	margin-top: 10px !important;
}
#home_newsletter hr {
	visibility: hidden; margin: 2px 0 2px 0;
}
#home_news h2 {
	margin-bottom: 10px;
}
#home_business {
	border: #d6d2cd 1px solid;
	background-color: #f5f4f3;
	padding: 12px;
	margin: 12px 0px;
	color: #918E8B;
	font-weight: bold;
	font-size: 120%;
	line-height: 1.7em;
	word-spacing: .15em;

}
#home_brown h2 {
	margin-top: 20px;
	color: #B98647;
}
#home_content {
	float: left;
	padding: 0 20px 0 20px;
	width: 523px;
	color: #383838;
}
#home_content p {
	font-size: 125%;
	word-spacing: .1em;
	line-height: 140%;
}
.post_feature {
	border-top: 1px solid #D6D2CD;
}
.post_feature.first {
	border-top: none;
}

/* Std. Web Pages et al */
#content_header_image {
	width: 936px;
	overflow-x: hidden;
	margin-bottom: 10px;
}
#page_content {
	padding: 20px;
	background-color: #F8F8F8; /*f5f4f3*/
	border: #d6d2cd 1px solid;
}

#frame_page_content {
	padding: 0px;
	background-color: #F8F8F8; /*f5f4f3*/
        width:950px;
        margin-top:10px;
        text-align:center;
        border: #d6d2cd 1px solid;
}

.submenu {
	float: right;
	padding: 20px;
	margin: 10px;
}
#page_content #home_newsletter,
.submenu {
	color: #333;
	background-color: #D6D2CD;
	border: #fff 1px solid;
}
#page_content #home_newsletter h1,
#page_content #home_newsletter h2,
#page_content #home_newsletter h3,
#page_content #home_newsletter h4,
.submenu h1,
.submenu h2,
.submenu h3,
.submenu h4 {
	color: #f5f4f3;
}

#page_content #home_newsletter h1,
#page_content #home_newsletter h2,
#page_content #home_newsletter h3,
#page_content #home_newsletter h4 {
	margin-top: 0px;
}

.submenu ul {
   list-style-type : none;
   margin: 0;
   padding: 0;
}
.submenu li.current_page_item a {
	font-weight: bold;
	text-decoration: underline;
}

#page_content .entry.hasmenu {
	margin-right: 245px;
}

#page_content .entry blockquote {
	font-size: 122%;
}

/* newsletter related hacks */
div.entrytext.yb {
	border-top: 1px solid #ddd;
	padding: 10px 0 10px 0;
}
div.entrytext.yb.isfirst {
	border-top: none;
}
div.entrytext.yb.ishighlight div.stnl_excerpt div {
	font-size: 130%;
	line-height:1.6em;
}
div.entrytext.yb.ishighlight div.stnl_excerpt strong.stnl_excerpt_title {
	font-size: 160%;
	line-height:1.6em;
}

#gshome 
    {
  /*  /* For WebKit (Safari, Google Chrome etc) */
    background: -webkit-gradient(linear, left top, left bottom, from(#2D3D34), to(#67796E));
    /* For Mozilla/Gecko (Firefox etc) */
    background: -moz-linear-gradient(top, #2D3D34, #67796E);
    /* For Internet Explorer 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#2D3D34, endColorstr=#67796E);
    /* For Internet Explorer 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#2D3D34, endColorstr=#67796E)";*/
background: -moz-linear-gradient(left, #000000, #695846);
background: -webkit-gradient(linear, left center, right center, from(#000000), to(#695846));
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr=#000000, endColorstr=#695846); /*IE5.5-7*/
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr=#000000, endColorstr=#695846);/*IE8*/
/*background-image : url(images/............);*/
background-repeat : no-repeat;

      height: 60px;
      padding:5px;
      border:none;
      font-size:14px;
      line-height: 1.7em;
      color:#FFFFFF;
      text-shadow: 0px 1px 1px #000000; /*4E5D55*/
}
