*,
:after,
:before {
  box-sizing: border-box;
}
:root {
  --primary1: #12b9a933;
  --primary: #12b9a9;
  --primary-fg: #fff;
  --radius: 12px;
  --body-bg: #fff;
  --body-fg: #252c35;
  --surface: transparent;
  --text-color: #454c55;
  --cols: 3;
  --wrp-width: 65rem;
  --wrp-content-width: 45rem;
  --border: 1px solid #8884;
  --side-transition: transform 0.5s cubic-bezier(0.75, 0, 0.25, 1),
    opacity 0.5s cubic-bezier(0.75, 0, 0.25, 1);
}
.post--flag-red,
.flag-red {
  --primary1: #ff2b0022;
  --primary: #ff2b00;
  --radius: 0px;
  --body-bg: #fff;
}

html {
  font-size: 16px;
}
body {
  background: var(--body-bg);
  color: var(--body-fg);
  direction: rtl;
  display: flex;
  flex-direction: column;
  font: 1em/2em arad,vazirmatn, saahel, sahel, vazir, b yekan, serif;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
  accent-color: var(--primary);
  --title-font: sahel, saahel, sahel, vazir, b yekan, serif;
  --title-font: inherit;
}
a {
  color: var(--primary);
  text-decoration: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--title-font);
  font-weight: 900;
  line-height: 1.5em;
  margin: 2.5rem 0 0.5rem;
}
ul {
  list-style: outside;
  padding-right: 1rem;
}
ol {
  list-style: persian inside !important;
  padding-right: 0 1em 0 0;
}
img,
video {
  max-width: 100%;
  vertical-align: middle;
}
figcaption {
  text-align: center;
  font-size: 0.75em;
  line-height: 1.5;
  margin-top: 1em;
  opacity: 0.66;
}
p {
  color: var(--text-color);
  line-height: 2em;
}

p > a:not(.btn) {
  background-image: linear-gradient(
    to top,
    var(--primary1) 0.5em,
    transparent 0.5em
  );
  background-position: 0 0.33em;
  background-repeat: repeat-x;
  transition: 250ms cubic-bezier(1, -0.66, 0, 1.66);
}
p > a:not(.btn):focus,
p > a:not(.btn):hover {
  background-position: 0 0;
}
hr {
  background: currentColor;
  border: none;
  border-radius: var(--radius);
  color: inherit;
  height: 2px;
  margin: 2rem 0;
  opacity: 0.2;
}
.svg-icon,
svg {
  vertical-align: middle;
}
.svg-fill-primary {
  fill: var(--primary);
}
.svg-stroke-primary {
  stroke: var(--primary);
}
body,
html {
  font-size: 14px;
}
@media (min-width: 600px) {
  body,
  html {
    font-size: 16px;
  }
}
@media (min-width: 900px) {
  body,
  html {
    font-size: 18px;
  }
}
.wrp {
  margin: 0 auto;
  max-width: 100%;
  padding: 0 1rem;
  width: var(--wrp-width, 65rem);
  transition: var(--side-transition);
}
.wrp--main {
  padding: 0;
}
.post-list {
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: 1em;
  grid-template-rows: masonry;
}

.wrp.wrp--content {
  flex-grow: 1;
  --wrp-width: var(--wrp-content-width);
}

.one-col-yes {
  --cols: 1;
}
.one-col-yes .wrp--post-col {
  --wrp-width: var(--wrp-content-width);
}
.one-col-yes > .post-list {
  gap: 0;
}
.one-col-yes > .post-list > .post {
  padding: 1.5em 0;
}

.wrp.is-post-list > .item_success {
  width: 100%;
  align-self: flex-start;
}

.messages-item {
  position: sticky;
  top: 1rem;
  z-index: 10;
  box-shadow: 0 5px 20px -12px;
  text-align: center;
}

/*header*/
.header {
  background: var(--surface);
  color: var(--body-fg);
  margin-bottom: 2rem;
  border-bottom: var(--border);
}

