/* ================================================================== */
/* ================================================================== */
/* Display Properties */
body {
    color: #222222;
    font-size: 95%;
    background-color: #FCFCFC;
}
a {
    color: #2D690F;
    text-decoration: underline;
}
.fakeLink {
    color: #2D690F;
    text-decoration: underline;
    cursor:pointer;
}
.readable {
    letter-spacing: normal !important;
}
a:hover {
    color: #222222;
    text-decoration: none;
    border-bottom: 1px dotted;
}
.themainlink {
    color:red;
}
pre {
    margin:10px;
    padding:10px;
    border: dashed black;
    border-width: 1px 0px 1px 1px;
}
/* ================================================================== */
#top {
    font-size: 300%;
    color: #2D690F;
}
#top a {
    text-decoration: none;
}
#top a:hover {
    text-decoration: none;
}
/* ================================================================== */
#main .title {
    border-bottom: 1px inset #3f4a88;
    text-transform: lowercase;
    letter-spacing: 2pt;
    font-size: 115%;
    font-weight: bold;
    color: #2D690F;
}
#main .bigger {
    font-size: 125%;
}
#main .section {
    text-align: justify;
}
#main .tagline {
    text-transform: lowercase;
    letter-spacing: 2pt;
    font-size: 75%;
    text-align: left;
    color: #2D690F;
}
/* ================================================================== */
nav {
    font-size: 85%;
}
nav .title {
    background-color: #77aa77;
    border-bottom: 1px dashed #3f4a88;
    text-transform: lowercase;
    letter-spacing: 3pt;
    font-weight:bold;
}
nav .sub-title {
    font-weight:bold;
    letter-spacing: 1pt;
}
nav .section {
    background-color: #deffde;
}
nav .section .last-updated {
    font-style: italic;
    font-size: smaller;
    font-family: verdana, sans-serif;
}
/* ================================================================== */
#footer {
    font-size: 75%;
    border-top: 1px dashed #3f4a88;
    color: #2D690F;
}




/* ================================================================== */
/* ================================================================== */
/* Layout Properties */
.center {
    text-align: center;
}
.hidden {
    display:none;
}
.lightboxify p {
        clear:both;
        padding-top:15px
}
.lightboxify img {
        border:2px dashed black;
        display:block;
        float:right;
        clear:both;
        margin-bottom:5px;
}
/* ================================================================== */
#top {
    width: 100%;
}
/* ================================================================== */
#main {
}
#main .title {
    padding: 10px 2px 0px 3px;
}
#main .section {
    padding-top: .5em;
}
#main .section p:first-child {
    margin-top:0px;
}
#main .section p:last-child {
    margin-bottom:0px;
}
#main .news .section {
    padding-bottom:3em;
}
#main .left {
    float: left;
    width: 40%;
    margin: 1em 1em 1em 1em;
}
#main .right {
    float: left;
    width: 40%;
    margin: 1em 1em 1em 1em;
}
#main .tagline {
    margin-left:4em;
}
/* ================================================================== */
#main .commentlink {
    float:right;
}
#comments-container  {
    margin-top: 25px;
    margin-bottom: 25px;
    padding: 15px;
}
#add-a-comment {
    margin:15px;
    display:none;
}
#insert-comment {
    margin:15px;
    display:none;
}
#insert-comment .errors {
    color:red;
}
#comments-container #comments .comment, #insert-comment  {
    border:1px solid #aaa;
    padding:15px;
    min-height: 155px;
    margin-top: 15px;
}
#comments-container #comments .itsme {
    background-color: #FF9;
}
#comments-container #comments .comment pre {
    margin-left:90px;
}
#comments-container #comments .comment .info {
    text-align:center;
    float:left;
    height:175px;
    width:80px;
    margin-right:20px;
}
#comments-container #comments .comment .comment-author {
    font-weight:bold;
}
#comments-container #comments .comment .info img {
    border: 0px;
}
#markdown-help {display:none;}
#markdown-help table {border-collapse:collapse;}
#markdown-help table td {border:1px solid silver;}
#markdown-help .spaces {background-color:#aaa;}
#insert-comment input, #insert-comment textarea {
    font-size:large;
    width:350px
}
#insert-comment textarea {
    width:100%;
    height:100px
}
#insert-comment label {
    display:inline-block;
    width:100px;
    font-size:large;
}
#insert-comment em {
    font-size:small;
}
#submitContainer {
    float:right;
}
#insert-comment input.submit {
    width: 200px;
    height:30px;
}
/* ================================================================== */
nav #nav-header {
    display:none;
}
nav .section {
    overflow:hidden;
    padding-bottom: 4px;
    margin-bottom: 15px;
}
nav .title {
    margin-bottom: 3px;
    padding-left: 3px;
}
nav .section ul {
    list-style: none;
    margin:0em;
    padding-left:1em;
}
/* ================================================================== */
#footer {
}
#footer #siteAttributes {
    float:right;
}
/* ================================================================== */
#siteAttributes {
    float:right;
    display:inline;
}
#siteAttributes ul {
    list-style: none;
}
#siteAttributes li {
    float:left;
    margin-right: 1em;
    text-transform: lowercase;
}
/* ================================================================== */
@media only screen and (max-width : 790px) {
    #main {
	width: 95%;
    }
    #main img {
	max-width: 100%;
    }
    #footer {
	padding-bottom: 35px;
    }
    nav {
	width: 100%;
	overflow: hidden;
	bottom: 0;
	position:fixed;
	-webkit-backface-visibility: hidden;
    }
    #nav-menu {
	display: none;
	text-align: left;
	background:white;
	padding-bottom: 30px;
    }
    nav label {
	height: 35px;
	line-height: 35px;
	display: inline-block;
	border-bottom: 0px;
	border-top: 1px dashed #3f4a88;
	position: fixed;
	bottom: 0px;
    }
    nav input {
	display:none;
    }
    input#nav-toggle:checked ~ #nav-menu {
	display: block;
    }
}
@media only screen and (min-width : 790px) {
    #main {
	margin-right: 250px;
	min-height:350px;
    }
    nav {
	position:fixed;
	right: 20px;
	top: 70px;
    }
    nav input, nav label {
	display: none;
    }
}
/* ================================================================== */
#tooltip {
    position: absolute;
    z-index: 3000;
    border: 1px solid #111;
    background-color: #eee;
}
#tooltip.tooltipLeft {
    text-align:right;
}
/* ================================================================== */



