/*------------------------------------------------*/
/*          Lee Mac Programming CSS File          */
/*------------------------------------------------*/
/*          Copyright © 2010 by Lee Mac           */
/*------------------------------------------------*/

* {
    padding: 0; 
    margin:  0; 
}

body {
    font-family: Verdana, Arial;
    font-size: 80%;
}

img { 
    border-style: none; 
    border: 0;
}

em, cite {
    font-family: Georgia, Verdana, Arial;
}

cite {
    color: maroon;
}

hr {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    margin-bottom: 20px;
    border-top: 1px solid #777;
    border-bottom: none;
    border-left: none;
    border-right: none;
}

kbd {
    display: inline-block;
    margin: 0 0.1em;
    padding: 0.1em 0.5em;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 11px;
    line-height: 1.4;
    color: #242729;
    background-color: #e1e3e5;
    border: 1px solid #adb3b9;
    border-radius: 3px;
    white-space: nowrap;
}

.fixw {
    font-family: Consolas, "Courier New", Courier, "Lucida Console";
    color: maroon;
}

.cent { 
    text-align: center;
}

.side {
    display: inline-block;
    text-align: center;
    margin: 0 15px;
}

/*------------------------------------------------*/
/*                   Container                    */
/*------------------------------------------------*/

#container {
    min-width: 980px;
    width: auto;
    border-bottom: 3px solid #333;
}

/*------------------------------------------------*/
/*                    Header                      */
/*------------------------------------------------*/

#header {
    text-align: center;
    height: 108px;
    background: #bdc6d9;
    padding-top: 10px;
}

/*------------------------------------------------*/
/*                  Navigation                    */
/*------------------------------------------------*/

#navigation {
    background-color: #333333;
    background: -moz-linear-gradient(-90deg,#666,#333);
    background: -webkit-gradient(linear, left top, left bottom, from(#666), to(#333));
}

#navigation ul {
    text-align: center;
    list-style: none;
    min-width: 950px;
}

#navigation li { 
    display: inline; 
    position: relative;
}

#navigation a {
    outline: none;
    font-family: Georgia, Verdana, Arial;
    font-size: 180%;
    display: inline-block; 
    color: white;
    text-shadow: 0 2px 1px #111;
    text-decoration: none;
    width: 15%;
    padding: 0.2em 0;
    -webkit-transition: all ease-out 0.3s; 
    -moz-transition:    all ease-out 0.3s; 
    -o-transition:      all ease-out 0.3s; 
    -ms-transition:     all ease-out 0.3s; 
    transition:         all 0.3s;
}

#navigation a:hover {
    color: #00ffff;
    background: #202020; 
    -webkit-transition: all ease-out 0.3s; 
    -moz-transition:    all ease-out 0.3s; 
    -o-transition:      all ease-out 0.3s; 
    -ms-transition:     all ease-out 0.3s; 
    transition:         all 0.3s; 
}

/*------------------------------------------------*/
/*                 Main Content                   */
/*------------------------------------------------*/

#content, #search-content {
    border-left: 210px solid #475570;
    padding: 10px 0 20px 0;
    min-height: 850px;
    font-size: 1.0em;
}

#content {
    background-color: #bdc6d9;
}

#search-content {
    background-color: white;
}

#content h1, #content h2, #content h3, #content h4, #search-content h1, #search-content h2, #search-content h3, #search-content h4 {
    font-family: Georgia, Verdana, Arial, "Times New Roman";
    font-weight: normal;
}

#content h1, #search-content h1 {
    font-size: 32pt;
    color: #282828;
    margin: 25px 25px 15px 25px;
    padding-bottom: 0.05em;
    border-bottom: 2px solid #5b5b5b;
}

#content h2, #search-content h2 {
    font-size: 24pt;
    color: #000851;
    margin: 30px 25px 15px 25px;
}

#content h3, #search-content h3 {
    font-size: 20pt;
    color: #1d1d1d;
    margin: 25px 25px 15px 25px;
}

#content h4, #search-content h4 {
    font-size: 18pt;
    color: #1d1d1d;
    margin: 15px 25px 15px 25px;
}

