@charset "utf-8";

/*
Theme Name:  dBlog
Author:      Denis Yanchevskiy
Author URI: https://denisco.pro
Description: dBlog is a blogging WordPress theme with clean typography and minimalistic style.
Version:     1.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dblog
Tags:        one-column, custom-menu, editor-style, featured-images, sticky-post, theme-options, threaded-comments, translation-ready, blog
*/

* {
    outline: none;
    box-sizing: border-box;
    word-wrap: break-word;
}


/* General */
body {
    font: 20px/28px 'PT Sans';
}

a {
    border-bottom: 1px solid rgba(0, 0, 0, .15);
    color: #000;
    text-decoration: none;
    transition: color .3s, border .3s;
}

a:hover {
    color: #ff6347;
    border-bottom-color: rgba(255, 99, 71, .15);
}

img {
    max-width: 100%;
    height: auto !important;
}

h1 {
    font-weight: bold;
    font-size: 34px;
    line-height: 38px;
}

h2 {
    margin-top: 28px;
    font-weight: bold;
    font-size: 30px;
    line-height: 34px;
}

h2:first-child {
    margin-top: 0;
}

h3 {
    margin-top: 28px;
    font-weight: bold;
    font-size: 26px;
    line-height: 30px;
}

h3:first-child {
    margin-top: 0;
}

h4 {   
    font-weight: bold;
    font-size: 22px;
    line-height: 26px;
}

h5 {   
    font-weight: bold;
    font-size: 20px;
    line-height: 24px;
}

h6 {

    font-size: 20px;
    line-height: 24px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    max-width: 840px;
    margin-bottom: 14px;
}

p {
    max-width: 840px;
    margin-bottom: 14px;
}

blockquote {
    max-width: 840px;
    margin-bottom: 14px;
    margin-left: 30px;
    padding-left: 10px;
    border-left: 3px solid #000;
    font-style: italic;
}

cite {
    color: #ccc;
}

table {
    max-width: 840px;
    margin-bottom: 14px;
}

th,
td {
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, .15);
}

thead th {
    border-color: rgba(255, 99, 71, .75);
    background: rgba(255, 99, 71, .75);
    color: #fff;
}

dt {
    max-width: 840px;
    font-weight: bold;
}

dd {
    max-width: 840px;
    margin-bottom: 14px;
}

address {
    max-width: 840px;
    margin-bottom: 14px;
    font-style: italic;
}

code, 
kbd, 
samp, 
tt, 
var {
    display: inline-block;
    max-width: 840px;
    padding: 3px 5px;
    background-color: rgba(0, 0, 0, 0.05);
    font-family: Courier, 'Andale Mono', 'DejaVu Sans Mono', monospace;
}

hr {
    max-width: 840px;
    height: 2px;
    margin: 0 0 14px 0;
    border: 0;
    background: rgba(0, 0, 0, .15);
}

pre {
    max-width: 840px;
    overflow: auto;
    padding: 3px 5px;
    background: #1e1e1e;
    color: #f0f0f0;
    word-wrap: initial;
    font-family: Courier, 'Andale Mono', 'DejaVu Sans Mono', monospace;
}

.wrap {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 15px;
}

/* Header */
.site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 840px;
    margin-bottom: 60px;
}

@media (min-width: 1250px) {
    .site-header {
		max-width: 1200px;
    }
}

.site-header a {
    border: 0;
}

.site-header img {
    max-width: 100px;
    margin-right: 10px;
    border-radius: 50%;
}

.site-name {
    font-weight: bold;
    font-size: 6vw;
    line-height: 6.7vw;
}

.site-desc-wrap {
    flex: 1;
}

.site-desc {
    margin-top: 3px;
    font-size: 4vw;
    line-height: 4.7vw;
}

@media (min-width: 600px) {
    .site-name {
        font-size: 36px;
        line-height: 40px;
    }

    .site-desc {
        font-size: 24px;
        line-height: 28px;
    }
}

.socials {
    margin-top: 6px;
}

.socials a {
    display: inline-block;
    vertical-align: top;
    margin: 0 4px;
}

.main-navigation {
    display: none;   
}

@media (max-width: 1249px) {
    .main-navigation.toggled {
		display: block;
		flex: 1 100%; 
    }
}

@media (min-width: 1250px) {
    .main-navigation {
		display: block;
		margin-left: auto;
    }
}

.top-menu a {
    display: block;
    padding: 12px 0;
}

@media (min-width: 1250px) {
    .top-menu {
		display: flex;
    }

    .top-menu a {
		padding: 12px;
    }

    .top-menu li:first-child a {
		padding-left: 0;
    }

    .top-menu li:last-child a {
		padding-right: 0;
    }
}