/* ================================================================== */
/**
 * jQuery lightBox plugin
 * This jQuery plugin was inspired and based on Lightbox 2 by Lokesh Dhakar (http://www.huddletogether.com/projects/lightbox2/)
 * and adapted to me for use like a plugin from jQuery.
 * @name jquery-lightbox-0.5.css
 * @author Leandro Vieira Pinho - http://leandrovieira.com
 * @version 0.5
 * @date April 11, 2008
 * @category jQuery plugin
 * @copyright (c) 2008 Leandro Vieira Pinho (leandrovieira.com)
 * @license CC Attribution-No Derivative Works 2.5 Brazil - http://creativecommons.org/licenses/by-nd/2.5/br/deed.en_US
 * @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin
 */
#jquery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
}
#jquery-lightbox {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
}
#jquery-lightbox a img { border: none; }
#lightbox-container-image-box {
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
}
#lightbox-container-image { padding: 10px; }
#lightbox-loading {
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
}
#lightbox-nav {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
}
#lightbox-container-image-box > #lightbox-nav { left: 0; }
#lightbox-nav a { outline: none;}
#lightbox-nav-btnPrev, #lightbox-nav-btnNext {
	width: 49%;
	height: 100%;
	zoom: 1;
	display: block;
}
#lightbox-nav-btnPrev { 
	left: 0; 
	float: left;
}
#lightbox-nav-btnNext { 
	right: 0; 
	float: right;
}
#lightbox-container-image-data-box {
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%;
	padding: 0 10px 0;
}
#lightbox-container-image-data {
	padding: 0 10px; 
	color: #666; 
}
#lightbox-container-image-data #lightbox-image-details { 
	width: 70%; 
	float: left; 
	text-align: left; 
}	
#lightbox-image-details-caption { font-weight: bold; }
#lightbox-image-details-currentNumber {
	display: block; 
	clear: left; 
	padding-bottom: 1.0em;	
}			
#lightbox-secNav-btnClose {
	width: 66px; 
	float: right;
	padding-bottom: 0.7em;	
}
/* ================================================================== */
/**
 * SyntaxHighlighter
 * http://alexgorbatchev.com/
 *
 * SyntaxHighlighter is donationware. If you are using it, please donate.
 * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
 *
 * @version
 * 2.1.364 (October 15 2009)
 * 
 * @copyright
 * Copyright (C) 2004-2009 Alex Gorbatchev.
 *
 * @license
 * This file is part of SyntaxHighlighter.
 * 
 * SyntaxHighlighter is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * SyntaxHighlighter is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with SyntaxHighlighter.  If not, see <http://www.gnu.org/copyleft/lesser.html>.
 */
