:root {
  --color-primary: #c3d5a9;
  --color-text-primary: #292929;
  --color-grey-light-1: #faf9f9;
  --color-grey-light-2: #f4f2f2;
  --color-grey-light-3: #f0eeee;
  --color-grey-light-4: #ccc;
  --color-grey-dark-1: #c3d5a9;
  --color-grey-dark-2: #777;
  --color-grey-dark-3: #999;
  --shadow-dark: 0 2rem 6rem rgba(0, 0, 0, 0.3);
  --shadow-light: 0 2rem 5rem rgba(0, 0, 0, 0.05);
}

@font-face {
  font-family: "Estedad-FD-Light";
  src: url("https://bayanbox.ir/download/1449396736088710773/Estedad-FD-Light.woff")
      format("woff"),
    url("https://bayanbox.ir/download/1449396736088710773/Estedad-FD-Light.woff")
      format("truetype");
  font-weight: 300;
}

*,
*::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: 52%;
  }
}

body {
  font-family: "Estedad-FD-Light", sans-serif;
  font-weight: 300;
  line-height: 1.8;
  background-image: url("https://bayanbox.ir/preview/6316652015539973237/background-img.jpg");
}

.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: var(--color-primary);
  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: var(--color-text-primary);
  transition: all 0.4s;
}

.navigation__bar-link:hover {
  color: var(--color-grey-dark-3);
}

.header {
  position: fixed;
  top: 5rem;
  left: 0;
  width: 100%;
  height: 6rem;
  background-image: url("https://bayanbox.ir/view/3897059688748034274/header-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: 58%;
  padding: 2rem 2.3rem 2rem 2rem;
  outline: 1px double var(--color-grey-dark-1);
  outline-offset: 0.8rem;
  border: 1px solid var(--color-primary);
  position: relative;
  margin: 3rem auto;
  font-size: 1.1rem;
  font-family: "Estedad-FD-Light", sans-serif;
  font-size: 1.3rem;
  text-align: justify;										 
}

@media only screen and (max-width: 84.375em) {
  .post {
    width: 75%;
  }
}

@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 1.5rem;
}
/* 
.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 var(--color-grey-dark-1);
  text-decoration: none;
  color: #2e2e2efa;
  margin-top: 1rem;
}

.post img {
  width: 100%;
  height: auto;
}

.post a {
  color: var(--color-grey-dark-3);
  text-decoration: none;
  cursor: pointer;
}

.detail {
  grid-column: post-start/post-end;
  width: 58%;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 auto;
  font-size: 1.2rem;
}

@media only screen and (max-width: 84.375em) {
  .detail {
    width: 75%;
    font-size: 1.1rem;
  }
}

.detail__comment {
  text-decoration: none;
  color: var(--color-text-primary);
}
.detail__left {
  display: flex;
  flex-direction: row;
}
.detail__left-box {
  background-color: var(--color-primary);
  color: var(--color-text-primary);
  padding: 2px 5px;
  outline: 1px dotted #252525;
  outline-offset: 0.3rem;
  margin-left: 1.5rem;
}
.detail__right-box {
  background-color: var(--color-primary);
  color: var(--color-text-primary);
  padding: 2px 5px;
  outline: 1px dotted var(--color-grey-dark-1);
  outline-offset: 0.3rem;
}

.rate-button {
  color: var(--color-text-primary);
  text-decoration: none;
}

.rate-img {
  width: 2.1rem;
  height: 2.1rem;
}

.rate-button-box.rated .fa-heart::before {
  content: "\f004";
  color: #f7817f;
}

.rate-up {
  color: var(--color-grey-light-1);
}

.fixed-sidebar {
  grid-column: fixed-sidebar-start/fixed-sidebar-end;
  padding: 1.5rem 2.3rem;
  margin-top: 2rem;
  position: fixed;
  width: 25%;
  right: 27rem;
}

@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: 100%;
  }
}
.fixed-sidebar__img-container {
  position: relative;
  width: 75%;
}

.fixed-sidebar__img {
  max-width: 100%;
  display: block;
  border-top: 1rem solid var(--color-primary);
  border-bottom: 1rem solid var(--color-primary);
  border-right: 1.7rem solid var(--color-primary);
  border-left: 1.7rem solid var(--color-primary);
  outline: 1.58px dotted var(--color-grey-dark-1);
  outline-offset: 1.8px;
}
.fixed-sidebar__box {
  display: grid;
  grid-template-columns: minmax(min-content, 48rem) 2rem 3rem;
  grid-template-rows: 4rem 12rem;
  row-gap: 1.3rem;
  margin-top: 1.2rem;
  color: var(--color-text-primary);
  text-align: center;
}

@media only screen and (max-width: 160.125em) {
  .fixed-sidebar__img-container {
    position: relative;
    width: 90%;
  }
}

@media only screen and (max-width: 84.375em) {
  .fixed-sidebar__img-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 75em) {
  .fixed-sidebar__img-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 68.75em) {
  .fixed-sidebar__img-container {
    position: relative;
    width: 100%;
  }

  .fixed-sidebar__box {
    grid-template-columns: minmax(min-content, 47rem) 2rem 3rem;
    /* justify-content: center; */
  }
}

