/* Hearing Dogs for Deaf People         */
/* Milton Keynes Fundraising Branch     */
/* cascading style sheet                */
/* (c) 2007 Stephen Rowling/Springworks */

html {
	/* cf. http://www.hicksdesign.co.uk/journal/forcing-scrollbars-now-even-better */
	height: 100%;
	margin-bottom: 1px;
	}

/* zero all settings to remove browser defaults */
body * {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    color: #333;
    background: #FFF7E5;
    font-family: Verdana, sans-serif;
    font-size: 84%;
    line-height: 1.5em;
    text-align: center;
}

img {
    border: 0;
    padding: 0;
    margin: 0;
}

a img {
    border: 0;
    padding: 0;
    margin: 0;
}

/* clearfix patches */
.clearfix:after {
    content: "."; 
    display: block; 
    position:relative; /*works better in IE5.5 or float in float situations*/
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/* repeating background image */
#mkhd-bg {
    width: 780px;
    margin: 0 auto;
    background: url(../images/bg.png) top center repeat-y;
}

/* main page container */
#mkhd-container {
    margin: 0 10px;
    padding: 0;
    text-align: left;
    /* width: 760px; */
    background: #fff;
}

/* Header */
#header {
    height: 120px;
    margin-bottom: 8px;
    background: url(../images/mkhd-header.jpg) 256px 0px no-repeat;
}

#logo {
    padding: 18px 20px 19px 21px;
    float: left;
}

#header h1 {
    text-indent: -9999px;
    display: block;
    height: 120px;
}

/* main content area */
#content {
    background: #fff;
}

#content-main {
    margin: 0 0 0 248px;
    padding: 16px 16px 16px 0;
}

.divider {
    height: 48px;
    background: #fff url(../images/paws-divider.jpg) center center no-repeat;
    margin-bottom: 1.5em;
    clear: right;
}

/* navigation sidebar */
#nav {
    background: #661401 url(../images/mkhd-sidebar-top.gif) 0px 0px repeat-x;
    width: 248px;
    float: left;
}

#nav {
    font-size: 1em;
    line-height: 240%;
    text-align: right;
}

#nav li {
	padding: 0.25em 0;
}

#nav a {
	text-decoration: none;
	padding: 0 40px 0 0;
	display: block;
	height: 30px;
	color: #C15601;
	background: url(../images/paws.jpg) right top no-repeat;
}

#nav a:hover {
	color: #FFF7E5;
}

#nav ul {
    font-family: Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85em;
	margin: 24px 8px 8px 8px;
	list-style-type: none;
}

#nav ul ul {
    font-family: Verdana, sans-serif;
    text-transform: none;
    letter-spacing: normal;
    font-size: 1.1em;
    margin-top: 8px;
    border-bottom: 1px dotted #FFF7E5;
}

#nav ul ul li {
    border-top: 1px dotted #FFF7E5;
    padding: 0;
}

#nav ul ul li a {
    padding: 0 32px 0 0;
    display: block;
background-image: none;
}

#default #nav-home, #about #nav-about, #sponsored_dogs #nav-sponsored_dogs, #dogs #nav-dogs, #news #nav-news, #archives #nav-news, #help #nav-help, #events #nav-events, #contact #nav-contact, #links #nav-links {
	color: #FFF7E5;
	background: url(../images/paws.jpg) right -32px no-repeat;
}

#archives #nav-archives {
	color: #FFF7E5;
}

/* main content typography */
h2 {
	font-family: Georgia, serif;
	font-weight: normal;
	font-size: 1.6em;
	color: #661401;
	margin-bottom: 0.5em;
}

h2 a {
	text-decoration: none;
	color: #661401;
}

h2 a:visited {
	color: #661401;
}

h2 a:hover {
	color: #CC9589;
}

h2.news {
	margin-top: 2em;
}

h3 {
	font-family: Georgia, serif;
	font-weight: normal;
	font-size: 1.3em;
	color: #661401;
	padding-top: 0.5em;
	margin-bottom: 0.25em;
    padding-bottom: 0.25em;
	border-bottom: 1px dotted #661401;
}

#archives h3 {
	color: #C15601;
	border-bottom: 1px dotted #C15601;
}

h4 {
	font-family: Georgia, serif;
	font-weight: normal;
	font-size: 0.9em;
    text-transform: uppercase;
	color: #C15601;
	margin-bottom: 0.5em;
}

h4.event {
    text-transform: none;
    font-size: 1em;
}

h4.event span {
    font-style: italic;
    color: #661401;
}

span.dog-category {
	font-family: Georgia, serif;
	font-weight: normal;
	font-size: 0.6em;
    text-transform: uppercase;
	color: #C15601;
}
/*
p, #content-main li {
	font-size: 0.9em;
}
*/
#content-main {
	font-size: 1em;
}
p {
	margin-bottom: 1.5em;
}

p.pagination {
    padding-top: 1.5em;
    text-align: center;
}

p.archives {
    margin: 0.25em 0;
}