.header-wrp {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}
.header-title {
  display: inline-block;
  font-size: 1.5rem;
  margin: 0 0 0 1rem;
  font-weight: bold;
}
.header-title-link {
  color: inherit;
}
.header-logo {
  display: inline-block;
  vertical-align: -0.5em;
  width: 1.75em;
  height: 1.75em;
}
.menu {
  align-items: center;
  display: flex;
  list-style: none;
  margin: 0;
}
.menu > li {
  display: inline-flex;
}
.menu-item {
  display: inline-block;
  padding: 0.5rem;
  position: relative;
  z-index: 2;
  line-height: 1;
  opacity: 0.75;
  color: inherit;
}
.menu-item:not(:last-child) {
  margin-left: 1rem;
}
.menu-item:before {
  background-color: currentColor;
  border-radius: var(--radius);
  bottom: 0;
  content: "";
  height: 100%;
  left: 0;
  opacity: 0.15;
  position: absolute;
  transform: rotateX(90deg) scale(0.5);
  transition: transform 0.4s ease, opacity 0.2s ease;
  width: 100%;
  z-index: -1;
}

.menu-item:focus,
.menu-item:hover {
  /*color: var(--primary);*/
  transition: transform 0.25s ease, opacity 0.5s ease;
}
.menu-item:focus:before,
.menu-item:hover:before {
  transform: none;
  transition: transform 0.25s ease, opacity 0.5s ease;
}