@media only screen and (max-width: 37.5em) {
  .fixed-sidebar__img-container {
    width: 100%;
  }

  .detail {
    width: 90%;
  }
  .fixed-sidebar__box {
    grid-template-columns: minmax(min-content, 55rem) 2rem 3rem;
  }
}
.fixed-sidebar__heading {
  grid-column: 1/2;
  padding: 0.6rem 1rem;
  background-color: var(--color-primary);
  outline: 1.55px dotted var(--color-grey-dark-1);
  outline-offset: 3px;
}
.fixed-sidebar__text {
  grid-column: 1/2;
  padding: 1.3rem 1.8rem;
  background-color: var(--color-primary);
  font-size: 1.1rem;
  outline: 1.55px dotted var(--color-grey-dark-1);
  outline-offset: 3px;
  overflow-y: auto;
}

@media only screen and (max-width: 84.375rem) {
  .fixed-sidebar__text {
    font-size: 1.1rem !important;
  }
}
@media only screen and (max-width: 37.5rem) {
  .fixed-sidebar__text {
    font-size: 1.1rem !important;
  }
}																																								
																																								
.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: var(--color-primary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  outline: 1.55px dotted var(--color-primary);
  outline-offset: 3.4px;
}
.fixed-sidebar__container-box-img {
  width: 1.5rem;
  height: 1.5rem;
}

.post__heading {
  font-size: 1.5rem;
  line-height: 1;
  text-align: center;
  border: 0.5px dashed var(--color-primary);
  padding: 2rem 3rem;
}

@media only screen and (max-width: 84.375rem) {
  .fixed-sidebar__text {
    font-size: 1.3rem;
  }
}
.post__heading-link {
  text-decoration: none;
  cursor: pointer;
  border-bottom: 1px dashed transparent;
  transition: all 0.4s;
  color: var(--color-primary);
}
.post__heading-link:hover {
  color: var(--color-grey-dark-2);
}

.comments {
  grid-column: post-start/post-end;
  width: 58%;
  margin-top: 2rem;
  justify-self: center;
  margin: 1rem auto;
}

@media only screen and (max-width: 84.375em) {
  .comments {
    width: 75%;
  }
}

@media only screen and (max-width: 37.5em) {
  .comments {
    width: 93%;
  }
}
.comments__count-box {
  color: var(--color-text-primary);
  background-color: var(--color-grey-dark-1);
  text-align: center;
  padding: 1rem 3rem;
  font-size: 1.2rem;
}

@media only screen and (max-width: 84.375em) {
  .comments__count-box {
    font-size: 1.1rem;
  }
}
.comments__count-box--link {
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s;
  color: var(--color-grey-dark-2);
}