p+h2 {
    margin-top: 1em;
}

#content-main ul, #content-main ol {
	margin: 0 0 1.5em 1.5em;
}

#content-main h2, #content-main h3, #content-main h4, #content-main p, #content-main ul, #content-main ol {
    margin-left: 16px;
}

#sidebar h2, #sidebar h3, #sidebar h4, #sidebar p, #sidebar ul, #sidebar ol {
    margin-left: 0;
}

label {
    font-size: 0.85em;
    font-weight: bold;
    text-transform: uppercase;
    color: #661401;
}

.zemError {
    padding: 0.5em 0 0.5em 2em;
    margin: 0 2em 0 -2em;
    background: #CC9589;
    color: #661401;
}

blockquote {
    margin: 0.5em 2em 1.5em 2em;
    padding: 1.5em 1.5em 0 1.5em;
    background: #FFF7E5;
    border: 1px solid #CC9589;
}

a:link {
    color: #661401;
}

a:visited {
     color: #C15601;
}

a:hover {
     color: #CC9589;
}

a:active {
    color: #661401;
}

.imagebox {
    float: right;
    margin: 0 0 8px 16px;
    border: 1px solid #CC9589;
    font-size: 100%;
    line-height: 100%;
    display: inline;
}

.imagebox img {
    margin: 4px;
}

#default .imagebox {
    margin: 0 -4px 8px 0;
    border: none;
    background: transparent;
}

/* Home Page structure */
#sidebar {
    margin: 0 -8px 8px 0px;
    float: right;
    display: inline;
    width: 264px;
    font-size: 0.95em;
    line-height: 135%;
    background: #fff;
}

.dogbox {
    border: 1px solid #661401;
    background: #661401;
    margin: 0 0 8px 16px;
}

.dogbox h3 {
	border-bottom: 1px dotted #FFF7E5;
	font-size: 1.4em;
    padding: 0 0 0.5em 0;
	margin-bottom: 0.5em;
}

.dogbox h3 a {
    color: #FFF7E5;
    text-decoration: none;
}

.dogbox h3 a:visited {
    color: #FFF7E5;
}

.dogbox h3 a:hover {
    color: #CC9589;
}

.dogbox a {
    color: #C15601;
}

.dogbox a:visited {
    color: #FFF7E5;
}

.dogbox a:hover {
    color: #CC9589;
}

.dogbox h4 {
    text-transform: none;
    font-size: 1.25em;
	margin: 0.75em 0 0.25em 0;
}

.dogbox p {
	margin: 0;
    color: #FFF7E5;
}

.eventsbox {
    border: 1px solid #CC9589;
    background: #FFF7E5;
    margin: 0 0 8px 16px;
}

.boxpad {
    padding: 8px;
}

.eventsbox h3 {
	font-size: 1.4em;
    padding: 0 0 0.5em 0;
	margin-bottom: 0.5em;
}

.eventsbox h3 a {
    text-decoration: none;
}

.eventsbox h3 a:visited {
    color: #661401;
}

.eventsbox h3 a:hover {
    color: #CC9589;
}

.eventsbox h4 {
    text-transform: none;
    font-size: 1.25em;
	margin: 0.75em 0 0.25em 0;
}

.eventsbox p {
	margin: 0;
}

.eventsbox p span {
    font-style: italic;
    font-weight: bold;
    color: #661401;
}

/* footer */
#footer {
	margin: -2px auto;
	width: 760px;
	text-align: center;
	border-top: 2px solid #661401;
	padding: 2em 0 1em 0;
}

#footer p {
	font-size: 0.8em;
	line-height: 140%;
	color: #666;
}

/* members section */
#members h5 {
    margin: 0 0 0.5em 16px;
    font-weight: bold;
    font-size: 1.1em;
}

#members h4.comments {
    font-family: Georgia, serif;
    font-weight: normal;
    color: #C15601;
    margin: 2em 0 0.5em 16px;
    font-size: 1em;
    font-style: italic;
    color: #661401;
    text-transform: none;
}

#members h5 span {
    font-size: 0.8em;
    font-weight: normal;
    color: #C15601;
    margin-bottom: 0.5em;
}

ol.comments li {
    margin-left: 1.5em;
    margin-bottom: 1em;
}

ol.comments li p {
    margin-bottom: 0.5em;
}

#txpCommentInputForm {
    margin-left: 16px;
}

#txpCommentInputForm td {
    padding: 5px;
}

ol.comments div.even {
    background: #FFF7E5;
}

#members form.memForm, #members form.memForm div {
    display: inline;
}

#members div.helper {
    margin: 0 0 0.5em 16px;
}

#members table {
    font-size: 0.9em;
}

/* Members Calendar */
#calendar {
    background: #fff;
}

#calendar table {
    width: 100%;
}

#nav #calendar a {
	background: none;
        padding: 0;
        font-weight: bold;
	color: #C15601;
}

#nav #calendar a:hover {
	color: #FFF7E5;
}


