/*
Theme Name: Sketchy Details
Theme URI: http://thesketchydetails.net/
Author: Sketchy Details
Description: Custom theme matching the original Sketchy Details design
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sketchy-details
*/

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

html {
    overflow-y: scroll;
}

body {
    margin: 0;
    padding: 0;
    background-color: #3d3d3d;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #2b2b2b;
}

a {
    color: #a00101;
    text-decoration: none;
    transition: all .5s ease;
}

a:hover,
a:active {
    color: #bd1e1e;
}

/* Site Structure */
#page {
    max-width: 1260px;
    margin: 0 auto;
    background: #fff;
}

/* Site Header */
#site-header {
    background: #3d3d3d;
}

#site-header img {
    display: block;
    max-width: 100%;
    height: auto;
}

.site-header {
    background-color: #3d3d3d;
    padding: 20px;
}

.header-main {
    max-width: 1038px;
    margin: 0 auto;
    position: relative;
}

.site-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.site-title a {
    color: #fff;
    text-decoration: none;
}

.site-description {
    color: #fff;
    font-size: 14px;
    margin: 5px 0 0;
}

/* Navigation */
.primary-navigation {
    float: right;
    margin-left: 20px;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: inline-block;
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.nav-menu a:hover {
    color: #a00101;
}

.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
    color: #d13232;
}

/* Dropdown Menu */
.nav-menu ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #a00101;
    min-width: 180px;
    z-index: 999;
    padding: 0;
    list-style: none;
}

.nav-menu li:hover > ul.sub-menu {
    display: block;
}

.nav-menu ul.sub-menu a {
    color: #fff;
    padding: 10px 15px;
}

.nav-menu ul.sub-menu a:hover {
    background-color: #bd1e1e;
}

/* Main Content Area */
#main {
    background: #fff;
}

.main-content {
    max-width: 1038px;
    margin: 0 auto;
    padding: 30px 20px;
}

.content-area {
    width: 100%;
}

.site-content {
    max-width: 100%;
}

/* Entry/Article Styles */
.hentry {
    max-width: 1038px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 40px;
}

.hentry:first-child {
    border-top: 0;
    padding-top: 0;
}

.entry-header,
.entry-content,
.entry-summary,
.entry-meta {
    max-width: 525px;
}

/* Post Thumbnail */
.post-thumbnail {
    display: block;
    margin-bottom: 20px;
}

.post-thumbnail img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 572px;
}

.post-thumbnail:hover {
    opacity: 0.9;
}

/* Entry Meta */
.entry-meta {
    font-size: 12px;
    color: #767676;
    margin-bottom: 8px;
}

.entry-meta a {
    color: #767676;
}

.entry-meta a:hover {
    color: #bd1e1e;
}

.cat-links a {
    text-transform: uppercase;
    font-weight: 700;
}

.entry-date {
    margin-right: 15px;
}

.byline {
    margin-right: 15px;
}

/* Entry Title */
.entry-title {
    font-size: 33px;
    font-weight: 300;
    line-height: 1.1;
    margin: 0 0 15px;
}

.entry-title a {
    color: #2b2b2b;
}

.entry-title a:hover {
    color: #bd1e1e;
}

/* Entry Content */
.entry-content {
    margin-top: 20px;
}

.entry-content p {
    margin: 0 0 20px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

/* More Link */
.more-link {
    display: inline-block;
}

.meta-nav {
    font-style: normal;
}

/* Entry Footer */
.entry-footer {
    margin-top: 20px;
}

.tag-links a {
    display: inline-block;
    background-color: #767676;
    color: #fff;
    padding: 3px 10px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 12px;
}

.tag-links a:hover {
    background-color: #bd1e1e;
}

/* Pagination */
.paging-navigation {
    border-top: 5px solid #3d3d3d;
    padding: 20px 0;
    max-width: 525px;
}

.pagination {
    text-align: center;
}

.page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #3d3d3d;
    color: #3d3d3d;
}

.page-numbers:hover {
    border-color: #bd1e1e;
    color: #bd1e1e;
}

.page-numbers.current {
    border-color: #a00101;
    background: #a00101;
    color: #fff;
}

/* Site Footer */
.site-footer {
    background-color: #3d3d3d;
    padding: 30px 20px;
    color: #fff;
    text-align: center;
}

.site-info {
    font-size: 12px;
}

.site-info a {
    color: #fff;
}

.site-info a:hover {
    color: #bd1e1e;
}

/* Single Post */
.single .entry-content {
    max-width: 525px;
}

.single .entry-title {
    font-size: 33px;
}

.post-meta-single {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Back Link */
.back-link {
    margin-bottom: 20px;
}

.back-link a {
    font-size: 14px;
}

/* Responsive */
@media screen and (max-width: 782px) {
    .primary-navigation {
        float: none;
        margin-left: 0;
        margin-top: 15px;
    }

    .nav-menu li {
        display: block;
    }

    .nav-menu ul.sub-menu {
        position: static;
    }
}

/* Selection */
::selection {
    background: #a00101;
    color: #fff;
}

::-moz-selection {
    background: #a00101;
    color: #fff;
}

/* Clear floats */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
