/*
Theme Name: B-MAGIC
Theme URI: http://bayviewmagic.org
Description: Theme designed for B-MAGIC.
Version: 2
Author: Richard T. Bui
Author URI: http://sfpublicdefender.org
Date Created: Novemeber 03, 2009
*/

/*  

Color Palette by Color Scheme Generator
Palette URL: http://colorschemedesigner.com/#3J21Tw0w0w0w0

Generated by Color Scheme Designer © Petr Stanicek 2002-2009

*/

/* == 960 GRID (http://960.gs)

.container_12 {background: transparent url(grid/img/12_col.gif) repeat-y; }

 ==== */

/* == SITE WIDE STUFF == */

body {margin: 0 auto !important; padding: 0 0 1.0em !important; font-size: 0.9em !important; font-family: "Lucida Grande", Lucida, Helvetica, Arial, sans-serif;  width: 100% !important; color: #000; line-height: 1.5; background: transparent url(images/stripes.png) repeat; }
#background {background: transparent url(images/header-bg-trans.png) no-repeat top center; }
.alignleft {float: left; }
.alignright {float: right; }
.aligncenter {margin: 0 auto; text-align: center; }
.inline {display: inline; }
.block {display: block; }
.clear {clear: both; }
img#wpstats {width: 0px; height: 0px; padding: 0px; border: none; overflow: hidden; }
p {color: #000; }
.vvqbox {margin: 0; text-align: left; }

a:link, a:visited {color: #db3426; text-decoration: none; }
a:hover, a:active {color: #f07a10; }

/* ==== */

/* == ROUNDED CORNERS == */

/*default white modules */
.top {background: transparent url(images/tl-trans.png) no-repeat scroll left top; clear: both; padding: 0; margin: 0; width: 100%; }
.top .right {background:transparent url(images/tr-trans.png) no-repeat scroll right top; height: 15px; }
.middle {background: transparent url(images/ml-trans.png) repeat-y scroll left center; clear: both; width: 100%; }
.middle .right {background: transparent url(images/mr-trans.png) repeat-y scroll right center; margin-left: 15px; }
.middle .right .content {margin: 0 5px 0 -10px; padding: 0; }
.bottom {background: transparent url(images/bl-trans.png) no-repeat scroll left bottom; clear: both; padding: 0; width: 100%; }
.bottom .right {background: transparent url(images/br-trans.png) no-repeat scroll right bottom; height: 15px; margin-left: 15px; }

/*this is the edit view of any module - it's also the IE6 default becasue it's stupid and can't handle the pretty drop-shadows*/
.flat .top {clear: both; padding: 0; margin: 0; width: 100%; }
.flat .top .right {height: 15px; margin-left: 15px; }
.flat .middle {clear: both; width: 100%; }
.flat .middle .right {margin-left: 15px; }
.flat .middle .right .content {margin: 0 5px 0 -10px; padding: 0 1px; }
.flat .bottom {clear: both; padding: 0; width: 100%; }
.flat .bottom .right {height: 15px; margin-left: 15px; }

/*this is where all the buttons and module label are contained within the top of every module */
.widgettitle .half-left {float: left; width:48%; }
.widgettitle .half-right {float: right; width:48%; }

/* ==== */

/** GENERIC HTML TABLE **/

table {margin: 1.0em 0; padding: 5px; border: 1px solid #CCC; width: 500px; }
th {padding: 0.5em; }
td {padding: 0.5em; border-top: 1px solid #CCC; }
td.title {font-weight: 600; }

/****/

/* == TABLE MEETING TOOLS == */
/* Make tables easily here: http://www.somacon.com/p141.php */

table.meeting-tools {border-collapse: collapse; width: 100%; border: 0; }
table.meeting-tools td {padding: 0 0.5em; border-style: inset; -moz-border-radius: 0; width: 50%; v-align: middle; border: 0; }
table.meeting-tools p {margin: 0 !important; padding: 0 !important; font-weight: bolder; }
table.meeting-tools p img {vertical-align: middle; }
table.meeting-tools p a {text-decoration: none; color: #000; }
table.meeting-tools p.novalue {color: #CBCBCB; }
p.meeting_date {padding-left: 50px; background: transparent url(images/buttons/calendar_empty.png) top left no-repeat; }

/* ==== */

/* == HEADER == */

#header {position: relative; }
#site-logo h1 {margin: 0; padding: 0; position: absolute; top: 10px; right: 0; text-indent: -10000em; }
#site-logo h1 a {background: transparent url(images/bmagic-logo3.png) 0 0 no-repeat; height: 66px; width: 244px; display: block; }
#site-logo h1 a:hover, #site-logo h1 a:active {background-position: 0px -66px; width: 244px; }
#canvas {margin: 1.0em 0 0.25em; }
ul#canvas-slide {margin: 0 auto; padding: 0; list-style-type: none; width: 940px; height: 250px; }
ul#canvas-slide li {margin: 0 auto; text-align: center; }
ul#site-nav {margin: 2.5em 0 1.5em; padding: 0; }
ul#site-nav li {margin: 0; padding: 0; float: left; display: inline;  }
ul#site-nav li a {display: block; background: transparent url(images/main-menu2.png) 0 0 no-repeat; height: 30px; text-indent: -10000em; }
ul#site-nav li.about a {background-position: 0px 0px; width: 112px; }
ul#site-nav li.about a:hover, ul#site-nav li.about a:active {background-position: 0px -30px; width: 112px; }
ul#site-nav li.our-services a {background-position: -112px 0px; width: 144px; }
ul#site-nav li.our-services a:hover, ul#site-nav li.our-services a:active {background-position: -112px -30px; width: 144px; }
ul#site-nav li.community-education a {background-position: -256px 0px; width: 215px; }
ul#site-nav li.community-education a:hover, ul#site-nav li.community-education a:active {background-position: -256px -30px; width: 215px; }
ul#site-nav li.news a {background-position: -471px 0px; width: 72px; }
ul#site-nav li.news a:hover, ul#site-nav li.news a:active {background-position: -471px -30px; width: 72px; }
ul#site-nav li.contact a {background-position: -543px 0px; width: 107px; }
ul#site-nav li.contact a:hover, ul#site-nav li.contact a:active {background-position: -543px -30px; width: 107px; }
ul#site-nav li.about a#current {background-position: 0px -30px; width: 112px; }
ul#site-nav li.our-services a#current {background-position: -112px -30px; width: 144px; }
ul#site-nav li.community-education a#current {background-position: -256px -30px; width: 215px; }
ul#site-nav li.news a#current {background-position: -471px -30px; width: 72px; }
ul#site-nav li.contact a#current {background-position: -543px -30px; width: 107px; }

/* ==== */

/* == HOME MODULES BOX == */

#mission-module, #news-module, #events-module {float: left; width: 33.3%; position: relative; }
#sponsors-module {position: relative; }
#mission-module .content, #news-module .content, #events-module .content, #sponsors-module .content {padding: 0 0.75em; }
#mission-module ul, #news-module ul, #events-module ul, #sponsors-module ul {margin: 0; padding: 0; list-style-type: none; }
#mission-module ul li h4, #news-module ul li h4, #events-module ul li h4, #sponsors-module ul li h4 {margin-bottom: 0.5em; text-indent: -10000em; }
#mission-module ul li li, #news-module ul li li, #events-module ul li li {margin-bottom: 0.25em; padding: 0.5em; border-bottom: 1px dotted #6B8FD4; }
#mission-module .widgettitle, #news-module .widgettitle, #events-module .widgettitle, #sponsors-module .widgettitle {background: transparent url(images/header-home-page.png) no-repeat; display: block; height: 30px; }
#mission-module .widgettitle {background-position: -142px 0px; width: 125px; }
#news-module .widgettitle {background-position: -76px 0px; width: 66px; }
#events-module .widgettitle {background: transparent url(images/header-meetings.png) no-repeat; width: 90px; }
#sponsors-module .widgettitle {background-position: -267px 0px; width: 94px; }
#mission-module .textwidget, #mission-module .textwidget p {color: #000; }
p.read-more {position: absolute; top: 20px; right: 20px; font-style: italic; font-size: 0.7em; }
table.sponsors-list {width: 100%; border: 0; }
table.sponsors-list td {v-align: middle; text-align: center; border: 0; }


/* ==== */

/* == SINGLE & PAGE TEMPLATES == */

body #header {margin-bottom: 1.0em; }
body.home #header {margin-bottom: 0; }
#content {float: left; display: inline; width: 70%; }
#sidebar {float: right; display: inline; width: 30%; }
/* body.page #content .page h2 {display: none; } */
#content .page h2 {margin: 0; padding: 0; }
body.page-template-page-meetings-php #content .page h2 {display: normal; }
.content {padding: 0 0.75em !important; }
#sidebar ul {margin: 0; padding: 0 0.5em 0 0; list-style-type: none; }
#sidebar ul li li {margin-bottom: 0.20em; padding-bottom: 0.20em; border-bottom: 1px dotted #6B8FD4; }
#sidebar ul ul {margin-bottom: 1.5em; }
p.meta-info {margin: 0; padding: 0; }
#crumbs .current {display: none; }
.post h2 {margin: 0; padding: 0; line-height: 1.15; }
.post h2 a {margin: 0; padding: 0; line-height: 1.15; }
#meeting-info {margin: 0.25em 0 1.0em; }
#meeting-info p {margin: 0; padding: 0; }

/* ==== */

/* == SIDEBAR == */

li.widget_recent_categories h4 {height: 26px; text-indent: -10000em; background: transparent url(images/header-sidebar.png) no-repeat 0 0; width: 65px; }
body.page-template-page-resource-php li.widget h4, body.page-template-page-about-php li.widget h4, body.page-template h4.widgettitle, li.widget h4.widgettitle {width: 76px; height: 27px; text-indent: -10000em; background: transparent url(images/topics.png) no-repeat; }
body.page-template h4.resource-guide-topics, body.page-template-page-resource-child-php h4.widgettitle {width: 210px; height: 32px; text-indent: -10000em; background: transparent url(images/resource-guide-topics.png) no-repeat; }
li.widget_events_forest_archives h4, li.widget_meetings_forest_archives h4, li.widget_community_events_forest_archives h4, li.widget_news_forest_archives h4, li.category-archives h4 {width: 54px; height: 26px; text-indent: -10000em; background: transparent url(images/header-sidebar.png) no-repeat -65px 0; }
body.page-template-page-news-php li.widget_recent_categories h4, li#recentcategories-5 h4 {width: 75px; height: 30px; text-indent: -10000em; background: transparent url(images/header-current.png) no-repeat; }
body.page-template-page-events-php li.widget_recent_categories h4, li#recentcategories-7 h4, li#recentcategories-4 h4 {width: 95px; height: 30px; text-indent: -10000em; background: transparent url(images/header-upcoming.png) no-repeat; }
span.postcount {display: none; }

/* ==== */

/* == FOOTER ==*/

#footer { }
#footer p {font-size: 0.6em; text-align: center; color: #CBCBCB; }
#footer p a {color: #CBCBCB; }