/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: normal;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
}

/* =Layout
-------------------------------------------------------------- */
.menu-toggle {
    background-color: #ddd;
    float: right;
    padding: 5px;
    margin-top: 20px;
    margin-bottom: -100px;
    margin-right: 28px;
    margin-left: -800px;
    display: inline;
}
.hamburger {
    background-color: #000;
    height: 3px;
    width: 20px;
    margin: 5px;
    display:block;
}
#wrapper {
    background: #225522;
}

#header {
    overflow: visible;
}
.title-container {
    width: 0px;
    overflow: visible;
}
#site-title {
    font-size: 24px;
    line-height: 0px;
    padding: 28px 28px 28px 28px;
    white-space: nowrap;
    background: #225522;
    overflow: hidden;
    float: left;
}
#site-title a {
    color: #88aa88;
    font-weight: bold;
    text-decoration: none;
}
#main {
    clear: both;
    padding: 0px 0px 0px 0px;
    background: #fff;
    background-color: #fff;
}
#container {
    float: left;
    overflow: auto;
    width: 100%;
    margin: 0 0 0 0;
    background: #fff;
}
#content {
    background: #fff;
    padding: 28px 28px 28px 28px;
    margin: 0 0 0 0;
}
#sidebar {
    float: right;
    display: none;
    margin: 0 0 0 -280px;
    width: 196px;
    padding: 28px 28px 28px 28px;
    background: #ddd;
    font-size: 12px;
    line-height: 16px;
}
#sidebar.active {
    display: inline;
}
#sidebar ul ul {
    border: none;
    margin-left: 1.3em;
    padding: 0
}
blockquote {
    font-style: italic;
    padding: 0px 0px 0px 28px;
}
/* Some trickery to get images to look right */
p + blockquote {
    margin-top: -20px
}
blockquote + p {
    margin-top: -4px
}
blockquote * {
    margin-top: 36px;
}
blockquote img {
    margin-top: 12px;
}

/* At 712 we widen the right margin */
@media only screen and (min-width: 712px) {
    #site-title {
	padding: 28px 84px 28px 28px;
    }
    #content {
	padding: 28px 84px 28px 28px;
    }
}

/* At 768px, we widen the right margin even more, and increase the font size */
@media only screen and (min-width: 768px) {
    #site-title {
	padding: 28px 140px 28px 28px;
	font-size: 32px;
    }
    #content {
	padding: 28px 140px 28px 28px;
    }
}

/* At 856px we get a sidebar instead of the menu */
@media only screen and (min-width: 856px) {
    .menu-toggle {
	display: none;
    }
    #site-title {
	padding: 28px 28px 28px 28px;
    }
    #container {
	margin: 0 -280px 0 0;
	padding: 0 28px 0 0 ;
    }
    #main {
	padding: 0 28px 0 0 ;
    }
    #content {
	margin: 0 252px 0 0px;
	padding: 28px 28px 28px 28px;
    }
    #sidebar {
	margin: 0 0 0 0;
	float: right;
	display: inline;
    }
}

/* At 912px we get wider margins */
@media only screen and (min-width: 912px) {
    #content {
	padding: 28px 28px 28px 56px;
    }
    #site-title {
	padding: 28px 28px 28px 56px;
    }
    #container {
	margin: 0 -308px 0 0;
	padding: 0px 56px 0px 0px;
    }
    #main {
	padding: 0 56px 0 0 ;
    }
}

/* At 1024px we get even wider margins */
@media only screen and (min-width: 1024px) {
    #content {
	padding: 28px 28px 28px 112px;
    }
    #site-title {
	padding: 28px 28px 28px 112px;
    }
    #container {
	margin: 0 -364px 0 0;
	padding: 0px 112px 0px 0px;
    }
    #main {
	padding: 0 112px 0 0 ;
    }
    blockquote {
	padding: 0px 0px 0px 42px;
    }
}

/* At 1136px we get even wider margins */
@media only screen and (min-width: 1136px) {
    #content {
	padding: 28px 28px 28px 168px;
    }
    #site-title {
	padding: 28px 28px 28px 168px;
    }
    #container {
	margin: 0 -420px 0 0;
	padding: 0px 168px 0px 0px;
    }
    #main {
	padding: 0px 168px 0px 0px;
    }
}

/* At 1248px we get even wider margins */
@media only screen and (min-width: 1248px) {
    #content {
	padding: 28px 28px 28px 224px;
    }
    #site-title {
	padding: 28px 28px 28px 224px;
    }
    #container {
	margin: 0 -476px 0 0;
	padding: 0px 224px 0px 0px;
    }
    #main {
	padding: 0px 224px 0px 0px;
    }
}

