section.topsingle {
    width: 100%;
    height: 80px;
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--txt1);
    margin-top: 10px;
}
.postTitle {
    color: #0687d6 !important;
    text-decoration: none !important;
}
.txtpost img {
    width: initial;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}
section.topsingle .container {
    display: flex;
    height: 100%;
    justify-content: space-between;
    align-items: center;
    color: white;
}

section.topsingle h1 {
    font-size: 1.3em;
    margin: 0;
}

section.topsingle .bread {
    font-size: .7em;
    white-space: nowrap;
}

section.topsingle .bread a {
    color: var(--txt1);
}

section.topsingle i {
    font-size: 1.8em;
}
.singlepost {
    display: grid;
    direction: rtl;
    grid-template-columns: 8fr 2fr;
    grid-template-rows: auto;
    grid-gap: 25px;
    grid-template-areas: 'article sidebar';
}

article.postsingle {
    grid-area: article;
    border: solid 1px #707070;
    border-radius: 10px;
    box-shadow: 0 5px 16px rgba(0,0,0,.1);
    box-sizing: border-box;
    margin-bottom: 30px;
    background-color: white;
}

article.postsingle .detailpost {
    background-color: white;
    border-bottom: solid 1px #707070;
    padding: 6px 0;
}

article.postsingle .detailpost > ul {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
ul.post-categories {
    padding: 0;
    list-style: none;
}
article.postsingle .detailpost > ul li span ul.post-categories {
    display: inline-block;
}

article.postsingle .detailpost > ul li span ul.post-categories li a {
    color: black;
}

article.postsingle .detailpost > ul li span ul.post-categories li a:hover {
    text-decoration: none;
    border-bottom: dashed 1px black;
}

article.postsingle .detailpost > ul > li {
    border-right: dashed 2px #eae9e6;
    padding: 0 20px;
    font-family: IRANSansPN;
    display: flex;
    align-items: center;
}
article.postsingle .detailpost > ul > li > img {
    width: 22px;
    margin-left: 5px;
}
article.postsingle .detailpost > ul > li:first-child {
    border-right: none;
}

article.postsingle .detailpost > ul > li svg, .archivepost .detailpostarchive ul li svg {
    color: var(--f);
    margin-left: 4px;
}

article.postsingle .detailpost > ul > li span, .archivepost .detailpostarchive ul li span {
    font-size: 12px;
    font-weight: 300;
}
article.postsingle .uderimgsingle {
    position: relative;
    border-radius: 6px 6px 0 0;
    margin: 0 auto 0;
    overflow: hidden;
    height: 300px;
    width: 100%;
    background-color: #eee;
}

article.postsingle .uderimgsingle img.imgpost {
    display: block;
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(1.1);
    border-radius: 6px 6px 0 0;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

article.postsingle .uderimgsingle:after {
    content: "";
    position: absolute;
    top: -110%;
    left: -210%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transform: rotate(30deg);

    background: rgba(255, 255, 255, 0.13);
    background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0.13) 0%,
            rgba(255, 255, 255, 0.13) 77%,
            rgba(255, 255, 255, 0.3) 92%,
            rgba(255, 255, 255, 0.0) 100%
    );
    transition-property: left, top, opacity;
    transition-duration: 0.9s, 0.9s, 0.17s;

}

article.postsingle .uderimgsingle:hover:after {
    opacity: 1;
    top: -100%;
    left: 106%;
}

article.postsingle .txtpost, .archivepage .subtxtcat {
    font-size: .9em;
    text-align: justify;
    font-weight: 300;
    
    color: var(--txt1);
    margin-top: 25px;
    line-height: 34px;
    
    padding: 9px 20px;

}

.relatedpost h3, .mycm .comment-reply-title {
    background: linear-gradient(to right, #000, var(--s));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
article.postsingle .mytags {
    margin-top: 30px;
}

article.postsingle .mytags a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    background: #04aedf;
    background: -moz-linear-gradient(-45deg, #04aedf 0%, #1ddbb9 50%, #34f6a0 100%);
    background: -webkit-linear-gradient(-45deg, #04aedf 0%, #1ddbb9 50%, #34f6a0 100%);
    background: linear-gradient(135deg, #04aedf 0%, #1ddbb9 50%, #34f6a0 100%);
    color: white;
    padding: 2px 13px;
    border-radius: 4px;
    font-weight: 200;
    font-size: 14px;
    margin: 0 3px;
    border: solid 1px rgba(0, 0, 0, 0);
}

article.postsingle .mytags a:hover {
    text-decoration: none;
    color: black;
    border: solid 1px #eee;
    background: white;
}

article.postsingle .starrating {
    display: flex;
}

article.postsingle .starrating span, article.postsingle .mytags {
    font-size: 1em;
    margin-left: 10px;
    font-weight: 500;
}
.kk-star-ratings .kksr-stars {
    direction: ltr;
}
.txtpost h2 ,.txtpost h3, .txtpost h4, .txtpost h5 {
	    color: #3432a8;
	    font-size: 1.5em;

}
#commentform p {
    margin: 10px 0 0;
}

#commentform input, .comment-form-comment textarea {
    background-color: #f7f7f7;
    border: solid 1px #eae9e6;
    outline: none;
    padding: 9px 9px;
    border-radius: 4px;
}

#commentform .comment-form-cookies-consent label {
    display: inline-block;
}

.comment-form-comment textarea {
    width: 100%;
    resize: none;
    box-sizing: border-box;
}

#commentform label {
    display: block;
    margin-bottom: 0;
    font-weight: 300;
}

