﻿/* DEFAULTS
----------------------------------------------------------*/

* {
    margin: 0px;
    padding: 0px;
}

body   
{
    background-color: lightgray;
    font-size: 1em;
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    color: black;
}

a:link, a:visited {
    color: #034af3;
    text-decoration: none;
}

a:hover
{
    color: #1d60ff;
    text-decoration: underline;
}

a:active {
    color: #034af3;
    text-decoration: underline;
}

p
{
    margin-bottom: 0.5em;
}


/* HEADINGS   
----------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.6;
    padding-top: 5px;
}

h1
{
    font-size: 1.6em;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}


/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* default page background was #fff */
.page {
    /*background-color: lightgray;*/
    /*margin: 20px auto 0px auto;*/
    /*   border: 1px solid #496077; */
}

/* PAGE HEADER
----------------------------------------------------------*/

.pageheader
{
    background: #444444;
    width: 100%;
}

div.pageHeaderContents
{
    max-width: 960px;
    margin: auto;
}

.pageheader h1
{
    font-weight: 700;
    color: white;
    font-size: 2em;
}

/*----------------------------------------------------------
MAIN CONTENT
----------------------------------------------------------*/


.main 
{
    max-width: 960px;
    margin: auto;
    min-height: 420px;
}

/*----------------------------------------------------------
FOOTER
----------------------------------------------------------*/


.footer
{
    color: #4e5766;
    padding: 8px 0px 0px 0px;
    margin: 0px auto;
    text-align: left;
    line-height: normal;
    font-size: 0.8em;
    max-width: 960px;
    margin: 0px auto 0px auto;
}


/*----------------------------------------------------------
NAV BAR
----------------------------------------------------------*/


div.mainNavBar
{
    background-color:orange;
    width:100%;
    margin:0px;
}

div.mainNavBarContents {
    max-width: 960px;
    margin: auto;
    padding-top: 8px;
    padding-bottom: 8px;
}
.mainNavBar a
{
    background-color: #ffc666;
    border: 1px #444444 solid;
    color:  black;
    line-height: 1.35;
    padding: 4px 20px;
    text-decoration: none;
    white-space: nowrap;
    margin:3px;
}

.mainNavBar a:hover
{
    background-color: #ffc777;
    color:  #444444;
    text-decoration: underline;
}

.mainNavBar a:active
{
    background-color: #ffc666;
    color:  #444444;
    text-decoration: none;
}

/*----------------------------------------------------------
   STUFF FOR SPECIFIC PAGES
----------------------------------------------------------*/
/*----------------------------------------------------------
   HOME PAGE
----------------------------------------------------------*/

/* this is also on tech blog page*/

section.mainpagebox {
    clear: both;
    margin-top: 8px;
    padding: 4px;
    border-width:1px;
    border-style: solid;
    border-color: #444444;
}

div.mainPageTextRight {
    float: left;
    width: 65%;
    vertical-align: top;
    margin-left: 10px;
}

section.coursebox, .blogList {
    clear: both;
    color: white;
    background-color: #444444;
    margin-bottom: 8px;
    padding: 4px;
}

.coursebox p {
    margin-left: 8px;
    margin-right: 8px;
}

.coursebox img
{
    border-color: black;
    border-width: 1px;
    border-style: solid;
}

.coursebox h2
{
    color: white;
    text-align:center;
}

.publishDate {
    font-style:italic;
}

.retiredAlert {
    color: yellow;
    font-style: italic;
}

.psCourseImageLeft {
    float: left;
    width: 33%;
}

.psCourseTextRight {
    float: left;
    width: 65%;
    vertical-align: top;
}

.psCourseImageRight {
    float: left;
    width: 33%;
}

.psCourseTextLeft {
    float: left;
    width: 65%;
    vertical-align: top;
}

.coursebox a:link, .blogList a:link {
    color: orange;
}

.coursebox a:visited, .blogList a:visited {
    color: yellow;
}


.coursebox a:hover, .blogList a:hover {
    color: lightgoldenrodyellow;
}

.coursebox a:active, .blogList a:active {
    color: gold;
}

/*----------------------------------------------------------
    BLOGLIST 
----------------------------------------------------------*/

.blogList th
{
    font-weight: 700;
    font-size: 1.2em;
    padding-bottom: 5px;
}

.blogList td {
    padding-right: 10px;
    line-height: 1.5;
}

.blogList td:first-of-type {
    font-family: Courier New, Courier, monospace;
    font-style: italic;
}

/*----------------------------------------------------------
    MISC  
----------------------------------------------------------*/

.warning {
    color: red;
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.clear
{
    clear: both;
}