/* At 1360px we get even wider margins */
@media only screen and (min-width: 1360px) {
    #content {
	padding: 28px 28px 28px 280px;
    }
    #site-title {
	padding: 28px 28px 28px 280px;
    }
    #container {
	margin: 0 -532px 0 0;
	padding: 0px 280px 0px 0px;
    }
    #main {
	padding: 0px 280px 0px 0px;
    }
}

/* At 1584px we get even wider margins */
@media only screen and (min-width: 1584px) {
    #content {
	padding: 28px 28px 28px 392px;
    }
    #site-title {
	padding: 28px 28px 28px 392px;
    }
    #container {
	margin: 0 -644px 0 0;
	padding: 0px 392px 0px 0px;
    }
    #main {
	padding: 0px 392px 0px 0px;
    }
}

/* At 1808px we get even wider margins */
@media only screen and (min-width: 1808px) {
    #content {
	padding: 28px 28px 28px 504px;
    }
    #site-title {
	padding: 28px 28px 28px 504px;
    }
    #container {
	margin: 0 -756px 0 0;
	padding: 0px 504px 0px 0px;
    }
    #main {
	padding: 0px 504px 0px 0px;
    }
}

/* =Fonts
-------------------------------------------------------------- */
body,
input,
textarea,
.page-title span,
.pingback a.url {
    font-family: Georgia, "Bitstream Charter", serif;
}
h3#comments-title,
h3#reply-title,
#access .menu,
#access div.menu ul,
#cancel-comment-reply-link,
.form-allowed-tags,
#site-info,
#site-title,
#wp-calendar,
.comment-meta,
.comment-body tr th,
.comment-body thead th,
.entry-content label,
.entry-content tr th,
.entry-content thead th,
.entry-meta,
.entry-title,
.entry-utility,
#respond label,
.navigation,
.page-title,
.pingback p,
.reply,
.widget-title,
input[type=submit] {
	font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
}

/* Main global 'theme' and typographic styles */
body {
	background: #f1f1f1;
	background-color: #225522;
}
body,
input,
textarea {
	color: #666;
}
hr {
	background-color: #e7e7e7;
	border: 0;
	clear: both;
	height: 1px;
	margin-bottom: 24px;
}

/* Text elements */
ul {
	list-style: square;
	margin: 0 0 18px 1.5em;
}
ol {
	list-style: decimal;
	margin: 0 0 18px 1.5em;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}
ul ul,
ol ol,
ul ol,
ol ul {
	margin-bottom: 0;
}
dl {
	margin: 0 0 24px 0;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 18px;
}
strong {
	font-weight: bold;
}
cite,
em,
i {
	font-style: italic;
}
big {
	font-size: 131.25%;
}
ins {
	background: #ffc;
	text-decoration: none;
}
blockquote cite,
blockquote em,
blockquote i {
	font-style: normal;
}
pre {
	background: #f0f0f0;
	color: #222;
	line-height: 18px;
	margin-bottom: 16px;
	padding: 14px 28px 14px 28px;
}
pre.codehilite {
    margin-top: -8px;
}
.para {
    height: 24px;
}
abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
a:link {
	color: #0066cc;
}
a:visited {
	color: #743399;
}

.post {
    margin-bottom: 56px
}

#content {
	color: #333;
	font-size: 16px;
	line-height: 24px;
}
#content p {
    margin-bottom: 24px;
}
#content pre,
#content kbd,
#content tt,
#content var {
	font-size: 15px;
	line-height: 21px;
}
#content code {
	font-size: 13px;
}
#content dt,
#content th {
	color: #000;
}
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
	color: #000;
	margin: 24px 0 8px 0;
	font-family: "Helvetica Neue", Arial, Helvetica, "Nimus Sans L", sans-serif;
	font-weight: bold;
	font-size: 16px;
}

