/**
 * common.css
 *
 * Copyright (c) 2003-2006 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * Site-wide shared stylesheet.
 *
 * $Id: common.css,v 1.41 2007/01/08 22:13:57 asmecher Exp $
 */

/**
 * Common HTML elements
 */
body {
	background-color: #FBFBF3;
	color: #111;
/*	font-family: Myriad, "Gill Sans", "Century Gothic", "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif; */
	font-family: Georgia, Garamond, Caslon, 'Times New Roman', Times, serif;
	font-size: 1em;
	padding: 0;
	margin: 0;
}

div {
	line-height: 140%;
	text-align: left;
}

table {
	border: 0;
	border-spacing: 0;
	font-size: 1.0em;
}

form {
	margin: 0;
}

p {
/*	clear: left; */
}
a {
}

a:link, a:visited {
	color: #1a63ba;
	text-decoration: none;
}

a:active {
	color: #1a63ba;
}

a:hover {
	color: #1a63ba;
	text-decoration: underline;
}

a.plain {
	text-decoration: none;
}

ul {
	margin: 0.25em 0 0.75em 0;
	padding: 0 0 0 2.5em;
}

tt {
	font-size: 1.25em;
}

label {
}

label.error {
	color: #900;
}

input.textField, select.selectMenu, textarea.textArea, input.uploadField {
	background-color: #F0F0E8;
	color: #000;
	font-family: Verdana,Arial,Helvetica,sans-serif;
	border-top: 2px solid #666;
	border-left: 2px solid #666;
	border-bottom: 2px solid #E8E8E1;
	border-right: 2px solid #E8E8E1;
	font-size: 1em;
}

input.button {
	padding-left: 0.5em;
	padding-right: 0.5em;
	background-color: #E8E8E1;
	font-size: 1em;
}

input.defaultButton {
	background-color: #375;
	color: #FBFBF3;
	font-weight: bold;
}


/**
 * Main layout elements
 */

#container {
	width: 100%;
	min-width: 500px;
	padding: 0;
	margin: 0;
	text-align: left;
	background-color: #FFFFFF;
	line-height: 125%;
	text-align: center;
}

#header {
	padding: 0;
	margin: 0 auto;
	text-align: center;
}

#headerTitle {
	text-align: left;
	margin: 0 auto;
	padding: 0;
        width: 900px;
}

#header h1 {
	margin: 0 auto;
	padding: 0.5em 0 0.5em 0;
	font-family: Myriad, "Gill Sans", "Century Gothic", "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
	font-weight: normal;
}

#body {
        width: 100%;
        min-width: 500px;
	clear: left;
	border-top: 1px solid #ccc;
}

#footer {
	width: 100%;
	position: relative;
	clear: both;
	background-color: #1a63ba;
	text-align: center;
}

#footerContent {
	width: 900px;
	text-align: center;
	color: #fff;
}

#footerContent a {
	width: 900px;
	color: #fff;
	text-decoration: none;
}

#footerContent a:hover {
	width: 900px;
	background-color: #1a63ba;
	color: #fff;
	text-decoration: underline;
}

.sidebar {
	float: left;
	width: 200px;
	margin: 0;
	padding: 1em 0em 1em 0em;
	font-size: 0.80em;
}

#right {
	float: right;
}

#main {
	min-width: 610px;
	width: 70%;
	margin: 0.5em;
	padding: 0.5em;
}

#main h2 {
	margin: 0em 1em 0.5em 0em;
	padding-top: 0.5em;
	font-family: Georgia, Garamond, Caslon, 'Times New Roman', Times, serif;
	font-weight: normal;
}

#main h3 {
	margin: 0em 1em 0.5em 0em;
	padding-top: 0em;
	font-family: Georgia, Garamond, Caslon, 'Times New Roman', Times, serif;
	font-weight: normal;
}

#navbar {
	margin-right: 0;
	margin-top: -30px;
	padding-bottom: 0.5em;
}

#breadcrumb {
	padding-top: 1em;
	font-size: 0.7em;
}

#content {
/*	margin: 0;
	padding: 0;
	padding-top: 0.5em;
	font-size: 1em;
	border-top: 2px dotted #000;
*/}

#content h3 {
	margin: 0em 1em 0.25em 0em;
	padding-top: 0.75em;
	font-family: Georgia, Garamond, Caslon, 'Times New Roman', Times, serif;
	font-weight: normal;
	font-size: 1.8em;
	line-height: 1.35em;
}

#content h4 {
	margin: 0em 1em 0.25em 0em;
	padding-top: 0.75em;
	font-family: Georgia, Garamond, Caslon, 'Times New Roman', Times, serif;
	font-weight: normal;
	font-size: 1.5em;
}

