/* Font-face */

@font-face {
    font-family: 'MuseoSlab-500';
    src: url('fonts/museoslab-webfont.eot');
    src: local('MuseoSlab-500'), url('fonts/museoslab-webfont.woff') format('woff'), url('fonts/museoslab-webfont.ttf') format('truetype'), url('fonts/museoslab-webfont.svg#webfontl1UAJC8y') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
    font-family: 'Colaborate-Regular';
    src: url('fonts/Colaborate-Regular.eot');
    src: url('fonts/Colaborate-Regular.woff2') format('woff2'),
         url('fonts/Colaborate-Regular.woff') format('woff'),
         url('fonts/Colaborate-Regular.ttf') format('truetype'),
         url('fonts/Colaborate-Regular.svg#Colaborate-Regular') format('svg'),
         url('fonts/Colaborate-Regular.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
  }
@font-face {
    font-family: 'Colaborate-Medium';
    src: url('fonts/Colaborate-Medium.eot');
    src: url('fonts/Colaborate-Medium.woff2') format('woff2'),
         url('fonts/Colaborate-Medium.woff') format('woff'),
         url('fonts/Colaborate-Medium.ttf') format('truetype'),
         url('fonts/Colaborate-Medium.svg#Colaborate-Medium') format('svg'),
         url('fonts/Colaborate-Medium.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
  }
@font-face {
    font-family: 'Colaborate-Light';
    src: url('fonts/Colaborate-Light.eot');
    src: url('fonts/Colaborate-Light.woff2') format('woff2'),
         url('fonts/Colaborate-Light.woff') format('woff'),
         url('fonts/Colaborate-Light.ttf') format('truetype'),
         url('fonts/Colaborate-Light.svg#Colaborate-Light') format('svg'),
         url('fonts/Colaborate-Light.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
  }



/* Reset Styles
/*---------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}

body {
    line-height: 1;
    color: black;
    background: white;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption, th, td {
    text-align: left;
    font-weight: normal;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}

blockquote, q {
    quotes: "" "";
}

/* HTML5 tags */
header, section, footer,
aside, nav, article, figure {
    display: block;
}

/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button {
    cursor: pointer;
}

/* make buttons play nice in IE:
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {
    width: auto;
    overflow: visible;
}

/* Sharper Thumbnails */
img {
    -ms-interpolation-mode: bicubic;
}

/* Input Styles
/*---------------------------------------------*/
input,
textarea,
select {
    padding: 5px;
    font: 400 1em "Colaborate-Light", Arial, sans-serif;
    color: #666;
    background: #fff;
    border: 1px solid #999999;
    margin: 0 0 1em 0;
}

input:focus,
textarea:focus,
select:focus {
    color: #000;
    background: #fff;
    border: 1px solid #666666;
}

/* Main Styles
/*---------------------------------------------*/
html {
    height: 100%;
    visibility: visible;
}

body {
    font: 18px/1.7em "Colaborate-Light", Arial, sans-serif;
    color: #444;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-x: hidden;
}

a, a:visited {
    /*color: rgb(229,137,18);*/
    border-bottom: 0.075em solid #666;
    color: #444;
    text-decoration: none;
    /* -webkit-transition: all 0.2s linear, border 0;
    -moz-transition: all 0.2s linear, border 0;
    -ms-transition: all 0.2s linear, border 0;
    -o-transition: all 0.2s linear, border 0;
    transition: all 0.2s linear, border 0; */
}

a:hover, a:active {
    /*color: rgb(156, 99, 26);*/
    color: black;
}

a:active {
    position: relative;
    top: 1px;
}

a.image {
    border: none;
}

#header li a, #header li a:visited {
    border: none;
}

#header li a:hover, #header li a:active {
    border-bottom: 0.075em solid;
}

h1 a, h1 a:visited, h2 a, h2 a:visited, h3 a, h3 a:visited, h4 a, h4 a:visited {
    color: #444;
    border: none;
}

h1 a:hover, h1 a:active, h2 a:hover, h2 a:active, h3 a:hover, h3 a:active, h4 a:hover, h4 a:active {
    color: #444;
    border-bottom: 0.075em solid;
}

h1, h2, h3, h4, h5, h6 {
    color: black;
    line-height: 1.4em;
    margin-bottom: 0.6em;
}

h1 {
    font-size: 1.7em;
    color: #444;
    font-family: 'MuseoSlab-500';
    font-weight: normal;
}

h2 {
	font-size: 1.4em;
	color: #444;
	font-family: 'MuseoSlab-500';
	font-weight: normal;
}

 /* {
    color: #444;
    border: none;
} */

h3 {
    font-family: 'MuseoSlab-500';
    color: #444;
    font-size: 1.2em;
    margin-top: 1.5em;
}

h4 {
    font-family: 'MuseoSlab-500';
    color: #444;
}

p, table, ol, ul, pre, blockquote, dl {
    margin-bottom: 1em;
}

ol, ul {
    padding-left: 30px;
}

b, strong {
    font-weight: bold;
}

i, em {
    font-style: italic;
}

u {
    text-decoration: underline;
}

abbr, acronym {
    cursor: help;
    border-bottom: 0.075em dotted;
}

td, td img {
    vertical-align: top;
}

td, th {
    border: solid 1px #999;
    padding: 0.25em 0.5em;
}

th {
    font-weight: bold;
    text-align: center;
    background: #eee;
}

sub {
    vertical-align: sub;
    font-size: smaller;
}

sup {
    vertical-align: super;
    font-size: smaller;
}

code {
    font-family: "Courier New", Courier, Monaco, Tahoma;
    background: rgb(252, 239, 220);
    border-radius: 3px;
    color: #000;
    padding: 0px 6px;
    margin: 0px 2px;
    font-size: 85%;
    display: inline-block;
}

pre {
    background: rgb(252, 239, 220);
    padding: 15px;
    overflow: auto;
    line-height: 125%;
    border-radius: 5px;
}

blockquote {
    font-style: italic;
    margin-left: 15px;
    padding-left: 10px;
    border-left: 5px solid #dddddd;
}

dd {
    margin-left: 2em;
}

.date {
    margin: 0em 0 1em 0;
    font-size: 1em;
    color: #888;
}

.title-letter-space {
    letter-spacing: 0.2em;
}

.inner img {
    margin: 1em 0;
    box-sizing: border-box;
}

.inner img.full {
    margin-left: 50%;
    transform: translateX(-50%);
    max-width: 95vw;
    /* width: 1024px; */
    max-height: 90vh;
}

.inner .side-by-side-images {
    margin-left: 50%;
    transform: translateX(-50%);
    width: 95vw;
    max-width: 95vw;
    max-height: 90vh;
    display: block;
}

.inner img.full-left {
    width: 49%;
    margin-right: 1%;
    float: left;
}

.inner img.full-right {
    width: 49%;
    margin-left: 1%;
    float: right;
}

.inner img.left {
    float: left;
    margin: 1em 2em 1em 0;
}

.inner img.right {
    float: right;
    margin: 1em 0 1em 2em;
}

.caption {
    font-style: italic;
    text-align: center;
    font-size: 0.9em;
    margin-top: -1em;
    margin-bottom: 1.5em;
}

.post {
    margin-bottom: 15px;
}

#post-body {
    margin-top: 0.5em;
}