#content p, #search-content p {
    font-family: Verdana, Arial, "Times New Roman"; 
    margin: 10px 25px 12px 25px;
    color: #0f0f0f;
    line-height: 170%;
}

#content a, #search-content a, #footer a, #sidepanel #resizetext a, #sidepanel #jump a {       
    -webkit-transition: color ease-out 0.3s; 
    -moz-transition:    color ease-out 0.3s; 
    -o-transition:      color ease-out 0.3s; 
    -ms-transition:     color ease-out 0.3s; 
    transition:         color 0.3s;    
}

#content a, #search-content a  {
    color: navy;
    text-decoration: none;
}

#content a:hover, #search-content a:hover, #footer a:hover, #sidepanel #resizetext a:hover, #sidepanel #jump a:hover {    
    -webkit-transition: color ease-out 0.3s; 
    -moz-transition:    color ease-out 0.3s; 
    -o-transition:      color ease-out 0.3s; 
    -ms-transition:     color ease-out 0.3s; 
    transition:         color 0.3s;   
}

#content a:hover, #search-content a:hover {
    color: red;
}

/*------------------------------------------------*/
/*                 Side Panel                     */
/*------------------------------------------------*/

#sidepanel {
    width: 210px;
    position: absolute;
    top: 170px;
    height: 100%;
    margin: auto;
}

#sidepanel p, #sidepanel li, #sidepanel h1 {
    font-family: Georgia, Verdana, Arial, "Times New Roman";
    color: #dbdbdb;
    font-weight: normal;
}

#sidepanel h1 {
    font-size: 2.0em;
    text-align: center;
    margin: 10px;
}

#sidepanel p.day {
    text-align: center;
    font-size: 2.0em;
    margin: 20px 10px 6px 10px;
}

#sidepanel p.date {
    text-align: center;
    font-size: 1.2em;
    margin: 0 10px 20px 10px;
}

/*------------------------------------------------*/
/*                 Resize Text                    */
/*------------------------------------------------*/

#sidepanel #resizetext {
    text-align: center;
    font-family: "Lucida Console", "Lucida Sans Typewriter", "Courier New", Courier;
}

#sidepanel #resizetext a {
    text-decoration: none;
    color: #dbdbdb;
}

#sidepanel #resizetext a:hover{
    color: deepskyblue;
}

#sidepanel #resizetext p {
    font-size: 0.8em;
    text-transform: uppercase;
    margin: 5px 15px 5px 15px;
}

#sidepanel #resizetext p.title {
    padding-top: 5px;
    border-top: 2px groove #dbdbdb;
    letter-spacing: 5px;
}

#sidepanel #resizetext p.titlenb {
    letter-spacing: 5px;
}

#sidepanel #resizetext p.base {
   padding-bottom: 5px;
   border-bottom: 2px groove #dbdbdb;
}

/*------------------------------------------------*/
/*                Jump Section                    */
/*------------------------------------------------*/

#sidepanel #jump h1 {
    margin: 20px 15px 15px 15px;
    padding-bottom: 5px;
    border-bottom: 2px groove #dbdbdb;
}

#sidepanel #jump ul {
    text-align: center;
    margin-bottom: 20px;
    list-style: none;
}

#sidepanel #jump li.header {
    margin: 15px 10px 10px 10px;
}

#sidepanel #jump li.subheader{
    margin: 5px 10px 5px 10px;
}

#sidepanel #jump a {
    color: #dbdbdb;
    text-decoration: none;
}

#sidepanel #jump a.header {
    font-size: 1.85em;
}

#sidepanel #jump a.subheader {
    font-size: 1.35em;
    color: #aaaaaa;
}

#sidepanel #jump a:hover {
    color: deepskyblue;
}

#sidepanel #jump h1.microbar {
    margin-bottom: 1em;
}

#sidepanel #jump li.microbar {
    margin-top: 1em;
    margin-bottom: 1em;
}

