/*#############################################################
The "Bitter Sweet" theme is adapted from a template design
by Viktor Persson: http://templates.arcsin.se
Licensed with his permission for use with Big Medium.
$Id: theme.css 2812 2007-11-27 14:21:31Z josh $
#############################################################*/

/* STANDARD ELEMENTS
----------------------------------------------------------------- */
body {
	color: #333;
	font-family: "Lucida Grande","Lucida Sans Unicode",sans-serif;
	font-size: 80%;
	margin: 0;
	padding-bottom: 10px;
	background-color: #FFFF99;
	background-position: center top;
}
a, a:visited {
	color: #666666;
}
a:hover {
	color: #999999;
}
h1,h2,h3,h4,h5,h6 {
	margin-top: 0;
	color: #000000;
}


/* FONT SIZES
----------------------------------------------------------------- */
h3 {
    font-size: 100%;
    margin-top: 0em;
    margin-bottom: 0.2em;
}

/* x-small fonts */
div.footer,
div.bmc_caption,
div.bmt_pageInfo,
p.bmw_tags,
div.bmw_breadcrumbs,
div.bmw_byline,
form.bmw_search {
    font-size: 0.88em;
}

/* big blockquote */
blockquote.bmc_bigPullquote {
    font-size: 160%;
    line-height: 1.3em;
}


/* OVERALL PAGE STRUCTURE
----------------------------------------------------------------- */
/* holds the page background */
.outer {
	background-position: center top;
}

/* content page container */
.container {
	width: 780px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	background-color: #FFFFFF;
}

/* bottom reflection */
.bottom {
	margin: 0px auto;
	width: 780px;
	height: 28px;
}


/* TOP SITE NAME/LOGO
----------------------------------------------------------------- */
h1.bmw_sitelogo {
	font-size: 180%;
	line-height: 2em;
	margin: 0 auto;
	width: 780px;
	font-weight: normal;
	background-color: #FF0099;
}
/* bigger on homepage */
body.bmt_home h1.bmw_sitelogo {
    font-size: 200%;
	line-height: 2.5em;
}

h1.bmw_sitelogo a,
h1.bmw_sitelogo a:visited {
	color: #fff;
	display: block;
	text-decoration: none;
	padding-left: 16px;
}
h1.bmw_sitelogo a:hover {
	color: #fff;
}


/* HEADER GRAPHIC
----------------------------------------------------------------- */
.header,
.intHeader {
	width: 780px;
	background-repeat: no-repeat;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}

.header {
	height: 190px;
	width: 780px;
}
.header h4 {
	text-align: right;
	font-size: x-small;
	margin-bottom: -15px;
}

.intHeader {
	height: 190px;
	background-position: 0px -72px;
}
#header .logo {
	float: left;
	margin-top: 0.5em;
}
#header .header_img {
	float: right;
	margin-top: 0.5em;
}

/* MAIN NAVIGATION
----------------------------------------------------------------- */

/* designed to be used with Big Medium's
   dropdown navigation */
div.bmn_hnav {
	margin: 0px;
	background-color: #000000;
	color: #FFFFFF;
}
div.bmn_hnav li {
    list-style-image: none;
    list-style:none;
    background-color:transparent;
    border: none;
}

/* navigation links */
div.bmn_hnav a, div.bmn_hnav a:visited {
	color: #FFFFFF;
	font-weight: bold;
	text-decoration: none;
}
div.bmn_hnav a:hover {
    color: #fff;
}

div.bmn_hnav li ul {
    padding-top: 0px;
}
div.bmn_hnav li li { /* subnavigation */
	background-color: #FFFF66;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FFFFCC;
}
div.bmn_hnav li.bmn_active { /* active section */
	background-color: #666666;
	color: #000000;
}
div.bmn_hnav li:hover, div.bmn_hnav li.bmn_hover {
	background-color: #999999;    /* rollover bgcolor */
}

/* line up link text with header/text in main content section;
   widen subnav menus slightly to make up for lost space*/
div.bmn_hnav a {
    padding-left:16px
}
div.bmn_hnav li ul,
div.bmn_hnav li li {
    width:11em; /* width of the dropdown menus */
}
div.bmn_hnav li ul ul {
    margin-left:11em; /* should be same as the width above */
}


