*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
}

@media only screen and (max-width: 84.375rem) {
  html {
    font-size: 58%;
  }
}

@media only screen and (max-width: 75em) {
  html {
    font-size: 58%;
  }
}
@media only screen and (max-width: 50em) {
  html {
    font-size: 57%;
  }
}
@media only screen and (max-width: 37.5em) {
  html {
    font-size: 55%;
  }
}

body {
  font-family: "Nunito", "Vazirmatn", sans-serif;
  font-weight: 300;
  line-height: 1.6;
  background-image: url(https://uploadkon.ir/uploads/2f4e20_25background-img.png);
}

.fixed-background-img {
  position: fixed;
  right: 0;
  top: 30rem;
  width: 100%;
  z-index: -10000;
}

.container {
  display: grid;
  grid-template-columns:
    [full-start] 1fr [fixed-sidebar-start] minmax(min-content, 35rem)
    [fixed-sidebar-end gap-1-start] 1rem [gap-1-end post-start] repeat(3, 1fr)
    [post-end] 2fr [full-end];
  margin: 11rem 0;
  justify-items: center;
  justify-content: center;
  align-content: center;
}
@media only screen and (max-width: 84.375rem) {
  .container {
    grid-template-columns:
      [full-start] 0.3fr [fixed-sidebar-start] minmax(min-content, 35rem)
      [fixed-sidebar-end gap-1-start] 1rem [gap-1-end post-start] repeat(3, 1fr)
      [post-end] 2fr [full-end];
  }
}
@media only screen and (max-width: 75em) {
  .container {
    grid-template-columns:
      [full-start] 1fr [fixed-sidebar-start] minmax(min-content, 35rem)
      [fixed-sidebar-end gap-1-start] 0rem [gap-1-end post-start] repeat(3, 1fr)
      [post-end] 2fr [full-end];
  }
}
@media only screen and (max-width: 68.75em) {
  .container {
    grid-template-columns: minmax(min-content, 70rem);
  }
}

.navigation__bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 6rem;
  background-color: #252525;
  z-index: 99;
}
.navigation__bar-box {
  list-style: none;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  padding: 1.7rem;
  gap: 2rem;
  text-transform: uppercase;
  font-size: 1.1rem;
  transition: all 0.2s;
  margin: 0 auto;
}
.navigation__bar-item {
  padding: 0.7rem 1.1rem;
  display: block;
}
.navigation__bar-link {
  text-decoration: none;
  color: rgba(250, 250, 250, 0.9803921569);
  /* background-color: #444444; */
}
.navigation__bar-link:hover {
  color: #555a68;
}

.header {
  position: fixed;
  top: 5rem;
  left: 0;
  width: 100%;
  height: 6rem;
  background-image: url("https://uploadkon.ir/uploads/2f4e20_25header-img.png");
  background-repeat: repeat-x;
  background-position: top;
  background-size: auto;
  z-index: 99;
}

.grid-layout {
  grid-column: post-start/post-end;
  width: 100%;
  display: flex;
  flex-direction: column;
}
@media only screen and (max-width: 68.75em) {
  .grid-layout {
    grid-column: 1/2;
  }
}

.post {
  grid-column: post-start/post-end;
  background-color: #fdfdfd;
  width: 83%;
  padding: 2rem 2.3rem 2rem 2rem;
  outline: 1px double #252525;
  outline-offset: 0.8rem;
  border: 1px solid #404a54;
  position: relative;
  margin: 3rem auto;
  font-family: "Nunito", "Vazirmatn", sans-serif;
	  font-size: 1.2rem;

}
@media only screen and (max-width: 68.75em) {
  .post {
    grid-column: 1/2;
    width: 90%;
  }
}
.post::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://uplod.ir/2ea19nwkisid/border-dotted.svg.html");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}
.post__body {
  width: 100%;
  padding: 1.5rem 0rem;
}
/* 
.post__body ul {
  margin-top: -4px;
}
.post__body ul li {
  margin-right: 5px;
  line-height: 1.9em;
} */
.post__readmore {
  display: inline-block;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  border: 1px dashed #404a54;
  text-decoration: none;
  color: #fafafafa;
  margin-top: 1rem;
}

