/* Stuart Mitchell Consulting - Static Site CSS */

/* Reset and base styles */
* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'Lucida Sans Unicode', 'Lucida Grande', Tahoma, sans-serif;
    font-size: 11px;
    line-height: 1.8em;
    margin: 0;
    padding: 0;
    background-color: #D8E3E5;
    color: #525252;
    background-image: url('../images/zen_bg.gif');
    background-repeat: no-repeat;
    min-height: 100%;
}

img {
    border: 0 none;
}

p {
    margin-bottom: 1em;
    margin-top: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    margin: 0;
    padding: 0;
}

h1, h1 a:link, h1 a:visited, h1 a:active {
    font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: normal;
    color: #525252;
    text-decoration: none;
}

h2 {
    font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif;
    font-size: 14px;
    padding-bottom: 10px;
    color: #579BA5;
}

h3 {
    font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif;
    font-size: 12px;
    line-height: 1.25em;
    font-weight: bold;
    padding-bottom: 5px;
    color: #525252;
}

ul {
    list-style-type: square;
    margin: 1em 0;
    padding: 0 0 0 2em;
}

a:link, a:visited, a:active {
    text-decoration: none;
    color: #F26522;
}

a:hover {
    text-decoration: none;
    background-color: #FFFFCC;
}

.clearer {
    clear: both;
    line-height: 0;
    height: 0;
}

/* Layout */
#canvasWrapper {
    width: 650px;
    padding: 0 50px;
    border: 10px solid #EFEFEF;
    margin: 50px auto;
    background-color: #FFFFFF;
    background-image: url('../images/zen_header.gif');
    background-position: right 20px top 20px;
    background-repeat: no-repeat;
}

#canvas {
    overflow: visible;
}

/* Header */
#pageHeader {
    padding-top: 70px;
    padding-bottom: 70px;
}

#siteTitleWrapper {
    text-align: left;
}

#siteTitle {
    margin-bottom: 5px;
}

#siteTitle a {
    text-decoration: none;
}

#siteTitle a:hover {
    background-color: transparent;
}

.h1subtitle {
    font-size: 12px;
    color: #525252;
}

/* Navigation */
.horizontalNavigationBar {
    border-left: 30px solid #EFEFEF;
    padding: 1px 30px 3px 0;
    margin: 25px 0 -15px -50px;
}

.horizontalNavigationBar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.horizontalNavigationBar ul li {
    display: inline-block;
    padding: 0;
    margin: 0;
}

.horizontalNavigationBar .module a {
    display: block;
    border-bottom: 2px solid transparent;
    padding: 2px;
    margin-left: 16px;
    color: #525252;
    text-decoration: none;
}

.horizontalNavigationBar .module a:hover {
    background-color: #EFEFEF;
    color: #F26522;
}

.horizontalNavigationBar .active-module a {
    font-weight: bold;
    color: #525252;
}

/* Page body */
#pageBodyWrapper {
    clear: both;
}

#pageBody {
    overflow: hidden;
}

#contentWrapper {
    width: 100%;
}

#content {
    overflow: hidden;
}

/* Sidebar - hidden */
#sidebar1Wrapper {
    display: none;
}

#sidebar1 {
    overflow: hidden;
}

.verticalNavigationBar .section {
    line-height: 1.4em;
    margin-bottom: 25px;
}

.verticalNavigationBar .section .caption {
    font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif;
    font-size: 14px;
    border-bottom: 1px solid #CCCCCC;
    font-weight: normal;
    padding-bottom: 3px;
    margin-bottom: 10px;
    color: #525252;
}

.verticalNavigationBar .section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.verticalNavigationBar .section ul li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.verticalNavigationBar .section .module a {
    display: block;
    line-height: 2em;
    padding: 3px 0;
    color: #525252;
    text-decoration: none;
}

.verticalNavigationBar .section .module a:hover {
    color: #F26522;
}

.verticalNavigationBar .section .active-module a {
    background-color: #EFEFEF;
    color: #525252;
}

/* Footer */
#pageFooterWrapper {
    padding-top: 50px;
    padding-bottom: 50px;
    clear: both;
}

#pageFooter {
    font-size: 9px;
    border-top: 1px solid #CCCCCC;
    text-transform: uppercase;
    padding-top: 3px;
    white-space: pre-line;
}

/* Content styles */
.full-image-float-left {
    float: left;
    margin: 0 10px 8px 0;
}

.full-image-float-left img {
    text-decoration: none;
}