.post-comments {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.post-comment {
  margin-bottom: 0.5rem;
  background-color: var();
  border: 1px solid var(--color-grey-dark-2);
  color: var(--color-grey-dark-3);
}

.comment-details {
  background: var(--color-grey-light-1);
  padding: 0;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.comment-details a {
  color: var(--color-grey-dark-1);
  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: var(--color-text-primary);
}

.comment-body a {
  color: var(--color-grey-dark-2);
  border-bottom: 1px solid var(--color-grey-dark-2);
  text-decoration: none;
  cursor: pointer;
}

.comment-date {
  display: inline-block;
}

.comment-website {
  background: url(//cdn.bayan.ir/blog/templates/52205/details_ico_cmt.png)
    center -122px no-repeat;
  width: 18px;
  height: 23px;
  display: inline-block;
}

.comment-website:hover {
  cursor: pointer;
}

.comment-email {
  background: url(//cdn.bayan.ir/blog/templates/52205/details_ico_cmt.png)
    center -76px no-repeat;
  width: 18px;
  height: 23px;
  display: inline-block;
}

.comment-email:hover {
  cursor: pointer;
}

/*---------------- Reply --------------*/
.comment-reply {
  margin-bottom: 5px;
  border: 1px solid var(--color-primary);
  background-color: var(--color-grey-light-1);
  color: var(--color-grey-dark-2);
}
.comment-reply-details {
  padding: 0.5rem 1rem;
}
.comment-reply-date {
  float: left;
  color: var(--color-grey-dark-2);
  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 var(--color-grey-dark-1);
  background: #fdfdfd;
  border-top: 0.3rem solid var(--color-primary);
  transition: all 0.2s;
}

.comment-add-form input.sendbutton {
  color: var(--color-primary);
  border: var(--color-grey-dark-1) 1px solid;
  background: #fdfdfd;
  padding: 0 1rem 0.2rem;
  cursor: pointer;
}
.comment-add-form input.sendbutton:hover {
  color: rgba(250, 250, 250, 0.9803921569);
  border: var(--color-primary) 1px solid;
  background: #aeb0b7;
}

.comment-add-form iframe {
  background: #fff;
}

.messages {
  grid-column: post-start/post-end;
  width: 58%;
  margin-top: 2rem;
  justify-self: center;
  margin: 2rem auto 0;
}

@media only screen and (max-width: 84.375em) {
  .messages {
    width: 75%;
  }
}

.messages__content {
  color: var(--color-text-primary);
  background-color: var(--color-primary);
  text-align: center;
  padding: 1rem 3rem;
}

.pagination {
  font-size: 1.2rem;
  text-align: center;
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
.pagination__link {
  padding: 0.8rem 1.4rem;
  text-decoration: none;
  color: var(--color-text-primary);
  background-color: var(--color-grey-dark-1);
  margin-right: 0.8rem;
  width: 4.5rem;
}
.pagination__pages {
  display: inline-block;
}
.pagination__pages-link {
  text-decoration: none;
  padding: 1rem 1.4rem;
  color: var(--color-text-primary);
  background-color: var(--color-grey-dark-1);
  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: 90%;
  position: relative;
  left: 19%;
}

@media only screen and (max-width: 131.25em) {
  .sidebar {
    width: 100%;
  }
}

@media only screen and (max-width: 84.375em) {
  .sidebar {
    width: 100%;
    left: 5%;
  }
}

@media only screen and (max-width: 68.75em) {
  .sidebar {
    width: 100%;
    left: 2%;
  }
}

@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: 50%;
  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: var(--color-grey-light-1);
  color: var(--color-primary);
  padding: 1rem 2rem;
  text-align: center;
  font-size: 1.2rem;
}
.sidebar__box-content {
  outline: 1px dashed var(--color-primary);
  outline-offset: 0.4rem;
  background-color: var(--color-grey-dark-1);
  color: var(--color-text-primary);
  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 var(--color-grey-light-2);
}
.sidebar__box-li:last-child {
  border-bottom: none;
}

.post-list-date,
.post-list-count {
  color: var(--color-text-primary);
  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 var(--color-grey-light-2);
  transition: all 0.4s;
}

.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: var(--color-text-primary);
  text-decoration: none;
  font-size: 1.2rem;
}

@media only screen and (max-width: 84.375em) {
  .sidebar__box-content ul li a {
    font-size: 1.1rem;
  }
}

.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: var(--color-grey-dark-2);
  transition-duration: 0.4s;
  transition: all, 0.2s;
}

.sidebar__box-content ul li.selected {
  padding: 0.5rem 0.2rem;
  background: var(--color-grey-dark-3);
  border-bottom: 1px solid #aeb0b7;
}

.sidebar__box-content ul li.selected a {
  color: var(--color-grey-dark-1);
}

.sidebar__box-content .post-list-date,
.sidebar__box-content .post-list-count {
  color: var(--color-text-primary);
  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: var(--color-grey-light-3);
}

.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;
  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(48, 48, 48, 0.9803921569);
}

.sidebar__box-content.categories .subcats .post-list-count {
  cursor: default;
  display: inline-block;
  color: rgba(48, 48, 48, 0.9803921569);
}

.sidebar__box-content.categories .category_selected {
  background: var(--color-grey-dark-3);
  padding: 2px 5px 2px 5px;
  display: block;
  max-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: var(--color-text-primary);
  font-size: 1.2rem;
  border: none;
  text-align: right;
}

.sidebar__box-content.stat .Value {
  color: var(--color-grey-light-1);
  cursor: default;
  float: left;
  padding-left: 1rem;
  text-align: left;
}

/*----------------- Tag-Cloud ----------------------------------*/
.sidebar__box-content.tag-cloud h3 {
  margin: 0px;
  display: inline-block;
}

.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;
  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: "sahel", sans-serif !important;
  background-color: #fafafafa;
}

.followBx {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  padding: 1rem 4px 4px;
  font-size: 1.1rem;
}

.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;
}