#content table {
	border: 1px solid #e7e7e7;
	margin: 0 -1px 24px 0;
	text-align: left;
	width: 100%;
}
#content tr th,
#content thead th {
	color: #888;
	font-size: 12px;
	font-weight: bold;
	line-height: 18px;
	padding: 9px 24px;
}
#content tr td {
	border-top: 1px solid #e7e7e7;
	padding: 6px 24px;
}
#content tr.odd td {
	background: #f2f7fc;
}
.hentry {
	margin: 0 0 48px 0;
}
.home .sticky {
	background: #f2f7fc;
	border-top: 4px solid #000;
	margin-left: -20px;
	margin-right: -20px;
	padding: 18px 20px;
}
.single .hentry {
	margin: 0 0 36px 0;
}
.page-title {
	color: #000;
	font-size: 14px;
	font-weight: bold;
	margin: 0 0 36px 0;
}
.page-title span {
	color: #333;
	font-size: 16px;
	font-style: italic;
	font-weight: normal;
}
.page-title a:link,
.page-title a:visited {
	color: #888;
	text-decoration: none;
}
.page-title a:active,
.page-title a:hover {
	color: #225522;
}
#content .entry-title {
	color: #000;
	font-size: 21px;
	font-weight: bold;
	line-height: 1.3em;
	margin-bottom: 0;
}
.entry-title a:link,
.entry-title a:visited {
	color: #000;
	text-decoration: none;
}
.entry-title a:active,
.entry-title a:hover {
	color: #225522;
}
.entry-meta {
	color: #888;
	font-size: 12px;
}
.entry-meta abbr,
.entry-utility abbr {
	border: none;
}
.entry-meta abbr:hover,
.entry-utility abbr:hover {
	border-bottom: 1px dotted #666;
}
.entry-content,
.entry-summary {
	clear: both;
	padding: 12px 0 0 0;
}
#content .entry-summary p:last-child {
	margin-bottom: 12px;
}
.entry-content fieldset {
	border: 1px solid #e7e7e7;
	margin: 0 0 24px 0;
	padding: 24px;
}
.entry-content fieldset legend {
	background: #fff;
	color: #000;
	font-weight: bold;
	padding: 0 24px;
}
.entry-content input {
	margin: 0 0 24px 0;
}
.entry-content input.file,
.entry-content input.button {
	margin-right: 24px;
}
.entry-content label {
	color: #888;
	font-size: 12px;
}
.entry-content select {
	margin: 0 0 24px 0;
}
.entry-content sup,
.entry-content sub {
	font-size: 10px;
}
.entry-content blockquote.left {
	float: left;
	margin-left: 0;
	margin-right: 24px;
	text-align: right;
	width: 33%;
}
.entry-content blockquote.right {
	float: right;
	margin-left: 24px;
	margin-right: 0;
	text-align: left;
	width: 33%;
}
.page-link {
	clear: both;
	color: #000;
	font-weight: bold;
	margin: 0 0 22px 0;
	word-spacing: 0.5em;
}
.page-link a:link,
.page-link a:visited {
	background: #f1f1f1;
	color: #333;
	font-weight: normal;
	padding: 0.5em 0.75em;
	text-decoration: none;
}
.home .sticky .page-link a {
	background: #d9e8f7;
}
.page-link a:active,
.page-link a:hover {
	color: #225522;
}
body.page .edit-link {
	clear: both;
	display: block;
}
#entry-author-info {
	background: #f2f7fc;
	border-top: 4px solid #000;
	clear: both;
	font-size: 14px;
	line-height: 20px;
	margin: 24px 0;
	padding: 18px 20px;
}
#entry-author-info #author-avatar {
	background: #fff;
	border: 1px solid #e7e7e7;
	float: left;
	height: 60px;
	margin: 0 -104px 0 0;
	padding: 11px;
}
#entry-author-info #author-description {
	float: left;
	margin: 0 0 0 104px;
}
#entry-author-info h2 {
	color: #000;
	font-size: 100%;
	font-weight: bold;
	margin-bottom: 0;
}
.entry-utility {
	clear: both;
	color: #888;
	font-size: 12px;
	line-height: 18px;
}
.entry-meta a,
.entry-utility a {
	color: #888;
}
.entry-meta a:hover,
.entry-utility a:hover {
	color: #225522;
}
#content .video-player {
	padding: 0;
}


/* =Asides
-------------------------------------------------------------- */

.home #content .format-aside p,
.home #content .category-asides p {
	font-size: 14px;
	line-height: 20px;
	margin-bottom: 10px;
	margin-top: 0;
}
.home .hentry.format-aside,
.home .hentry.category-asides {
	padding: 0;
}
.home #content .format-aside .entry-content,
.home #content .category-asides .entry-content {
	padding-top: 0;
}


/* =Images
-------------------------------------------------------------- */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-*
  classes.
- Other images will be left alone. Use "size-auto" class to apply to
  other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 112px;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}


/* =Widget Areas
-------------------------------------------------------------- */
.widget-area ul {
	list-style: none;
	margin-left: 0;
}
.widget-area ul ul {
	list-style: square;
}
.widget-area select {
	max-width: 100%;
}
.widget-container {
	margin: 0 0 18px 0;
}
.widget-title {
	color: #222;
	font-weight: bold;
}
.widget-area a:link,
.widget-area a:visited {
	text-decoration: none;
}
.widget-area a:active,
.widget-area a:hover {
	text-decoration: underline;
}
.widget-area .entry-meta {
	font-size: 11px;
}

/* =Mobile Safari ( iPad, iPhone and iPod Touch )
-------------------------------------------------------------- */

pre {
	-webkit-text-size-adjust: 140%;
}
code {
	-webkit-text-size-adjust: 160%;
}
#access,
.entry-meta,
.entry-utility,
.navigation,
.widget-area {
	-webkit-text-size-adjust: 120%;
}
