/*
Author: Matthew Roberts
*/

html,

body {
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
    text-align: left;
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #0A0A0A;
    color: #AAAAAA;
    line-height: 1.6em;
    background: url(../images/black-texture-bg-main-5.jpg) center -475px no-repeat #0A0A0A;
}
h1,
h2,
h3 {
    color: #F70909;
}
h1 {
    border-bottom: 1px solid #F70909;
    font-size: 26px;
    padding: 0 0 12px 0;
}
h2 {
    font-size: 18px;
}
img {
    border: 0;
}
a {
    text-decoration: none;
    color: #F70909;
}
a:hover {
    color: #FFFFFF;
}
#main {
    box-shadow: inset 0 0 6em 5em #000;
    min-height: 100%;
}
#header {
    height: 40px;
    border-bottom: 1px solid #333333;
    width: 100%;
    position: fixed;
    z-index: 1;
}
#headerbg {
    background: #0A0A0A;
    opacity: 0.6;
    width: 100%;
    height: 40px;
    position: absolute;
    z-index: 1;
    box-shadow: inset 0 0 2em 1em #000;
}
#header ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    float: right;
    z-index: 2;
    position: relative;
    line-height: 0.9em;
}
#header li {
    float: left;
}
#header li a {
    display: block;
    color: #C0C0C0;
    text-align: center;
    padding: 14px 16px 10px 16px;
    text-decoration: none;
    border: none;
}
#header li a:hover {
    border-bottom: 3px solid #F70909;
    color: #F70909;
}
#header .active {
    border-bottom: 3px solid #F70909;
    color: #F70909;
}
#headerlogo {
    float: left;
}
#headerlogo img {
    height: 30px;
    width: auto;
    padding: 6px;
    position: relative;
    z-index: 2;
}
#headerlogo a {
    text-decoration: none;
    border: none;
}
#logo {
    text-align: center;
    color: #C0C0C0;
    width: 100%;
}
#logo img {
    padding-top: 75px;
    border: none;
    width: 900px;
}
#contentheader {
    text-align: left;
    color: #C0C0C0;
    width: 800px;
    height: 100px;
    padding-top: 70px;
    margin: 0 auto;
}
#headshot {
    float: right;
    padding: 0 0 30px 30px;
}
#headshot img {
    border: 1px #333 solid;
    width: 350px;
}
.bookpic {
    float: right;
}
.bookpic img {
    border: 0px;
    width: 350px;
    /* background: radial-gradient(circle, rgba(2,0,36,1) 0%, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 100%);  */
}
#content {
    max-width: 800px;
    margin: 0 auto;
}
.button-array {
    width: 100%;
    height: 50px;
    text-align:center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.button-link {
    padding: 8px;
    border: 1px #F70909 solid;
    width: 120px;
    text-align: center;
    float: left;
    margin: 10px;
}
.feature {
    height: auto;
    padding: 50px;
    margin: 10px 0;
    position: relative;
    box-shadow: inset 0 0 5em 2em #000;
}
.feature h1 {
    border: none;
    color: #EEEEEE;
    text-align: center;
}
.feature h3 {
    text-align: center;
}
.feature-header {
    border: none;
    color: #EEEEEE;
    text-align: center;
}
.desc-short {
    text-align: center;
    font-style: italic;
}
#footer {
    text-align: center;
    clear: both;
    width: 100%;
    margin: 0;
    padding: 4px 0 2px 0;
    bottom: 0px;
    position: fixed;
    color: #1A1A1A;
    font-family: "Lucida Console", Monaco, monospace;
    background-color: #0A0A0A;
    border-top: 1px solid #333333;
    opacity: .9;
    box-shadow: inset 0 0 2em 1em #000;
}
#footer a {
    color: #F70909;
    border: none;
}
#footer a:hover {
    color: #AD0303;
}
#footer-blocker {
    height: 150px;
}
.footer-links {
    padding: 10px 20px 65px 20px;
}
#footer-box-left {
    float:left; 
    width:33%;
    height:50px;
    text-align: left;
    display: flex;
    justify-content: left;
    align-items: center;
}
#footer-box-middle{
    float:left; 
    width:33%;
    height:50px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
