/*
Css file: stylesheet.css
Version: 2.0
Description: Stylesheet for Openly Positive website.
Author: Cuie&Co - Andy Walton
Author URI: http://www.cuieandco.com */

/* Created: 8 November 2008 (Last updated - 17 August 2009)
For more info contact andy (at) cuieandco (dot) com
Designed for screen */

/* Global reset (clear it all)
----------------------------------------------------- */

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, table, th, td, img { 
	margin: 0;
	padding: 0;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
fieldset, img, abbr {
	border: 0;
}
address, caption, cite, code, dfn, h1, h2, h3, h4, h5, h6, th, var {
	font-style: normal;
	font-weight: normal;
}
ul {
	list-style: none;
}
caption, th {
	text-align: left;
}
h1, h2, h3, h4, h5, h6 {
	font-size: 10pt;
}
q:before, q:after { 
	content:'';
}
a {
	text-decoration: none;
}
a, a:link, a:visited, a:active, a:hover {
	outline: none;
}
* {
	margin: 0; padding: 0;
}

/* Typography
---------------------------------------------------------- */

dl,ul,ol,h1,h2,h3,h4,h5,h6,pre,p,blockquote,table,img {
	margin: 0;
	padding: 0;
}
blockquote {
	font: italic 115%/1.250em 'Warnock Pro', 'Goudy Old Style', 'Palatino', 'Book Antiqua', Georgia, serif;
	margin: 6px 0 18px 0;
	padding: 0 18px;
	border-left: 4px solid #cfdbe0;
}
h1 {
	color: #89001d;
	font: normal 150%/1.250em Helvetica, Arial, sans-serif, serif;
	margin-bottom: 18px;
}
h2 {
	font: normal 130%/1.250em Helvetica, Arial, sans-serif, serif;
	margin-bottom: 18px;
}
h3 {
	color: #89001d;
	font: normal 120%/1.250em Helvetica, Arial, sans-serif, serif;
	margin-bottom: 18px;
}
h4 {
  	font: normal 110%/1.250 Helvetica, Arial, sans-serif, serif;
	margin-bottom: 18px;
}
h5 {
  font: normal 85%/1em Helvetica, Arial, sans-serif, serif;
	margin-bottom: 18px;
}
p {
	margin-bottom: 18px;
}
strong {
  font-weight: bold;
}
em {
	font-style: italic;
}

acronym {
  border-bottom: 1px dotted #e7e6e6;
  cursor: help;
}

/* Links
---------------------------------------------------------- */
a, a:link, a:visited {
	color: #89001d;	
	text-decoration: none;
}
a:hover {
	color: #c89001d;
	text-decoration: underline;
}

/* Horizontal rules
---------------------------------------------------------- */
hr {
	width: 100%;
	height: 1px;
	margin-bottom: 1.250em;
	border: 0;
	border-bottom: 1px solid #cfdbe0;
	clear: both;
}
hr.dashed {
	border-bottom: 1px dashed #cfdbe0; 	
}
hr.thick {
	border-bottom: 3px solid #cfdbe0;
}
hr.dotted {
	border-bottom: 1px dotted #cfdbe0;
}

/* Site
---------------------------------------------------------- */

/* General layout */
html {
  height: 100%; /* Removed for validation - overflow: -moz-scrollbars-vertical; */
}
body {
	background: #bdd0df url(../images/bg.png) fixed bottom left repeat-x;
	border: 0; /* Removes the border around the viewport in old versions of IE */
	color: #4a4848;
	font: normal 85%/1.250em Helvetica, Arial, sans-serif, serif;
	margin: 0;
	min-width: 860px; /* Minimum width of layout - this property does not work in old versions of IE - Puke */
	padding: 0;
	width: 100%;
}
#wrapper {
	clear: both;
	margin: 0 auto;
	width: 860px;
	padding: 0;
}

/* Header */
#header {
	background: #bdd0df url(../images/bg-header.png) left bottom no-repeat;
	clear: both;
	height: 123px;	
	padding: 0 28px;
	margin-top: 18px;
	width: 804px;
}
#logo {
	float: left;
	display: block;		
}
#logo a {
	background: transparent url(../images/logo-openly-positive.png) top center no-repeat;
	display: block;
	height: 100px;
	width: 175px;
}
#logo h1 {
	display: block;
	margin-left: -3000px;
}