.post img {
  width: 100%;
  height: auto;
}

.post a {
  color: #404a54;
  text-decoration: none;
  cursor: pointer;
}

.detail {
  grid-column: post-start/post-end;
  width: 83%;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 auto;
}
.detail__comment {
  text-decoration: none;
  color: rgba(250, 250, 250, 0.9803921569);
}
.detail__left {
  display: flex;
  flex-direction: row;
}
.detail__left-box {
  background-color: #252525;
  color: rgba(250, 250, 250, 0.9803921569);
  padding: 2px 5px;
  outline: 1px dotted #252525;
  outline-offset: 0.3rem;
  margin-left: 1.5rem;
}
.detail__right-box {
  background-color: #252525;
  color: rgba(250, 250, 250, 0.9803921569);
  padding: 2px 5px;
  outline: 1px dotted #252525;
  outline-offset: 0.3rem;
}

.rate-button {
  color: rgba(250, 250, 250, 0.9803921569);
  text-decoration: none;
}

.rate-button-box.rated .fa-heart::before {
  content: "\f004";
  color: #f7817f;
}

.fixed-sidebar {
  grid-column: fixed-sidebar-start/fixed-sidebar-end;
  padding: 1.5rem 2.3rem;
  margin-top: 2rem;
  position: fixed;
  width: 25%;
  right: 17rem;
}
@media only screen and (max-width: 84.375rem) {
  .fixed-sidebar {
    grid-column: fixed-sidebar-start/fixed-sidebar-end;
    width: 28%;
    right: 4%;
  }
}
@media only screen and (max-width: 75em) {
  .fixed-sidebar {
    grid-column: fixed-sidebar-start/fixed-sidebar-end;
    width: 30%;
    right: 9%;
  }
}
@media only screen and (max-width: 68.75em) {
  .fixed-sidebar {
    grid-column: 1/2;
    grid-row: 1/2;
    position: relative;
    width: 83%;
    right: 0;
    margin-top: 2rem;
  }
}
@media only screen and (max-width: 37.5em) {
  .fixed-sidebar {
    width: 90%;
  }
}
.fixed-sidebar__img-container {
  position: relative;
  width: 100%;
}
.fixed-sidebar__img {
  width: 100%;
  display: block;
  border-top: 1rem solid #252525;
  border-bottom: 1rem solid #252525;
  border-right: 1.7rem solid #252525;
  border-left: 1.7rem solid #252525;
  outline: 1.58px dotted #aeb0b7;
  outline-offset: 1.8px;
}
.fixed-sidebar__box {
  display: grid;
  grid-template-columns: minmax(min-content, 27rem) 2rem 3rem;
  grid-template-rows: 4rem 12rem;
  row-gap: 1.3rem;
  margin-top: 1.2rem;
  color: rgba(250, 250, 250, 0.9803921569);
  text-align: center;
}
@media only screen and (max-width: 68.75em) {
  .fixed-sidebar__box {
    grid-template-columns: minmax(min-content, 40rem) 2rem 3rem;
    justify-content: center;
  }
}
@media only screen and (max-width: 37.5em) {
  .fixed-sidebar__box {
    grid-template-columns: minmax(min-content, 45rem) 2rem 3rem;
  }
}
.fixed-sidebar__heading {
  grid-column: 1/2;
  padding: 0.6rem 1rem;
  background-color: #252525;
  outline: 1.55px dotted #444444;
  outline-offset: 3px;
}
.fixed-sidebar__text {
  grid-column: 1/2;
  padding: 1.3rem 1.8rem;
  background-color: #252525;
  font-size: 1.25rem;
  outline: 1.55px dotted #444444;
  outline-offset: 3px;
  overflow-y: auto;
  font-size: 1.1rem;
}