/*cover*/
.bg-cover {
  position: absolute;
  display: block;
  content: "";
  background-image: var(--bg,linear-gradient(to right,#00fffb,#0040ff));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 50vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
  -webkit-mask-image: linear-gradient(#000, #0000);
  mask-image: linear-gradient(#000, #0000);
}

/*post*/
.post {
  border-radius: var(--radius);
  line-height: 2em;
  margin: 2rem 0;
  padding: 1rem;
}
.post-summary {
  opacity: 0.75;
}
.post-summary,
.post-summary p {
  margin: 0;
  color: inherit;
}
.post-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0;
  text-align: right;
}
.post.post--post-list {
  min-height: 12rem;
  background: var(--surface);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.post-list-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.post-list-content p,
.post-tile--list {
  margin: 0;
}
.post-tile--link {
  color: inherit;
}
.post-list-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.post-list-image > a {
  transition: 250ms ease;
  display: block;
  height: 100%;
  width: 100%;
}
/*post detail*/
.post__content {
  color: var(--text-color);
}
.post--post-detail {
  padding: 0;
}
.post-header {
  margin: 1rem 0;
}

.two-col-yes .wrp--post-header{
  --wrp-width: var(--wrp-width);
}

.post-header__image {
  border-radius: var(--radius);
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14),
    0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.post-header__image {
  margin-top: 2rem;
  max-width: unset;
  width: 100%;
}

@media (max-width: 600px) {
  .post-list {
    --cols: 1;
  }
  .post--post-list {
    min-height: 8rem;
  }
  .menu-item--link {
    display: none;
  }
}
@media (min-width: 600px) {
  .side__mobile-menu {
    display: none;
  }
  .side-fixed-no .menu-item--side-btn {
    display: none;
  }
  .two-col-yes .wrp.wrp--main {
    display: grid;
    grid-template-columns: 1fr 20rem;
    grid-template-rows: masonry;
  }
  .two-col-yes .wrp.wrp--main > .wrp {
    width: 100%;
  }
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
}
.post-meta__item {
  margin-left: 0.5em;
  opacity: 0.66;
}
.post-meta__item:not(:last-child):after {
  content: "\2022";
  margin-right: 0.5rem;
  color: var(--primary);
}

.read-more {
  transition: 0.15s ease;
  margin: 0.5rem 0 0;
  display: block;
  background: var(--primary1);
  width: max-content;
  color: var(--primary);
  padding: 0.25em 0.75em;
  border-radius: var(--radius);
  font-size: 0.75em;
  font-weight: bold;
  background-image: linear-gradient(var(--primary1), #0000);
}
.read-more:hover {
  box-shadow: 0 0 100vmax var(--primary1) inset;
}
.read-more:after {
  content: "←";
  display: inline-block;
  margin-right: 0.5em;
  transition: 0.25s ease;
}
.read-more:before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.read-more:active {
  display: block;
  max-width: max-content;
  transform: scale(0.9);
}
.read-more:hover:after {
  transform: translateX(-0.25em);
}
.rate-down.rated > .rate-button:before,
.rate-up.rated > .rate-button:before {
  animation: rate 0.75s ease;
  content: "✓";
  display: inline-block;
}
.rate-down.rated > .rate-button:before {
  content: "✗";
}
@keyframes rate {
  80% {
    opacity: 0;
    transform: scale(10);
  }
  90% {
    opacity: 0;
    transform: scale(1) translateY(1em);
  }
}
.rate-box {
  margin-top: 1rem;
}
.rate-button {
  border: 2px solid;
  border-radius: var(--radius);
  display: inline-block;
  line-height: 1em;
  padding: 0.5em;
}
.rate-up,
span.rateup {
  margin-left: 1em;
}

/*comments*/
.comment {
  border-right: var(--border);
  margin: 1rem 1rem 0 0;
  scroll-margin-top: 3rem;
  padding: 0 1rem 1rem;
  position: relative;
}

.comment:target {
  outline: 2px solid transparent;
  outline-offset: 0em;
  animation: comment-flash 5s ease;
}

@keyframes comment-flash {
  25%,
  50% {
    outline-color: var(--primary);
  }
}
.comment-body,
.comment-header {
  padding-right: 1rem;
}
.comment-date {
  float: left;
  opacity: 0.66;
}
.comment.comment-reply {
  border-color: transparent;
  margin: 0 1rem 1rem 0;
  padding-right: 2rem;
  padding-top: 0;
}
.profile {
  border-radius: 50%;
  height: 2.75rem;
  position: absolute;
  right: 0;
  transform: translateX(50%);
  width: 2.75rem;
}

/*pagination*/
.pages {
  margin-top: 1rem;
}
.pages > .button {
  box-shadow: none;
  color: var(--primary);
  display: inline-block;
  margin: 4px 2px;
  vertical-align: middle;
  border: 2px solid var(--primary);
  padding: 0.5em;
  min-width: 2.25em;
}
.pages > .button.current {
  box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.3);
  color: #fff;
}
.pages > .button:not(.current) {
  background: transparent;
}

.pages > .button.transparent {
  border: none;
}
.pages > .button:hover {
  box-shadow: none;
  transform: translateY(-0.25em);
}
.wrp--side {
  width: var(--wrp-content-width);
  margin: auto;
}

#close-search {
  height: 100%;
  width: 100%;
  padding: 0;
  background-color: #0008;
  opacity: 0;
  transition: var(--side-transition);
  pointer-events: none;
  z-index: 11;
  position: fixed;
  top: 0;
  left: 0;
}

.search-on #close-search {
  opacity: 1;
  pointer-events: auto;
}

/*sidebar*/
.side-fixed-yes .sidebar {
  background: var(--surface);
}
.side-fixed-yes .sidebar,
.side-fixed-no .side__mobile-menu {
  height: 100vh;
  left: 0;
  max-width: 24rem;
  overflow: auto;
  position: fixed;
  top: 0;
  transform: translateX(-100%);
  transition: var(--side-transition);
  width: 85%;
  z-index: 12;
}
.search-on.side-fixed-yes .sidebar,
.side-fixed-no.search-on .side__mobile-menu {
  transform: translateX(0);
}

/* .search-on .wrp:not(.wrp--main) {
  transform: translatex(min(85%, 24rem));
  transition: var(--side-transition);
} */


.side {
  background: var(--surface);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.side__header {
  font-family: var(--title-font);
  padding: 1rem 1rem 0;
}
.side__view {
  padding: 1rem;
  overflow: hidden;
}
.side__title {
  font-weight: bold;
  padding-right: 1em;
  position: relative;
}
.side__title::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.75em;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--primary);
  border-radius: var(--radius);
}

.side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.avatar {
  display: inline-block;
}
.avatar > img {
  object-fit: cover;
  width: 1.25em;
  height: 1.25em;
  vertical-align: middle;
  border-radius: 50%;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  margin: -0.25em;
  width: 100%;
}
.tag-cloud__item {
  background-color: var(--primary);
  color: var(--primary-fg);
  line-height: 1em;
  margin: 0.25em;
  padding: 0.5em 1em;
  border-radius: var(--radius);
}
.side-post {
  display: flex;
  margin-bottom: 1rem;
  align-items: center;
}

.side-post__content {
  overflow: hidden;
}
.side-post__title {
  margin: 0;
  font-size: 1rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.side-post__link {
  color: inherit;
}

.side-post__thumb {
  height: 4rem;
  width: 4rem;
  min-width: 4rem;
  overflow: hidden;
  border-radius: var(--radius);
  margin-right: auto;
  order: 2;
}

.side-post__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-list-item,
.side-list-item {
  color: var(--text-color);
  color: inherit;
  width: 100%;
  display: block;
}

.side-list-item {
  background: linear-gradient(to left, #0000, var(--primary1), #0000) no-repeat
    bottom center/100% 1px;
  display: flex;
  align-items: center;
}
.side-list-item:hover {
  background-size: 100%;
}

.side-list-item__count {
  background: var(--primary1);
  padding: 0.25em;
  min-width: 1.5em;
  border-radius: 50%;
  display: inline-block;
  margin-right: auto;
  text-align: center;
  line-height: 1;
  color: var(--primary);
}
/*mobile menu*/
.side__mobile-menu {
  background: var(--primary);
  color: var(--primary-fg);
  --surface: var(--primary);
}
.side__mobile-menu > .side__view {
  --primary: var(--primary-fg);
  --primary1: var(--primary-fg);
}
.side-list
  > li:last-child
  > .side-list-item:not(:hover):not(.side-list-item--has-child) {
  background-size: 0px;
}
.side__mobile-menu .side-list-item {
  padding: 0.25em 0;
  font-weight: bold;
}
.side-list > li > .side-list-item--has-child + ul {
  padding-right: 1.5rem;
}
/*hide side icons*/
.icon {
  display: none;
}

.footer {
  margin-top: 2rem;
  opacity: 0.9;
  padding: 1rem;
  border-top: var(--border);
  background: var(--surface);
}
.footer > p {
  margin: 0;
}
.footer__icons > a:before {
  opacity: 0;
}
.footer__icons > a {
  color: inherit;
  margin: 0.25rem;
}

.footer__icons > .btn,
.footer__icons > .btn:hover {
  display: inline-flex;
  margin: 0;
}

/*dark mode*/
body.dark {
  --body-bg: #07080a;
  --body-fg: #e0e4e8;
  --surface: transparent;
  --text-color: #ddd;
}
body.dark .jqi,
body.dark .sidebar {
  background: var(--surface);
}

.feather,
.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  font-size: 1.25em;
  height: 1em;
  vertical-align: middle;
  width: 1em;
}

/*form elements*/
.formField2 input.text,
.formField2 textarea,
select {
  appearance: none;
  background: transparent;
  border: 1px solid #8884;
  box-sizing: border-box;
  color: inherit;
  caret-color: var(--primary);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.5em;
  width: 100%;
  border-radius: var(--radius);
  animation: caret 2s ease infinite;
}

@keyframes caret {
  50% {
    caret-color: currentColor;
  }
  0%,
  100% {
    caret-color: var(--primary);
  }
}

.formField2 label {
  float: none;
}
.formField2 .fldcontent {
  margin-right: 0;
}
.bComForm .hasComment {
  margin-left: 0;
}
div.inputFix {
  padding: 0;
}
.jqifade {
  backdrop-filter: blur(3px);
  background: rgba(0, 0, 0, 0.5);
  opacity: 1;
}
.jqi {
  max-width: 90%;
}
.bComForm .sendbutton[disabled] {
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  background-size: 150%;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), inset 0 0 0 1px #8881;
  opacity: 1;
  color: #888;
}
#frm_hide_mail,
label[for="frm_hide_mail"] {
  display: none;
}
#frmPrivateNotice {
  color: inherit;
  font-size: 0;
}
#frmPrivateNotice:before {
  content: " برای دریافت پاسخ، پست الکترونیک خود را وارد کنید";
  font-size: 0.75rem;
  opacity: 0.66;
}
.bComForm .sendbutton.hasCheckbox {
  margin-top: -47px;
}

