/* ------------------------------------------------------------ */
/* FONTS ------------------------------------------------------ */
/* ------------------------------------------------------------ */

@font-face {
    font-family: "et-book-roman-old-style-figures";
    src: url("et-book-roman-old-style-figures.eot") format("embedded-opentype");
    src: url("et-book-roman-old-style-figures.woff") format("woff"),
	 url("et-book-roman-old-style-figures.ttf") format("truetype"),
	 url("et-book-roman-old-style-figures.svg") format("svg");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "et-book-display-italic-old-style-figures";
    src: url("et-book-display-italic-old-style-figures.eot") format("embedded-opentype");
    src: url("et-book-display-italic-old-style-figures.woff") format("woff"),
	 url("et-book-display-italic-old-style-figures.ttf") format("truetype"),
	 url("et-book-display-italic-old-style-figures.svg") format("svg");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "et-book-bold-line-figures";
    src: url("et-book-bold-line-figures.eot") format("embedded-opentype");
    src: url("et-book-bold-line-figures.woff") format("woff"),
	 url("et-book-bold-line-figures.ttf") format("truetype"),
	 url("et-book-bold-line-figures.svg") format("svg");
    font-weight: normal;
    font-style: normal;
}

/* ------------------------------------------------------------ */
/* RESET ------------------------------------------------------ */
/* ------------------------------------------------------------ */


/* http://meyerweb.com/eric/tools/css/reset/ 
	 v2.0 | 20110126
	 License: none (public domain)*/

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

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

/* ------------------------------------------------------------ */
/* STRUCTURE -------------------------------------------------- */
/* adapted from https://matthewjamestaylor.com/bottom-footer -- */
/* ------------------------------------------------------------ */

html,
body {
    margin:0;
    padding:0;
    height:100%;
    overflow-y: scroll;
}

#container {
    min-height:100%;
    position:relative;
}

#header {
    background:#00000;
}

#body {
    padding:10px;
    padding-bottom:20px;   /* Height of the footer */
}

#footer {
    color: #c2c2c2;
    position:absolute;
    bottom:0;
    width:100%;
    height:20px;   /* Height of the footer */
    font-family: 'et-book-roman-old-style-figures', 'Courier', monospace;
    text-align: center;
    font-size: .75em;
}

img {
    max-width: 100%;
}


/* /\* ------------------------------------------------------------ *\/ */
/* /\* HEADER ----------------------------------------------------- *\/ */
/* /\* ------------------------------------------------------------ *\/ */

/* header { */
/*     font-family: 'et-book-roman-old-style-figures', 'Courier', monospace; */
/*     font-size: 1em; */
/*     background-color: white; */
/*     margin: 0; */
/*     position: fixed; */
/*     width: 100%; */
/*     z-index: 1; */
/* } */

/* header a { */
/*     text-decoration: none; */
/*     color: #404040; */
/* } */

/* header a:hover { */
/*     color: #FF6633; */
/* } */

/* li { */
/*     display: inline; */
/*     padding: 0 5px 0 5px; */
/* } */

/* ul { */
/*     padding: 10px; */
/* } */

/* ------------------------------------------------------------ */
/* PREAMBLE --------------------------------------------------- */
/* ------------------------------------------------------------ */

#preamble {
    padding: 80px 15px 30px 15px;
    max-width: 600px;
    margin: auto;
}

#intro {
    font-family: 'et-book-display-italic-old-style-figures', 'Courier', monospace;
    font-size: 1.75em;
    margin: auto;
    color: #404040;
}

#moving-img {
    margin-top: -45px;
    width: 200px;
    text-align: left;
    padding: 0 0 10px 0;
}

.rule {
    width: 100%;
    height: 1px;
    background-color: #c2c2c2;
    margin-top: 10px;
}


/* ------------------------------------------------------------ */
/* HEADER ----------------------------------------------------- */
/* ------------------------------------------------------------ */

header {
    font-family: 'et-book-roman-old-style-figures', 'Courier', monospace;
    font-size: 1em;
    background-color: white;
    margin: 0;
    position: fixed;
    width: 100%;
    z-index: 1;
}

header a {
    text-decoration: none;
    color: white;
}

header a:hover {
    color: black;
}