.menu-toggle {
    padding: 0;
    border: 0;
    background: none;
    font: 20px/28px 'PT Sans';
    text-align: left;
    cursor: pointer;
}

@media (max-width: 599px) {
    .menu-toggle {
		flex: 1 100%;
		margin-top: 12px;
		margin-bottom: 12px;
    }

    .no-main-navigation {
		margin-top: 14px;
    }
}

@media (min-width: 600px) {
    .menu-toggle {
		margin-left: auto;
    }

    .no-main-navigation {
		margin-left: auto;
    }
}

@media (min-width: 1250px) {
    .menu-toggle {
		display: none;
    }
}

/* Content */
.content {
    max-width: 1200px;
}

.content p img {
    transition: .3s ease-in;
}

@media (min-width: 1250px) {
    .content p img {
		max-width: 1200px;
    }
}

.content ul {
    max-width: 840px;
    list-style: disc;
    max-width: 840px;
    margin-bottom: 14px;
    padding-left: 30px;
}

.content ul ul,
.content ul ol {
    list-style: circle;
    margin-bottom: 7px;
    padding-left: 25px;
}

.content ul ul ul {
    list-style: square;   
}

.content ol {
    max-width: 840px;
    list-style: decimal;
    max-width: 840px;
    margin-bottom: 14px;
    padding-left: 30px;
}

.content ol ol,
.content ol ul {
    list-style: lower-latin;
    margin-bottom: 7px;
    padding-left: 25px;
}

.content ol ol ol {
    list-style: lower-roman;
}

.post {
    margin-top: 80px;
}

.post:first-child {
    margin-top: 0;
}

.archive-thumbnail {
    display: block;
    max-width: 840px;
    margin-bottom: 14px;
    border-bottom: 0;
    line-height: 0;
}

@media (min-width: 1250px) {
    .archive-thumbnail {
		max-width: 1200px;
    }
}

.archive-thumbnail img {
    transition: .3s ease-in;
    filter: grayscale(100%);
    filter: grayscale(1);
    filter: gray;
}

.archive-thumbnail:hover img {
    filter: none;
}

.post-meta {
    clear: both;
    margin-top: 25px;
    font-size: 16px;
}

@media (min-width: 600px) {
    .post-meta {
        display: flex;
    }
}

.post-meta > * {
    border-left: 1px solid rgba(0, 0, 0, .15);
    margin-left: 10px;
    padding-left: 10px;
}

@media (min-width: 600px) {
    .post-meta > div:first-child {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }

    .post-meta > div:first-child::before {
		display: none;
    }

    .post-meta > * {
		padding-left: 0;
        border-left: 0;
    }

    .post-meta > *::before {
		content: "•";
		margin-right: 10px;
		opacity: .5;
    }
}

.navigation {
    margin-top: 50px;
}

.navigation .page-numbers {
    padding: 6px;
    border-bottom: 0;
}

.navigation .page-numbers:first-child {
    padding-left: 0;
}

.navigation .page-numbers:last-child {
    padding-right: 0;
}

/* Single */
.single .post-meta {
    margin-top: 14px;
    margin-bottom: 28px;   
}

.post-navigation .nav-links {
    margin-top: 25px;
}

@media (min-width: 768px) {
    .post-navigation .nav-links {
		display: flex;
		justify-content: space-between;
    }

    .post-navigation .nav-links .nav-next {
		margin-left: auto;
    }
}

/* Page */
.page h1 {
    margin-bottom: 28px;
}

/* Comments */
.comments-area {
    max-width: 840px;
    margin-top: 100px;
}

.comment-respond {
    margin-top: 100px;
}

.comment-body + .comment-respond {
    margin-bottom: 100px;
}

.comments-area input[type="checkbox"] {
    margin: 0 5px 0 0;
}

.required {
    color: #e83337;
}

.comment-reply-title {
    display: flex;
}

.comment-reply-title small {
    margin-left: auto;
    font-size: 16px;
}

.comments-area .comment-list,
.comments-area .comment-list .children {
    list-style: none;
}

.comments-area .comment-list {
    padding-top: 33px;
    padding-left: 0;
    border-top: 1px solid rgba(0, 0, 0, .15);
}

.comments-area .comment-list .children {
    padding-left: 33px;
}

.comment-author .fn {
    display: block;
    padding-top: 4px;
}

.comments-area .avatar {
    float: left;
    max-width: 50px;
    margin-right: 15px;
    border-radius: 50%;
}

.comment-meta {
    font-size: 16px;
    line-height: 20px;
}

.comments-area .says {
    display: none;
}

.comment-metadata {
    margin-top: 2px;
    font-size: 14px;
    line-height: 18px;
}