@media only screen and (max-width: 84.375rem) {
  .fixed-sidebar__text {
    font-size: 1.1rem;
  }
}
.fixed-sidebar__container {
  grid-column: 3 / span 1;
  grid-row: 1 / span 2;
  justify-self: center;
}
.fixed-sidebar__container-box {
  padding: 0.6rem 0.85rem;
  background-color: #252525;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  outline: 1.55px dotted #444444;
  outline-offset: 3.4px;
}
.fixed-sidebar__container-box-img {
  width: 1.5rem;
  height: 1.5rem;
}

.post__heading {
  font-size: 1.6rem;
  line-height: 1;
  text-align: center;
  border: 0.5px dashed #252525;
  padding: 2rem 3rem;
}
.post__heading-link {
  text-decoration: none;
  cursor: pointer;
  border-bottom: 1px dashed transparent;
  transition: all 0.4s;
  color: #252525;
}
.post__heading-link:hover {
  color: #444444;
}

.comments {
  grid-column: post-start/post-end;
  width: 83%;
  margin-top: 2rem;
  justify-self: center;
  margin: 1rem auto;
}

@media only screen and (max-width: 37.5em) {
  .comments {
    width: 93%;
  }
}
.comments__count-box {
  color: #aeb0b7;
  background-color: #252525;
  text-align: center;
  padding: 1rem 3rem;
}
.comments__count-box--link {
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s;
  color: #aeb0b7;
}