/*------------------------------------------------*/
/*            Google Custom Search                */
/*------------------------------------------------*/
/*
#google-cs {
    text-align: center;
}

#google-cs #q {
    font-family: Georgia, Verdana, Arial;
    width: 125px;
    padding: 0.2em 0.1em 0.2em 0.1em;
    border: 1px solid grey;
    color: MidnightBlue;    
    -webkit-transition: border ease-out 0.3s; 
    -moz-transition:    border ease-out 0.3s; 
    -o-transition:      border ease-out 0.3s; 
    -ms-transition:     border ease-out 0.3s; 
    transition:         border 0.3s;   
}

#google-cs #q:hover {
    border: 1px solid cyan;
}

#google-cs #q:focus {
	border: 1px solid cyan;
    outline: none;
    box-shadow:         0px 0px 2px 1px cyan;
    -moz-box-shadow:    0px 0px 2px 1px cyan;
    -webkit-box-shadow: 0px 0px 2px 1px cyan;
}

#google-cs #b {
    font-family: Georgia, Verdana, Arial;
    padding: 0.1em 0.4em 0.1em 0.4em;
    height: 2.1em;
}

#google-results {
    margin: 25px;
    width: 100%;
}
*/
/*------------------------------------------------*/
/*                   Footer                       */
/*------------------------------------------------*/

#footernav {
    text-align: center;
    padding: 0 0 10px 0;
    clear: both;
    background-color: #333;
}

#footernav p {
    font-family: Georgia, Verdana, Arial;
    color: silver;
    font-size: 1.2em;
    letter-spacing: 2px;
    line-height: 100%;
    margin: 0.9em;
    text-shadow: 0 2px 1px #111;
}

#footernav ul {
    list-style: none;
    min-width: 950px;
    border-bottom: 1px solid #222;
}

#footernav li {
    display: inline;
    position: relative;
}

#footernav ul li a {
    font-family: Georgia, Verdana, Arial;
    font-size: 120%;
    color: silver;
    text-decoration: none;
    text-shadow: 0 2px 1px #111;
    display: inline-block; 
    width: 15%;
    padding: 0.25em 0;
    outline: none;
    -webkit-transition: all ease-out 0.3s; 
    -moz-transition:    all ease-out 0.3s; 
    -o-transition:      all ease-out 0.3s; 
    -ms-transition:     all ease-out 0.3s; 
    transition:         all 0.3s;
}

#footernav ul li a:hover {
    color: #00ffff;
    background: #202020;
    -webkit-transition: all ease-out 0.3s; 
    -moz-transition:    all ease-out 0.3s; 
    -o-transition:      all ease-out 0.3s; 
    -ms-transition:     all ease-out 0.3s; 
    transition:         all 0.3s;
}

/*------------------------------------------------*/
/*                Program Pages                   */
/*------------------------------------------------*/

.programs ul {
    list-style: none;
    line-height: 250%;
    margin: 25px;
}

.programs table {
    margin: 12px 25px 12px 25px;
    width: 70%;
    border-collapse: collapse;
    box-shadow: 2px 2px 2px darkslategrey;
}

.programs th {
    font-family: Georgia, Verdana, Arial, "Times New Roman";
    text-align: center;
    font-size: 1.2em;
    border: 1px solid navy;
    padding: 2px;
    height: 2em;
}

.programs td {
    font-family: Georgia, Verdana, Arial, "Times New Roman";
    padding: 5px;
    padding-left: 12px;
    border: 1px solid navy;
}

.programs td.paypal {
    padding-top: 1px;
    padding-bottom: 1px;
}

.programs tr{
    background-color: #ccccff; /* #bbbbff;*/
}

.programs tr.alt td, .programs tr.alt th{
    background-color: #ededff;
}

.programs td.right {
    text-align: right;
}

.programs a.list  {
    font-family: Georgia, Verdana, Arial, "Times New Roman"; 
    font-size: 1.3em;
    margin: 10px 30px 12px 30px;
    color: navy;
}

.programs a.list:hover {
    color: red;
}

ul.programs {
    font-family: Verdana, Arial, "Times New Roman"; 
    list-style-type: circle;
    color: #1d1d1d;
    margin: 12px 25px 12px 60px;
    line-height: 170%;
}

.spacedbullets ul, .unspacedbullets ul
{
    list-style-type: circle;
    color: #1d1d1d;
    margin: 12px 25px 12px 60px;
    line-height: 170%;
}