.comment-body {
    position: relative;
    margin-bottom: 33px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, .15);
}

.bypostauthor .comment-body {
    border-color: rgba(255, 99, 71);
}

.comment-body:hover .reply {
    opacity: 1;
}

.comment-content {
    clear: both;
    margin-top: 28px;
}

.comments-area .reply {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    transition: .3s;
    font-size: 16px;
}

.no-comments {
    margin-top: 70px;
}

/* Search */
.search h1 {
    margin-bottom: 28px;
}

.search-form .search-field,
.post-password-form input[name="post_password"] {
    max-width: 300px;   
}

@media (max-width: 359px) {
    .search-form .search-field,
    .post-password-form input[name="post_password"] {
		max-width: 210px;
    }
}

/* Error 404 */
.error404 h1,
.not-found h1 {
    margin-bottom: 28px;
}

/* Footer */
.site-footer {
    max-width: 840px;
    padding-top: 50px;
    font-size: 16px;
    line-height: 24px;
}

@media (min-width: 768px) {
    .site-footer {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
    }
}

@media (min-width: 1250px) {
    .site-footer {
		max-width: 1200px;
    }
}

.bottom-menu {
    margin-top: 20px;
}

@media (min-width: 768px) {
    .bottom-menu {
        display: flex;
		flex-wrap: wrap;
    }

    .bottom-menu li {
		margin: 0 12px;
    }

    .bottom-menu li:first-child {
		margin-left: 0;
    }

    .bottom-menu li:last-child {
		margin-right: 0;   
    }
}

.theme-copy,
.footer-copy {
    margin-top: 20px;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="url"],
textarea {
    -webkit-appearance: none;
    width: 100%;
    border: 1px solid #000;
    font: 20px/28px 'PT Sans';
    padding: 6px;
}

textarea {
    resize: vertical;   
}

input[type="submit"] {
    -webkit-appearance: none;
    padding: 6px 10px;
    border: 1px solid #000;
    background: none;
    font: 20px/28px 'PT Sans';
    cursor: pointer;
    transition: .3s;
}

input[type="submit"]:hover {
    background: #ff6347;
    border-color: #ff6347;
    color: #fff;
}


/* Social icons */
.socials a:before {
    content: '\f268';
}

.socials a[href*='500px.com']:before {
    content: '\f26e';
}

.socials a[href*='behance.net']:before {
    content: '\f1b4';
}

.socials a[href*='bitbucket.org']:before {
    content: '\f171';
}

.socials a[href*='blogger.com']:before {
    content: '\f37d';
}

.socials a[href*='codepen.io']:before {
    content: '\f1cb';
}

.socials a[href*='delicious.com']:before {
    content: '\f1a5';
}

.socials a[href*='deviantart.com']:before {
    content: '\f1bd';
}

.socials a[href*='digg.com']:before {
    content: '\f1a6';
}

.socials a[href*='discord.gg']:before {
    content: '\f392';
}

.socials a[href*='dribbble.com']:before {
    content: '\f17d';
}

.socials a[href*='dropbox.com']:before {
    content: '\f16b';
}

.socials a[href*='drupal.org']:before {
    content: '\f1a9';
}

.socials a[href*='facebook.com']:before {
    content: '\f39e';
}

.socials a[href*='flickr.com']:before {
    content: '\f16e';
}

.socials a[href*='foursquare.com']:before {
    content: '\f180';
}

.socials a[href*='github.com']:before {
    content: '\f09b';
}

.socials a[href*='gitlab.com']:before {
    content: '\f296';
}

.socials a[href*='goodreads.com']:before {
    content: '\f3a9';
}

.socials a[href*='drive.google.com']:before,
.socials a[href*='docs.google.com']:before {
    content: '\f3aa';
}

.socials a[href*='play.google.com']:before {
    content: '\f3ab';
}

.socials a[href*='plus.google.com']:before {
    content: '\f0d5';
}

.socials a[href*='imdb.com']:before {
    content: '\f2d8';
}

.socials a[href*='instagram.com']:before {
    content: '\f16d';
}

.socials a[href*='joomla.org']:before {
    content: '\f1aa';
}

.socials a[href*='jsfiddle.net']:before {
    content: '\f1cc';
}

.socials a[href*='kickstarter.com']:before {
    content: '\f3bc';
}

.socials a[href*='last.fm']:before {
    content: '\f202';
}

.socials a[href*='linkedin.com']:before {
    content: '\f0e1';
}

.socials a[href*='medium.com']:before {
    content: '\f3c7';
}

.socials a[href*='meetup.com']:before {
    content: '\f2e0';
}

.socials a[href*='mixcloud.com']:before {
    content: '\f289';
}

.socials a[href*='modx.com']:before {
    content: '\f285';
}

