/*
Theme Name: Jonathan Last
Author: James Keary
Author URI: http://jameskeary.com
Description: Custom theme for Jonathan Last website/blog
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@import url('css/normalize.css');

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    text-align: left;
	font-size: 16px;
}

#main {
    display: block;
    width:85%;
    margin:75px auto 100px auto;
}

.main {
    display: block;
    width:85%;
    margin:0px auto;
}

#header {
    background: url("/blog/wp-content/uploads/2015/04/headerimage2.jpg");
    width:100%;
    height: 275px;
    position: relative;
    background-size: cover;
    background-position: center center;
}

#content {
    width: 63%;
	max-width: 600px;
    float: left;
}

.readon {
    font-style: italic;
    color: grey;
    text-decoration: none;
    font-family: "Open Sans", sans-serif;
    line-height: 1;
}

.readon-sidebar {
    font-style: italic;
    color: grey;
    text-decoration: none;
    font-family: "Open Sans", sans-serif;
    line-height: 2;
    font-size: 14px;
}

.readon:hover {
    opacity: 0.8;
}

.readon-sidebar:hover {
    opacity: 0.8;
}

#book-post {
    width: 100%;
    overflow: auto;
}

#book-img {
    width: 30%;
    float: left;
}

#book-text {
    width: 60%;
    float: right;
    margin: 0px 45px 0px 45px;
}

#sidebar {
    width: 30%;
    float: right;
}

.wp-post-image {
    width:100%;
    height: 100%;
}

#jl-author-box {
    position: absolute;
    top: 250px;
    width:  360px;
    background-color: black;
    text-align:center;
    line-height: 55px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

#jl-author-box.transparent{
background-color: transparent;
}
#jl-author {
    font-family: "Open Sans", sans-serif;
    font-weight: bold ;
    font-size: 27.27px;
    color: white;
}

#jl-author a {
    text-decoration: none;
    color: white;
}

#delimiter {
    clear: both;
}

/* searchform.php */
#searchform [type="text"] {
    width: 100%;
    background-color: lightgrey;
    margin-bottom: 10px;
    padding: 0;
    border: 0;
    height: 40px;
    text-indent: 10px;
}

::-webkit-input-placeholder { /* WebKit browsers */
    color:    black;
    font-family: "Open Sans", sans-serif;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    black;
    opacity:  1;
    font-family: "Open Sans", sans-serif;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    black;
    opacity:  1;
    font-family: "Open Sans", sans-serif;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    black;
    font-family: "Open Sans", sans-serif;
}

/* footer.php */
#footer {
    position: relative;
    height: 500px;
    width: 100%;
    background-color: black;
}

#author-footer {
    font-family: "Open Sans", sans-serif;
    font-weight: bold ;
    font-size: 27.27px;
    color: white;
    position: absolute;
    top: 30px;
    left: 100px;
    text-transform: uppercase;
    letter-spacing: 3px;
    display:inline;
}

#author-footer a {
    text-decoration: none;
    color: white;
}

#buy-list-footer {
    position: absolute;
    top: 30px;
    left: 55%;
    float: left;
}

#buy-list-footer ul {
    display: inline-block;
    line-height: 3;
}

#social-list-footer {
    position: absolute;
    top: 30px;
    left: 65%;
    float: left;
}

#social-list-footer ul {
    display: inline-block;
    line-height: 3;
}

#contact-footer {
    position: absolute;
    top: 30px;
    left: 75%;
    float: left;
}

#contact-footer ul {
    display: inline-block;
    line-height: 3;
}

#footer-list {
    font-family: "Open Sans", sans-serif;
    font-weight: bold ;
    font-size: 14px;
    line-height: 2;
    color: white;
    position: relative;
    list-style: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0px;
}

#footer-list a {
    text-decoration: none;
    color: white;
}

/*content-buy-buttons.php*/

.buy-buttons {
    width: 100%;
}

#buy {
    list-style: none;
    padding-left: 0px;
}

#buy li {
    display: inline;
    margin-left: 45px;
}

#buy li a:hover {
    cursor: pointer;
    opacity: 0.7;
}

