/***** Blog *****/
#main .search-posts-holder {
  padding: 40px 0;
  margin-bottom: 90px;
}
@media only screen and (min-width: 770px) and (min-height: 500px) {
  #main .search-posts-holder {
    padding: 40px 10vw;
  }
}
#main .search-posts-holder .search-posts-results {
  position: absolute;
  display: none;
  overflow: hidden;
  width: 100%;
  min-height: 42px;
  top: 40px;
  right: 0;
  background: #ffffff;
  padding: 42px 10px 5px 10px;
  z-index: 1;
  border-radius: 20px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
@media only screen and (min-width: 770px) and (min-height: 500px) {
  #main .search-posts-holder .search-posts-results {
    width: calc(100% - 20vw);
    right: 10vw;
  }
}
#main .search-posts-holder .search-posts-results .search-posts-results-inner {
  overflow: hidden auto;
  padding: 10px 0;
  max-height: 135px;
}
#main .search-posts-holder .search-posts-results .search-posts-results-inner::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  display: block;
  background: rgba(0, 105, 255, 0.05);
  border-radius: 2.5px;
}
#main .search-posts-holder .search-posts-results .search-posts-results-inner::-webkit-scrollbar-track {
  height: 5px;
  border: 0;
  background-clip: padding-box;
  background-color: rgba(0, 105, 255, 0.05);
  border-radius: 2.5px;
}
#main .search-posts-holder .search-posts-results .search-posts-results-inner::-webkit-scrollbar-thumb {
  height: 5px;
  border: 0;
  background-clip: padding-box;
  background-color: #0069ff;
  border-radius: 2.5px;
}
#main .search-posts-holder .search-posts-results .search-posts-results-inner::-webkit-scrollbar-thumb:hover {
  background-color: #005fe6;
}
#main .search-posts-holder .search-posts-results .search-posts-results-inner::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}
#main .search-posts-holder .search-posts-results .search-posts-results-inner::-webkit-scrollbar-corner {
  background-color: transparent;
}
#main .search-posts-holder .search-posts-results .search-posts-results-inner .search-post-result {
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 40px;
  padding: 0 5px;
  border-radius: 20px;
  transition: all 0.2s linear;
}
#main .search-posts-holder .search-posts-results .search-posts-results-inner .search-post-result:hover {
  background: rgba(0, 105, 255, 0.05);
}
#main .search-posts-holder .search-posts-results .search-posts-results-inner .search-post-result .search-post-result-category {
  position: relative;
  display: inline-block;
  color: #1fc198;
  background: #b8f4e5;
  line-height: 30px;
  padding: 0 10px;
  margin-left: 10px;
  font-family: "Shabnam-Bold-FD", Tahoma, monospace;
  font-size: 9pt;
  border-radius: 20px;
}
#main .search-posts-holder .search-posts-results .search-posts-results-inner .search-post-result .search-post-result-title {
  position: relative;
  display: inline;
  line-height: 30px;
  font-size: 10pt;
}
#main .search-posts-holder .search-posts-results .search-posts-btns {
  text-align: center;
  padding: 10px 0;
  border-top: 1px solid rgba(0, 105, 255, 0.1);
}
#main .search-posts-holder #searchposts {
  padding-right: 45px;
  z-index: 2;
  border-radius: 20px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
#main .search-posts-holder .search-posts-icon {
  position: absolute;
  display: block;
  width: 40px;
  top: 40px;
  right: 0;
  text-align: center;
  background-image: url("/asset/img/icon/search.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 25px;
  z-index: 3;
  border-radius: 0 20px 20px 0;
}
@media only screen and (min-width: 770px) and (min-height: 500px) {
  #main .search-posts-holder .search-posts-icon {
    right: calc(10vw + 5px);
  }
}
@media only screen and (min-width: 770px) and (min-height: 500px) {
  #main .posts-list {
    padding: 10px 30px;
    margin: 0 auto;
    max-width: 1200px;
  }
}
#main .posts-list .posts-list-title {
  font-size: 12pt;
  font-family: "Shabnam-Bold-FD", Tahoma, monospace;
  line-height: 40px;
  width: calc(100% - 60px);
  margin: 0 30px 10px 30px;
  padding-right: 35px;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 25px;
  background-image: url("/asset/img/icon/posts.svg");
  border-bottom: 2px solid rgba(0, 105, 255, 0.1);
}
@media only screen and (min-width: 770px) and (min-height: 500px) {
  #main .posts-list .posts-list-title {
    width: 100%;
    margin: 0 0 10px 0;
  }
}
#main .posts-list .post-items .item {
  padding-top: 100%;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.2s linear;
}
@media only screen and (min-width: 770px) and (min-height: 500px) {
  #main .posts-list .post-items .item {
    padding-top: calc(50% - 20px);
  }
}
#main .posts-list .post-items .item:hover {
  background: #fcfcfc;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}
