@import url('bio.css');

body {
	font-family:  Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
	font-size: 82.15%;
}

div#page_body {
	margin: 0 auto;	
}

div.box {
	margin-bottom: 0; /* undo blueprint rule */
	padding: 0 1.5em;  /* undo blueprint rule */
	margin-top: 1em;
}

a {
	font-weight: bold;	
}

img.small-bio-picture {
	height: 96px;
	width: 70px;
}

img.person-tabular-float-left {
	float: left;
	margin-right: 0.5em;	
}

div.chapter-preview-chapter-preview p {
	margin: 0;	
}

h1.title {
	text-align: left;
	font-weight: normal;
	clear: both;
}

	h1.title a {
		font-weight: normal;
	}

h1.title,
h2.title
{
	font-family:  Baskerville, "Hoefler Text", Constantia, Georgia, 
		"Book Antiqua", serif;	
}

p + h2 {
	margin-top: 1.5em;
}

h2 + p
{
	margin-top: -1em;	
}

p + h3 {
	margin-top: 1.5em;	
}

/*********************** TABLES *************************/
th,
td
{
	padding: 0.2em 0.4em;
}

th h2,
th h3,
th p,
td p
{
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}



/*********************** HEADER BAR *************************/
		div#header-bar a.menu-item
		{
			text-align: left;
			padding-top: 4px;
		}
	
/*********************** VERSO HEADER *************************/
div#header {
	height: 220px;
}

/* header_menu = six main sections */
div#header_menu {
	height: 30px;
}

	div#header_menu div.header-section-col {
		height: 30px;
	}

/* navmenu = main section-level menu, beneath images */
#navmenu {
	margin: 0;
	padding: 0;
}

	#navmenu ul {
		font-weight: bold;
		font-variant: small-caps;
		text-decoration: none;
		text-align: left;
		letter-spacing: .1em;
		list-style-type: none;
		margin: 0;
		padding: 0;
		display: block;
	}

	#navmenu li {
		font-size: 15px;
		display: inline;
		padding: 0;
		margin: 0;
		line-height: 28px;
		height: 28px;
		background-color: green;
	}
	
	#navmenu a, #navmenu a:link, #navmenu a:visited {
		text-decoration: none;
		font-weight: bold;
		font-variant: small-caps;
		padding: 0 12px 0 12px;
		display: block;
		float: left;
	}

/* navsubmenu = second-level menu, not always displayed */
div#navsubmenu {
	font-size: 11px;
}

	div#navsubmenu ul {
		margin: 0;	
	}
	
		div#navsubmenu ul li {
			display: inline;
		}
		
			div#navsubmenu ul li a {
				display: block;
				float: left;
				padding: 4px 10px 5px;
			}
	
/*******************************************************************************
 * ACTION MENU - displayed for some items, within their page
 */
ul.action-menu {
	float: right;
	margin-right: 0;
	margin-bottom: 10px;
	margin-top: 10px;
	list-style-type: none;
}

div.box ul.action-menu {
	margin-top: 0px;
}

ul.action-menu li {
	float: left;	
}

ul.action-menu li a {
	white-space: nowrap;
	padding: 2px 10px 2px 22px;
	margin-left: 5px;
	background-repeat: no-repeat;
	background-position: 2px 2px;
	cursor: pointer;
}

ul.action-menu li.toggle_on      a { background-image: url('assets/button_bullet_on.png'); }
ul.action-menu li.toggle_off     a { background-image: url('assets/button_bullet_off.png'); }
ul.action-menu li.toggle_error   a { background-image: url('assets/button_bullet_error.png'); }
ul.action-menu li.toggle_pending a { background-image: url('assets/button_bullet_pending.png'); }

ul.action-menu li a.edit                { background-image: url('/assets/icons/silk/pencil.png'); }
ul.action-menu li a.delete              { background-image: url('/assets/icons/silk/delete.png'); }