/*header nav*/
#nav {
    width: 600px;
    float: right;
    list-style: none;
    margin-top: 5px;
}

#nav li {
    float: right;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 20px;
    margin-left: 15.53%;
}

#nav li a {
    color: black;
    text-decoration: none;
}

#nav li a:hover {
    border-top: 20px solid black;
    padding-top: 10px;
}

/*blog posts index.php and single.php*/
.jl-blogpost-title {
    font-family: "Open Sans", sans-serif;
    font-size: 2em;
    font-weight: bold;
}

.jl-blogpost-title a {
    font-family: "Open Sans", sans-serif;
    
    font-weight: bold;
    color: #000000;
    text-decoration: none;
}

.jl-blogpost-title a:hover {
    opacity: 0.6;
}

.jl-blogpost-date {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-style: italic;
    line-height: 2.5;
}

.jl-blogpost-content {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

/*books.php*/
.blurb {
    font-family: "Open Sans", sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    line-height: 2 ;
}

.blurber {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 2 ;
}

.book-content {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 2 ;
}

/* General Line Separators used in the loops for posts of both types  */
.line-separator-short{
    height:2px;
    background:black;
    border-bottom:1px solid #313030;
    width: 40px;
	margin: 15px 0;
}

.line-separator-long{
    height:2px;
    background:black;
    border-bottom:1px solid #313030;
	margin: 15px 0;
}

/*content-share-buttons.php*/

.share-buttons {
    width: 100%;
    height: 33px;
}

.share-buttons a {
    color: white;
    text-decoration: none;
}

.share-buttons a:hover {
    opacity: 0.8;
}

.share-button-twitter {
    margin-right: 10px;
    width: 165px;
    height: 33px;
    line-height: 33px;
    background: #78cdf0;
    float: left;
    text-align: center;
}

.share-button-facebook {
    margin-right: 10px;
    width: 165px;
    height: 33px;
    line-height: 33px;
    background: #537bbd;
    float: left;
    text-align: center;
}


.share-button-email {
    margin-right: 10px;
    width: 165px;
    height: 33px;
    line-height: 33px;
    background: #aaa;
    float: left;
    text-align: center;
}

.share-buttons span.text {
    font-family: "Open Sans", sans-serif;
    text-transform: uppercase;
    font-size: 10px;
    text-align: center;
}

@font-face {
    font-family: 'icomoon';
    src: url("fonts/icomoon.eot?-wz1qoh");
    src: url("fonts/icomoon.eot?#iefix-wz1qoh") format("embedded-opentype"), url("fonts/icomoon.woff?-wz1qoh") format("woff"), url("fonts/icomoon.ttf?-wz1qoh") format("truetype"), url("fonts/icomoon.svg?-wz1qoh#icomoon") format("svg");
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"], .icon-font {
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.icon-twitter:before {
    content: "\e617";

}

.icon-facebook:before {
    content: "\e616";
}

.icon-email:before {
    content: "\e610";
}

/*comments.php*/
.jl-comment-note {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    color: blue;
}

.comment-box-full {
    width: 96%;
    background-color: lightgrey;
    margin-bottom: 10px;
    border: 0;
    padding: 10px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
}


.comment-box [type="text"] {
    background-color: lightgrey;
    margin-bottom: 10px;
    padding: 0;
    border: 0;
    height: 40px;
    text-indent: 10px;
    width: 60%;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
}

.jl-comment-label {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: bolder;
    text-transform: uppercase;
}

.jl-first-comment {
    margin-top: 10px;
    margin-bottom: 30px;
}

.jl-comment-list {
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.jl-comment-meta {
    margin: 0px;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.jl-comment-meta a {
    color: #0077b3;
}

.jl-comment-meta a:hover {
    opacity: 0.6;
}

.jl-comment-meta span {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-style: italic;
    font-weight: normal;
    text-transform: capitalize;
}

.jl-comment p {
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    line-height: 2;
}

.comment {
    margin-top: 20px;
}

.widget-wrap {
    border-bottom: solid;
    padding: 10px;
}

.widget-wrap div {
    padding-bottom: 10px;
}

.widget {
    padding: 10px;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.alt {
    background-color: #e9e9e9;
}

/* clear float stuff */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}