#content h5 {
	margin: 0em 1em 0.25em 0em;
	padding-top: 0.75em;
	font-weight: bold;
	font-size: 1em;
}


/**
 * Navigation bar
 */

#navbar a {
	font-size: 0.65em;
	letter-spacing: 0.05em;
}

#navbar a:link {
}

#navbar a:active {
}

#navbar a:visited {
}

#navbar a:hover {
}


/**
 * Sidebar
 */

#developedBy {
	text-transform: uppercase;
	font-size: 0.95em;
}

.sidebar div.block {
	font-size: 1.1em;
	padding-bottom: 1.5em;
	font-family: Myriad, "Gill Sans", "Century Gothic", "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
}

.sidebar div.block a {
	font-size: 1em;
	padding-bottom: 1.5em;
	font-family: Myriad, "Gill Sans", "Century Gothic", "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
	color: #000;
}

.sidebar div.block span.blockTitle {
	display: block;
	padding: 0.5em 0 0.5em 0;
	font-size: 1.2em;
//	letter-spacing: 0.1em;
//	text-transform: uppercase;
	color: #870000;
	font-weight: bold;
	font-family: Myriad, "Gill Sans", "Century Gothic", "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
}

#quicklinks {
	font-size: 0.75em;
	font-family: Myriad, "Gill Sans", "Century Gothic", "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
}

#quicklinks span.blockTitle {
	padding: 0.5em 0.75 0.5em 0;
	color: #870000;
	font-weight: bold;
}

.sidebar div.block span.blockSubtitle {
	display: block;
	padding: 0;
}

.sidebar input.textField, .sidebar select.selectMenu, .sidebar input.button {
	font-size: 1em;
}


/**
 * Breadcrumbs
 */

#breadcrumb a {
	text-decoration: none;
}

#breadcrumb a.current {
	font-weight: bold;
}


/**
 * Footer elements
 */

#footer div.debugStats {
	font-size: 0.6em;
}


/**
 * Additional text styles
 */

span.disabled, label.disabled {
	color: #666;
}

a.action, a.file {
	font-size: 0.85em;
	text-transform: uppercase;
}

a.icon {
	text-decoration: none;
}

a.icon:hover {
	background: none;
}

span.formRequired {
	color: #333;
	font-size: 0.9em;
}

span.instruct {
}

span.heading {
	font-size: 0.85em;
	text-transform: uppercase;
}

span.highlight {
	border-bottom: 1px dotted #000;
}

.nowrap {
	white-space: nowrap;
}

pre {
	background-color: #F0F0E8;
	color: #000;
	font-size: 1.25em;
}

/**
 * Table styles
 */

table.info {
}

table.info td {
	padding: 0;
	padding-bottom: 0.5em;
	padding-right: 0.5em;
}

table.listing {
}

table.listing td {
	padding: 0.25em 0.5em 0.25em 0.5em;
}

table.listing tr.heading td, table.listing td.heading, table.info td.heading {
	font-size: 0.85em;
	text-transform: uppercase;
	font-weight: normal;
	line-height: 120%;
	padding: 0.75em 0.5em 1em 0.5em;
}

table.info td.heading {
	padding-left: 0;
}


table.listing td.nodata, table.info td.nodata {
	text-align: center;
	font-style: italic;
}

table.listing td.headseparator {
	border-top: 1px dotted #000;
	font-size: 0.1em;
	line-height: 1%;
}

table.listing td.endseparator {
	border-top: 1px dotted #000;
	font-size: 0.25em;
	line-height: 10%;
}

table.listing td.separator, table.info td.separator {
	border-top: 1px dotted #DDDDD0;
	font-size: 0.1em;
	line-height: 1%;
}

table.data {
}

table.data tr {
}

table.data td {
	padding-bottom: 0.25em;
}

table.data td.label {
	padding-right: 1em;
}

table.data td.value {
}

table.data td.separator {
	padding: 0.5em;
	font-size: 0.1em;
	line-height: 1%;
}

table.data td.heading {
	padding-left: 0;
	padding-right: 0;
}

table.nested tr {
	padding: 0;
	margin: 0;
}

span.nested {
	padding: 0 4px 0 0;
	font-size: 1.2em;
}

/**
 * Form-specific elements
 */

span.formError {
	color: #900;
	font-weight: bold;
	font-size: 1em;
}

ul.formErrorList {
	color: #900;
}

/**
 * Other organizational elements
 */

ul.menu {
	margin: 0;
	padding: 0;
}