ul.action-menu li a.family-add          { background-image: url('/assets/icons/silk/group_add.png'); }
ul.action-menu li a.family-attach-child { background-image: url('/assets/icons/silk/group_add.png'); }
ul.action-menu li a.family-delete       { background-image: url('/assets/icons/silk/group_delete.png'); }
ul.action-menu li a.family-edit         { background-image: url('/assets/icons/silk/group_edit.png'); }
ul.action-menu li a.family-matchmaker   { background-image: url('/assets/icons/silk/heart.png'); }
ul.action-menu li a.household-add       { background-image: url('/assets/icons/silk/house_go.png'); }
ul.action-menu li a.person-bio-edit     { background-image: url('/assets/icons/silk/book_edit.png'); }
ul.action-menu li a.person-delete       { background-image: url('/assets/icons/silk/user_delete.png'); }
ul.action-menu li a.person-edit         { background-image: url('/assets/icons/silk/user_edit.png'); }
ul.action-menu li a.person-paternity    { background-image: url('/assets/icons/silk/user.png'); }
ul.action-menu li a.person-maternity    { background-image: url('/assets/icons/silk/user_female.png'); }
ul.action-menu li a.person-titles-edit  { background-image: url('/assets/icons/silk/text_signature.png'); }
ul.action-menu li a.sim-view            { background-image: url('/assets/icons/silk/user.png'); }

ul.action-menu li a.post-edit       { background-image: url('/assets/icons/silk/page_white_edit.png'); }
ul.action-menu li a.post-edit-tags  { background-image: url('/assets/icons/silk/tag_blue_edit.png'); }

/*******************************************************************************
 * PAGE CONTENT
 */
div#container-footer h3
{
	font-weight: bold;	
}

/*******************************************************************************
 * PAGE CONTENT
 */
h1.post-title, 
h1.poll-title
{
	clear: both;
	font-size: 300%;
	font-weight: normal;
	text-align: center;
	margin: 1.5em auto 0.5em;
}

h1.poll-title
{
	margin-bottom: 1em;
}

div.verso-layout_page_content h1.post-title {
	width: 580px;
}

div#page_content {
	text-align: left;
	margin-bottom: 0px;
}

div.verso-post,
div.post-preview,
div.forum-content
{
	width: 580px;
	margin: 0 auto;	
}

div.post-preview:last-child
{
	margin-bottom: 4.5em;	/* 300% * 1.5, see top marg. for post-title */
}

p.publish_date {
	text-align: center;
	font-style: italic;
	font-size: 93.75%;	
}

div.post-content {
	font-family:  Baskerville, "Hoefler Text", Constantia, Georgia, 
		"Book Antiqua", serif;
	font-size: 115%;
}

	div.post-content p {
		line-height: 1.65em;	
	}
	
	
	div.post-content img,
	div.forum-content img
	{
		display: block;
		margin: 0 auto;
	}

	div.forum-content img
	{
		max-width: 100%;	
	}

	div.post-content img.smiley
	{
		display: inline;
		margin: 0;
	}

	div.post-content img[width="600"],
	div.forum-content img[width="600"]
	{
		margin-left: -17px;
	}

	div.post-content blockquote img[width="600"],
	div.forum-content blockquote img[width="600"]
	{
		margin-left: -41px; /* by eye */
	}

	div.post-content ul {
		margin: 0 0 1.5em 0;
	}
	
div.nav-block {
	padding: 5px 10px;
}

div.nav-block-middle {
	margin-bottom: 1.5em;
}

div.nav-block div.nav-previous {
	float: left;
}

div.nav-block div.nav-next {
	float: right;
}

	div.nav-block div.clear
	{
		height: 1px;
		line-height: 1px;
	}

table#lifetable td {
	font-family: monospace;
	font-size: 14px;
	padding-left: 9px;
	padding;right: 9px;
}


table#lifetable th {
	background-color: #F43E42;
	text-align: center;
}

table.person_select {
	clear: both;
	font-size: 90%;
}

table.sims-cc-index {

}

table.maternity_list {
	font-size: 7pt;
}

table.maternity_list tr.might-conceive td {
	background-color: #C87848;
}

table.maternity_list tr.pregnant td {
	background-color: #6686AA;
}

.guid {
	font-family: monospace;
	font-size: 1.3em;
}

td.age {
	text-align: right;
	font-weight: bold;
}

div#lifetable_summary, div#lifetable_legend {
	font-size: 85%;
}

div#lifetable_summary td {
	text-align: right;
}

div#lifetable_legend dt {
	font-weight: bold;
}

div#lifetable_legend dd {
	padding: 3px 10px 3px 10px;
	margin: 0;
}

table.tablesorter thead th {
	cursor: pointer;
}

/***************************** SIDEBARS *************************/
div.sidebar {
	padding: 10px;
}