#main .posts-list .post-items .item .post-item-inner {
  position: absolute;
  display: block;
  overflow: hidden;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  padding: 20px;
}
#main .posts-list .post-items .item .post-item-inner > .container {
  height: 100%;
  line-height: 30px;
}
#main .posts-list .post-items .item .post-item-inner > .container .post-item-category {
  position: relative;
  display: inline-block;
  color: #1fc198;
  background: #b8f4e5;
  line-height: 30px;
  padding: 0 10px;
  margin-left: 5px;
  font-family: "Shabnam-Bold-FD", Tahoma, monospace;
  font-size: 9pt;
  border-radius: 20px;
  transition: all 0.2s linear;
}
#main .posts-list .post-items .item .post-item-inner > .container .post-item-category:hover {
  color: #b8f4e5;
  background: #1fc198;
}
#main .posts-list .post-items .item .post-item-inner > .container .post-item-title {
  font-family: "Shabnam-Bold", Tahoma, monospace;
  font-size: 14pt;
  color: #0069ff;
  max-height: 60px;
}
#main .posts-list .post-items .item .post-item-inner > .container .post-item-excerpt {
  font-size: 11pt;
  max-height: 30px;
}
#main .posts-list .post-items .item .post-item-inner > .container .post-item-date {
  position: relative;
  display: inline-block;
  color: #ccc;
  font-size: 9pt;
  padding-right: 25px;
  background-repeat: no-repeat;
  background-position: right 3px;
  background-size: 20px;
  background-image: url("/asset/img/icon/calendar-gray.svg");
}
#main .posts-list .post-items .post-item-big {
  padding: 10px;
}
@media only screen and (min-width: 770px) and (min-height: 500px) {
  #main .posts-list .post-items .post-item-big .item {
    padding-top: 100%;
  }
}
@media only screen and (min-width: 770px) and (min-height: 500px) {
  #main .posts-list .post-items .post-item-big .item .post-item-inner > .container .post-item-excerpt {
    max-height: 300px;
  }
}
#main .posts-list .post-items .flickity-slider .item {
  position: relative;
  display: block;
  width: 70%;
  height: 270px;
  margin: 10px;
  padding-top: 0;
  aspect-ratio: unset;
}
@media only screen and (min-width: 770px) and (min-height: 500px) {
  #main .categories-list {
    padding: 10px 30px;
    margin: 0 auto;
    max-width: 1200px;
  }
}
#main .categories-list .categories-items .item {
  width: 70%;
  height: 140px;
  margin: 10px;
  padding: 20px;
  background: #eee;
  border: 1px solid #eee;
  filter: grayscale(100%);
  border-radius: 8px;
  transition: all 0.2s linear;
}
@media only screen and (min-width: 770px) and (min-height: 500px) {
  #main .categories-list .categories-items .item {
    width: 170px;
  }
}
#main .categories-list .categories-items .item:hover {
  background: #fff;
  filter: grayscale(0);
}
#main .categories-list .categories-items .item .category-item-title {
  font-size: 11pt;
  line-height: 30px;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-top: 70px;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 64px;
  color: #0069ff;
}
#main .archive-list .archive-list-title {
  font-size: 12pt;
  font-family: "Shabnam-Bold-FD", Tahoma, monospace;
  line-height: 40px;
  width: 100%;
  margin: 0 0 10px 0;
  padding-right: 35px;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 25px;
  background-image: url("/asset/img/icon/posts.svg");
  border-bottom: 2px solid rgba(0, 105, 255, 0.1);
}
#main .archive-list .archive-item {
  overflow: hidden;
  padding: 20px;
  line-height: 30px;
  border-radius: 4px;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.2s linear;
}
#main .archive-list .archive-item:hover {
  background: #fcfcfc;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}
#main .archive-list .archive-item .post-item-category {
  position: relative;
  display: inline-block;
  color: #1fc198;
  background: #b8f4e5;
  line-height: 30px;
  padding: 0 10px;
  margin-left: 5px;
  font-family: "Shabnam-Bold-FD", Tahoma, monospace;
  font-size: 9pt;
  border-radius: 20px;
  transition: all 0.2s linear;
}
#main .archive-list .archive-item .post-item-category:hover {
  color: #b8f4e5;
  background: #1fc198;
}
#main .archive-list .archive-item .post-item-title {
  font-family: "Shabnam-Bold", Tahoma, monospace;
  font-size: 14pt;
  color: #0069ff;
}
#main .archive-list .archive-item .post-item-excerpt {
  font-size: 11pt;
}
#main .archive-list .archive-item .post-item-date {
  position: relative;
  display: inline-block;
  color: #ccc;
  font-size: 9pt;
  padding-right: 25px;
  background-repeat: no-repeat;
  background-position: right 3px;
  background-size: 20px;
  background-image: url("/asset/img/icon/calendar-gray.svg");
}
#main .archive-list .no-post-found {
  text-align: center;
  font-size: 11pt;
  font-family: "Shabnam-Bold-FD", Tahoma, monospace;
  color: #666;
  background: rgba(102, 102, 102, 0.1);
  padding: 50px 15px;
  margin: 20px 0;
  border-radius: 20px;
  transition: all 0.2s linear;
}