/* Navigation */
#navigation {
	float: right;
	padding-top: 75px;
}
#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	color: #89001d;
}
#nav li { /* all list items */
	float: left;
	width: auto; /* width needed or else Opera goes nuts */
	margin-left: 5px;
}
#nav li a {
	background-color: #89001d;
	color: #fff;
	display: block;
	width: auto;
	padding: 7px 10px 4px 10px;
	text-decoration: none;		
}
#nav li a:hover {
	background-color: #4a4848;
}
#nav li ul li a {
	background-color: #fff;
	color: #4a4848;	
	text-decoration: none;
	width: 130px;
	margin-left: -5px;			
}
#nav li ul li a:hover {
	background-color: #4a4848;
	color: #fff;
	width: 130px;		
}
#nav li ul li ul li a {	
	background-color: #fff;
	color: #4a4848;	
	text-decoration: none;
	width: 130px;	
}
#nav li ul li ul li a:hover {	
	background-color: #4a4848;
	color: #fff;
	width: 130px;		
}
#nav a.selected {
	background-color: #fff;
	color: #89001d;
}
#nav a:hover.selected {
	text-decoration: underline;
	background-color: #fff;
}
#nav li ul { /* second-level lists */
	position: absolute;
	background-color: #fff;
	width: 150px;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	margin: 0;
	border: 1px solid #4a4848;		
}
#nav li ul ul { /* third-and-above-level lists */
	margin: -29px 0 0 145px;
}
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}
#container {
	width: 860px;
	background: transparent url(../images/bg-container.png) top center repeat-y;
	overflow: auto;
	padding: 12px 0 0 0;
}

/* Content */
#content.home {
	width: 804px;
	margin: 0;
	padding: 0 28px;
}
#content {
	clear: left;
	float: left;
	width: 530px;
	margin: 0;
	padding-left: 28px;
	overflow: hidden;
}
#content.home img {
	max-width: 520px;
}
#content img {
	max-width: 518px;
}
#content ul {
	list-style-type: disc;
	list-style-position: outside;
	text-indent: 0;
	padding: 0 0 10px 12px;
}
#content li {
	padding-bottom: 8px;
}
#highlights {
	clear: left;
	height: 261px;	
	margin-bottom: 18px;
	padding: 0;
}
#showcase {
	background-color: #dde7ef;
	float: left;
	height: 251px;	
	width: 530px;
}
#showcase img {
	border: 5px solid #dde7ef;
	width: 520px;
}
#showcase a:hover img {
	border: 5px solid #89001d;
}
#tools {
	float: right;
	background-color: #dde7ef;
	padding: 18px 10px 9px 5px;
	width: 259px;
	height: 234px;
}
#tools h3, #searchbox h3 {
	margin-bottom: 9px;
}
#searchbox, #chapterbox, #chapterbox-16, #forewordbox {
	background-color: #dde7ef;
	padding: 18px 10px;
	margin-bottom: 18px;
}
#chapterbox {
	background: #dde7ef url(../images/icon-chapter.png) 2px 3px no-repeat;
	padding: 20px 10px 25px 76px;
}
#chapterbox-16 {
	background: #dde7ef url(../images/icon-chapter-16.png) 2px 3px no-repeat;
	padding: 20px 10px 25px 76px;	
}
#forewordbox {
	background: #b9cedf url(../images/icon-foreword.png) 2px 3px no-repeat;
	padding: 20px 10px 25px 76px;
}
#latest-news, #books, #resources {
	margin-bottom: 0;
}
#books.col-middle img, #latest-news img, .gallery-thumbnail img {
	border: 3px solid #cfdbe0;
	padding: 3px; 
}
#latest-news img, #books img {
	float: left;
	margin: 0 12px 5px 0;
}
#books a:hover img, #latest-news a:hover img, .gallery-thumbnail a:hover img {
	border: 3px solid #89001d;
	padding: 3px;	 
}
.col-2-left {
	float: left;
	margin-bottom: 16px;
	padding: 0;
	height: 275px;
	width: 265px;
	overflow: visible;
	
}
.col-2-right {	
	float: right;
	margin-bottom: 16px;
	padding: 0;
	height: 275px;
	width: 265px;
	overflow: visible;
}
.col-3 {
	float: left;
	width: 256px;
}
.col-first {
	padding: 0 0 0 0;
}
.col-middle {
	padding: 0 18px;
}
.col-last {
	padding: 0;
}
/* Gallery */
.gallery-thumbnail {
	width: 164px;
	height: 164px;
	padding: 0 19px 18px 0;
	float: left;
}
.gallery-thumbnail.end {
	padding: 0 0 18px 0;
}
.gallery-thumbnail.albums {
	height: 184px;
	padding-bottom: 27px;	
}
/* Posts */
.post {
	width: 640px;
	overflow: auto;
}
.post h1 {
	margin: 0;
}
.post-date {
	width: 122px;	
	padding: 0 18px 0 0;
	float: left;
	color: #89001d;
	font: normal 150%/1em Georgia, Helvetica, Arial, sans-serif, serif;
	text-align: center;
}
.post-date span {
	font: normal 200%/1em Georgia, Helvetica, Arial, sans-serif, serif;
	
}
.post-content {
	float: left;
	width: 390px;
	overflow: hidden;
}
.post-content img {
	margin: 0;
	max-width: 390px;
}
p.post-title {
	margin-bottom: 12px;
}
.post-meta {
	font-size: 100%;
	font-style: italic;
	color: #4a4848;
}
.comments {
	float: left;
	width: 100%;		
}
.comment {
	border-top: 1px dashed #cfdbe0;
	padding: 12px;
}
.comment span {
	font: normal 150%/1em Georgia, Helvetica, Arial, sans-serif, serif;
}
.comment h3, .comment p {
	margin-bottom: 0;
}
.comment em {
	font-size: 100%;
	font-style: italic;
	color: #4a4848;
}
.alt {
	background-color: #dde7ef;
	padding: 12px;
}
.comment.last {
	margin-bottom: 18px;
}
.comment-meta {
	margin-top: 10px;
	text-align: right;
}
table {
	border: 1px solid #dde7ef;
	margin-bottom: 18px;
}
td p {
	margin-bottom: 0;
}
td {
	padding: 9px 18px;
}
td.description {
	width: 600px;
}
tr.odd {
	background-color: #dde7ef;
}

