/* Single Post Page */
/* image */
.single .entry-header {
    margin-bottom: 1em;
}

.single .entry-header .post-thumb {
    margin-bottom: 0 !important;
}

/* taxonomies */
.single-layout-1 .entry-header .ast-terms-link {
    font-size: 12px;
}

.ast-terms-link .ast-button.ast-badge-tax {
    color: #5BB318;
    border: 1px solid #D0D4CA;
    border-radius: 0;
}

.ast-terms-link .ast-button.ast-badge-tax:hover {
    color: #F3F3F3;
    border: 1px solid #5BB318;
}

/* title */
.single-layout-1 .entry-header .entry-title {
    font-weight: bolder;
    font-size: 44px !important;
    margin: 15px 0;
}

/* meta */
.single-layout-1 .entry-header .entry-meta {
    margin-bottom: 30px !important;
    font-size: 15px;
    color: #686D76;
}

.single-layout-1 .entry-header .entry-meta span a {
    color: #686D76;
}

.single-layout-1 .entry-header .entry-meta span a:hover {
    color: #5BB318;
}

/* table of content */
/* toc main */
main article .entry-content .toc-main {
    background-color: #E9E8E8;
    border: 1px solid #D0D4CA;
    padding: 15px 20px;
    margin: 30px 0;
}

/* toc header */
main article .entry-content .toc-main .toc-header {
    margin-bottom: 4px;
}

main article .entry-content .toc-main .toc-header b {
    font-size: 18px;
}

main article .entry-content .toc-main .toc-header .toc-toggle-wrap {
    cursor: pointer;
    font-size: 80%;
    white-space: nowrap;
    margin-left: 4px;
}

main article .entry-content .toc-main .toc-header .toc-toggle-wrap::before {
    content: '[';
}

main article .entry-content .toc-main .toc-header .toc-toggle-wrap::after {
    content: ']';
}

/* toc body */
main article .entry-content .toc-main #toc-body {
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* toc body title */
main article .entry-content .toc-main #toc-body .toc-title-wrap {
    margin-top: 4px;
}

/* toc body hidden */
main article .entry-content .toc-main #toc-body.hidden {
    max-height: 0;
}

/* toc body subtitle */
.toc-main #toc-body .toc-title-wrap .toc-subtitle-wrap {
    margin: 0px 0 0 20px;
}

#toc-body div a>.toc-item-number {
    margin-right: 2px;
}

/* code snippet */
main article .entry-content .code-snippet-main {
    position: relative;
    overflow: hidden;
    font-size: 15px;
}

.code-snippet-main .info-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #E0E0E0;
}

.code-snippet-main .info-panel .language {
    background-color: #5BB318;
    color: #F3F3F3;
    padding: 4px 20px;
    font-size: 16px;
}

.code-snippet-main .info-panel > .control-panel i {
    font-size: 20px;
}

.code-snippet-main .copy-button {
    padding: 8px 12px;
    color: #F3F3F3;
    background-color: #222831;
    border: 1px solid #D0D4CA;
    cursor: pointer;
}

.code-snippet-main .copy-button:hover {
    color: #F3F3F3;
}

main article .entry-content .notification {
    position: fixed;
    bottom: -50px;
    left: 10px;
    background-color: #5BB318;
    color: #F3F3F3;
    padding: 10px;
    border-radius: 5px;
    transition: bottom 0.5s ease-in-out;
}

/* tags */
main article .entry-content .taxonomy-post-tag {
    font-size: 13px;
    margin: 30px 0 15px;
}

.taxonomy-post-tag .post-tag-wrap {
    margin: 0;
    font-family: roboto condensed;
    line-height: 20px;
    font-weight: 500;
}

/* tag span */
.taxonomy-post-tag .post-tag-wrap li span {
    background-color: #393E46;
    padding: 4px 8px;
    color: #F3F3F3;
    text-transform: uppercase;
}

.taxonomy-post-tag .post-tag-wrap li:first-child {
    border: none;
    padding: 0;
}

/* tags li */
.taxonomy-post-tag .post-tag-wrap li {
    list-style: none;
    display: inline-block;
    line-height: 25px;
    margin-left: 0;
    margin-bottom: 4px;
}

.taxonomy-post-tag .post-tag-wrap li a {
    border: 1px solid #D0D4CA;
    padding: 4px 8px;
    color: #393E46;
}

.taxonomy-post-tag .post-tag-wrap li a:hover {
    background-color: #5BB318;
    color: #F3F3F3;
}