#post-body a, p a {
    /* font-weight: bold; */
    border-bottom: 0.075em solid;
    color: #444;
}

#post-body a:hover {
    /* font-weight: bold; */
    color: black;
}

p.excerpt {
    display: block;
    padding: 0;
    margin: 0;
    /* border: 1px solid rgba(0,0,0,0.1); */
    /* border-left: 5px solid rgba(0,0,0,0.1); */
    background: rgba(0,0,0,0);
    border-radius: 0.3em;
    font-size: 0.9em;
    line-height: 1.5em;
}

a p {
    color: #444;
}

.post-separator {
    text-align: center;
}

.post-separator hr {
    border: 0;
    height: 1px;
    width: 100%;
    background-color:white;
    margin: 0.5em;
}

#social {
    text-align: center;
    padding-top: 0.5em;
}

#social h3 {
    margin: 1em 0;
    line-height: 1.5em;
}

#social hr {
    width: 75%;
    background-color: #999;
    height: 1px;
    border: none;
}

#social a {
    opacity: 0.75;
}

#social img {
    width: 30px;
    margin: 0 2em 0 0;
}

#social img.last {
    margin: 0;
}

#social a:hover {
    border: 0;
    opacity: 1;
}

#recentposts li {
    padding-left: 1em;
}

#recentposts h2 {
    margin-bottom: 1em;
}

#recentposts {
    margin-top: 0em;
}

#recentposts h3 {
    padding-bottom: 0.4em;
}

#recentposts li {
    color: #444;
}


.bloglist {
    overflow: hidden;
}

.bloglist .l {
    float: left;
    width: 145px;
    text-align: right;
    padding: 0.2em 1em 0 0;
}

.bloglist .post-date {
    width: auto;
    float: left;
    text-align: right;
    padding: 0.5em 1em 0 0;
}

.bloglist .r {
    padding: 0 0 0 1em;
    overflow: hidden;
    border-left: 1px solid rgba(0,0,0,0.3);
}

/* #recentposts a:hover, #recentposts a:active {
    color: black;
} */