div.sidebar h3
{
	font-family:  Baskerville, "Hoefler Text", Constantia, Georgia, 
		"Book Antiqua", serif;
	font-size: 24px;
	margin-bottom: 0.4em;
}

/************************ LEFT SIDEBAR *************************/
div#left-sidebar div#verso-tag-list ul {
	list-style-type: none;
	margin: 0;	
}

dl.verso {
	font-family:  Baskerville, "Hoefler Text", Constantia, Georgia, 
		"Book Antiqua", serif;
	font-size: 15px;
	font-style: italic;
	margin: 0;
}

	dl.verso dt {
		font-size: 28px;	
	}
	
	dl.verso dd {
		margin-left: 0;	
	}
	
/************************ RIGHT SIDEBAR *************************/
	div.right-sidebar div.sidebar-block
	{
		margin: 0; /* check forum styles, but verso mustn't have right marg here */
	}

	div.right-sidebar div.sidebar-block:first-child
	{
		margin-top: 1em;
	}

		div.right-sidebar dl.post-metadata
		{
			font-size: 11px;
			margin: 0;
		}
		
	div.right-sidebar ul.recent-comments,
	div.right-sidebar ul.recent-nodes
	{
		font-size: 87.5%;
	}
	
	div.right-sidebar li.recent-comment,
	div.right-sidebar li.recent-node
	{
		padding-bottom: 0.7em;
		margin-bottom: 0.7em;
	}

/************************ COMMENTS *************************/
	div.comment-container div.left-sidebar {
		text-align: right;
	}

div.comment-container div.comment-number {
	font-family: Palatino, Georgia, serif;
	font-size: 38pt;
	line-height: 1.05;
}

div.comment-container div.comment-number a {
	font-weight: normal;	
}

div.comment {
	padding: 15px 15px;
	margin-bottom: 1em;
}

	div.span-17 div.comment {
		width: 600px;
		margin: 0 auto 15px;
	}

div.comment-content {
	line-height: 1.8;
	padding-top: 1em;
	padding-bottom: 0.2em;
}

div.comment img {
	max-width: 600px;
}

div.comment-admin p {
	font-size: 82%;
	margin-bottom: 0;
	padding-right: 4px;
}

div.comment-author {
	font-size: 1.8em;
	font-weight: bold;
}

div.comment-date {
	font-size: 86%;	
}

div#comment-preview {
	min-height: 42px; /* make space for "loading" image so transition is less jarring */	
}

div.comment-admin-inline {
	padding-bottom: 0.4em;
	text-align: right;	
}

div.comment-admin-inline p {
	display: inline;
	padding-left: 30px;
	font-size: 85%;	
}

div.sidebar img.avatar {
	margin-top: -7px;	
}

/****************************** PERSON BIO ***********************************/
ul.person-chapters {
	list-style-type: none;
	margin-left: 0;
}
ul.person-chapters li {
	padding-bottom: 0.6em;	
}

div#page_content div.quote {
	font-size: 93%;
	margin: 0.5em 1.5em 1em;
	padding: 0.5em 1.5em;
}

div#page_content div.quote_quote p {
	margin-bottom: 0.5em;
}

div#page_content div.quote_quote p:last-child {
	margin-bottom: 0.2em;
}

div#page_content div.quote div.quote_author p {
	white-space: nowrap;
	float: right;
	font-style: italic;
	padding-bottom: 5px;
	margin-bottom: 0;
}

div#page_content div.quote p.more-quotes-link,
div#page_content div.quote_comment_count
{
	clear: both;
	float: none;
	font-size: 83%;
	padding-left: 0.6em;
	text-align: right;
}

/****************************** ELF STUFF ***********************************/
div.elf-preview-box {
	padding: 19px;
	clear: both;
}

div.elf-preview
{
	width: 144px; /* 146 - 1px border */
	float: left;
	padding: 27px;
	margin: 14px;
}

div.elf-preview h2
{
	font-size: 120%;	
}
div.elf-preview h3
{
	font-size: 100%;	
}

/************************ CHARACTER SEARCH *************************/
table.characters img.small-bio-picture {
	float: left;
	margin-right: 5px;
}

table.characters td.chapter-count {
	font-size: 1.5em;	
}

div#chapter_character_search_results {
	height: 280px;
	overflow-y: auto;
}