.post-comments {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.post-comment {
  margin-bottom: 0.5rem;
  background-color: #252525;
  border: 1px solid #aeb0b7;
  color: #aeb0b7;
}

.comment-details {
  background: #fdfdfd;
  padding: 0;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.comment-details a {
  color: #252525;
  cursor: pointer;
  vertical-align: bottom;
  margin-right: 0.3rem;
  transition-duration: 0s;
  text-decoration: none;
}
.comment-details-left {
  padding: 0.5rem 0.8rem;
  text-align: left;
}
.comment-details-right {
  text-align: right;
  display: flex;
  align-items: center;
}

.comment-avatar img {
  width: 4rem;
  height: auto;
}

.comment-name {
  color: #252525;
  margin-right: 0.5rem;
}

.comment-body {
  padding: 1rem;
  color: rgba(250, 250, 250, 0.9803921569);
}

.comment-body a {
  color: rgba(250, 250, 250, 0.9803921569);
  border-bottom: 1px solid rgba(250, 250, 250, 0.9803921569);
  text-decoration: none;
  cursor: pointer;
}

.comment-date {
  display: inline-block;
}

.comment-website {
  display: inline-block;
}
.comment-website:hover {
  color: rgba(250, 250, 250, 0.9803921569);
  cursor: pointer;
}

.comment-email {
  display: inline-block;
}
.comment-email:hover {
  color: rgba(250, 250, 250, 0.9803921569);
  cursor: pointer;
}

/*---------------- Reply --------------*/
.comment-reply {
  margin-bottom: 5px;
  border: 1px solid #252525;
  background-color: #fdfdfd;
  color: #555a68;
}
.comment-reply-details {
  padding: 0.5rem 1rem;
}
.comment-reply-date {
  float: left;
  color: #aeb0b7;
  cursor: default;
}
.comment-reply-name {
  color: #444444;
}
.comment-reply-body {
  padding: 1rem;
}

/*-- add Comment --*/
.comment-add-form {
  color: #555a68;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 0.3rem solid #444444;
  background: #fdfdfd;
  border-top: 0.3rem solid #aeb0b7;
  font-family: "Vazirmatn", sans-serif;
  transition: all 0.2s;
}

.comment-add-form input.sendbutton {
  color: #555a68;
  border: #444444 1px solid;
  background: #fdfdfd;
  padding: 0 1rem 0.2rem;
  cursor: pointer;
  font-family: "Vazirmatn", sans-serif;
}
.comment-add-form input.sendbutton:hover {
  color: rgba(250, 250, 250, 0.9803921569);
  border: #252525 1px solid;
  background: #aeb0b7;
}

.comment-add-form iframe {
  background: #fff;
}

.messages {
  grid-column: post-start/post-end;
  width: 83%;
  margin-top: 2rem;
  justify-self: center;
  margin: 2rem auto 0;
}
.messages__content {
  color: #aeb0b7;
  background-color: #252525;
  text-align: center;
  padding: 1rem 3rem;
}

.pagination {
  font-family: "Nunito", "Vazirmatn", sans-serif;
  font-size: 1.3rem;
  text-align: center;
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
.pagination__link {
  padding: 0.8rem 1.4rem;
  text-decoration: none;
  color: #aeb0b7;
  background-color: #444444;
  margin-right: 0.8rem;
  width: 4.5rem;
}
.pagination__pages {
  display: inline-block;
}
.pagination__pages-link {
  text-decoration: none;
  padding: 1rem 1.4rem;
  color: #aeb0b7;
  background-color: #444444;
  margin-right: 0.8rem;
  width: 3rem;
}
.pagination__spacer {
  margin-right: 0.8rem;
}

.sidebar {
  grid-column: post-end/full-end;
  grid-row: 1 / span 4;
  width: 100%;
  font-family: "Nunito", "Vazirmatn", sans-serif;
}
@media only screen and (max-width: 68.75em) {
  .sidebar {
    width: 100%;
  }
}
@media only screen and (max-width: 50em) {
  .sidebar {
    grid-column: 1/2;
    grid-row: 7 / span 4;
    justify-self: center;
    align-self: center;
    justify-items: center;
    width: 80%;
  }
}

@media only screen and (max-width: 37.5em) {
  .sidebar {
    width: 100%;
  }
}
.sidebar__box {
  width: 60%;
  margin-bottom: 2rem;
}
@media only screen and (max-width: 68.75em) {
  .sidebar__box {
    width: 85%;
  }
}
@media only screen and (max-width: 50em) {
  .sidebar__box {
    width: 68%;
    margin: 3rem auto;
  }
}
.sidebar__box-title {
  background: #fdfdfd;
  color: #252525;
  padding: 1rem 2rem;
  text-align: center;
}
.sidebar__box-content {
  outline: 1px dashed #252525;
  outline-offset: 0.4rem;
  background-color: #252525;
  color: rgba(250, 250, 250, 0.9803921569);
  padding: 1rem 1.3rem;
}
.sidebar__box-ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar__box-li {
  padding: 6px 1px;
  border-bottom: 0.7px dashed rgba(250, 250, 250, 0.9803921569);
}
.sidebar__box-li:last-child {
  border-bottom: none;
}

.post-list-date,
.post-list-count {
  color: rgba(250, 250, 250, 0.9803921569);
  cursor: default;
}

.post-list-count {
  padding-right: 5px;
}

.post-list-date.none {
  display: none;
}

.sidebar__box-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar__box-content ul li {
  padding: 0.6rem 1px;
  border-bottom: 0.7px dashed rgba(250, 250, 250, 0.9803921569);
}

.sidebar__box-content ul li:last-child {
  border-bottom: none;
}

.sidebar__box-content ul li a {
  background: url(//cdn.bayan.ir/blog/templates/52205/sidebar-bullet.png)
    no-repeat right 0.5rem;
  padding-right: 1rem;
  color: rgba(250, 250, 250, 0.9803921569);
  text-decoration: none;
}

.sidebar__box-content ul.menu li a {
  background: url(//cdn.bayan.ir/blog/templates/52205/sidebar-bullet2.png)
    no-repeat right 1.2rem;
}

.sidebar__box-content ul li:hover {
  background: #444444;
  transition-duration: 0.4s;
  transition: all, 0.2s;
}

.sidebar__box-content ul li.selected {
  padding: 0.5rem 0.2rem;
  background: #444444;
  border-bottom: 1px solid #aeb0b7;
}

.sidebar__box-content ul li.selected a {
  color: #404a54;
}

.sidebar__box-content .post-list-date,
.sidebar__box-content .post-list-count {
  color: rgba(250, 250, 250, 0.9803921569);
  cursor: default;
}

.sidebar__box-content .post-list-count {
  padding-right: 0.5rem;
}

.sidebar__box-content .post-list-date.none {
  display: none;
}

/*------------ Categories ------------*/
.sidebar__box-content.categories ul li {
  padding: 0;
  border: none;
}

.sidebar__box-content.categories li:hover {
  background: none;
}

.sidebar__box-content ul li.selected a {
  color: #aeb0b7;
}

.sidebar__box-content.categories ul li ul.subcats a {
  padding-right: 1rem;
  padding-top: 1px;
  display: inline-block;
  background: url(//cdn.bayan.ir/blog/templates/52205/sub_ico.png) right
    no-repeat;
}

.sidebar__box-content.categories ul li a {
  padding-bottom: 0;
  padding-right: 2rem;
  display: table-cell;
  *display: inline-block;
  background: url(//cdn.bayan.ir/blog/templates/52205/folder_ico.png) right 2px
    no-repeat;
  text-decoration: none;
}

.sidebar__box-content.categories ul li h3 {
  color: #fdfdfd;
  margin: 0;
}

.sidebar__box-content.categories ul li.selected {
  background: none;
}

.sidebar__box-content.categories .subcats li.selected {
  background: none;
}

.sidebar__box-content.categories .subcats {
  margin-right: 1.4rem;
  margin-top: -3px;
}

.sidebar__box-content.categories ul .post-list-count {
  cursor: default;
  display: table-cell;
  color: rgba(250, 250, 250, 0.9803921569);
}

.sidebar__box-content.categories .subcats .post-list-count {
  cursor: default;
  display: inline-block;
  color: rgba(250, 250, 250, 0.9803921569);
}

.sidebar__box-content.categories .category_selected {
  background: #444444;
  padding: 2px 5px 2px 5px;
  display: block;
  max-height: auto;
  *height: auto;
}

.sidebar__box-content.categories .category_selected a {
  color: inherit;
  cursor: default;
}

/*------------------------- Stat -----------------------*/
.sidebar__box-content.stat {
  position: relative;
}

.sidebar__box-content.stat .StatTitle {
  cursor: default;
  color: #aeb0b7;
  font-size: 1.3rem;
  border: none;
  text-align: right;
}

.sidebar__box-content.stat .Value {
  color: #aeb0b7;
  cursor: default;
  float: left;
  padding-left: 1rem;
  text-align: left;
}

/*----------------- Tag-Cloud ----------------------------------*/
.sidebar__box-content.tag-cloud h3 {
  margin: 0px;
  display: inline-block;
  *display: inline;
  *margin: 2px;
}

.sidebar__box-content.tag-cloud span {
  display: inline-block;
  margin: 1px 0px 1px 0px;
}

.sidebar__box-content.tag-cloud a {
  color: #888;
  border: #ddd 1px solid;
  background: #f9f9f9;
  padding: 1px 7px 4px;
  display: inline-block;
  *display: inline-block;
  margin-left: 1px;
  transition-duration: 0.4s;
  transition: all, 0.2s;
  /*margin: 2px 0px 2px 0px;*/
}

.sidebar__box-content.tag-cloud a:hover {
  color: #fff;
  border: #444444 1px solid;
  background: #444444;
}

.sidebar__box-content.tag-cloud a.selected {
  color: #fff;
  border: #444444 1px solid;
  background: #444444;
}

/* ---follow-box--- */
.followBx,
.followThis {
  font-family: "Nunito", "Vazirmatn", sans-serif !important;
  background-color: #fafafafa;
}

.followBx {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  padding: 1rem 4px 4px;
  font-size: 12px;
}

.followThis {
  background: #444444 !important;
  color: #fff !important;
  border-radius: 3px;
  text-align: center;
}

.magic_spirit {
  text-align: center;
  text-decoration: none;
  color: #f9f9f9;
  font-size: 1.3rem;
  display: block;
}