/* ==========================================================================
   Base styles: defaults
   ========================================================================== */

html {
    background-color: #e8f1f8;
    margin: 0px 0px 0px 0px;
    padding: 0px;        
}

body { 
    background-color: #fff;
    color: #333; 
    font-size: .85em; 
    font-family: "Segoie UI", Verdana, Helvetica, sans-serif; 
    text-align: justify;
    margin: 0 auto 0 auto; 
    padding: 0px;
    max-width: 800px;
    min-width: 480px; /*Prevent resizing too small and getting weird wraps if large browser
                       *reset for mobile, later, works best if this amount >= amount
                       *in media query max-with to control wrapping*/ 
}

header {
    background-color: #6aabfa;
    border-bottom: solid 1px #000;
    min-height: 50px;
    height: auto;
    width: auto;
}

article {
    padding: 0px 5px 5px 5px;
    text-align: left;
}


footer {
    clear: both;
    background-color:#e2e2e2;
    min-height: 50px;
    text-align: left;
    width: auto;
    height: auto;
    padding: 0px 5px 2px 2px;
}

a {
    outline: none;
    padding-left: 0px;
    padding-right: 0px;
    text-decoration: underline;
}

    a:link, a:visited,
    a:active, a:hover {
        color: #4f57ea; /*#333;*/
    }

    a:hover {
        background-color: #c7d1d6;
    }

header, footer, hgroup,
nav, section {
    display: block;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.float-none {
    float: none;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}

/*Use the clear-fix after FLOAT's to get wrap and other settings back to normal*/
/*note the other clearfixes later */
.clear-fix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: #000;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    padding-top: 0;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.75em;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

    h5 a:link, h5 a:visited, h5 a:active {
        padding: 0;
        text-decoration: none;
    }

 h6 {
    font-size: .8em;
    font-weight: normal; 
}


/*
 * Remove text-shadow in sleel
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}*/

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
    padding: 0px 5px 0px 0px;
}

/*
 * Remove default fieldset styles.  */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.


textarea {
    resize: vertical;
}   */

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* main layout
----------------------------------------------------------------------------- */
.content-wrapper {
    margin: 0 auto;
    max-width: 800px;
}

#body {
    background-color: #efeeef;
    clear: both;
    padding-top: 20px;
    padding-bottom: 25px;
}

header .content-wrapper {
    padding-top: 0px;
}

.column-main-right {
    margin-left: 260px;
    padding: 0px 5px 3px 5px;
    width: auto;
}

.column-sidebar-left {
    width: 260px;
    height: auto;
    margin-bottom: 12px;
    float: left;
}

#copyright {
    font-size: .75em;
}

.mobilefriendly-width {
    width: 260px;
    padding: 0px;
}


/* site title
----------------------------------------------------------------------------- */
.site-title {
    color: #c8c8c8;
    font-family: Rockwell, Consolas, "Courier New", Courier, monospace;
    font-size: 2.3em;
    margin: 0;
    height: auto;
}
    /* Clear the anchor default attributes to make logo image clickable and clean*/
    .site-title a, .site-title a:hover, .site-title a:active {
        background: none;
        color: #c8c8c8;
        outline: none;
        text-decoration: none;
    }

/* buttons
---------------------------------------------------------------------------- */
  /* big button for apple-like/metro nav*/
.button-expanding {
    display: block;
    line-height: 1.2;
    padding: 5px;
    margin: 0px 25px 7px 25px;
    text-align: center;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    background-color: #6aabfa;
    border-radius: 5px;
}
    a.button-expanding {
        color: #fff;
        text-decoration: none;
    }

        a:hover.button-expanding {
        color: #333;
        text-decoration: none;
        }

    

/* menu and navigation
---------------------------------------------------------------------------- */
  /* Header Nav bar menu*/
ul#menu {
    font-size: 1.3em;
    font-weight: 600;
    margin: 0 0 0px;
    padding: 0px 3px 0px 0px;
    text-align: right;
}

    ul#menu li {
        display: inline;
        list-style: none;
        padding-left: 10px;
    }

        ul#menu li a {
            background: none;
            color: #fff;
            text-decoration: none;
        }

            ul#menu li a:hover {
                color: #333;
                text-decoration: none;
            }

  /* Main content nav formatting helpers */
.bullets {
    list-style: square inside;
    color: #4f57ea;
    padding: 0;
    margin: 5px 0px 5px 10px;
}

  /*Custom formatting for footer menu and links*/
ul.footermenu {
    padding: 0;
    text-align: left;
}

    ul.footermenu li {
        font-size: .8em;
        font-weight: 500;
        list-style: none;
        padding-left: 3px;
        padding-right: 73px;
        padding-bottom: 0px;
    }

        ul.footermenu li a {
            font-size: .8em;
            font-weight: 300;
            padding-left: 0px;
            background: none;
            color: #000;
            text-decoration: none;
        }

            ul.footermenu li a:hover {
                color: #4f57ea;
                text-decoration: none;
            }



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger has Layout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 460px) {
    /* Style adjustments for viewports that meet the condition */
    /* around 460px is max width readable for landscape mobile*/

    /* Eliminate the larger browser margin settings from above for body of page content
     * and change width for adaptation, too   */
    body {
        margin: 0px;
        min-width: 300px; /*typical smallest screen*/
    }
    
    /* Fix header alignment to center for non-desktop viewing*/
    footer, 
    header .float-left,
    header .float-right {
        float: none;
    }

    /* Let the columns flow over each other on small screens*/
    .column-main-right {
        margin-left: 0px;
        padding-left: 0px;
    }

    .column-sidebar-left {
        width: auto;
        float: none;
    }

    /* Fix logo alignment to center for non-desktop viewing*/
    header .site-title, header #menu {
        text-align: center;
    }

    /* Fix header navigation menu alignment to center*/
    #menu {
        text-align: center;
    }

    /* Fix footer menu so it fits on smallest screen without wrapping*/
    ul.footermenu {
        padding: 0;
        text-align: left;
    }

        ul.footermenu li {
            font-size: .8em;
            font-weight: 500;
            list-style: none;
            padding-left: 3px;
            padding-right: 15px;
        }

    #copyright {
        text-align: center;
    }

        
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