.syntaxhighlighter,
.syntaxhighlighter div,
.syntaxhighlighter code,
.syntaxhighlighter table,
.syntaxhighlighter table td,
.syntaxhighlighter table tr,
.syntaxhighlighter table tbody
{
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	outline: 0 !important;
	background: none !important;
	text-align: left !important;
	float: none !important;
	vertical-align: baseline !important;
	position: static !important;
	left: auto !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	height: auto !important;
	width: auto !important;
	line-height: 1.1em !important;
	font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
	font-weight: normal !important;
	font-style: normal !important;
	font-size: 1em !important;
/*	min-height: inherit !important;  For IE8, FF & WebKit 
	min-height: auto !important;  For IE7 */
}

.syntaxhighlighter
{
	width: 99% !important; /* 99% fixes IE8 horizontal scrollbar */
	margin: 1em 0 1em 0 !important;
	padding: 1px !important; /* adds a little border on top and bottom */
	position: relative !important;
}

.syntaxhighlighter .bold 
{
	font-weight: bold !important;
}

.syntaxhighlighter .italic 
{
	font-style: italic !important;
}

.syntaxhighlighter .line
{
}

.syntaxhighlighter .no-wrap .line .content
{
	white-space: pre !important;
}

.syntaxhighlighter .line table 
{
	border-collapse: collapse !important;
}

.syntaxhighlighter .line td
{
	vertical-align: top !important;
}

.syntaxhighlighter .line .number
{
	width: 3em !important;
}

.syntaxhighlighter .line .number code
{
	width: 2.7em !important;
	padding-right: .3em !important;
	text-align: right !important;
	display: block !important;
}

.syntaxhighlighter .line .content
{
	padding-left: .5em !important;
}

.syntaxhighlighter .line .spaces
{
}

/* Disable border and margin on the lines when no gutter option is set */
.syntaxhighlighter.nogutter .line .content
{
	border-left: none !important;
}

.syntaxhighlighter .bar
{
	display: none !important;
}

.syntaxhighlighter .bar.show 
{
	display: block !important;
}

.syntaxhighlighter.collapsed .bar
{
	display: block !important;
}

/* Adjust some properties when collapsed */

.syntaxhighlighter.collapsed .lines
{
	display: none !important;
}

.syntaxhighlighter .lines.no-wrap
{
	overflow: auto !important;
	overflow-y: hidden !important;
}

/* Styles for the toolbar */

.syntaxhighlighter .toolbar
{
	position: absolute !important;
	right: 0px !important;
	top: 0px !important;
	font-size: 1px !important;
	padding: 8px 8px 8px 0 !important; /* in px because images don't scale with ems */
}

.syntaxhighlighter.collapsed .toolbar
{
	font-size: 80% !important;
	padding: .2em 0 .5em .5em !important;
	position: static !important;
}

.syntaxhighlighter .toolbar a.item,
.syntaxhighlighter .toolbar .item
{
	display: block !important;
	float: left !important;
	margin-left: 8px !important;
	background-repeat: no-repeat !important;
	overflow: hidden !important;
	text-indent: -5000px !important;
}

.syntaxhighlighter.collapsed .toolbar .item
{
	display: none !important;
}

.syntaxhighlighter.collapsed .toolbar .item.expandSource
{
	background-image: url(resources/images/magnifier.png) !important;
	display: inline !important;
	text-indent: 0 !important;
	width: auto !important;
	float: none !important;
	height: 16px !important;
	padding-left: 20px !important;
}

.syntaxhighlighter .toolbar .item.viewSource
{
	background-image: url(resources/images/page_white_code.png) !important;
}

.syntaxhighlighter .toolbar .item.printSource
{
	background-image: url(resources/images/printer.png) !important;
}

.syntaxhighlighter .toolbar .item.copyToClipboard
{
	text-indent: 0 !important;
	background: none !important;
	overflow: visible !important;
}

.syntaxhighlighter .toolbar .item.about
{
	background-image: url(resources/images/help.png) !important;
}

/** 
 * Print view.
 * Colors are based on the default theme without background.
 */

.syntaxhighlighter.printing,
.syntaxhighlighter.printing .line.alt1 .content,
.syntaxhighlighter.printing .line.alt2 .content,
.syntaxhighlighter.printing .line.highlighted .number,
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
.syntaxhighlighter.printing .line.highlighted.alt2 .content,
{
	background: none !important;
}

/* Gutter line numbers */
.syntaxhighlighter.printing .line .number
{
	color: #bbb !important;
}

/* Add border to the lines */
.syntaxhighlighter.printing .line .content
{
	color: #000 !important;
}

/* Toolbar when visible */
.syntaxhighlighter.printing .toolbar
{
	display: none !important;
}

.syntaxhighlighter.printing a
{
	text-decoration: none !important;
}

.syntaxhighlighter.printing .plain,
.syntaxhighlighter.printing .plain a
{ 
	color: #000 !important;
}