/* NAVIGATION BREADCRUMBS
----------------------------------------------------------------- */
div.bmw_breadcrumbs {
    background-color: #df9;
    margin: 0px 36px;
    padding: 0px 16px;
    color: #333;
    line-height: 1.8em;
}
div.bmw_breadcrumbs a,
div.bmw_breadcrumbs a:visited {
    color: #333;
}
div.bmw_breadcrumbs a:hover {
    color: #9a6;
}


/* MAIN CONTENT COLUMN
----------------------------------------------------------------- */
.main {
	padding-right: 37px;
	width:550px;
	float: right;
	overflow:hidden;
	padding-bottom: 1px;
	background-color: #FFFFFF;
}
.primaryContent {
	padding: 0px 16px;
}
h2.bmw_headline {
	color: #000000;
	font-size: 1.2em;
	line-height: 2em;
	padding-left: 16px;
	margin:0;
	font-weight: normal;
}
h3.bmc_subhead {
	padding:5px 16px;
	margin:0;
}


/* SIDEBAR COLUMN
----------------------------------------------------------------- */
.sidebar {
	float: left;
	margin-right: 1px;
	width:180px;
	overflow:hidden;
	line-height: 1.4em;
	padding-bottom: 1px;
	margin-bottom: 5px;
	margin-top: 2px;
	margin-left: 5px;
}

/* primary sidebar headings */
.sidebar h2 {
	color: #333;
	font-size: 1.2em;
	line-height: 2em; /* match line height of h2.bmw_headline */
	padding-left: 12px;
	margin: 0;
	font-weight: normal;
	background-color: #FFEA00;
}

/* subheadings in sidebar */
.sidebar h3 {
    margin-top:2em;
}

/* non-search content */
.padded {
	padding: 0.3em 5px 1em;
	background-color: #FFFF66;
	border-bottom: 1px solid #ccc;
}

/* search form */
form.bmw_search {
	/* match line height of h2.bmw_headline and pagetools */
    height: 2.1em; /* these odd heights match height of search box */
	line-height: 2.1em;
	border-bottom: 1px solid #ccc;
	padding: 0.3em 5px;
	margin: 0;
	text-align:center;
	border-bottom: 1px solid #ccc;
	background-color: #FFFF66;
}
form.bmw_search input {
    width:165px;
}
form.bmw_search button {
    border:none;
    background: transparent url(bm~theme/button-ball.gif) no-repeat;
    width:21px;
    height:21px;
    padding:0;
    margin:0;
    text-align:left;
    text-indent:-99999em;
    overflow:hidden;
}


/* RELATED LINKS
------------------------------------------------------------------------- */
div.bmw_related ul,
div.bmw_related li,
div.bma_related ul,
div.bma_related li {
    margin: 0em 0em 0em 0.6em;
    padding: 0;
}


/* CONTENT PAGE: PULLQUOTES, DOCUMENTS, CODE BLOCKS, AUTHOR BLURBS
------------------------------------------------------------------------- */

/* additional top/bottom pad for elements in primary content */
div.bmw_byline,
div.bmt_pageInfo,
div.bmw_related,
div.bmw_pageContent,
div.bmw_gallery,
div.bmc_belowContent,
div.bmc_aboveContent,
div.bmw_search_results,
div.bmw_feedintro {
    padding-top: 0.3em;
    padding-bottom: 0.3em;
}

/* homepage, feed, overflow pages gets extra spacing at top of content */
body.bmt_home div.bmw_pageContent,
div.bmw_feedintro,
div.bmw_overflowLinks {
    padding-top: 2.3em;
}

/* primary content gets extra line height */
div.bmw_pageContent,
div.bmw_comments,
div.bmw_related,
div.bmw_byline,
div.bmw_authorblurb {
    line-height: 1.4em;
}

/* misc boxes */
div.bmw_authorblurb,
div.bmc_download,
div.bmc_document,
pre {
	background: #fff;
    border:1px solid #dfa;
	color: #333;
    padding: 1em;
    overflow: auto;
    zoom:1;
}

/* pullquotes */
blockquote.bmc_bigPullquote,
blockquote.bmc_smallPullquote {

}