.bComForm .sendbutton[disabled] {
  background: transparent;
  box-shadow: none;
}
.bComForm .commentAvatar {
  display: none;
}

.btn,
.button,
.jqi a.btn,
.jqi button,
a.btn,
a.btn:hover,
a.btn:visited,
input[type="button"],
input[type="submit"],
input[type="submit"].sendbutton {
  background-color: var(--primary);
  border-radius: var(--radius);
  box-shadow: 0 0.25em #fff4, 0 0.25em var(--primary);
  border: 2px solid #fff4;
  color: #fff;
  display: inline-block;
  font-weight: 900;
  line-height: 1em;
  margin: 0.75rem 0;
  padding: 1rem;
  text-decoration: none;
  text-align: center;
  transition: 52.5ms ease;
}

.btn:active,
.button:active,
.jqi a.btn:active,
.jqi button:active,
a.btn:active,
a.btn:visited:active,
input[type="button"]:active,
input[type="submit"].sendbutton:active,
input[type="submit"]:active {
  box-shadow: 0 0 #fff1, 0 0 var(--primary);
  transform: translateY(0.25em);
}

/*bayan items*/
.item_err,
.item_success,
.item_wrn {
  border: none;
  margin: 1rem 0;
  padding: 0.75rem;
  font-weight: bold;
  border-radius: var(--radius);
}
.item_err > a,
.item_success > a,
.item_wrn > a {
  font-weight: 900;
}
.item_wrn {
  background: #fff9c4;
  color: #c67c00;
}
.item_err {
  background: #ffcdd2;
  color: #d50000;
}
.item_success {
  background: #94ffc1;
  color: #009624;
}