.socials a[href*='ok.ru']:before {
    content: '\f263';
}

.socials a[href*='opencart.com']:before {
    content: '\f23d';
}

.socials a[href*='patreon.com']:before {
    content: '\f3d9';
}

.socials a[href*='pscp.tv']:before {
    content: '\f3da';
}

.socials a[href*='pinterest.com']:before {
    content: '\f231';
}

.socials a[href*='quora.com']:before {
    content: '\f2c4';
}

.socials a[href*='reddit.com']:before {
    content: '\f281';
}

.socials a[href*='skype']:before {
    content: '\f17e';
}

.socials a[href*='slack.com']:before {
    content: '\f3ef';
}

.socials a[href*='slideshare.net']:before {
    content: '\f1e7';
}

.socials a[href*='soundcloud.com']:before {
    content: '\f1be';
}

.socials a[href*='spotify.com']:before {
    content: '\f1bc';
}

.socials a[href*='stackoverflow.com']:before {
    content: '\f16c';
}

.socials a[href*='steamcommunity.com']:before {
    content: '\f3f6';
}

.socials a[href*='t.me']:before {
    content: '\f3fe';
}

.socials a[href*='trello.com']:before {
    content: '\f181';
}

.socials a[href*='tripadvisor.com']:before,
.socials a[href*='tripadvisor.ru']:before {
    content: '\f262';
}

.socials a[href*='tumblr.com']:before {
    content: '\f173';
}

.socials a[href*='twitch.tv']:before {
    content: '\f1e8';
}

.socials a[href*='twitter.com']:before {
    content: '\f099';
}

.socials a[href*='viber']:before {
    content: '\f409';
}

.socials a[href*='vimeo.com']:before {
    content: '\f27d';
}

.socials a[href*='vine.co']:before {
    content: '\f1ca';
}

.socials a[href*='vk.com']:before {
    content: '\f189';
}

.socials a[href*='whatsapp']:before {
    content: '\f232';
}

.socials a[href*='web.wechat.com']:before {
    content: '\f1d7';
}

.socials a[href*='wordpress.org']:before {
    content: '\f19a';
}

.socials a[href*='wordpress.com']:before {
    content: '\f411';
}

.socials a[href*='xing.com']:before {
    content: '\f168';
}

.socials a[href*='yelp.com']:before {
    content: '\f1e9';
}

.socials a[href*='youtube.com']:before {
    content: '\f167';
}

/* WordPress styles */
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignright {
    float: right;
    margin-left: 14px;
}

.alignleft {
    float: left;
    margin-right: 14px;
}

.wp-caption-text,
.gallery-caption {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 18px;
}

.wp-audio-shortcode {
    max-width: 840px
}

.sticky {
    display: block;
}

/* Galleries */
.gallery {
    display: grid;
    justify-items: start;
    grid-gap: 2px;
    margin-bottom: 14px;
}

.gallery.gallery-columns-4,
.gallery.gallery-columns-5,
.gallery.gallery-columns-6,
.gallery.gallery-columns-7,
.gallery.gallery-columns-8,
.gallery.gallery-columns-9 {
    grid-template-columns: repeat(3, 1fr);
}

@media (min-width: 600px) {
    .gallery.gallery-columns-6
    .gallery.gallery-columns-7,
    .gallery.gallery-columns-8,
    .gallery.gallery-columns-9 {
		grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 768px) {
    .gallery.gallery-columns-2 {
		grid-template-columns: repeat(2, 1fr);
    }

    .gallery.gallery-columns-3 {
		grid-template-columns: repeat(3, 1fr);
    }

    .gallery.gallery-columns-4 {
		grid-template-columns: repeat(4, 1fr);
    }

    .gallery.gallery-columns-5 {
		grid-template-columns: repeat(5, 1fr);
    }

    .gallery.gallery-columns-6 {
		grid-template-columns: repeat(6, 1fr);
    }

    .gallery.gallery-columns-7 {
		grid-template-columns: repeat(7, 1fr);
    }

    .gallery.gallery-columns-8 {
		grid-template-columns: repeat(8, 1fr);
    }

    .gallery.gallery-columns-9 {
		grid-template-columns: repeat(9, 1fr);
    }
}

.gallery-item a {
    display: block;
    line-height: 0;
    transition: .3s;
}

.gallery-item a:hover,
.gallery-item a:focus {
    opacity: 0.5;
}

.gallery-icon a {
    border-bottom: 0;
}

.mfp-title {
    font-size: 14px;
}

/* Accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

.responsive-embed {
    margin-bottom: 14px;
}

.responsive-embed-inner {
    position: relative;
    height: 0;
}

.responsive-embed-inner iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}