ul.menu li {
	margin: 0;
	padding: 0;
	padding-right: 1.5em;
//	display: inline;
}

ul.menu li.current {
	font-weight: bold;
}

ul.menu a {
	font-size: 0.85em;
	text-transform: uppercase;
	text-decoration: none;
}

ul.steplist {
	margin: 0;
	padding: 0;
	list-style-type: decimal;
}

ul.steplist li {
	margin: 0;
	padding: 0;
	font-size: 0.85em;
	padding-right: 0.5em;
	display: inline;
	text-transform: uppercase;
}

.item-list ul li{
	margin: 0;
	padding: 5px;
	font-size: 0.85em;
	display: inline;
}

ul.steplist li.current {
	font-weight: bold;
}

ul.steplist a {
	text-decoration: none;
}

ul.plain {
	list-style-type: none;
	padding-left: 1.5em;
}

div.separator {
	width: 100%;
	margin-top: 1em;
	margin-bottom: 0.25em;
	padding: 0;
	border-bottom: 1px dotted #000;
	font-size: 0.5em;
	line-height: 25%;
}

div.progressbar {
	background-image: url(../templates/images/progbg.gif);
	background-repeat: no-repeat;
	height: 27px;
	width: 505px;
	z-index:1;
}


/* Login box */
#login_box {
	font-weight: normal;
	float: right;
	background-color: #fff;
	position: absolute;

}

#login_box h3 {
	border-bottom-width: 0;
	font-size: 135%;
	font-weight: normal;
	margin: 5px 0;
	padding: 0;
}

/* Article Elements */
#Category {
	font-size: 1.5em;
	color: #875700;
	text-transform: uppercase;
	padding-bottom: 1em;
}

#MainTitle {
	font-family: Myriad, "Gill Sans", "Century Gothic", "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
	color: #870000;
	font-size: 2.5em;
	padding-bottom: 0.5em;
}

#SubTitle {
	font-family: Myriad, "Gill Sans", "Century Gothic", "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
	font-size: 1.5em;
	padding-bottom: 0.5em;
}

#Byline {
	text-transform: uppercase;
	font-size: 1.2em;
	padding-bottom: 0.5em;
	color: #875700;
}

#authors {
	padding-bottom: 1em;
	font-family: Myriad, "Gill Sans", "Century Gothic", "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
	font-size: 85%;
}

#authors b {
	color: #875700;
	padding-bottom: 1em;
}

.author {
	color: #875700;
	padding-bottom: 1em;
}

.citation {
	font-size: smaller;
	vertical-align: baseline;
	position: relative;
	bottom: 0.33em;
}

#References h2 {
	font-size: 1.5em;
	padding-top: 1em;
	padding-bottom: 0.5em;
}

.refAuthor {
}

.refTitle {
}

.refJournal {
	font-style: italic;
}

.JournalTitle {
	font-style: italic;
}

.BookTitle {
	font-style: italic;
}

.ArticleSection {
}

.Abstract {
	text-align: center;
	text-transform: uppercase;
}

.Title1 {
	padding-top: 2em;
	font-size: 1.25em;
	border-bottom: 1px solid #000;
	font-family: Myriad, "Gill Sans", "Century Gothic", "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
	color: #870000;
	font-weight: bold;
}

.subTitle1 {
	font-size: 1.1em;
	font-weight: bold;
	font-family: Myriad, "Gill Sans", "Century Gothic", "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
}

.subTitle2 {
	font-weight: bold;
	font-family: Myriad, "Gill Sans", "Century Gothic", "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
	color: #870000;
}

.subTitle3 {
	font-style: italic;
	font-family: Myriad, "Gill Sans", "Century Gothic", "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
}

#CompetingInterests {
	text-align: center;
	font-family: Myriad, "Gill Sans", "Century Gothic", "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
	font-size: 1.25em;
	background: #ffe5cc;
	padding: 30px;
	border: 1px solid #870000;
	margin-left: 50px;
	margin-right: 50px;
	margin-bottom: 1em;
	margin-top: 1em;
}

#Correspondence {
	padding-bottom: 1em;
	font-family: verdana, sans;
	font-size: 85%;
}
.latin {
	font-style: italic;
}

a img {
	border: 0;
}

.figure {
	background: #eee;
	border: 1px solid #777;
	margin-top: 1em;
	margin-bottom: 0.5em;
	padding: 0.5em;
	min-height: 75px;
}

.figure img {
	float: left;
}



/* Drupal elements */

