                                /*
Theme Name: Flex Australis
Theme URI: http://flurf.net/wordpress/flex-australis
Author: Paul Sleigh
Author URI: http://www.huoncs.com.au/
Description: The production version of the Flex Australis theme
Version: 1.6.0
*/


/* Basic Layout */

body
{
    margin: 0;
    padding: 0;
}

html.flux-australis body:before
{
    content: 'Under Construction';
    position: absolute;
    top: 30pt;
    right: 10pt;
    padding: 5pt 10pt;
    background: red;
    color: white;
    font: 12pt "Ubuntu", Verdana, Helvetica, sans-serif;
    font-weight: bold;
    display: block;
    border: solid 2px maroon;
    white-space: nowrap;
    opacity: 0.8;
    border-radius: 5pt;
}

#topbit
{
    border-style: solid;
    border-width: 0 0 1px 0;
}

#watermark
{
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 140px auto;
    position: absolute;
}

nav#main-menu
{
    margin: 0;
    min-height: 40pt;
}

nav#main-menu .wrap
{
    display: block;
    padding: 0 0;
    width: 100%;
}

#searchform
{
    float: right;
}

div#main
{

    border-style: solid;
    border-width: 0;
    margin: 0;
    line-height: 1.6;
}

img
{
    max-width: 100%;
}


.mobile
{
    display: none;
}

@media only screen and (max-width : 640px) {
    .primary
    {
        display: none;
    }

    .mobile
    {
        display: block;
    }
}

/* Modern browsers at less than 1000 pixels total screen width; also IE6-8, because they're stupid */

@media only screen and (max-width : 999px) {
    #topbit
    {
        height: 150px;
    }

    #watermark
    {
        top: 15px;
        height: 120px;
        background-size: 120px auto;
    }

    header#site
    {
        margin: 0;
        padding: 12pt 24pt;
    }

    nav#main-menu
    {
        padding: 0 12pt;
    }

    div#main
    {
        padding: 24pt 24pt;
    }

    .has-sidebar section#sidebar
    {
        border-top-style: solid;
        border-top-width: 1px;
        margin-top: 36pt;
        padding: 12pt 24pt 0;
    }

    footer#bottom
    {
        padding: 24pt 24pt 12pt;
    }

    section#content,
    section#comments
    {
        overflow: hidden;
    }
}

/* Modern browsers at 1000+ pixels screen width */

@media only screen and (min-width : 1000px) {
    #topbit
    {
        height: 300px;
    }

    #watermark
    {
        top: 120px;
        height: 150px;
        background-size: 150px auto;
    }

    header#site
    {
        margin: 0;
        padding: 12pt 72pt 12pt;
    }

    nav#main-menu
    {
        padding: 0 60pt;
    }

    div#main
    {
        padding: 24pt 72pt;
    }

    .has-sidebar section#content
    {
        float: left;
    }

    .has-sidebar section#content,
    .has-sidebar section#comments
    {
        overflow: hidden;
    }

    .no-sidebar section#content,
    .no-sidebar section#comments
    {
        width: 100%;
        overflow: hidden;
    }

    .has-sidebar section#sidebar
    {
        float: right;
    }

    header#site,
    nav#main-menu .wrap,
    div#main .wrap,
    footer#bottom .wrap
    {
         line-height: 1.4;
         margin: 0 auto;
    }

    footer#bottom
    {
        padding: 24pt 72pt;
    }

    footer#bottom p
    {
        padding: 0 12pt;
    }

    nav#main-menu div.wrap
    {
         position: relative;
         left: 0;
         margin: 0 auto 0;
    }

    #searchform
    {
        margin-right: 12pt;
    }

}

/* Harmless shims for IE */

header,
nav,
section,
article,
aside,
footer
{
    display: block;
}

/* Uniform Styles */

.assistive
{
    display: none;
}

header#site, nav#main-menu, footer#bottom, h1, h2, h3, h4, h5, h6, dt, th
{
    text-align: left;
}

section#content a,
section#comments a
{
    font-weight: bold;
}

img.aligncenter,
img.aligncentre,
img.alignleft,
img.alignright
{
    border: solid 1px #000000;
    box-shadow: 2px 2px silver;
}

img.alignright
{
    float: right;
    margin: 0 0 12pt 24pt;
}

img.alignleft
{
    float: left;
    margin: 0 24pt 12pt 0;
}

img.aligncenter,
img.aligncentre
{
    margin: 0 auto;
    text-align: center;
    clear: both;
    display: block;
}

section#sidebar aside
{
    margin-bottom: 2em;
}

h1 a,
section#sidebar a
{
    text-decoration: none;
}

section#sidebar ul
{
    list-style: none;
    padding: 0 0 0 1em;
    margin: 0;
}

section#sidebar dl,
section#sidebar p
{
    font-size: smaller;
}

section#sidebar dt
{
    font-size: larger;
    margin: 0 0 3pt 0;
}

section#sidebar dd
{
    padding: 0;
    margin: 0 0 12pt 0;
}

footer#bottom
{
    font-size: smaller;
}

span.stretch
{
    clear: both;
    display: block;
}

/* Byline */

div.byline
{
    margin-bottom: 12pt;
    font-style: italic;
}

/* Post dates */

aside.posted
{
    border: solid 1px #000000;
    box-shadow: 1px 1px silver;
    text-align: center;
    line-height: 1.2;
    display: block;
    width: 52pt;
    float: right;
    margin: 0 0 24pt 24pt;
}

aside.posted b.m
{
    font-variant: small-caps;
    font-size: 12pt;
    font-weight: normal;
}