#commentform input[type=submit] {
    margin: 22px 0;
    padding: 11px 52px;
    background: var(--s);
    color: white;
    font-weight: 700;
    box-shadow: none;
    cursor: pointer;
    font-family: IRANSans;
}

ol.commentlist {
    list-style: none;
    padding-right: 0;
}

ol.commentlist li.comment {
    box-shadow: 0 0 30px 0 #e9e9e9;
    padding: 15px;
    margin: 3% 1%;
}

article.postsingle .mycm .comment-form-comment label, .mycm .logged-in-as, #commentform .comment-notes {
    display: none !important;
}

.comment-meta {
    font-size: 9px;
    margin: 5px;
}

aside.sidebar {
    grid-area: sidebar;
}

aside.sidebar .widgetbox {
    background-color: white;
    border: solid 1px #707070;
    border-radius: 10px;
    box-shadow: 0 5px 16px rgba(0,0,0,.1);
    padding: .5em;
    margin-bottom: .7em;
    position: relative;
}

aside.sidebar .widgetbox .titlewidget {
    position: relative;
}

aside.sidebar .widgetbox h5 {
    background-color: white;
    z-index: 5;
    position: relative;
    display: inline-block;
    padding: 0px 11px 0 14px;
    margin: 12px 15px 0 0;
}

aside.sidebar .widgetbox .titlewidget .linetitle {
    position: absolute;
    border: dashed 1px #eae9e6;
    width: 100%;
    top: 60%;
}

aside.sidebar .widgetbox .contentwidget {
    padding: 0 5px;
}

aside.sidebar .widgetbox .contentwidget ul li a {
    font-size: 12px;
    color: #04aedf;
    display: block;
    padding: 5px 8px;
    margin: 4px 0px;
    position: relative;
}

aside.sidebar .widgetbox .contentwidget ul li a:hover {
    text-decoration: none;
color: var(--s);
}

aside.sidebar .rpwwt-widget ul li {
    margin-bottom: 0;
}

aside.sidebar .widgetbox .contentwidget p {
    font-size: 13px;
    font-weight: 300;
    line-height: 25px;
    text-align: justify;
    padding: 0 8px;
    margin: 15px -3px;
    position: relative;
}

aside.sidebar .widgetbox .contentwidget .rpwwt-post-title {
    display: block
}

aside.sidebar .widgetbox .contentwidget .rpwwt-post-date {
    font-size: 11px;
    color: #a4a3a9;

}

.relatedpost {
    padding: 15px 9px;
    background: white;
}

.relatedpost .mycarouselrelated {
    display: flex;
	    flex-wrap: wrap;
    width: 100%;
}

.relatedpost .itemrelate {
    margin: 0 11px;
	    width: 30%;
	    border: solid 1px #70707070;
    border-radius: 10px;
    box-shadow: 0 5px 16px rgba(0,0,0,.1);
}

.relatedthumb {
    padding: 5px;
}

.relatedthumb a img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.relatedcontent h4 {
    font-size: 1em;
    color: var(--s);
    margin: 0;
    padding: 0px 10px 15px;
    white-space: nowrap;
    overflow: hidden;
}

.relatedcontent hr {
    margin: 8px 0;
    background: #cee1f9;
    height: 1px;
    border: none;
}

.paddingme {
    margin: 0 10px !important;
}

.relatedcontent .rssrelated {
    text-align: justify;
    padding: 11px;
    margin: 0;
    font-size: 13px;
    line-height: 24px;
    display: block;
}

.undercontent {
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.views {
    font-size: 13px;
}
.views svg {
    color: var(--s);
}
.undercontent a {
    border-radius: 5px;
    padding: 7px 14px;
    background: var(--s);
    margin: 10px 0;
    font-size: 12px;
    color: white;
}
#related_posts {
    padding-bottom: 20px;
}
.rpwwt-widget ul li img {
    margin: .3em 0 3.75em .75em !important;
}
.rpwwt-post-excerpt {
    
    font-size: 13px;
}
.dflex {
	display: flex;
    justify-content: space-between;
	flex-wrap:wrap;
}
.mycm {
    
    padding: 15px 9px;
}
.lwptoc {
    display: flex;
	
    justify-content: center;
}
.lwptoc_i {
   text-align: right !important;
	    width: 90% !important;
	border-radius: 5px;
    background-color: var(--s) !important;
    color: white !important;
}
.lwptoc-light .lwptoc_i A {
    color: white !important;
    margin-top: 14px !important;
    display: inline-block;
    font-size: 12px !important;
}
@media screen and (max-width: 992px) {
    .singlepost {
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: auto auto;
        grid-gap: 50px;
        grid-template-areas: 'article' 'sidebar';
    }
}

@media screen and (max-width: 768px) {
	section.topsingle {
		    flex-direction: column;
    align-items: center;
	}

    article.postsingle .detailpost > ul > li > img {
        width: 16px;
    }
    section.topsingle h1 {
        font-size: 1em;
    }
    section.topsingle .bread {
        font-size: .6em;
		padding:0;
    }
    article.postsingle .uderimgsingle {
        height: 180px;
    }
    article.postsingle .detailpost > ul > li {
        padding: 0 4px;
    }
    article.postsingle .detailpost > ul > li svg {
        display: block;
        margin: 0 auto;
    }
    article.postsingle .detailpost > ul > li span, .archivepost .detailpostarchive ul li span {
        font-size: 10px;
    }
    .relatedpost .mycarouselrelated {
        flex-wrap: wrap;
    }
    .relatedpost .itemrelate {
        width: 100%;
    box-sizing: border-box;
    margin: 0;
    margin-bottom: 40px;
    }
    

}