/* Sidebar */
#sidebar {
	float: right;
	width: 246px;
	margin: 0;
	padding-right: 28px;
	clear: right;
}
#sidebar ul {
	list-style-type: disc;
	list-style-position: outside;
	text-indent: 0;
	padding: 0 0 0 12px;
}
#sidebar li {
	padding-bottom: 8px;
}

/* Get in touch */
#get-in-touch {
	width: 804px;
	margin: 0;
	padding: 0 28px;
}

/* Footer */
#footer {
	background: transparent url(../images/bg-footer.png) left top no-repeat;
	color: #fff;
	clear: both;
	font-size: 90%;
	padding: 18px 28px 0 28px;
}
#footer a, footer a:hover {
	color: #fff;
}
#footer-detail {
	float: left;
	width: 80%;
}
#footer-utility {
	float: right;
	text-align: right;
	width: 20%;
	font-size: 135%;
}

/* Styling classes */
.align-left {
	text-align: left;
}
.align-right {
	text-align: right;
}
.align-center {
	text-align: center;
}
.float-left {
	float: left;
}
.float-right {
	float: right;
}
.clear {
	clear: both;
}
.pic-no-float {
	border: 3px solid #cfdbe0;
	padding: 3px; 
	text-align: center;
	margin: 0 auto;
}
.pic-left {
	border: 3px solid #cfdbe0;
	padding: 3px; 
	float: left;
	margin: 0 12px 5px 0;
}
.pic-right {
	border: 3px solid #cfdbe0;
	padding: 3px;
	float: right;
	margin: 0 0 5px 12px;
}
div.post img.thumbnail {
	border: 2px solid #cfdbe0;
	padding: 3px; 
	float: left;
	margin: 0 12px 12px 0;
	width: 96px;	
}
img.thumbnail {
	border: 2px solid #cfdbe0;
	padding: 3px; 
	float: left;
	margin: 0 12px 5px 0;
	width: 48px;	
}
.no-border {
	border: none;
}
.no-border-left {
	float: right;
	border: none;
}
.no-border-right {
	float: right;
	border: none;
}
span.amp {
  font-family: Baskerville, Palatino, "Book Antiqua", serif;
  font-style: italic;
}
.reviews {
	font: italic 115%/1.250em Helvetica, Arial, sans-serif, serif;
	color: #89001d;
	margin: 6px 0 18px 0;
	border: none;
}
.reviewer {
	font: normal 85%/1.250em Helvetica, Arial, sans-serif, serif;
	color: #4a4848;		
}
h1.title {
	margin-bottom: 6px;
}

/* Forms */
input, select, textarea {
	font-size: 100%;
	padding: 5px;
}
input[type="text"], input[type="password"], select, textarea {
	border: none;
	font-family: "Lucida Grande", Lucida, Helvetica, sans-serif;
	margin: 0 0 18px 0;
	color: #4a4848;	
}
input[type="text"], input[type="password"] {
	width: 249px;
}
textarea {
	width: 300px;
}
input[type="submit"] {
	background-color: #89001d;
	border: none;
	color: #fff;
	padding: 3px;
	margin: 0 0 9px 0;
}
input[type="submit"]:hover {
	color: #fff;
	background-color: #4a4848;
}
input[type="submit"].search-button {
	margin-left: 5px;
}
input.search {
	width: 180px;
	margin-bottom: 18px; 
}
#searchbox input.search {
	width: 160px;
	margin-bottom: 0;
}
#feedback {
	background-color: #dde7ef;
	padding: 18px 18px 9px 18px;
	margin-bottom: 18px;
}
.error {
	color: #89001d;
	font-style: italic;
}
#comment-form input[type="text"], textarea {
	width: 96%;
}
#comment-form {
	padding: 2%;
	background-color: #e8e8e8;
	margin-bottom: 18px;
}
#comment-form p {
	margin-bottom: 12px;	
}