/* document downloads */
div.bmc_aboveContent div.bmc_document,
div.bmc_belowContent div.bmc_document,
div.bmc_centerDocument,
div.bmc_download {
    text-align:center;
    margin: 0em auto 1em;
    width: auto;
}

/* byline */
div.bmw_byline {
    border-top: 1px #ccc dotted;
    border-bottom: 1px #ccc dotted;
}

/* author blurb */
div.bmw_authorblurb {
    margin:1em 16px;
}

/* container for email/print links */
div.bmt_pageInfo {
	height: 2.1em; /* these odd heights match height of search box */
	line-height: 2.1em;
	border-bottom: 1px solid #ccc;
	background-color: #FFFF66;
	margin-bottom: 2.3em;
	padding-left: 16px;
	padding-right: 16px;
}
div.bmt_pageInfo img {
    vertical-align: text-bottom;
}

/* document and image captions */
div.bmc_caption {
    color: #666;
    line-height: 1.3em;
}


/* IMAGES
------------------------------------------------------------------------- */

/* misc images */
div.bmc_image {
    padding:10px;

}

div.bmc_centerContentImage {
    margin-bottom: 1em;
}


/* image gallery */
div.bmw_gallery div.bmc_image {
    padding: 3px;
    margin-bottom: 0.5em;
}
div.bmw_gallery h3 {
    margin-top: 0;
}
div.bmw_gallery {
    margin-bottom: 1em;
}


/* FORMS
------------------------------------------------------------------------- */
input, button, textarea {
	color: #333;
	font-family: "Lucida Grande","Lucida Sans Unicode",sans-serif;
	font-size: 100%;
}

form.bmf_form {
	border: 1px solid #FFFF33;
	background-color: #FFFFCC;
	padding:0.5em;
}


/* COMMENTS
------------------------------------------------------------------------- */

/*green border for comments */
.bmc_comment {
    background-color: #fff;
    border:1px solid #FFFFCC;
    padding:4px;
}

/* light green header bar for each comment */
.bmc_comment_meta {
    background-color: #FFFFCC;
    color: #333;
    padding: 2px 4px;
}
.bmc_comment_meta a,
.bmc_comment_meta a:visited {
    color: #FFFFCC;
}

/* dark green header for staff comments */
.bmc_comment_staff .bmc_comment_meta {
	background-color: #666666;
	color: #fff;
}
.bmc_comment_staff .bmc_comment_meta a,
.bmc_comment_staff .bmc_comment_meta a:visited {
    color: #fff;
}

.bmc_comment_timestamp {
    padding-top: 2px;
}
.bmc_comment_date,
.bmc_comment_time {
    border-right: 1px solid #666;
}

/* NEWS FEED LIST
------------------------------------------------------------------------- */
div.bmw_sectionfeeds {
    margin-top: 1.5em;
}

div.bmw_sectionfeeds ul,
div.bmw_sectionfeeds ul li {
    margin: 0;
    padding: 0;
    line-height: 1.4em;
    list-style: none;
    list-style-image: none;
}

div.bmw_newsgadget {
    margin: .8em 0em;
}

/* PAGE FOOTER
------------------------------------------------------------------------- */
.footer {
	padding-top: 10px;
	color: #fff;
	font-size: 90%;
	line-height: 1.6em;
	margin: 0 auto;
	width: 780px;
	background-color: #000000;
}
.footer a,
.footer a:visited {color: #fff;}
.footer a:hover {color: #fafcb0;}

/* floats */
.footer .left,
.footer .right {
    padding: 0px 16px 12px;
}
.left {
    width:320px;
    float: left;
}
.right {
    width:180px;
    float: right;
    text-align:right;
}
a.bmw_bigmedium {
    margin-left: auto; /* right-align bm link */
    text-align:left; /* safari needs this to hide link text */
}


/* MISC PAGE ELEMENTS
------------------------------------------------------------------------- */
.clearer {clear: both;}

/* green-bullet list items */
ul li {
    list-style-image: url(bm~theme/li.gif);
}

div.bmw_tips a { 
    font-weight:bold;
    text-align:center; 
}
#darr {
	width: 780px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 10px;
	padding-left: 10px;
	background-position: center;
	text-align: center;
}
