﻿/*  
Theme Name: BaltoMSDN
Theme URI: http://baltomsdn.com
Description: Custom BaltoMSDN theme
Author: Paul Tyng
Author URI: http://thinkingbeard.com
Version: 1.0
Tags: 
.
Copyright 2010 Thinking Beard
.
*/

/* reset.css */

/* DO NOT EDIT THIS FILE DIRECTLY, OVERRIDE IN SITE SPECIFIC FILE */

/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 3.0.0
build: 1549
*/
/*
	TODO will need to remove settings on HTML since we can't namespace it.
	TODO with the prefix, should I group by selector or property for weight savings?
*/
html{
	color:#000;
	background:#FFF;
}
/*
	TODO remove settings on BODY since we can't namespace it.
*/
/*
	TODO test putting a class on HEAD.
		- Fails on FF. 
*/
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,
img {
	border:0;
}
/*
	TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
*/
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
	font-style:normal;
	font-weight:normal;
}
/*
	TODO Figure out where this list-style rule is best set. Hedger has a request to investigate.
*/
li {
	list-style:none;
}

caption,
th {
	text-align:left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,
q:after {
	content:'';
}
abbr,
acronym {
	border:0;
	font-variant:normal;
}
/* to preserve line-height and selector appearance */
sup {
	vertical-align:text-top;
}
sub {
	vertical-align:text-bottom;
}
input,
textarea,
select {
	font-family:inherit;
	font-size:inherit;
	font-weight:inherit;
}
/*to enable resizing for IE*/
input,
textarea,
select {
	*font-size:100%;
}
/*because legend doesn't inherit in IE */
legend {
	color:#000;
}


/* fonts.css */

/* DO NOT EDIT THIS FILE DIRECTLY, OVERRIDE IN SITE SPECIFIC FILE */

/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 3.0.0
build: 1549
*/
/**
 * Percents could work for IE, but for backCompat purposes, we are using keywords.
 * x-small is for IE6/7 quirks mode.
 */
body {
	font:13px/1.231 verdana,tahoma,arial,helvetica,clean,sans-serif;
	*font-size:small; /* for IE */
	*font:x-small; /* for IE in quirks mode */
}

/**
 * Nudge down to get to 13px equivalent for these form elements
 */ 
select,
input,
button,
textarea {
	font:99% verdana,tahoma,arial,helvetica,clean,sans-serif;
}

/**
 * To help tables remember to inherit
 */
table {
	font-size:inherit;
	font:100%;
}

/**
 * Bump up IE to get to 13px equivalent for these fixed-width elements
 */
pre,
code,
kbd,
samp,
tt {
	font-family:monospace;
	*font-size:108%;
	line-height:100%;
}


/* base.css */

/* DO NOT EDIT THIS FILE DIRECTLY, OVERRIDE IN SITE SPECIFIC FILE */

/* base styles */

/* *<property> is for ie only */
/* _<property> is for ie6 only */

p,fieldset,table,pre
{
	margin-bottom: 1em;
}

/* layout... */

body
{
	/* center the page */
	text-align: center;
}

/* site width setup */
#page 
{
	margin: auto;
	text-align: left;
	width: 76.15385em;
	*width: 74.25em;
}

/* preset layout templates... */
/* balto-t1: 200 on right */
/* balto-t2: 200 on left */

.balto-b {
	/* to preserve source-order independence for Gecko */
	position: relative;
}

.balto-b {
	/* to preserve source-order independence for IE */
	_position: static;
}

.main .balto-b {
	/* to preserve source-order independence for Gecko */
	position: static;
}

.main
{
	width: 100%;
}

/* main on right */

.balto-t2 .main
{
	float: right;
	/* IE: preserve layout at narrow widths */
	margin-left: -25em;
}

/* main on left */

.balto-t1 .main
{
	float: left;
	/* IE: preserve layout at narrow widths */
	margin-right: -25em;
}

/* specific templates */

.balto-t1 .balto-b 
{
	float: right;
	width: 200px;
	*width: 200px;
}

.balto-t1 .main .balto-b 
{
	margin-right: 201px;
}

.balto-t2 .balto-b
{
	float: left;
	width: 200px;
}

.balto-t2 .main .balto-b
{
	margin-left: 201px;
}

.main .balto-b 
{
	float: none;
	width: auto;
}


/* additional base style */

h1 {
	font-size: 138.5%;
}

h2, legend {
	font-size: 108%;
}

h1,h2,h3,legend {
	/* Top & bottom margin based on font size. */
	margin: 1em 0;
}

h1,h2,h3,h4,h5,h6,strong,dt,legend {
	/* Bringing boldness back to headers and the strong element. */
	font-weight: bold;
}
optgroup {
	font-weight:normal;
}

abbr,acronym {
	/* Indicating to users that more info is available. */
	border-bottom: 1px dotted #000;
	cursor: help;
}

em {
	/* Bringing italics back to the em element. */
	font-style: italic;
}

del {
	/* Striking deleted phrases. */
	text-decoration: line-through;
}

blockquote,ul,ol,dl {
	/* Giving blockquotes and lists room to breath. */
	margin: 1em;
}

ol,ul,dl {
	/* Bringing lists on to the page with breathing room. */
	margin-left: 2em;
}

ol li {
	/* Giving OL's LIs generated numbers. */
	list-style: decimal outside;
}

ul li {
	/* Giving UL's LIs generated disc markers. */
	list-style: disc outside;
}

dl dd {
	/* Giving UL's LIs generated numbers. */
	margin-left: 1em;
}

th,td {
	/* Borders and padding to make the table readable. */
	padding: .5em;
}

th {
	/* Distinguishing table headers from data cells. */
	font-weight: bold;
}

caption {
	/* Coordinated margin to match cell's padding. */
	margin-bottom: .5em;
	/* Centered so it doesn't blend in to other content. */
	text-align: center;
}

sup {
	/* to preserve line-height and selector appearance */
	vertical-align: super;
}

sub {
	/* to preserve line-height and selector appearance */
	vertical-align: sub;
}

p,
fieldset,
table,
pre {
	/* So things don't run into each other. */
	margin-bottom: .8em;
}
/* Opera requires 1px of passing to render with contemporary native chrome */
button,
input[type="checkbox"],
input[type="radio"],
input[type="reset"],
input[type="submit"] {
	padding:1px;
}

/* quoting, add start and end quote characters */
q:before 
{
	content: open-quote;
}

q:after 
{
	content: close-quote;
}


/**
 * Section: Grids and Nesting Grids
 */
 
/*

.balto-g 50%,50%
.balto-gb 33%,33%,33%
.balto-gc 66%,33%
.balto-gd 33%,66%
.balto-ge 75%,25%
.balto-gf 25%,75%

*/

/* Children generally take half the available space */
.balto-gb .balto-u,
.balto-g .balto-gb .balto-u,
.balto-gb .balto-g,
.balto-gb .balto-gb,
.balto-gb .balto-gc,
.balto-gb .balto-gd,
.balto-gb .balto-ge,
.balto-gb .balto-gf,
.balto-gc .balto-u, 
.balto-gc .balto-g,
.balto-gd .balto-u {
	float: left;
}

/* Float units (and sub grids) to the right */
.balto-g .balto-u,
.balto-g .balto-g,
.balto-g .balto-gb, 
.balto-g .balto-gc, 
.balto-g .balto-gd, 
.balto-g .balto-ge, 
.balto-g .balto-gf, 
.balto-gc .balto-u, 
.balto-gd .balto-g,
.balto-g .balto-gc .balto-u,
.balto-ge .balto-u, 
.balto-ge .balto-g, 
.balto-gf .balto-g,
.balto-gf .balto-u {
	float: right;
}

/*Float units (and sub grids) to the left */
.balto-g div.first, 
.balto-gb div.first,
.balto-gc div.first,
.balto-gd div.first, 
.balto-ge div.first, 
.balto-gf div.first,
.balto-g .balto-gc div.first,
.balto-g .balto-ge div.first,
.balto-gc div.first div.first {
	float: left;
}

.balto-g .balto-u,
.balto-g .balto-g,
.balto-g .balto-gb,
.balto-g .balto-gc,
.balto-g .balto-gd,
.balto-g .balto-ge,
.balto-g .balto-gf {
	width: 49.1%;
}

.balto-gb .balto-u,
.balto-g .balto-gb .balto-u,
.balto-gb .balto-g,
.balto-gb .balto-gb,
.balto-gb .balto-gc,
.balto-gb .balto-gd,
.balto-gb .balto-ge,
.balto-gb .balto-gf,
.balto-gc .balto-u, 
.balto-gc .balto-g,
.balto-gd .balto-u {
	width: 32%;
	margin-left: 1.99%;
}

/* Give IE some extra breathing room for 1/3-based rounding issues */
.balto-gb .balto-u {
	*margin-left: 1.9%;
	*width: 31.9%;
}

.balto-gc div.first, 
	.balto-gd .balto-u {
	width: 66%;
}

.balto-gd div.first {
	width: 32%;
}

.balto-ge div.first, 
	.balto-gf .balto-u {
	width: 74.2%;
}

.balto-ge .balto-u,
	.balto-gf div.first {
	width: 24%;
}

.balto-g .balto-gb div.first,
.balto-gb div.first, 
.balto-gc div.first, 
.balto-gd div.first {
	margin-left: 0;
}

/**
 * Section: Deep Nesting 
 */

.balto-g .balto-g .balto-u,
.balto-gb .balto-g .balto-u,
.balto-gc .balto-g .balto-u,
.balto-gd .balto-g .balto-u,
.balto-ge .balto-g .balto-u,
.balto-gf .balto-g .balto-u {
	width: 49%;
	*width: 48.1%;
	*margin-left: 0;
}

.balto-g .balto-g .balto-u {
	width: 48.1%;
}

.balto-g .balto-gb div.first,
	.balto-gb .balto-gb div.first {
	*margin-right: 0;
	*width: 32%;
	_width: 31.7%;
}

.balto-g .balto-gc div.first, 
	.balto-gd .balto-g {
	width: 66%;
}

.balto-gb .balto-g div.first {
	*margin-right: 4%;
	_margin-right: 1.3%;
}

.balto-gb .balto-gc div.first, 
	.balto-gb .balto-gd div.first {
	*margin-right: 0;
}

.balto-gb .balto-gb .balto-u,
	.balto-gb .balto-gc .balto-u {
	*margin-left: 1.8%;
	_margin-left: 4%;
}

.balto-g .balto-gb .balto-u {
	_margin-left: 1.0%;
}

.balto-gb .balto-gd .balto-u {
	*width: 66%;
	_width: 61.2%;
}

.balto-gb .balto-gd div.first {
	*width: 31%;
	_width: 29.5%;
}

.balto-g .balto-gc .balto-u, 
	.balto-gb .balto-gc .balto-u {
	width: 32%;
	_float: right;
	margin-right: 0;
	_margin-left: 0;
}

.balto-gb .balto-gc div.first {
	width: 66%;
	*float: left;
	*margin-left: 0;
}

.balto-gb .balto-ge .balto-u, 
	.balto-gb .balto-gf .balto-u {
	margin: 0;
}

.balto-gb .balto-gb .balto-u {
	_margin-left: .7%;
}

.balto-gb .balto-g div.first, 
	.balto-gb .balto-gb div.first {
	*margin-left: 0;
}

.balto-gc .balto-g .balto-u,
	.balto-gd .balto-g .balto-u {
	*width: 48.1%;
	*margin-left: 0;
}

.balto-gb .balto-gd div.first {
	width: 32%;
}

.balto-g .balto-gd div.first {
	_width: 29.9%;
}

.balto-ge .balto-g {
	width: 24%;
}

.balto-gf .balto-g {
	width: 74.2%;
}

.balto-gb .balto-ge div.balto-u,
	.balto-gb .balto-gf div.balto-u {
	float: right;
}

.balto-gb .balto-ge div.first,
	.balto-gb .balto-gf div.first {
	float: left;
}

/* Width Accommodation for Nested Contexts */
.balto-gb .balto-ge .balto-u,
	.balto-gb .balto-gf div.first {
	*width: 24%;
	_width: 20%;
}

/* Width Accommodation for Nested Contexts */
.balto-gb .balto-ge div.first, 
	.balto-gb .balto-gf .balto-u {
	*width: 73.5%;
	_width: 65.5%;
}

/* Patch for GD within GE */
.balto-ge div.first .balto-gd .balto-u {
	width: 65%;
}

.balto-ge div.first .balto-gd div.first {
	width: 32%;
}

/* @group Clearing */
#hd:after,
#nv:after,
#bnr:after,
#bd:after,
#ft:after,
#fp:after,
.balto-g:after, 
.balto-gb:after, 
.balto-gc:after, 
.balto-gd:after, 
.balto-ge:after, 
.balto-gf:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

#hd,
#nv,
#bnr,
#bd,
#ft,
#fp,
.balto-g, 
.balto-gb, 
.balto-gc, 
.balto-gd, 
.balto-ge, 
.balto-gf {
	zoom: 1;
}


/* site.css */

html
{
	background: #ececec url(background.png) repeat-x bottom left fixed; 
}

body
{
	margin: 0px;
	
}

#bd,#hd,#ft
{
	padding: 10px;
	margin: 0 0 15px 0;
	border: 1px solid #666666;
	background-color: #ffffff;
	color: #333333;
}

#hd
{
	margin-top: 15px;
}

#bd strong
{
	color: #000000;
}

#bd p
{
	text-align: justify;
}

#bd img
{
	float: right;
	clear: right;
	margin: 0 0 15px 15px;
	border: 1px solid #000000;
}

#bd .main .balto-b
{
	padding: 10px;
}

a
{
	text-decoration: none;
	color: #ff0000;
}

a:hover, a:active
{
	text-decoration: underline;
}

a:visited
{
	color: #990000;
}

h1, h1 a, h1 a:visited
{
	color: #000000;
}

#ft
{
	font-size: 80%;
}

#sublogo
{
	float: right;
	color: #999999;
	display: block;
	margin: 0;
	padding: 0;
	text-align: left;
	font-size: 13px;
	font-weight: normal;
}

.sidebar
{
	border: 1px solid #990000;
	padding: 0;
}

.sidebar h3
{
	background-color: #990000;
	padding: 5px;
	color: #ffffff;
	margin: 0 0 10px 0;
}

#bd .sidebar p
{
	text-align: left;
	padding: 0 5px 0 5px;
}

div.menu ul
{
	margin: 0;
}

div.menu li
{
	display: inline-block;
	margin-left: 10px;
}

.post 
{
	padding-bottom: 25px;
	margin-bottom: 25px;
	border-bottom: 1px solid #999;
}

.alignright
{
	float: right;
}

.alignleft
{
	float: left;
}

.wp-caption-text
{
	padding: 0 0.8em 0 0.8em;
}