/* Night mode colours */
body.night {
    color: white;
    background: black;
}
.night #header {
    background-color: rgb(144, 110, 63);
    background-color: rgb(71, 71, 71);
}
.night #footer {
    background-color: rgba(255,255,255,0.15);
}
.night #post-body p a, .night #post-body p a:visited {
    color: #aaa;
}
.night #post-body p a:hover, .night #post-body p a:active {
    color: white;
}

.night h1, .night h1 a, .night h1 a:visited {
    color: white;
}
.night h2, .night h2 a, .night h2 a:visited {
    color: white;
}
.night h3 {
    color: white;
}
/* .night a:hover, .night a:active {
    color: white;
} */
.night p.excerpt {
    /* border: 1px solid rgba(255,255,255,0.2); */
    background: rgba(255,255,255,0);
}
.night .bloglist .r {
    border-left: 1px solid rgba(255,255,255, 0.5);
}
.night #sticky-bar {
    background-color: rgb(71, 71, 71);
}


/* Structure Styles
/*---------------------------------------------*/
.inner {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

#header {
    background: rgb(249,157,28);
    padding: 30px 0 10px 0;
    margin-bottom: 50px;
    color: #fff;
    z-index: 5;
}

#header.home {
padding: 16vh 0 10px 0;
}

#header a {
    color: #fff;
}
#header h1 a,
#header a:hover,
#header .active a {
    color: #fff;
}
#header h1 {
    margin: 0;
    float: left;
    color: rgba(255,255,255,0.7);
    text-transform: lowercase;
    font-size: 1.9em;
}
#header nav {
    float: right;
    list-style: none;
    margin: 0;
    padding: 0.7em 0 0 0;
}
#header nav a {
    font-weight: normal;
    margin-left: 1.2em;
}

#header a.dim {
    opacity: 0.7;
}

#header ul {
    list-style: none;
}
#header li {
    display: inline-block;
    float: left;
    font-size: 1.2em;
    font-family: 'MuseoSlab-500';
    font-weight: normal;
    text-transform: lowercase;
}
#sticky-bar {
    background-color: rgb(249,157,28);
    height: 0.25em;
    width: 100%;
    position: fixed;
    z-index: 1;
    text-align: right;
}

#top-link {
    position: fixed;
    right: 20px;
    top: 20px;
    font-size: 2em;
    opacity: 0.5;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

#top-link a {
    border: none;
}

#content { flex: 1 1 auto; }
#footer {
    background: #eee;
    padding: 0.5em 0;
    margin-top: 50px;
    color: #666;
    font-size: 0.8em;
    text-align: center;
}
#footer .social {
    float: right;
    margin: 0 0 0.5em 1em;
    font-size: 200%;
}
#footer a, #footer a:visited {
    color: #666;
    border: none;
}
#footer a:hover, #footer a:active {
    border-bottom: 0.075em solid;
}

/* #footer a:hover { color: #999; } */


/* Media Queries
/*---------------------------------------------*/
/* Small Devices, Tablets */
@media only screen and (max-width : 800px) {
    body, html { overflow-x:hidden; }

    .inner {
        width: 90%;
    }
    .inner img {
        max-width:100%;
        margin: 1em 0;
    }
    .inner img.full {
        max-width: 100vw;
        max-height: 100vh;
    }

    .inner .side-by-side-images {
        margin-left: initial;
        transform: initial;
        width: 100vh;
        max-width: 100vh;
        margin: 0;
        padding: 0;
        max-width: initial;
        max-height: initial;
        display: initial;
    }

    .inner img.full-left {
        width: 100%;
        max-height: 100vh;
        margin-right: initial;
        float: initial;
    }

    .inner img.full-right {
        width: 100%;
        max-height: 100vh;
        margin-right: initial;
    }

    #header {
        text-align: center;
        margin-bottom: 40px;
        padding: 30px 0 15px 0;
    }
    #header h1 {
        float: none;
        padding-bottom: 0em;
    }
    #header nav {
        float: none;
        width: 100%;
    }
    #header nav ul {
        padding: 0;
    }
    #header nav li {
        display: block;
        float: left;
        width: 50%;
        text-align: center;
        padding: 0;
    }
    #header nav li a {
        margin: 0;
        padding: 0;
    }
    #footer {
        margin-top: 40px;
        padding: 30px 0;
    }
    .bloglist .l {
        float: none;
        margin-right: 0;
        width: auto;
        text-align: left;
    }
    .date {
        margin-bottom: 0.5em;
    }
    .bloglist .r {
    }
    .post-separator hr {
        margin: 0.2em 0;
    }
}

/* Misc Styles
/*---------------------------------------------*/
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}
