/*
Theme Name: Mandarin
Theme URI: http://elucidblue.com
Description:
Version: 1.1
Author: Keith J. Grant
Author URI: http://elucidblue.com

License -
The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php

Theme for Wordpress.
Copyright (C) 2006 Keith J. Grant
All rights reserved

*/


* { /* global reset */
	margin: 0;
	padding: 0; }

/*
------------------------------------------------------------------------

Fonts

------------------------------------------------------------------------
*/

h1, #navbar a, #navbar a:visited {
	font-family: 'Franklin Gothic Medium Cond', 'Arial Narrow', Arial, sans-serif; }

h2 {
	font-family:  'Franklin Gothic Medium Cond', Arial, sans-serif; }

h3, h4, blockquote.pullquote {
	font-family:  'Arial Narrow', Arial, sans-serif; }

#links h2, blockquote, #primary-content p, #secondary-content, #tertiary-content, #links a,
.glt-elm p, .comment-meta p, .comment-body p, #comments p, .post ul, .post li {
	font-family: Arial, sans-serif; }

/*
------------------------------------------------------------------------

Page Structure

------------------------------------------------------------------------
*/

body {
	font-size: 90%;
	background-color: #333333; }

#container {
	width: 100%;
	min-width: 60em;
	background: #333333 url(images/gradient-main.jpg) repeat-x fixed; }

img {
	border: 0px; }

/* Page Structure - NAVBAR */

#navbar {
	display: block;
	width: 100%;
	min-width: 50em;
	height: 35px; }

#navbar ul {
	/*float: left; */
	list-style: none; }

#navbar li {
/*	width: 9.9em; */
	float: left;
	border-left: #242424 .1em solid; }

#navbar-logo {
	width: 8em;
	min-width: 143px; }

/* Page Structure - MAIN BODY */

#main-image {
	clear: left;
	width: 60em;
	min-height: 287px;
	background: url(images/rose-bottom.png) no-repeat bottom left !important;
	background: url(images/rose-bottom.gif) no-repeat bottom left; /*ie6*/ }

#primary-wrapper {
	background: url(images/rose.png) no-repeat top left !important;
	background: url(images/rose.gif) no-repeat top left; /*ie6*/ }

#primary-content {
	margin: 0em 0 4em 30em;
	padding: 4.15em 1em 0;
	width: 27.9em;
	min-height: 375px;
	border-left: #252525 .1em solid; }

/* Page Structure - BOTTOMBAR FRAME */

#secondary-wrapper {
	clear: both;
	margin-left: 10em;
	width: 50em;  }

#bottombar {
	float: left;
	width: 50em;
	background: #444444 url(images/bar-top.png) no-repeat left top; }

/* Page Structure - BOTTOMBAR CONTENT */

#secondary-content {
	display: inline; /* fixes IE6 double-margin error */
	float: left;
	width: 18.5em;
	margin: .7em 0 .7em 10em;
	padding: 0 .7em;
	border-left: #555555 .1em solid; }

#tertiary-content {
	float: left;
	width: 18.3em;
	margin: .7em 0;
	padding: 0 .7em;
	border-left: #555555 .1em solid; }

#primary-content ul li a, #secondary-content ul li a, #tertiary-content ul li a {
	color: #ff9911;
}

#primary-content ul li a:hover, #secondary-content ul li a:hover, #tertiary-content ul li a:hover {
	color: #f7ae4f;
}

#announcement p {
	font-weight: bold;
	font-size: .8em;
	border: #ff9911 1px solid;
}