/* Form Items */
.form-item input.error, .form-item textarea.error, .form-item select.error {
  border: 2px solid red;
}
.form-item .description {
  font-size: 0.85em;
}
.form-item label {
  display: block;
  font-weight: bold;
}
.form-item label.option {
  display: inline;
  font-weight: normal;
}
.form-checkboxes, .form-radios {
  margin: 1em 0;
}
.form-checkboxes .form-item, .form-radios .form-item {
  margin-top: 0.4em;
  margin-bottom: 0.4em;
}
.marker, .form-required {
  color: #f00;
}

/* Collapsible forms */
html.js fieldset.collapsed {
  border-bottom-width: 0;
  border-left-width: 0;
  border-right-width: 0;
  margin-bottom: 0;
  height: 1em;
}
html.js fieldset.collapsed * {
  display: none;
}
html.js fieldset.collapsed legend {
  display: block;
}
html.js fieldset.collapsible legend a {
  padding-left: 15px;
  background: url(/misc/menu-expanded.png) 5px 75% no-repeat;
}
html.js fieldset.collapsed legend a {
  background-image: url(/misc/menu-collapsed.png);
  background-position: 5px 50%;
}
/* Note: IE-only fix due to '* html' (breaks Konqueror otherwise). */
* html.js fieldset.collapsed legend,
* html.js fieldset.collapsed legend *,
* html.js fieldset.collapsed table * {
  display: inline;
}
html.js fieldset.collapsible legend a {
  display: block;
}
/* Avoid jumping around due to margins collapsing into collapsible fieldset border */
html.js fieldset.collapsible .fieldset-wrapper {
  overflow: auto;
}

/*
** Resizable text areas
*/
.resizable-textarea {
  width: 95%;
}
.resizable-textarea .grippie {
  height: 9px;
  overflow: hidden;
  background: #eee url(../../misc/grippie.png) no-repeat center 2px;
  border: 1px solid #ddd;
  border-top-width: 0;
  cursor: s-resize;
}
html.js .resizable-textarea textarea {
  margin-bottom: 0;
  width: 100%;
  display: block;
}

ul.links li, ul.inline li {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 1em;
}

.node .links, .comment .links {
  text-align: left;
}

.node .links ul.links li, .comment .links ul.links li {}
.terms ul.links li {
  margin-left: 0;
  margin-right: 0;
  padding-right: 0;
  padding-left: 1em;
}
ul.links {
  margin: 0;
  padding: 0;
}
ul.links.inline {
  display: inline;
}
ul.links li {
  display: inline;
  list-style-type: none;
  padding: 0 0.5em;
}
/**
 * Autocomplete.
 */