.syntaxhighlighter.printing .comments,
.syntaxhighlighter.printing .comments a
{ 
	color: #008200 !important;
}

.syntaxhighlighter.printing .string,
.syntaxhighlighter.printing .string a
{
	color: blue !important; 
}

.syntaxhighlighter.printing .keyword
{ 
	color: #069 !important; 
	font-weight: bold !important; 
}

.syntaxhighlighter.printing .preprocessor 
{ 
	color: gray !important; 
}

.syntaxhighlighter.printing .variable 
{ 
	color: #a70 !important; 
}

.syntaxhighlighter.printing .value
{ 
	color: #090 !important; 
}

.syntaxhighlighter.printing .functions
{ 
	color: #ff1493 !important; 
}

.syntaxhighlighter.printing .constants
{ 
	color: #0066CC !important; 
}

.syntaxhighlighter.printing .script
{
	font-weight: bold !important;
}

.syntaxhighlighter.printing .color1,
.syntaxhighlighter.printing .color1 a
{ 
	color: #808080 !important; 
}

.syntaxhighlighter.printing .color2,
.syntaxhighlighter.printing .color2 a
{ 
	color: #ff1493 !important; 
}

.syntaxhighlighter.printing .color3,
.syntaxhighlighter.printing .color3 a
{ 
	color: red !important; 
}
/**
 * SyntaxHighlighter
 * http://alexgorbatchev.com/
 *
 * SyntaxHighlighter is donationware. If you are using it, please donate.
 * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
 *
 * @version
 * 2.1.364 (October 15 2009)
 * 
 * @copyright
 * Copyright (C) 2004-2009 Alex Gorbatchev.
 *
 * @license
 * This file is part of SyntaxHighlighter.
 * 
 * SyntaxHighlighter is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * SyntaxHighlighter is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with SyntaxHighlighter.  If not, see <http://www.gnu.org/copyleft/lesser.html>.
 */
/************************************
 * Default Syntax Highlighter theme.
 * 
 * Interface elements.
 ************************************/

.syntaxhighlighter
{
	background-color: #fff !important;
}

/* Highlighed line number */
.syntaxhighlighter .line.highlighted .number
{
	color: black !important;
}

/* Highlighed line */
.syntaxhighlighter .line.highlighted.alt1,
.syntaxhighlighter .line.highlighted.alt2
{
	background-color: #e0e0e0 !important;
}

/* Gutter line numbers */
.syntaxhighlighter .line .number
{
	color: #afafaf !important;
}

/* Add border to the lines */
.syntaxhighlighter .line .content
{
	border-left: 3px solid #6CE26C !important;
	color: #000 !important;
}

.syntaxhighlighter.printing .line .content 
{
	border: 0 !important;
}

/* First line */
.syntaxhighlighter .line.alt1
{
	background-color: #fff !important;
}

/* Second line */
.syntaxhighlighter .line.alt2
{
	background-color: #F8F8F8 !important;
}

.syntaxhighlighter .toolbar
{
	background-color: #F8F8F8 !important;
	border: #E7E5DC solid 1px !important;
}

.syntaxhighlighter .toolbar a
{
	color: #a0a0a0 !important;
}

.syntaxhighlighter .toolbar a:hover
{
	color: red !important;
}

/************************************
 * Actual syntax highlighter colors.
 ************************************/
.syntaxhighlighter .plain,
.syntaxhighlighter .plain a
{ 
	color: #000 !important;
}

.syntaxhighlighter .comments,
.syntaxhighlighter .comments a
{ 
	color: #008200 !important;
}

.syntaxhighlighter .string,
.syntaxhighlighter .string a
{
	color: blue !important; 
}

.syntaxhighlighter .keyword
{ 
	color: #069 !important; 
	font-weight: bold !important; 
}

.syntaxhighlighter .preprocessor 
{ 
	color: gray !important; 
}

.syntaxhighlighter .variable 
{ 
	color: #a70 !important; 
}

.syntaxhighlighter .value
{ 
	color: #090 !important; 
}

.syntaxhighlighter .functions
{ 
	color: #ff1493 !important; 
}

.syntaxhighlighter .constants
{ 
	color: #0066CC !important; 
}

.syntaxhighlighter .script
{ 
	background-color: yellow !important;
}

.syntaxhighlighter .color1,
.syntaxhighlighter .color1 a
{ 
	color: #808080 !important; 
}

.syntaxhighlighter .color2,
.syntaxhighlighter .color2 a
{ 
	color: #ff1493 !important; 
}

.syntaxhighlighter .color3,
.syntaxhighlighter .color3 a
{ 
	color: red !important; 
}