#comments {
	float: right;
	width: 38.5em !important;
	width: 48.5em; /* ie6 */
	margin: .7em 0 .8em .7em;
	padding: 0 .7em .7em;
	border-left: #555555 .1em solid; }
	
	.comment-meta {
		clear: left;
		float: left;
		width: 7.6em;
		margin: 0 .7em .7em -10em !important;
		margin: 0 .7em .7em 0; /* ie6 */
		padding: .8em .7em 0 .3em;
		line-height: 1.2em;
		color: #ffffff;
		text-align: right;
		border: #555555 .1em solid;
		background: #333333; }
	
	.comment-body {
		float: left;
		width: 38.5em;
		margin: 0 0 .7em;
		padding: .8em 0 0;
		border-top: #555555 .1em solid; }
	
	#respond {
		clear: left;
		width: 37.1em;
		margin: 1.5em 0 0;
		padding: .7em .7em 0;
		border: #555555 .1em solid;
		background: #333333; }
	
	.gravatar {
		width: 80px;
		height: 80px;
		border: #555555 .1em solid; }
	
#links {
	float: left;
	width: 9em;
	margin: .7em 0 0 -50em;
	padding: .8em .7em 0 .3em;
	color: #ffffff;
	text-align: right;}

#links ul {
	list-style: none;
	margin: .85em 0 1.2em; } /* top: .85 O  1 FF */

#links li {
	margin: .15em 0 .7em; /* bottom: .7 O  .78 FF */
	line-height: 1.4em; } /* 1.4 O  1.5 FF */
	
	.no-bottom-margin {
		margin-bottom: 0 !important; }

.links-rss {
	min-height: 64px;
	background: url(images/rss-bg.png) no-repeat bottom left !important; }

#footer {
	clear: both;
	width: 60em; }

/*
------------------------------------------------------------------------

Navbar

------------------------------------------------------------------------
*/

#navbar a {
	display: block;
	height: 0px;
	width: 9.9em;
	padding: 32px 0 3px;
	overflow: hidden; }

#navbar-about a { background: transparent url("images/about.gif") 10px 12px no-repeat; }
	#navbar-about a:hover { background-position: 10px -28px; }

#navbar-design a { background: transparent url("images/design.gif") 10px 12px no-repeat; }
	#navbar-design a:hover { background-position: 10px -28px; }

#navbar-tech a { background: transparent url("images/tech.gif") 10px 12px no-repeat; }
	#navbar-tech a:hover { background-position: 10px -28px; }

#navbar-work a { background: transparent url("images/work.gif") 10px 12px no-repeat; }
	#navbar-work a:hover { background-position: 10px -28px; }

#navbar-blog a { background: transparent url("images/blog.gif") 10px 12px no-repeat; }
	#navbar-blog a:hover { background-position: 10px -28px; }

#navbar-life a { background: transparent url("images/life.gif") 10px 12px no-repeat; }
	#navbar-life a:hover { background-position: 10px -28px; }

#navbar-play a { background: transparent url("images/play.gif") 10px 12px no-repeat; }
	#navbar-play a:hover { background-position: 10px -28px; }

#navbar-logo a { background: transparent url(images/logo.gif) 4px 4px no-repeat; }

/*
------------------------------------------------------------------------

Headings

------------------------------------------------------------------------
*/

h1 { /* section headers */
	text-align: right;
	margin: 0 0 .6em;
	text-transform: lowercase;
	line-height: 1em; }
	
	#comments h1 {
		margin: 0 0 0 0 !important; }

#primary-content h1 {
	font-size: 1.4em;
	color: #404040;
	border-bottom: #333333 1px solid; }

#secondary-content h1, #tertiary-content h1 {
	font-size: 1.3em;
	color: #606060;
	border-bottom: #555555 1px solid; }