#autocomplete li {
  cursor: default;
  padding: 2px;
  margin: 0;
}
#autocomplete li.selected {
  background: #027ac6;
  color: #fff;
}
/*
** Autocomplete styles
*/
/* Suggestion list */
#autocomplete {
  position: absolute;
  border: 1px solid;
  overflow: hidden;
  z-index: 100;
}
#autocomplete ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#autocomplete li {
  background: #fff;
  color: #000;
  white-space: pre;
  cursor: default;
}
#autocomplete li.selected {
  background: #0072b9;
  color: #fff;
}
/* Animated throbber */
html.js input.form-autocomplete {
  background-image: url(http://blog.openmedicine.ca/misc/throbber.gif);
  background-repeat: no-repeat;
  background-position: 100% 2px;
}
html.js input.throbbing {
  background-position: 100% -18px;
}

/* Tab navigation */
ul.primary {
  border-collapse: collapse;
  padding: 0 0 0 1em;
  white-space: nowrap;
  list-style: none;
  margin: 5px;
  height: auto;
  line-height: normal;
  border-bottom: 1px solid #bbb;
}
ul.primary li {
  display: inline;
}
ul.primary li a {
  background-color: #ddd;
  border-color: #bbb;
  border-width: 1px;
  border-style: solid solid none solid;
  height: auto;
  margin-right: 0.5em;
  padding: 0 1em;
  text-decoration: none;
}
ul.primary li.active a {
  background-color: #fff;
  border: 1px solid #bbb;
  border-bottom: #fff 1px solid;
}
ul.primary li a:hover {
  background-color: #eee;
  border-color: #ccc;
  border-bottom-color: #eee;
}
ul.secondary {
  border-bottom: 1px solid #bbb;
  padding: 0.5em 1em 0.5em 1em;
  margin: 5px;
}
ul.secondary li {
  display: inline;
  padding: 0 1em;
  border-right: 1px solid #ccc;
}
ul.secondary a {
  padding: 0;
  text-decoration: none;
}
ul.secondary a.active {
  border-bottom: 4px solid #999;
}

/* Blog-specific */
.chronodata {
	padding: 2px 0 2px 20px ;
	background: url('http://openmedicine.ca/images/time.png') left center no-repeat;
	color: #888;
	font-size: 75%;
}
.comment_add a, .comment_comments a {
	background: url('http://openmedicine.ca/images/comment.png') no-repeat left center;
	padding-left: 15px;
	font-size: 75%;
	text-align: right;
}

ul.links {
  float: right;
}

.submitted {
font-size: 75%;
}

.post-footer {
	clear: both;
	border-bottom: 1px solid #aaa;
	width: 100%;
	padding-bottom: 0;
	margin-bottom: 20px;
}

.even {
	background: #fafafa;
}
cite, cite a, cite a:visited {
	font-weight: bold;
	font-style: normal;
	font-size: 1.2 em;
	color: #CC6600;
}

/* End blog-specific */

.block ul {
padding: 0;
margin: 0;
}
.block ul li, .block ul.menu li, .block li.leaf, li.leaf {
  padding: 0 0 .2em 1.5em;
  margin: 0;
  list-style-type: none;
  list-style-image: none;
  background: transparent url(/images/menu-leaf.gif) no-repeat 1px .35em;
}
.item-list ul li {
  list-style-type: none;
  list-style-image: none;
}

/* Specific to new TOC */

.toc-Title1 {
	padding-top: 0.65em;
	font-size: 1.25em;
	border-bottom: 1px solid #000;
	font-family: Myriad, "Gill Sans", "Century Gothic", "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
	color: #870000;
	font-weight: bold;
}

.toc-Title2 {
	padding-top: 0.5em;
	font-size: 1.25em;
	border-bottom: 1px solid #000;
	font-family: Myriad, "Gill Sans", "Century Gothic", "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
	color: #870000;
	font-weight: bold;
}

.toc-title {
	font-family: Myriad, "Gill Sans", "Century Gothic", "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
	font-weight: bold;
	padding-top: 10px;
}

.toc-date {
	color: #888;
	font-size: 75%;
}

.toc-byline {
	font-size: 85%;
	font-style: italic;
}

.toc-links {
	margin-bottom: 10px;
}


.toc-thumb-title {
	font-family: Myriad, "Gill Sans", "Century Gothic", "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
	padding-top: 2px;
	line-height: 110%;
	font-size: 75%;
}

.toc-thumb-date {
	color: #888;
	font-size: 60%;
}

.toc-thumb-byline {
	font-size: 65%;
	font-style: italic;
}

.toc-links {
	margin-bottom: 10px;
}

#whatsnew {
	margin-bottom: 20px;
}

#whatsnew img {
		border: 2px solid #a6a6a6;
}

#whatsnew-1 {
	margin-bottom: 20px;
}

#whatsnew-1-thumb {
	text-align:right;
	float:right;
	font-size:60%;
	margin: 0;
	padding-left:5px;
	width:402px;
}

.whatsnew-2 {
	float: left;
	width: 50%;
	margin: 0;
	padding: 0;
	min-width: 313px;
	min-height:125px;
}

.whatsnew-2-thumb {
	float:left;
	font-size:80%;
	margin:1px;
	padding-right:5px;
	width:102px;
}

.whatsnew-2-meta {
	margin: 0;
	padding: 0;
	background-color: #eee;
	min-height:125px;
}

/* Add purty Block quotes */
blockquote {
	background: url(/images/quote.png) 0 0 no-repeat;
	margin: 30px 10px 0 0;
	padding: 6px 0 2px 28px;
	line-height: 1.1em;
	font-style: italic;
	font-family: Georgia, "Bitstream Vera Serif", serif;
	font-size: 0.9em;
	font-weight: normal;
	min-height: 30px;
}
.boxed-text {
	background-color: #eee;
	border: 1px solid #ccc;
	margin: auto;
	width: 50%;
	padding: 5px;
	line-height: 100%;
	font-style: italic;
	font-family: Georgia, "Bitstream Vera Serif", serif;
	font-size: 0.9em;
	font-weight: normal;
}

/* RSS feed box */
.FeedTitle {
	font-family: "Palatino","Georgia","Baskerville",serif;
	font-size: 1.5em;
	line-height: 100%;
	padding-top: 15px;
	color: #333;
}

.FeedTitle a {
	color: #333;
}

.FeedAuthor {
	color: #777;
}

.blockTitleFeed {
	font-size: 2em;
       	display: block;
        padding: 0.5em 0 0.5em 0;
       	color: #870000;
        font-weight: bold;
       	font-family: Myriad, "Gill Sans", "Century Gothic", "Trebuchet MS", "Bi";
}