/* Tables */
table.work {
    border-collapse: collapse;
    border: 1px solid black;
    margin-bottom: 1em;
}

table.work th,
table.work td {
    border: 1px solid black;
    padding: 10px;
}

td.date {
    width: 20%;
}

/* Journal styles */
.journal-entry {
    margin-bottom: 2em;
}

.journal-entry .title {
    margin-bottom: 0;
}

.journal-entry .title a {
    color: #579BA5;
}

.journal-entry .body {
    margin: 1em 0;
}

.journal-entry-tag {
    font-size: 11px;
    color: #A6A6A6;
    border-top: 1px solid #CCCCCC;
    padding-top: 5px;
}

.journal-entry-tag-post-title {
    border-top: 1px solid #CCCCCC;
    padding-bottom: 15px;
    margin-top: -5px;
    color: #579BA5;
}

.journal-entry-tag-post-title .date-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 6px;
    margin-top: -3px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="%23999"><rect x="2" y="3" width="12" height="11" rx="1" stroke="%23999" fill="none"/><line x1="5" y1="1" x2="5" y2="4" stroke="%23999"/><line x1="11" y1="1" x2="11" y2="4" stroke="%23999"/><line x1="2" y1="6" x2="14" y2="6" stroke="%23999"/></svg>') no-repeat center;
}

.journal-entry-tag-post-body {
    margin-bottom: 30px;
    font-size: 11px;
    color: #A6A6A6;
    border-top: 1px solid #CCCCCC;
    padding-top: 5px;
}

.journal-entry-tag-post-body .author-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 6px;
    margin-top: -3px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="%23999"><circle cx="8" cy="5" r="3" stroke="%23999" fill="none"/><path d="M3 14c0-3 2-5 5-5s5 2 5 5" stroke="%23999" fill="none"/></svg>') no-repeat center;
}

/* Code blocks */
pre {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    padding: 10px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    line-height: 1.4em;
}

code {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f5f5f5;
    padding: 1px 3px;
}

pre code {
    background: none;
    padding: 0;
}

/* Blockquote */
blockquote {
    font-style: italic;
    padding-left: 40px;
    margin-left: 0;
    border-left: 3px solid #CCCCCC;
}

/* Thumbnail/image captions */
.thumbnail-image-block {
    display: block;
    margin-bottom: 1em;
}

.thumbnail-caption {
    display: block;
    font-size: 9px;
    font-family: Verdana, sans-serif;
    line-height: 14px;
    padding-top: 5px;
    padding-bottom: 10px;
}

/* Responsive video */
iframe {
    max-width: 100%;
}

/* BJJ page sidebar */
.bjj-sidebar {
    margin-bottom: 25px;
}

.bjj-sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bjj-sidebar ul li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.bjj-sidebar ul li a {
    display: block;
    line-height: 2em;
    padding: 3px 0;
    color: #F26522;
    text-decoration: none;
}

.bjj-sidebar ul li a:hover {
    background-color: #FFFFCC;
}

/* Image with caption */
.image-with-caption {
    margin-bottom: 1em;
}

.image-with-caption img {
    max-width: 100%;
    height: auto;
}

.image-caption {
    display: block;
    font-size: 9px;
    font-family: Verdana, sans-serif;
    line-height: 14px;
    padding-top: 5px;
    color: #707070;
}

/* Pagination */
.journal-navigation {
    margin-top: 2em;
    clear: both;
}

.paginationPageNumber {
    padding: 3px 5px;
    margin-right: 3px;
    background-color: #EFEFEF;
}

.paginationPageNumber.activePage {
    background-color: #FD8346;
    color: #FFFFFF;
}

/* Print styles */
@media print {
    body {
        background: white;
        font-size: 12pt;
        width: 100%;
    }

    #canvasWrapper {
        border: none;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    h1 {
        font-size: 24pt;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .h1subtitle {
        font-size: 9pt;
        font-weight: normal;
        margin-bottom: 25px;
        border-bottom: 1px solid #ccc;
        padding-bottom: 10px;
    }

    #pageFooter {
        font-size: 9pt;
        margin-top: 28px;
        border-top: 1px solid #ccc;
        padding-top: 8px;
    }

    a:link, a:visited {
        color: #520;
        background: transparent;
        font-weight: bold;
        text-decoration: underline;
    }

    #sidebar1Wrapper,
    .horizontalNavigationBar {
        display: none;
    }

    #contentWrapper {
        float: none;
        width: 100%;
    }
}