#footer-box-right{
    float:right;
    width:33%;
    height:50px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.fa {
    color: #F70909;
    padding: 8px;
    font-size: 30px;
    width: 30px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
}
.recommendation {
    border: 1px solid #333333;
    padding: 16px;
    margin: 30px 0;
    box-shadow: inset 0 0 5em 1em #000;
}
.recommendation:hover {
    border: 1px solid #666666;
    background: #111;
}
.quote {
    font-size: 16px;
    font-style: italic;
    color: #999999;
}
.lg-quotation {
    font-size: 100px;
    font-family: Georgia, serif;
    float: left;
    padding: 0 24px 0 0;
    margin: 34px 0 0 0;
    color: #AD0303;
}
.citation {
    font-size: 14px;
    padding: 12px 0 0 120px;
    color: #666666;
}
.book-quote {
    padding: 0px 70px;
    font-style: italic;
    color: #AD0303;
    text-indent: 30px;
}
.desc {
    color: #F70909;
}
.code-block {
    body {
        font-size: 12px;
        font-family: 'Open Sans', sans-serif;
        text-align: left;
        color: #AAAAAA;
        background: url(../images/black-texture-bg-main.jpg) center -475px no-repeat;
    }
}
pre {
    font-family: font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
    font-size: 12px;
    line-height: 150%;
    background: #1a1a1a;
    border-left: 5px solid #333;
    border-bottom: 1px solid #333;
    border-right: 1px solid #333;
    border-top: 1px solid #333;
    padding: 5px 10px;
}
code {
    font-family: font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
    font-size: 12px;
    line-height: 150%;
}
.error-code {
	text-align: center;
	margin: 50px 0;
}
.wabi-sabi {
	color:#111111;
}
@media only screen and (min-device-width: 320px) and (max-device-width: 768px) {
    #navigation {
        position: fixed;
        top: 108px;
        width: 100%;
        margin: 0 auto;
        z-index: 3;
    }
    #header ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
        float: none;
        z-index: 2;
    }
    #header li {
        width: 25%;
        font-size: 36px;
    }
    #header .active {
        border-bottom: 8px solid #F70909;
    }
    #header li a:hover {
        border-bottom: 8px solid #F70909;
    }
    #headerlogo img {
        height: 70px;
        padding: 10px;
    }
    #headerbg {
        height: 185px;
        opacity: 0.8;
    }
    #header {
        height: 185px;
    }
    #contentheader {
        padding-top: 240px;
        width: 80%;
        height: auto;
    }
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 32px;
    }
    h3 {
        font-size: 28px;
    }
    #content {
        max-width: 80%;
    }
    body {
        font-size: 22px;
    }
    #headshot img {
        width: 250px;
    }
    .bookpic img {
        width: 250px;
    }
    .quote {
        font-size: 22px;
    }
    .citation {
        font-size: 18px;
    }
    #logo {
        padding: 110 0;
    }
    #logo img {
        width: 90%;
    }
    .home-header {
        height: 110px !important;
    }
    .home-nav {
        top: 33 !important;
    }
    .fa {
        font-size: 50px;
        width: 75px;
    }
    .button-link {
        padding: 8px;
        border: 1px #F70909 solid;
        width: 120px;
        text-align: center;
        float: left;
        margin: 10px;
    }
    .feature {
        height: auto;
        padding: 50px;
        margin: 10px 0;
        position: relative;
        box-shadow: inset 0 0 5em 2em #000;
    }
    .feature h1 {
        border: none;
        color: #EEEEEE;
        text-align: center;
    }
    .feature h2 {
        border: none;
    }
    .feature h3 {
        text-align: center;
        border: none;
    }
    .feature-header {
        border: none;
    }
}

/*
 * Blinking cursor - Artem Gordinsky
 */

.blinking-cursor {
    color: #F70909;
    -webkit-animation: 1s blink step-end infinite;
    -moz-animation: 1s blink step-end infinite;
    -ms-animation: 1s blink step-end infinite;
    -o-animation: 1s blink step-end infinite;
    animation: 1s blink step-end infinite;
}
@keyframes "blink" {
    from, to {
        color: transparent;
    }
    50% {
        color: #F70909;
    }
}
@-moz-keyframes blink {
    from, to {
        color: transparent;
    }
    50% {
        color: #F70909;
    }
}
@-webkit-keyframes "blink" {
    from, to {
        color: transparent;
    }
    50% {
        color: #F70909;
    }
}
@-ms-keyframes "blink" {
    from, to {
        color: transparent;
    }
    50% {
        color: #F70909;
    }
}
@-o-keyframes "blink" {
    from, to {
        color: transparent;
    }
    50% {
        color: #F70909;
    }
}