/*codes*/
code {
  background: #0b0e14;
  color: #eee;
  border-radius: var(--radius);
  padding: 0 0.5em;
  font-size: 0.75em;
}
/*! Color themes for Google Code Prettify | MIT License | github.com/jmblog/color-themes-for-google-code-prettify */
pre.prettyprint {
  background: #0b0e14;
  border: 0 !important;
  border-radius: var(--radius);
  font-family: Vazir Code, monospace;
  line-height: 1.6rem;
  margin: 1rem 0;
  padding: 0.75rem;
  max-width: 100%;
}
.prettyprint > code {
  background: transparent;
}
.pln {
  color: #e7eaed;
}
ol.linenums {
  color: #2d3640;
  margin-bottom: 0;
  margin-top: 0;
}
li.L0,
li.L1,
li.L2,
li.L3,
li.L4,
li.L5,
li.L6,
li.L7,
li.L8,
li.L9 {
  background-color: transparent;
  list-style-type: decimal;
  padding-left: 1em;
}
.str {
  color: #aad94c;
}
.kwd {
  color: #ff8f40;
}
.com {
  color: #636a72;
}
.typ {
  color: #59c2ff;
}
.lit {
  color: #d2a6ff;
}
.clo,
.opn,
.pun {
  color: #ffedae;
}
.tag {
  color: #39bae6;
}
.atn {
  color: #a0d468;
}
.atv {
  color: #ffce54;
}
.dec {
  color: #ac92ec;
}
.fun,
.var {
  color: #ffb454;
}

/*for (*modern_search_form*)*/
.input-group {
  background: var(--primary);
  box-shadow: 0 2px 8px #0003;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  opacity: 0;
  padding: 0.5em;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateY(-100%);
  transition: 0.25s ease;
  width: 100%;
  z-index: 2;
}
.search-on .input-group {
  opacity: 1;
  transform: translateY(0);
}
#search {
  background: red;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-search'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E")
    no-repeat 50%;
  border: none;
  padding: 1.5em;
}
.form-control.search-input {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: var(--radius);
  color: #fff;
  color: inherit;
  flex-grow: 1;
  max-width: 41rem;
  padding: 1.5em;
}
#search2 {
  cursor: pointer;
}
/**/
.post > .post-list-content > .post-tile--list {
  background: linear-gradient(to top, var(--primary1) 50%, #0000 50%);
  display: inline;
  background-size: 0% 1.5em;
  background-position: top right;
  background-repeat: no-repeat;
  transition: 250ms cubic-bezier(0.86, 0, 0.07, 1);
  direction: rtl;
}
.post:hover > .post-list-content > .post-tile--list {
  background-size: 100% 1.5em;
  color: var(--primary);
}
:root{
  --body-bg: #eee;
  --surface: #fff;
}

body.dark {
  --surface: #0f1012;
}
.card, .post--post-list, .side,.header,.footer {
  box-shadow: 0 10px 30px -10px #0001;
}
.card, .post--post-list, .side{
  border: var(--border);  
}
.side-fixed-yes .sidebar {
  padding: 1em 1em 0;
}
.side {
  background: var(--surface);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.side__title {
  font-weight: normal;
  border-bottom: var(--border);
  padding-bottom: .5em;
}
.rate-down.rated:after {
  display: block;
  content: "لطفا دلیل مخالفت خود را از صفحهٔ تماس با من ارسال کنید.";
}
																																																																																																																																																																																																										
body.navar:before {
  content: "";
  top: 0;
  left: 0;
  width: 1em;
  height: 1em;
  position: fixed;
  z-index: 9007199254740991;
  background: linear-gradient(-45deg,transparent 50%,currentColor 50%, currentColor calc(50% + var(--w)),transparent calc(50% + var(--w)));
  font-size: 125px;
  --w: 25px;
  color:black;pointer-events:none;
																																																																																																																																																																																																													
}