/* social share buttons */
.social-share-buttons {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    margin-top: 20px;
    border: 1px solid #D0D4CA;
}

.social-share-buttons span {
    color: #5BB318;
    margin-right: 15px;
    font-weight: 600;
    font-family: roboto condensed;
}

.social-share-buttons .social-icon {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-share-buttons .social-icon li {
    display: inline-block;
    margin-right: 5px;
}

.social-share-buttons .social-icon li:last-child {
    margin-right: 0;
}

.social-share-buttons .social-icon li a,
.social-share-buttons .social-icon li button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    box-shadow: 0 0 0 1px #EEEEEE;
    background-color: #393E46;
    border-radius: 50%;
    color: #EEEEEE;
    margin: 3px 0;
}

.social-share-buttons .social-icon li a:hover,
.social-share-buttons .social-icon li button:hover {
    background-color: #5BB318;
}

.social-share-buttons .social-icon li a {
    font-size: 1.125rem;
}

.social-share-buttons .social-icon li button {
    font-size: 1rem;
    padding: 4px 8px;
    border: none;
}

/* author profile in Single Post */
.author-profile {
    display: flex;
    align-items: center;
    border: 1px solid #D0D4CA;
    padding: 20px;
    margin-top: 30px;
}

.author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin-right: 20px;
}

.ast-author-box img.avatar {
    margin: 0;
}

.ast-author-avatar {
    margin: 0 20px 0 0;
}

.author-info {
    flex: 1;
}

.author-profile .author-info .author-name {
    margin-top: 0;
    font-size: 24px;
}

.author-description {
    margin-bottom: 0;
    font-size: 14px;
}

/* prev and next in Single Post */
.single .post-navigation {
    margin: 30px 0 0;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    font-family: roboto condensed;
}

.previous-post,
.next-post {
    flex: 1;
}

.post-navigation .previous-post {
    padding: 10px;
}

.post-navigation .next-post {
    padding: 10px;
}

.post-navigation .previous-post,
.post-navigation .next-post {
    display: inline-block;
    text-align: center;
    border: 1px solid #D0D4CA;
}

.post-navigation .previous-post .nav-title,
.post-navigation .next-post .nav-title {
    color: #5BB318;
    font-weight: 500;
    padding: 2px 0;
}

.post-navigation .previous-post .nav-title a,
.post-navigation .next-post .nav-title a {
    font-size: 18px;
}

.post-navigation .previous-post a,
.post-navigation .next-post a {
    color: #222831;
    padding: 0;
    margin: 0;
    line-height: 1.4;
}

.post-navigation .previous-post a:hover,
.post-navigation .next-post a:hover {
    color: #5BB318;
}

/* relate posts and comment */
.ast-related-posts-title-section,
.comments-area {
    border-top: 1px solid #D0D4CA;
}

/* relate posts */
.site .ast-single-related-posts-container {
    padding-top: 0.5em;
    margin-top: 0em;
}

.ast-related-posts-title {
    margin: 30px 0 20px;
}

.ast-related-post {
    border: 1px solid #D0D4CA;
}

.ast-related-post-featured-section.post-has-thumb {
    display: grid;
    place-items: center;
}

.ast-related-post-content {
    padding: 20px 20px 0;
}

.ast-related-post-content .entry-header .entry-title a:hover {
    color: #5BB318;
}

.ast-related-post-content .entry-header .ast-related-post-title {
    text-align: center;
}

/* comment */
.comment-textarea,
.comments-area,
.ast-comment-formwrap {
    margin-top: 0 !important;
}

.comment-reply-title {
    line-height: 1.4;
    padding-top: 20px;
    font-size: 28px;
    font-weight: 500;
}

#comments .submit {
    border: 1px solid #62be1b;
    background-color: #62be1b;
    color: #F3F3F3;
}

/*  responsive for 921px  */
@media (max-width: 921px) {

    /* Single Post */
    .single .post-navigation {
        border-top: 1px solid #D0D4CA;
    }

    /* comment */
    .comment-form {
        margin-bottom: 40px;
    }

    .comment-form textarea,
    .comment-form .comment-form-author .label,
    .comment-form input {
        border: 1px solid #D0D4CA;
    }
}

/*  responsive for 544px  */
@media (max-width: 544px) {

    /* author profile in Single Post */
    .author-profile {
        flex-direction: column;
    }

    .author-avatar {
        margin-bottom: 10px;
    }

    .author-info {
        text-align: center;
    }
}