header li {
    display: inline;
    padding: 0 5px 0 5px;
}

header ul {
    background-color: #FF6633;
    padding: 10px;
}

/* ------------------------------------------------------------ */
/* CONTENT ---------------------------------------------------- */
/* ------------------------------------------------------------ */

#content {
    max-width: 600px;
    margin: auto;
    padding: 0 15px 15px 15px;
    
}

h1 {
    font-family: 'et-book-roman-old-style-figures', 'Courier', monospace;
    font-size: 2em;
    margin-top: .5em;
    color: #404040;
}

h1 a {
    text-decoration: none;
    color: #404040;
}

h1 a:hover {
    color: #FF6633;
}

.post p{
    padding-bottom: 0;
}

.post-date {
    font-family: 'et-book-roman-old-style-figures', 'Courier', monospace;
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #999999;
}

p {
    font-size: 1.4em;
    line-height: 1.5em;
    font-family: 'et-book-roman-old-style-figures', 'Courier', monospace;
    padding-bottom: 20px;
    text-align: left;
    color: #404040;
}

em {
    font-family: 'et-book-display-italic-old-style-figures', 'Courier', monospace;
}

p a {
    text-decoration: none;
    color: #808080;
}

p a:hover {
    color: #FF6633;
}

#content ul {
    font-family: 'et-book-roman-old-style-figures', 'Courier', monospace;
    margin-left: 20px;
    color: #404040;
}

#content ul li {
    font-size: 1.4em;
    line-height: 1.25em;
    display: list-item;
    list-style-type: disc;
    margin-bottom: 10px;
}

/* ------------------------------------------------------------ */
/* FOOTER ----------------------------------------------------- */
/* ------------------------------------------------------------ */

#footer a {
    text-decoration: none;
    color: #c2c2c2;
}

#footer a:hover {
    color: #FF6633;
}

/* ------------------------------------------------------------ */
/* GALLERY ---------------------------------------------------- */
/* ------------------------------------------------------------ */

#gallery-content {
    padding: 80px 15px 30px 15px;
    max-width: 800px;
    margin: auto;
    text-align: center;
}

#gallery-nav {
    font-family: 'et-book-roman-old-style-figures', 'Courier', monospace;
    magin: auto;
    padding: 0 0 15px 0;
    text-align: center;
}

#gallery-nav a {
    text-decoration: none;
    color: #404040;
}

#gallery-nav a:hover {
    color: #FF6633;
}

#gallery-caption {
    margin: auto;
    text-align: center;
}

#gallery-desc {
    font-family: 'et-book-display-italic-old-style-figures', 'Courier', monospace;
    font-size: 1.25em;
    color: #404040;
    padding: 10px 0 10px 0;
}

#gallery-matrls {
    font-family: 'et-book-roman-old-style-figures', 'Courier', monospace;;
    color:#999999;
}

#gallery-thumbs {
    text-align: center;
}

#gallery-thumbs img {
    width: 140px;
    opacity: .9;
    padding: 5px;
}

#gallery-thumbs img:hover {
    opacity: 1;
}

.page-desc {
    font-family: 'et-book-display-italic-old-style-figures', 'Courier', monospace;
    line-height: 1.25em;
    font-size: 1.15em;
    color: #999999;
    padding: 5px 0 15px 0;
}

.page-desc a {
    text-decoration: none;
    color: #999999;
}

.page-desc a:hover {
    color: #FF6633;
}

/* ------------------------------------------------------------ */
/* EXTRAS ----------------------------------------------------- */
/* ------------------------------------------------------------ */

blockquote {
    font-style: italic;
    margin-bottom: .5em;
    border-left: 5px solid #FF6633;
    background-color: #f1f2f2;
    text-align: justify;
    padding: 10px 25px 5px 15px;
}

.clicklion {
    width: 100%;
    background-image: url("https://www.markcrable.com/images/blog/lion1.png");
    background-repeat: no-repeat;
    height: 300px;
}

.clicklion:active {
    background-image: url("https://www.markcrable.com/images/blog/lion2.gif");
}

pre {
    font-size: 1em;
    line-height: 1.5em;
    background-color: #f1f2f2;
    overflow: scroll;
    padding: 15px;
    margin-bottom: 10px;
    font-family: 'Courier', monospace;
}