div.chapter-preview img {
	max-height: 270px;
	max-width: 360px;
}

div#chapter_character_person_preview {
	height: 280px;
	overflow-y: auto;
}

div.chapter-preview img {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}

table.chapter-characters td.pov {
	font-weight: bold;
	text-decoration: underline;	
}

table.chapter-characters td.vote {
	white-space: nowrap;
	padding: 2px 0px 2px 22px;
	margin-left: 5px;
	background-repeat: no-repeat;
	background-position: 2px 2px;
	cursor: pointer;	
}
table.chapter-characters td.up-on     { background-image: url('/assets/icons/silk/tick.png'); }
table.chapter-characters td.up-off    { background-image: url('/assets/icons/silk/tick_off.png'); }
table.chapter-characters td.down-on   { background-image: url('/assets/icons/silk/cross.png'); }
table.chapter-characters td.down-off  { background-image: url('/assets/icons/silk/cross_off.png'); }
table.chapter-characters td.pov-on    { background-image: url('/assets/icons/silk/eye.png'); }
table.chapter-characters td.pov-off   { background-image: url('/assets/icons/silk/eye_off.png'); }

div#chapter_status_controls ul li,
a.add-character
{
	white-space: nowrap;
	padding: 2px 0px 2px 22px;
	margin-left: 5px;
	background-repeat: no-repeat;
	background-position: 2px 2px;
	cursor: pointer;
	list-style-type: none;
}

a.add-character  { background-image: url('/assets/icons/silk/add.png'); }

li.set-status-pending-on  { background-image: url('/assets/icons/silk/accept.png'); }
li.set-status-pending-off { background-image: url('/assets/icons/silk/accept_off.png'); }
li.set-status-closed-on   { background-image: url('/assets/icons/silk/asterisk_yellow.png'); }
li.set-status-closed-off  { background-image: url('/assets/icons/silk/asterisk_off.png'); }
li.set-status-flagged-on  { background-image: url('/assets/icons/silk/exclamation.png'); }
li.set-status-flagged-off { background-image: url('/assets/icons/silk/exclamation_off.png'); }

div#chapter_character_search_results table
{
	margin-left: 1px; /* to show border */
	margin-bottom: 0;
}	

div#chapter_character_search_results p
{
	font-size: 93%;
	margin-bottom: 2px;
}
	
div#chapter_character_person_preview
{
	margin-top: 0;
}

div#chapter_character_person_preview img
{
	float: none;
}
	
div#chapter_character_person_preview h3,
div#chapter_character_person_preview h2
{
	margin-bottom: 0;
}

div#chapter_character_person_preview h2 {
	font-size: 110%;
}

div#chapter_character_person_preview h3
{
	font-size: 100%;	
}

table.chapter-characters td.age
{
	font-size: 85%;
	text-align: left;
	font-weight: normal;
	white-space: nowrap;
}

/*************************** BOOKMARKS ***********************************/
table.bookmark-person td
{
	text-align: center;
	vertical-align: top;
	padding-right: 18px;
}

table.bookmark-person td p
{
	margin-bottom: 0;
	font-size: 93%;
}

table.bookmark-person td p.name
{
	font-size: 120%;
}

/*************************** MATERNITY FORM *********************************/
table.maternity_list td.having-relations-Y,
table.maternity_list td.having-relations-pending,
table.maternity_list td.having-relations-N,
table.maternity_list td.having-relations-error
{
	white-space: nowrap;
	padding: 2px 0px 2px 22px;
	margin-left: 5px;
	background-repeat: no-repeat;
	background-position: 2px 2px;
	cursor: pointer;
}

table.maternity_list td.having-relations-Y
{
	background-image: url('/assets/icons/silk/accept.png');
}

table.maternity_list td.having-relations-N
{
	background-image: url('/assets/icons/silk/exclamation.png');
}

table.maternity_list td.having-relations-pending
{
	background-image: url('/assets/icons/silk/error.png');
}

table.maternity_list td.having-relations-error
{
	background-image: url('/assets/icons/silk/feed.png');
}

table.maternity_list td.check-day,
table.maternity_list td.check-until-today
{
	cursor: pointer;
	white-space: nowrap;
}

table.maternity_list td.check-pending
{
	text-decoration: underline;
}

table.maternity_list td.check-incomplete 
{
	font-weight: bold;
}