#comments h1 {
	font-size: 1.3em;
	color: #606060; }

	#primary-content h1 a, #primary-content h1 a:visited, #primary-content h1 a:hover {
		color: #404040;
		text-decoration: none;
		padding-top: 21px !important;
		padding-top: 41px; /* ie6 */ }
	
	#secondary-content h1 a, #secondary-content h1 a:visited, #secondary-content h1 a:hover,
	#tertiary-content h1 a, #tertiary-content h1 a:visited, #tertiary-content h1 a:hover,
	#comments h1 {
		color: #606060;
		text-decoration: none;
		padding-top: 18px !important;
		padding-top: 36px; /* ie6 */ }
	
	#head-design a, #head-design a:visited, #head-design a:hover {
		background: transparent url("images/head-design.gif") 100% no-repeat; }
	#head-tech a, #head-tech a:visited, #head-tech a:hover {
		background: transparent url("images/head-tech.gif") 100% no-repeat; }
	#head-work a, #head-work a:visited, #head-work a:hover {
		background: transparent url("images/head-work.gif") 100% no-repeat; }
	#head-life a, #head-life a:visited, #head-life a:hover {
		background: transparent url("images/head-life.gif") 100% no-repeat; }
	#head-play a, #head-play a:visited, #head-play a:hover {
		background: transparent url("images/head-play.gif") 100% no-repeat; }
	#sub-tech a, #sub-tech a:visited, #sub-tech a:hover {
		background: transparent url("images/sub-tech.gif") 100% no-repeat; }
	#sub-work a, #sub-work a:visited, #sub-work a:hover {
		background: transparent url("images/sub-work.gif") 100% no-repeat; }
	#sub-play a, #sub-play a:visited, #sub-play a:hover {
		background: transparent url("images/sub-play.gif") 100% no-repeat; }
	#comments h1 {
		background: transparent url("images/sub-comments.gif") 100% no-repeat; }
	
	#head-design a, #head-design a:visited, #head-design a:hover,
	#head-tech a, #head-tech a:visited, #head-tech a:hover,
	#head-work a, #head-work a:visited, #head-work a:hover,
	#head-life a, #head-life a:visited, #head-life a:hover,
	#head-play a, #head-play a:visited, #head-play a:hover,
	#sub-tech a, #sub-tech a:visited, #sub-tech a:hover,
	#sub-work a, #sub-work a:visited, #sub-work a:hover,
	#sub-play a, #sub-play a:visited, #sub-play a:hover,
	#comments h1 {
		display: block;
		height: 0;
		text-decoration: none;
		overflow: hidden; }

h2 { /* article titles */
	font-weight: 400;
	color: #ff9911;	}

	h2 a, h2 a:visited {
		color: #ff9911;
		text-decoration: none; }

	h2 a:hover {
		color: #888888;
		text-decoration: none; }

#primary-content h2 {
	padding-top: .05em;
	font-size: 1.8em;
	letter-spacing: 0em; }

#secondary-content h2, #tertiary-content h2 {
	padding-top: .45em;
	font-size: 1.3em;
	letter-spacing: -.02em; }

#links h2 { /* links section titles */
	margin: .5em 0 0;
	padding: .5em 0 0;
	color: #ffffff;
	font-size: .8em;
	font-weight: normal;
	border-top: #555555 1px solid; }

h3 { /* meta */
	color: #ffffff;
	font-style: italic;
	font-weight: 900;
	line-height: 1.4em; }

	#primary-content h3 {
		margin: -.2em 0 0;
		padding-bottom: 1.4em;
		font-size: 1em; }

	#secondary-content h3, #tertiary-content h3 {
		margin: .1em 0 0;
		padding-bottom: 1.8em;
		font-size: .9em; }

	h3 a { color: #ff9911; text-decoration: none; }
	h3 a:visited { color: #ff9911; }
	h3 a:hover { color: #f7ae4f; }

h4 { /* in-article header */
	margin: -.1em 0 -.1em;
	color: #ffffff;
	font-size: 1em;
	font-style: italic;
	font-weight: 900;
	letter-spacing: .1em;
	line-height: 1.5em; }
	
	#primary-content h4 {
		width: 19em;
		border-bottom: #404040 .1em solid; }
	
	#secondary-content h4, #tertiary-content h4 {
		width: 100%;
		margin: -.15em 0 0;
		border-bottom: #404040 .1em solid; }

h6 {
	font-size: 1em;
	font-weight: normal; }

blockquote {
	color: #eeeeee;
	font-size: .9em;
	line-height: 1.7em;
	border-left: #ff9911 .1em solid; }
	
	#primary-content blockquote {
		padding: .1em .5em .1em; }
	
	#secondary-content blockquote, #tertiary-content blockquote {
		margin-bottom: 1.6em;
		padding: 0em .5em .1em; }

	blockquote.pullquote {
		float: left;
		text-align: center;
		border-left: 0em;
		font-style: italic;
		border-top: #ff9911 .05em solid;
		border-bottom: #ff9911 .05em solid; }

	.pullquote:first-letter {text-transform:uppercase}
	
	#primary-content blockquote.pullquote {
		width: 8.4em;
		margin: .65em 1em .5em 0;
		padding: .7em .3em .65em;
		font-size: 1em;
		line-height: 1.4em; }
	
	#secondary-content blockquote.pullquote, #tertiary-content blockquote.pullquote {
		width: 6.8em;
		margin: .7em .5em .5em 0;
		padding: .7em .1em .75em;
		font-size: .95em;
		line-height: 1.5em; }

/*
------------------------------------------------------------------------

Text Formatting

------------------------------------------------------------------------
*/

/* Text Formatting - BODY TEXT */

#primary-content p {
	margin: 0em 0 1.5em;
	color: #eeeeee;
	font-size: 1em;
	line-height: 1.4em; }