@supports (aspect-ratio: 1/1) {
  #main .posts-list .post-items .item {
    padding-top: 0;
    aspect-ratio: 1/1;
  }
  @media only screen and (min-width: 770px) and (min-height: 500px) {
    #main .posts-list .post-items .item {
      padding-top: 0;
    }
  }
  #main .posts-list .post-items .post-item-big .item {
    padding-top: 0;
  }
}
/***** Single *****/
#main #post .post-date-holder {
  line-height: 35px;
}
#main #post .post-date-holder .post-date {
  position: relative;
  display: inline-block;
  color: #ccc;
  padding-right: 30px;
  background-repeat: no-repeat;
  background-position: right 3px;
  background-size: 25px;
  background-image: url("/asset/img/icon/calendar-gray.svg");
}
#main #post .post-author-holder {
  text-align: right;
  line-height: 35px;
}
@media only screen and (min-width: 770px) and (min-height: 500px) {
  #main #post .post-author-holder {
    text-align: left;
  }
}
#main #post .post-author-holder .post-author {
  position: relative;
  display: inline-block;
  color: #ccc;
  padding-right: 30px;
  background-repeat: no-repeat;
  background-position: right 3px;
  background-size: 25px;
  background-image: url("/asset/img/icon/edit-profile-gray.svg");
  transition: all 0.2s linear;
}
#main #post .post-author-holder .post-author:hover {
  color: #0069ff;
}
#main #post .post-rate-holder {
  text-align: left;
  height: 20px;
}
@media only screen and (min-width: 770px) and (min-height: 500px) {
  #main #post .post-rate-holder {
    text-align: center;
  }
}
#main #post .post-rate-holder .rating-stars {
  float: unset;
  margin: 0 auto;
  cursor: pointer;
}
#main #post .post-rate-holder .rating-stars .rate-star {
  width: 20px;
  line-height: 20px;
}
#main #post .post-rate-holder .rating-stars .rate-star:before {
  line-height: 20px;
  font-size: 12pt;
}
#main #post .post-taggables {
  line-height: 35px;
  padding-right: 40px;
  background-repeat: no-repeat;
  background-position: right 5px;
  background-size: 25px;
  background-image: url("/asset/img/icon/tags-gray.svg");
}
#main #post .post-taggables.post-categories {
  background-image: url("/asset/img/icon/categories-gray.svg");
}
#main #post .post-taggables .post-taggable {
  position: relative;
  display: inline-block;
  color: #1fc198;
  background: #b8f4e5;
  line-height: 30px;
  padding: 0 10px;
  margin-left: 5px;
  font-family: "Shabnam-Bold-FD", Tahoma, monospace;
  font-size: 9pt;
  border-radius: 20px;
  transition: all 0.2s linear;
}
#main #post .post-taggables .post-taggable:hover {
  color: #b8f4e5;
  background: #1fc198;
}
#main #post .post-cover {
  height: auto;
  width: auto;
  max-height: 50vh;
  max-width: 100%;
  margin: 20px auto 0 auto;
}
#main #post .post-content {
  font-size: 12pt;
  text-align: right;
  line-height: 35px;
  margin: 20px 0;
}
#main #post #post-rating {
  text-align: center;
  margin: 10px 0;
  line-height: 40px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 10px;
}
#main #post #post-rating .post-rating-text {
  font-size: 10pt;
  color: #999;
  text-align: center;
}
@media only screen and (min-width: 770px) and (min-height: 500px) {
  #main #post #post-rating .post-rating-text {
    width: auto;
    float: right;
  }
}

/***** Night Mode *****/
body.night-mode #main .search-posts-holder .search-posts-results {
  background: #212930;
  box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.1);
}
body.night-mode #main .search-posts-holder .search-posts-results .search-posts-results-inner .search-post-result .search-post-result-category {
  color: #b8f4e5;
  background: #1fc198;
}
body.night-mode #main .search-posts-holder #searchposts {
  box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.1);
}
body.night-mode #main .post-items .item {
  box-shadow: 0 0 5px 0 rgba(255, 255, 255, 0.1);
}
body.night-mode #main .post-items .item:hover {
  background: #1f262d;
  box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.2);
}
body.night-mode #main .post-items .item .post-item-inner > .container .post-item-category {
  color: #b8f4e5;
  background: #1fc198;
}
body.night-mode #main .post-items .item .post-item-inner > .container .post-item-category:hover {
  color: #1fc198;
  background: #b8f4e5;
}
body.night-mode #main .categories-list .categories-items .item {
  background: #212930;
  border: 1px solid #4b5d6c;
}
body.night-mode #main .categories-list .categories-items .item:hover {
  background: #36434e;
}
body.night-mode #main .categories-list .categories-items .item .category-item-title {
  color: #eee;
}
body.night-mode #main .archive-list .archive-item {
  box-shadow: 0 0 5px 0 rgba(255, 255, 255, 0.1);
}
body.night-mode #main .archive-list .archive-item:hover {
  background: #1f262d;
  box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.2);
}
body.night-mode #main #post .post-taggables .post-taggable {
  color: #b8f4e5;
  background: #1fc198;
}
body.night-mode #main #post .post-taggables .post-taggable:hover {
  color: #1fc198;
  background: #b8f4e5;
}