.spacedbullets li {
    margin-top: 1em;
}

#bullets ul {
    font-family: Verdana, Arial, "Times New Roman"; 
    list-style-type: circle;
    color: #1d1d1d;
    margin: 12px 25px 12px 60px;
    line-height: 170%;
}

#bullets li {
    margin-top: 1em;
}

/*------------------------------------------------*/
/*               Table of Contents                */
/*------------------------------------------------*/

.toc {
    margin: 12px 0 12px 25px;
    border: 1px solid midnightblue;
    display: inline-block;
    padding: 1em 3em;
    background: #475570;
    border-radius: 12px;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    box-shadow: 5px 5px 5px gray;
}

.toc h5 {
    font-family: Georgia, Verdana, Arial, "Times New Roman";
    font-weight: normal;
    font-size: 180%;
    color: #eee;
    padding: 0 0 0.3em 0;
    margin: 0 0 0.3em 0;
    border-bottom: 2px solid #aaa; 
}

.toc ul {
    font-family: Georgia, Verdana, Arial, "Times New Roman";
    list-style-type: none;
}

.toc li.outer {
    color: #eee;
    font-size: 140%;
    padding: 0.7em 0 0.35em 0;
}

.toc li.inner {
    color: #aaa;
    font-size: 130%;
    margin-left: 2em;
    padding: 0.25em 0 0.25em 0;
}

.toc a.outer {
    color: #eee !important;
}

.toc a.inner {
    color: #bbb !important;
}

.toc a:hover {
    color: deepskyblue !important;
}

/*------------------------------------------------*/
/*               Code Formatting                  */
/*------------------------------------------------*/

.code pre {
    font-family: Consolas, "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", Monaco, Courier;
    max-height: 400px;
    border: none;
    text-align: left;
    overflow: auto;
    background: #1a1a1a;
    color: silver; 
    font-size: 10pt; /* 13px; */
    padding: 0.7em;
    margin: 4px 25px 10px 25px; 
    line-height: 120%;
    -webkit-transition: background ease-out 0.3s; 
    -moz-transition:    background ease-out 0.3s; 
    -o-transition:      background ease-out 0.3s; 
    -ms-transition:     background ease-out 0.3s; 
    transition:         background 0.3s;
}

.code a {
    text-transform: uppercase;
    color: #dbdbdb !important;
    font-size: 0.8em;
    font-weight: normal;
    text-decoration: none;
    margin: 10px 0 0 25px;
    border-top:    2px solid #1b1b1b;
    border-bottom: 2px solid #1b1b1b;
    border-left:   7px solid #1b1b1b;
    border-right:  7px solid #1b1b1b;
    background: #1b1b1b;
    padding: 3px;
    border-radius:          7px 7px 0 0;
    -moz-border-radius:     7px 7px 0 0;
    -webkit-border-radius:  7px 7px 0 0;
}

.code a:hover {
    color: red !important;
}

.code a:hover+pre {
    background: black;
    -webkit-transition: background ease-out 0.3s; 
    -moz-transition:    background ease-out 0.3s; 
    -o-transition:      background ease-out 0.3s; 
    -ms-transition:     background ease-out 0.3s; 
    transition:         background 0.3s;
}

.code pre:hover {
    background: black;
    -webkit-transition: background ease-out 0.3s; 
    -moz-transition:    background ease-out 0.3s; 
    -o-transition:      background ease-out 0.3s; 
    -ms-transition:     background ease-out 0.3s; 
    transition:         background 0.3s;
}

span.func { color: #0099FF; }
span.str  { color: cyan;    }
span.cmt  { color: #00FF00; }
span.quot { color: #e33333; }
span.brkt { color: red; }
span.int  { color: yellow;  }
span.rea  { color: orange;  }

/*------------------------------------------------*/
/*                 PayPal Button                  */
/*------------------------------------------------*/

#paypal {
    text-align: center;
    margin: 25px 25px 12px 25px;
    padding: 6px;
    border-top: 1px solid #666;
    border-bottom: 1px solid #666;
}