#primary-content blockquote p, #secondary-content blockquote p, #tertiary-content blockquote p {
	margin: 0 0 1.4em; }

#secondary-content p, #tertiary-content p, .comments-body p {
	margin: 0 0 1.7em;
	color: #eeeeee;
	font-size: .9em;
	line-height: 1.7em; }

#comments p {
	margin: 0 0 .7em;
	color: #eeeeee;
	font-size: .9em;
	line-height: 1.7em; }

p a { color: #ff9911; text-decoration: none; }
p a:visited { color: #888888; }
p a:hover { color: #f7ae4f; }

.comment-icon {
	padding: 0 0 0 20px;
	background: url(images/comment-icon.gif) no-repeat; }

	.comment-icon a { text-decoration: none; }

.end-article {
	margin-top: .3em;
	text-align: right; }

/* Text Formatting - LINKS */

#links a, .comment-meta a {
	color: #ff9911;
	font-size: .8em;
	line-height: 1.6em; /* 1.6 O  1.93 FF */
	text-decoration: none; }

#links a:visited {
	color: #888888; }

#links a:hover {
	color: #f7ae4f; }

.cat-more {
	margin: .5em 0;
	padding: 0em .3em;
	line-height: 2em;
	font-style: italic;
	background: #555555; }

.img-left {
	float: left;
	border: 0;
	padding: 0 .7em 0 0; }

.img-right {
	float: right;
	border: 0;
	padding: 0 0 0 .7em; }

.post ul, .post li {
	color: #eeeeee;
	margin: 0 0 1em 1em;
	line-height: 1.5em; }	

/*
------------------------------------------------------------------------

Tooltips

------------------------------------------------------------------------
*/

.glt-elm {
	position: absolute;
	left: 0;
	top: 0;
	width: 150px;
	color: #ffffff;
	visibility: hidden; }

.glt-elm p {
	background: #666666;
	margin: 0;
	padding: 0em .5em 0 1em; }

.glt-elm img {
	display: block; }

.glt-elm {}
	/*filter:progid:DXImageTransform.Microsoft.Alpha(opacity=90); } /* IE 6 */

/*
------------------------------------------------------------------------

sIFR

------------------------------------------------------------------------
*/

.sIFR-flash {
	margin: 0;
	visibility: visible !important; }

.sIFR-replaced {
	visibility: visible !important; }

span.sIFR-alternate {
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 0;
	display: block;
	overflow: hidden; }

/* Hide Adblock Object tab: the text should show up just fine, not poorly with a tab laid over it. */
.sIFR-flash + div[adblocktab=true] {
  display: none !important; }

/* These "decoy" styles are used to hide the browser text before it is replaced... the negative-letter spacing in this case is used to make the browser text metrics match up with the sIFR text metrics since the sIFR text in this example is so much narrower... your own settings may vary... any weird sizing issues you may run into are usually fixed by tweaking these decoy styles */

 .sIFR-hasFlash #primary-content h2 {
	visibility: hidden;
	margin: -.32em 0 -.38em; /* ie6: -.1em */
	font-size: 1.6em;
	letter-spacing: 0em; }

 .sIFR-hasFlash #secondary-content h2, .sIFR-hasFlash #tertiary-content h2, .sIFR-hasFlash #comments h2 {
	visibility: hidden;
	margin: -.2em 0 -.15em;
	font-size: 1em;
	letter-spacing: -.02em; }

.sIFR-hasFlash h5#pullquote {
	letter-spacing: -4px;
	visibility: hidden;
	font-size: 24px; }