aside.posted a.d
{
    display: block;
    font-size: 24pt;
    text-decoration: none;
    color: #000000;
    line-height: 1.0;
    padding: 2pt 0 4pt 0;
}

aside.posted a.d:hover
{
    background: #000000;
}

aside.posted b.y
{
    font-size: 12pt;
    font-weight: normal;
}

aside.posted b.hm
{
    font-size: 9pt;
    font-weight: normal;
    display: block;
    border-top: solid 1px #000000;
    line-height: 1.5;
}

h1
{
    margin: 0;
    font-size: 150%;
}

div.post-foot
{
    margin-top: 1em;
    margin-bottom: 5em;
}

div.comment-foot
{
    margin-bottom: 3em;
}

div.post-foot,
div.comment-foot
{
    clear: both;
    border-style: solid;
    border-width: 1px 0 0 0;
    font-size: smaller;
    padding: 6pt 0;
    line-height: 1.2;
}

a.more-link
{
    float: right;
    font-size: smaller;
}

section#content table td,
section#content table th
{
    vertical-align: top;
}

/* Comments */

section#comments
{
}

section#comments form
{
}

div.comment
{
    margin: 0 0 0 2em;
}

div.depth-1
{
    margin: 0;
}

#respond #submit
{
    float: right;
}

.logged-in-as,
.form-allowed-tags,
.comment-notes
{
    font-size: 10pt;
}

.required
{
    color: red;
    font-weight: bold;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label,
.comment-form-comment label
{
    display: block;
    font-size: 9pt;
    color: #333;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input,
.comment-form-comment textarea
{
    width: 99%;
}

/* Content Navigation */

nav.post
{
    font-size: smaller;
    margin: 6pt 0 12pt 0;
}

nav#nav-above
{
    margin-bottom: 24pt;
}

nav#nav-below
{
    margin-top: 0;
}

nav.post div.nav-previous
{
    float: left;
}

nav.post div.nav-next
{
    float: right;
}

/* Superfish */

.sf-menu,
.sf-menu *
{
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-menu li
{
    position: relative;
}

.sf-menu ul
{
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    z-index: 99;
}

.sf-menu li
{
    float: left;
}

.sf-menu li li
{
    float: none;
}

.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul
{
    display: block;
}

.sf-menu a
{
    display: block;
    position: relative;
}

.sf-menu ul ul
{
    top: 0;
    left: 100%;
}

.sf-menu ul
{
    box-shadow: 2px 2px 6px rgba(0,0,0,.2);
    min-width: 8em;
}

.sf-menu a
{
    padding: .75em 1em;
    text-decoration: none;
}

.sf-menu a
{
    color: white;
}

.sf-menu li
{
    white-space: nowrap;
    -webkit-transition: background .1s;
    transition: background .1s;
}

.sf-menu li:hover,
.sf-menu li.sfHover
{
    -webkit-transition: none;
    transition: none;
}

.sf-arrows .sf-with-ul
{
    padding-right: 2.5em;
}

.sf-arrows .sf-with-ul:after
{
    content: '';
    position: absolute;
    top: 50%;
    right: 1em;
    margin-top: -3px;
    height: 0;
    width: 0;
    border: 5px solid transparent;
    border-top-color: white;
    border-top-color: rgba(255,255,255,.5);
}

.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after
{
    border-top-color: white;
}

.sf-arrows ul .sf-with-ul:after
{
    margin-top: -5px;
    margin-right: -3px;
    border-color: transparent;
    border-left-color: white;
    border-left-color: rgba(255,255,255,.5);
}

.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after
{
    border-left-color: white;
}


nav .nav-previous,
nav .nav-next
{
    width: 50%;
    font-size: smaller;
    line-height: 3.0
}

nav .nav-previous a,
nav .nav-next a,
nav .empty span
{
    text-decoration: none;
    padding: 0 1em;
    display: block;
    border: solid 1px black;
}

nav .nav-previous a,
nav .nav-previous.empty span
{
    border-right-width: 0;
}

nav .nav-next a,
nav .nav-next.empty span
{
    border-left-width: 0;
}

nav .nav-next
{
    text-align: right;
}

html.browser-ancient #topbit
{
    height: 300px;
}

html.browser-ancient header#site
{
    margin: 0;
    padding: 12pt 24pt;
}

html.browser-ancient #watermark
{
    display: none;
}

html.browser-ancient nav#main-menu
{
    padding: 0 12pt;
}

html.browser-ancient div#main
{
    padding: 12pt 24pt;
}

html.browser-ancient section#sidebar
{
    border-top-style: solid;
    border-top-width: 1px;
    margin-top: 36pt;
    padding: 12pt 24pt 0;
}

html.browser-ancient footer#bottom
{
    padding: 24pt 24pt;
}

html.browser-ancient nav#main-menu
{
    height: 100%;
}

html.browser-ancient footer#bottom
{
    background: #000000;
    filter: alpha(opacity=65);
    height: 100%;
}

/* Nested ol/li tags: eg 1), 1.3), 3.1.4) etc */
/* By Taryn East */

ol.nested
{
    counter-reset: item
}

.nested li
{
    display: block
}

.nested li:before
{
    content: counters(item, ".") ")";
    counter-increment: item;
    font-weight: bold;
    padding-right: 0.5em;
}

.nested ul > li
{
    display: list-item;
    counter-increment: section;
    list-style-type: disc;
}

.nested ul > li:before
{
    content: "";
    counter-increment: section;
    padding-right: inherit;
}


img.no-border
{
    border: 0;
    box-shadow: none;
}


.rotating
{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 50%;
}

/* Fix bug in how JQuery determines offsets, which is used by bgSwitcher */
.rotating { border: solid 1px black; border-width: 1px 0; }


                            