/************************* RELATIONSHIP CALCULATOR ****************************/
table.relationship-calculator
{
	margin: 0 auto;
}

table.relationship-calculator td
{
	vertical-align: top;
	width: 350px;
}

table.relationship-calculator td p
{
	margin: 0 0 0.4em;
}

table.relationship-calculator td.relationship-spacer
{
	width: 50px;
}

table.relationship-calculator td.relationship-path1
{
	text-align: right;
}

table.relationship-calculator td.relationship-path1 img
{
	float: right;
	margin-left: 10px; 
}

table.relationship-calculator td.relationship-path2 img
{
	float: left;
	margin-right: 10px; 
}

table.relationship-calculator td.least-common-ancestor
{
	text-align: left;
}

table.relationship-calculator td.least-common-ancestor div.person
{
	width: 350px;
	margin: 0 auto;
	padding-left: 220px;
	
}

table.relationship-calculator td.least-common-ancestor img
{
	float: left;
	margin-right: 10px;
}

/************************* DEMOGRAPHICS STUFF ****************************/
table.occupation-summary
{
	float: left;
	margin-right: 2em;
}

h2.occupation-subtitle,
table#employees-list
{
	clear: both;	
}

/************************* CALENDAR STUFF ****************************/
div.calendar-single-day-events div.calendar-day-event 
{
	margin-bottom: 1em;
	padding: 0.2em 0.5em;
}

/************************* USER LIST STUFF ***********************************/
table.userlist td.user-avatar img {
	max-height: 40px;	
}

/* ========================================================= */
/*                         POLLS                             */
/* ========================================================= */
ul.poll-choices {
	list-style-type: none;
	clear: both;
	margin: 0;
}

	ul.poll-choices li,
	form label.poll-vote-option
	{
		margin-bottom: 1em;
		padding: 1em;
		padding-top: 1em;
		-moz-border-radius: 10px;
		-webkit-border-radius: 10px;
		border-radius: 10px;	
	}

div.poll-choice {
	margin-bottom: 0.5em;
	font-weight: bold;	
}

div.poll-vote-percent {
	float: left;
	display: block;
	padding-left: 0.4em;
	font-weight: bold;
	margin-top: 0.4em;
}

div.forum-content {
	margin-bottom: 1em;	
}

div.forum-author-block {
	float: left;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	padding: 1em;
	margin-right: 1.5em;
	margin-bottom: 1em;
}

	div.forum-author-block div.forum-create-info {
		float: left;
	}

	div.forum-author-block div.forum-author-avatar
	{
		float: left;
		margin-right: 1em;
	}

		div.forum-author-block div.forum-author-avatar img
		{
			display: block;
			max-height: 4.5em;
		}

		div.poll-author-block div.forum-author-avatar img
		{
			display: block;
			height: 6em;
			max-height: 85px;
		}

td.forum-post-date {
	white-space: nowrap;	
}

form label.poll-vote-option
{
	float: none;
	display: block;
	text-align: left;
}

	form label.poll-vote-option p
	{
		margin-bottom: 0;
	}

	form label.poll-vote-option input
	{
		float: left;
	}

/* ========================================================= */
/*                         FORUM                             */
/* ========================================================= */
tr.child-boards th {
	font-weight: normal;	
}

div.forum-comment-right-sidebar {
	margin-top: 0;
	padding-top: 0;
	margin-bottom: 3em;	
}

	div.forum-comment-form-container div.comment-entry-box
	{
		padding: 1em;	
	}

	div.forum-comment-form-container div.comment
	{
		margin-bottom: 0;
	}

	div.comment-container div.forum-author-name
	{
		font-size: 2em;
		font-family:  Baskerville, "Hoefler Text", Constantia, Georgia, 
			"Book Antiqua", serif;		
	}

	div.comment-container div.forum-author-avatar
	{
		float: left;
		margin-right: 1em;
	}

		div.comment-container div.forum-author-avatar img.avatar
		{
			margin-top: 0;
		}
		
ul.forum-breadcrumbs
{
	list-style-type: none;
	margin: 0;
}
		
	ul.forum-breadcrumbs li
	{
		display: inline;
	}

	
/* ========================================================= */
/*                         FORUM                             */
/* ========================================================= */
	table.icelandic-dictionary td
	{
		vertical-align: top;	
	}
