﻿:root {
  --tp-primary-color: #1f2d40;
  --tp-secondary-color: #f28700;
  --tp-success-color: #34c759;
  --tp-success-color: #34c759;
  --tp-info-color: #00aaef;
  --tp-warning-color: #ff9f38;
  --tp-danger-color: #ff453a;
  --tp-border-color: #dee2e6;
  --tp-card-color: #dbdbdb;
  --tp-background-color: #ebedef;
  --tp-text-color: #212529;
  --tp-input-color: #F9F9F9;
  --tp-heading-color: #212529;
  --tp-menu-item-color: #909398;
  --tp-white-color: #fff;
  --tp-black-color: #000;
  --tp-border-radius-small: 4px;
  --tp-border-radius-medium: 8px;
  --tp-border-radius-large: 16px;
  --tp-border-radius-circle: 50%;
}

:root {
  --mud-palette-primary: var(--tp-primary-color) !important;
}

:root {
  --bs-primary: #1f2d40;
  --bs-primary-active: #344864;
}

:root {
  --kendo-color-primary: #1f2d40;
  --kendo-color-primary-hover: #344864;
  --kendo-color-primary-active: #344864;
  --kendo-color-primary-on-surface: #1f2d40;
}

/******************** METRONIC OVERRIDE ********************/
.app-default.web-default {
  background-color: var(--tp-white-color);
}
@media (max-width: 480px) {
  .app-default.web-default .app-container {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
}
@media (min-width: 992px) {
  .app-default.web-default .app-container {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
}
@media (max-width: 768px) {
  .app-default.web-default .app-main {
    margin-bottom: 0;
    margin-top: 30px;
  }
}
@media (max-width: 480px) {
  .app-default.web-default .app-navbar .app-navbar-item i {
    font-size: 24px !important;
  }
}
.app-default.web-default .page-content {
  margin-bottom: 40px;
}
.app-default.web-default .has-hero .app-header {
  background-color: white;
}

@media (min-width: 992px) {
  [data-kt-app-header-minimize=on] .has-hero .app-header {
    transition: none;
    z-index: 100;
    background-color: var(--bs-app-header-minimize-bg-color) !important;
    box-shadow: var(--bs-app-header-minimize-box-shadow);
    border-bottom: var(--bs-app-header-minimize-border-bottom);
  }
}
@media (min-width: 992px) {
  [data-kt-app-header-fixed=true] .has-hero .app-wrapper {
    margin-top: 0;
  }
}
.breadcrumb .breadcrumb-item:last-child {
  cursor: not-allowed;
  pointer-events: none;
}
.breadcrumb .breadcrumb-item:last-child a {
  color: #909090;
}

/******************** MUD OVERRIDE ********************/
.mud-button-root {
  font-family: "IRANSansXFaNum";
}

.mud-typography {
  font-family: "IRANSansXFaNum";
}

.mud-picker-datepicker-toolbar .mud-button-date {
  font-size: 1.6rem;
}

.mud-picker-nav-button-prev svg {
  transform: rotateY(180deg);
}

.mud-picker-nav-button-next svg {
  transform: rotateY(180deg);
}

.mud-day-label {
  font-size: 9px;
}

.mud-picker-calendar .mud-day.mud-range.mud-range-start-selected {
  border-radius: 0 50% 50% 0;
  color: var(--tp-white-color) !important;
}
.mud-picker-calendar .mud-day.mud-range.mud-range-end-selected {
  border-radius: 50% 0 0 50%;
}

@media (hover: hover) and (pointer: fine) {
  .mud-picker-calendar .mud-day.mud-range.mud-range-selection:hover:not(.mud-range-start-selected) {
    border-radius: 50% 0 0 50%;
  }
}
.mud-input-control {
  margin: 0;
}

.mud-input {
  height: 42px;
  background-color: var(--tp-input-color);
  border: 1px solid var(--kendo-color-border, rgba(0, 0, 0, 0.08));
  padding-left: 10px;
}
.mud-input input {
  text-align: center;
  font-family: "IRANSansXFaNum" !important;
}
.mud-input .mud-range-input-separator {
  transform: rotate(180deg);
}

.mud-input.mud-input-underline:before {
  display: none;
}

.mud-input.mud-input-underline:hover:not(.mud-disabled):before {
  display: none;
}

.mud-input:focus-within.mud-input-underline:after {
  display: none;
}

/******************** CUSTOM NUMERIC TEXTBOX ********************/
.tp-numeric-box {
  width: 100%;
  max-width: 200px;
  position: relative;
}
.tp-numeric-box .k-input-inner {
  padding: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
  position: absolute;
  z-index: 1;
}
.tp-numeric-box .k-input-spinner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-left: 5px;
  padding-right: 5px;
}
.tp-numeric-box .k-input-spinner .k-button {
  width: 30px;
  max-width: 30px;
  height: 30px;
  background-color: var(--tp-primary-color);
  color: var(--tp-white-color);
  border-radius: var(--tp-border-radius-medium);
  z-index: 2;
  border-inline-start-width: 0;
}

/******************** CUSTOM BUTTON GROUP ********************/
.tp-button-group {
  padding: 5px;
  background-color: rgb(249, 249, 249);
  border: 1px solid rgb(222, 226, 230);
  border-radius: var(--tp-border-radius-medium);
}
.tp-button-group .k-button {
  background-color: rgb(249, 249, 249);
  border-color: rgb(249, 249, 249);
}
.tp-button-group .k-button.k-selected {
  background-color: var(--tp-primary-color);
}
.tp-button-group .k-button:first-child:not(:only-child) {
  border-start-end-radius: 0.375rem;
  border-end-end-radius: 0.375rem;
  margin-left: 5px;
}
.tp-button-group .k-button:not(:first-child):not(:last-child) {
  border-start-end-radius: 0.375rem;
  border-end-end-radius: 0.375rem;
  border-start-start-radius: 0.375rem;
  border-end-start-radius: 0.375rem;
  margin-left: 5px;
}
.tp-button-group .k-button:last-child:not(:only-child) {
  border-start-start-radius: 0.375rem;
  border-end-start-radius: 0.375rem;
}

/******************** CUSTOM ALERT BOX ********************/
.tp-alert-box {
  width: 100%;
  background: #fff;
  padding: 15px;
  border-radius: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 1px 1px 10px 5px rgba(0, 0, 0, 0.08) !important;
}
@media (max-width: 480px) {
  .tp-alert-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

.tp-alert-box.success-box {
  border-right: 10px solid var(--tp-success-color);
}
.tp-alert-box.success-box .tp-alert-icon i {
  color: var(--tp-success-color);
}

.tp-alert-box.warning-box {
  border-right: 10px solid var(--tp-warning-color);
}
.tp-alert-box.warning-box .tp-alert-icon i {
  color: var(--tp-warning-color);
}

.tp-alert-box.error-box {
  border-right: 10px solid var(--tp-danger-color);
}
.tp-alert-box.error-box .tp-alert-icon i {
  color: var(--tp-danger-color);
}

.tp-alert-box.info-box {
  border-right: 10px solid var(--tp-primary-color);
}
.tp-alert-box.info-box .tp-alert-icon i {
  color: var(--tp-primary-color);
}

.tp-alert-icon {
  width: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tp-alert-icon i {
  font-size: 40px;
}

.tp-alert-content {
  width: 100%;
}
.tp-alert-content h5 {
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 600;
}
.tp-alert-content p {
  margin-bottom: 0;
  line-height: 1.5;
}

/******************** GLOBAL ********************/
html,
body * {
  scrollbar-color: var(--tp-primary-color) transparent !important;
  scrollbar-width: auto;
}

.modal.show {
  z-index: 10003;
}

label.tp-form-label {
  margin-bottom: 0.5rem;
}

.converted-price-text {
  font-size: 12px;
  color: var(--tp-danger-color);
  margin-top: 0.25rem;
  display: flex;
}

.no-data-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.no-data-container .no-data-text {
  background-color: var(--tp-white-color);
  padding: 7px 15px;
  border-radius: var(--tp-border-radius-small);
}

.full-loader-container {
  width: 100%;
  min-height: 500px;
  height: 100%;
  position: relative;
  margin: 0 auto;
}
.full-loader-container .k-loader-container {
  z-index: 0;
  word-break: break-all;
}
.full-loader-container .k-loader-container .k-loader-container-overlay {
  border-radius: 0.625rem;
}

.loader-indicator {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-legend .k-form-legend {
  display: none;
}

.form-error {
  display: flex;
  color: var(--tp-danger-color);
  font-size: 12px;
  margin-top: 5px;
}

.tp-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--tp-border-color);
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.tp-card-header i {
  font-size: 22px;
}
.tp-card-header h3 {
  margin-bottom: 0;
}
.tp-card-header h5 {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .card .card-body {
    padding: 1rem 1.5rem;
  }
}
.empty-state-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  text-align: center;
}

.empty-state {
  max-width: 500px;
  padding: 2rem;
}

.empty-state-icon {
  font-size: 4rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.snackbar .snackbar-show .snackbar-body {
  z-index: 20020 !important;
  white-space: normal;
}

.snackbar-stack-bottom-end {
  z-index: 20001 !important;
}

.public-inner-page {
  min-height: 600px;
  padding-bottom: 40px;
}

.error-page {
  width: 100vw;
  height: 100vh;
}
.error-page .error-page-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}
.error-page .error-page-wrapper img {
  width: 500px;
}
@media (max-width: 480px) {
  .error-page .error-page-wrapper img {
    width: 200px;
  }
}
.error-page .error-page-wrapper .error-page-btn a {
  background-color: var(--tp-primary-color);
  color: var(--tp-white-color);
  padding: 10px 25px;
  border-radius: var(--tp-border-radius-large);
  display: flex;
  align-items: center;
  gap: 5px;
}

#components-reconnect-modal {
  display: none;
  transition: visibility 0s linear 1000ms;
}

#components-reconnect-modal.components-reconnect-show,
#components-reconnect-modal.components-reconnect-failed,
#components-reconnect-modal.components-reconnect-rejected {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5) !important;
  width: 300px;
  height: 150px;
  position: fixed;
  top: 10px;
  right: auto;
  left: 90px;
  bottom: 0;
  z-index: 40006 !important;
}

#components-reconnect-modal.components-reconnect-show .reconnect-modal-content,
#components-reconnect-modal.components-reconnect-failed .reconnect-modal-content,
#components-reconnect-modal.components-reconnect-rejected .reconnect-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  height: max-content;
  background-color: var(--tp-white-color);
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
  font-size: 12px;
}

#components-reconnect-modal h4,
#components-reconnect-modal h5 {
  font-size: 12px !important;
}

#components-reconnect-modal .reconnect-modal-btn {
  display: none;
  background-color: var(--tp-primary-color);
  color: var(--tp-white-color);
  margin: 0 !important;
  padding: 7px 10px;
  font-size: 12px;
}

#components-reconnect-modal.components-reconnect-failed .reconnect-modal-btn {
  display: block;
}

#blazor-error-ui {
  width: 100vw !important;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5) !important;
  padding: 0 !important;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  display: none;
  position: fixed;
  z-index: 9999999999999 !important;
  align-items: center;
  justify-content: center;
}

.blazor-error-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.5) !important;
}

.blazor-error-content {
  background-color: var(--tp-white-color) !important;
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
  width: max-content;
  height: max-content;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.blazor-error-content h4 {
  color: #333;
}
.blazor-error-content h5 {
  color: #333;
}

.blazor-error-header a {
  color: #ffffff !important;
  font-size: 22px;
  cursor: pointer;
}
.blazor-error-header h5 {
  margin-bottom: 0;
  font-size: 20px;
}

.blazor-error-body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.blazor-error-body environment {
  color: var(--tp-primary-color);
}

.blazor-error-img {
  background-image: url("images/shared/issue accured.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 400px;
  height: 400px;
}

.blazor-error-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.blazor-error-footer button {
  border: 1px solid var(--tp-primary-color);
  color: var(--tp-primary-color);
  padding: 8px 16px;
  border-radius: 8px;
}
.blazor-error-footer a {
  background-color: var(--tp-primary-color);
  color: var(--tp-white-color);
  padding: 8px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.blazor-error-footer a i {
  font-size: 18px;
}
.blazor-error-footer a.home-btn {
  background-color: #f28700;
  color: var(--tp-primary-color);
}

.code-textarea textarea {
  text-align: left;
  direction: ltr;
  height: 100%;
  min-height: 500px;
}

/******************** PAGE FILTERS ********************/
.page-filters .k-panelbar {
  border: none;
}
.page-filters .k-link .k-panelbar-item-text {
  font-size: 18px;
}
.page-filters .k-link.k-selected {
  background-color: transparent !important;
  color: var(--kendo-color-primary) !important;
}
.page-filters .card-footer {
  padding-top: 15px;
  padding-bottom: 15px;
}
.page-filters .page-filters-buttons {
  display: flex;
  gap: 15px;
  justify-content: end;
}

.card-utils {
  align-self: center;
  margin-right: auto;
  margin-left: 5px;
  color: var(--bs-text-muted);
}

.page-filters .card-header.active .card-utils .closed-text {
  display: none;
}

.page-filters .card-header.collapsed .card-utils .collapse-text {
  display: none;
}

.sc-theme-dark .k-panelbar {
  background-color: var(--bs-card-bg);
  color: var(--tp-dark-text-color);
}
.sc-theme-dark .k-panelbar-item-text {
  color: var(--tp-dark-text-color);
}
.sc-theme-dark .k-panelbar-toggle {
  color: var(--tp-dark-text-color);
}

.no-bg-tab .k-tabstrip-content {
  background-color: transparent;
  border: none;
  border-width: 0;
}

/******************** WEBSITE HEADER ********************/
.website-header .tp-header-logo {
  height: 50px;
  margin: auto;
  margin-left: 20px;
}
.website-header .tp-header-logo a {
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.website-header .tp-header-logo a img {
  max-width: 100%;
  width: auto;
  height: 50px;
}
@media (max-width: 480px) {
  .website-header .tp-header-logo a img {
    height: 40px;
  }
}
.website-header .header-login-btn {
  display: flex;
  align-items: center;
  gap: 10px;
}
.website-header .navbar-cart-qty {
  background-color: var(--tp-danger-color);
  color: var(--tp-white-color);
  font-size: 11px;
  padding: 3px 5px;
  border-radius: var(--tp-border-radius-small);
  position: absolute;
  top: 2px;
  left: 3px;
}
.website-header .app-navbar .header-wallet-toolbar {
  display: none;
}

.website-tickets-wrapper.tickets-card-wrapper {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.website-tickets-wrapper.tickets-card-wrapper .ticket-btn-footer {
  gap: 10px;
}
.website-tickets-wrapper.tickets-card-wrapper .ticket-btn-footer .k-numerictextbox {
  max-width: 140px;
}

/******************** WEBSITE FOOTER ********************/
.footer-container {
  width: 100%;
  background-color: rgba(238, 240, 241, 0.7215686275);
  padding: 70px 0;
}
.footer-container .footer-widgets {
  width: 100%;
  display: grid;
  gap: 20px;
}
@media (max-width: 480px) {
  .footer-container .footer-widgets {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    gap: 70px !important;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .footer-container .footer-widgets {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 80px !important;
  }
}
.footer-container .footer-widget {
  padding-right: 10px;
  padding-left: 10px;
}
.footer-container .footer-widget .footer-logo {
  margin-bottom: 20px;
  height: 60px;
}
.footer-container .footer-widget .footer-logo img {
  height: 100%;
  max-width: 100%;
}
.footer-container .footer-widget .footer-text {
  font-size: 13px;
  color: var(--fs-menu-item-color);
  margin-bottom: 20px;
  line-height: 1.8;
}
.footer-container .footer-widget .footer-social-icons ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  row-gap: 15px;
  column-gap: 50px;
}
.footer-container .footer-widget .footer-social-icons ul img {
  max-width: 36px;
}
.footer-container .footer-widget .footer-widget-heading {
  font-size: 18px;
  font-weight: 600;
  color: var(--fs-secondary-color);
  margin-bottom: 15px;
}
.footer-container .footer-widget .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-container .footer-widget .footer-links ul a {
  text-decoration: none;
  color: var(--fs-menu-item-color) !important;
  display: flex;
  gap: 7px;
  align-items: center;
}
.footer-container .footer-widget .footer-links ul a:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--fs-secondary-color);
}
.footer-container .footer-widget .footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-container .footer-widget .footer-contact ul a {
  text-decoration: none;
  color: var(--fs-menu-item-color) !important;
  display: flex;
  gap: 7px;
  align-items: center;
}
.footer-container .footer-widget .footer-contact ul a i {
  font-family: "Font Awesome 6 Pro";
  color: var(--fs-secondary-color);
}
.footer-container .footer-widget .footer-certificates {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/******************** ARCHIVE PAGE ******************/
.archive-page-header {
  text-align: center;
  align-items: center;
  font-size: 24px;
  margin-bottom: 20px;
  padding: 16px;
  border-right: 10px solid var(--fs-secondary-color);
  color: #333;
  display: flex;
  background-color: #dcdcdc;
  border-radius: 10px;
}
.archive-page-header h2 {
  margin-bottom: 0;
}

.archive-page-top {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

@media (max-width: 480px) {
  .archive-page-top {
    flex-direction: column;
    gap: 10px;
  }
}
.archive-featured-article-img {
  width: 40%;
  min-width: 40%;
  position: relative;
}
.archive-featured-article-img a {
  display: flex;
  width: 100%;
  height: 346px;
  text-decoration: none;
}
.archive-featured-article-img a img {
  width: 100%;
  object-fit: cover;
  object-position: center center;
}
.archive-featured-article-img .title-on-image {
  position: absolute;
  background-color: var(--fs-secondary-color);
  padding: 15px 30px;
  bottom: 0;
  right: 0;
  left: 0;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
}

@media (max-width: 480px) {
  .archive-featured-article-img {
    width: 100%;
  }
  .archive-featured-article-img a {
    height: 250px;
  }
  .archive-featured-article-img .title-on-image {
    padding: 15px;
    font-size: 13px;
  }
}
.archive-featured-article-side {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 346px;
}
@media (max-width: 480px) {
  .archive-featured-article-side {
    height: max-content;
  }
}
.archive-featured-article-side a {
  text-decoration: none;
  color: var(--fs-primary-color);
}
.archive-featured-article-side .archive-featured-article-content h1 {
  font-size: 24px;
}
.archive-featured-article-side .archive-featured-article-content span {
  color: #afafaf;
  font-size: 13px;
  display: flex;
  margin-bottom: 10px;
  align-items: center;
  gap: 5px;
}
.archive-featured-article-side .archive-featured-article-content h2 {
  font-size: 16px;
}
.archive-featured-article-side .archive-featured-article-content p {
  font-size: 14px;
}

@media (max-width: 480px) {
  .archive-featured-article-side {
    width: 100%;
    gap: 10px;
  }
  .archive-featured-article-side .title-on-image {
    padding: 15px;
    font-size: 13px;
  }
}
.archive-featured-posts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.archive-featured-posts h3 {
  font-size: 18px;
}

.archive-featured-posts-wrapper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.archive-featured-posts-wrapper img {
  border-radius: 8px;
  margin-bottom: 5px;
  height: 120px;
  width: 100%;
  object-fit: cover;
  object-position: center center;
}
.archive-featured-posts-wrapper h5 {
  font-size: 13px;
}

@media (max-width: 480px) {
  .archive-featured-posts-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.archive-featured-article {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.archive-featured-article .archive-featured-article-content {
  width: 100%;
}
.archive-featured-article .archive-featured-article-content h5 {
  font-size: 20px;
  margin-top: 15px;
  color: var(--fs-heading-color);
}
.archive-featured-article .archive-featured-article-content p {
  font-size: 16px;
  color: var(--fs-text-color);
  margin: 10px 0;
}
.archive-featured-article .archive-featured-article-content .tp-fs-arrow {
  display: flex;
  justify-content: end;
}
.archive-featured-article img {
  object-fit: cover;
  border-radius: 10px;
}

.archive-content-wrapper {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}
@media (max-width: 480px) {
  .archive-content-wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
.archive-content-wrapper .archive-content-posts {
  width: 100%;
  flex: 1;
}
.archive-content-wrapper .archive-content-posts .archive-posts-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 480px) {
  .archive-content-wrapper .archive-content-posts .archive-posts-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 481px) and (max-width: 1200px) {
  .archive-content-wrapper .archive-content-posts .archive-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
.archive-content-wrapper .archive-post-item {
  box-shadow: 1px 1px 5px 5px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
}
.archive-content-wrapper .archive-post-item .archive-post-item-img {
  width: 100%;
  height: 180px;
}
.archive-content-wrapper .archive-post-item .archive-post-item-img img {
  width: 100%;
  height: 180px;
  max-height: 180px;
  object-fit: cover;
  object-position: center center;
  border-radius: 16px 16px 0 0;
}
.archive-content-wrapper .archive-post-item .archive-post-item-content {
  padding: 15px 15px 25px;
  display: flex;
  flex-direction: column;
}
.archive-content-wrapper .archive-post-item .archive-post-item-content .archive-post-item-title {
  height: 50px;
  overflow: hidden;
}
.archive-content-wrapper .archive-post-item .archive-post-item-content .archive-post-item-title h5 {
  font-size: 17px;
  margin-bottom: 0;
  font-weight: bold;
}
.archive-content-wrapper .archive-post-item .archive-post-item-content .archive-post-item-description {
  height: 40px;
  font-size: 13px;
  overflow: hidden;
  margin-bottom: 15px;
}
.archive-content-wrapper .archive-page-sidebar {
  flex: 1;
  max-width: 300px;
}

.archive-banners-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}
.archive-banners-wrapper .archive-banner-item {
  width: 50%;
  flex: 1;
  display: flex;
  height: auto;
  max-height: auto;
}
.archive-banners-wrapper .archive-banner-item a {
  display: flex;
  width: 100%;
  height: auto;
}
.archive-banners-wrapper .archive-banner-item img {
  max-width: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--tp-border-radius-medium);
}

@media (max-width: 480px) {
  .archive-banners-wrapper {
    flex-direction: column;
  }
  .archive-banners-wrapper .archive-banner-item {
    width: 100%;
  }
}
/******************** SINGLE POST PAGE ********************/
.single-post-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}
@media (max-width: 480px) {
  .single-post-wrapper {
    flex-direction: column;
  }
}
.single-post-wrapper .single-post-sidebar {
  width: 100%;
  max-width: 300px;
}
@media (max-width: 480px) {
  .single-post-wrapper .single-post-sidebar {
    max-width: 100%;
  }
}
.single-post-wrapper .single-post-sidebar-widget-title {
  border-bottom: 1px solid var(--fs-primary-color);
  padding-bottom: 5px;
  margin-bottom: 15px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  color: var(--fs-primay-color);
}

.single-post-main {
  width: 100%;
  max-width: 100%;
  background-color: var(--fs-white-color);
  box-shadow: 1px 1px 5px 5px rgba(0, 0, 0, 0.04);
  padding: 15px;
  border-radius: 16px;
}
@media (min-width: 992px) {
  .single-post-main {
    max-width: calc(100% - 330px);
  }
}
.single-post-main .single-post-header {
  display: flex;
  gap: 20px;
}
.single-post-main .single-post-header .single-post-thumbnail {
  width: 50%;
  min-width: 50%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.single-post-main .single-post-header .single-post-thumbnail img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center center;
}
.single-post-main .single-post-header .single-post-thumbnail .title-on-image {
  position: absolute;
  background-color: var(--fs-secondary-color);
  color: var(--fs-white-color);
  padding: 15px;
  bottom: 0;
  right: 0;
  left: 0;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  font-size: 15px;
  font-weight: 500;
}
.single-post-main .single-post-header .single-post-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.single-post-main .single-post-header .single-post-meta h1 {
  font-size: 24px;
}
.single-post-main .single-post-header .single-post-meta h5 {
  font-size: 14px;
  font-weight: 500;
}
.single-post-main .single-post-header .single-post-meta .single-post-meta-date {
  margin-bottom: 5px;
}
.single-post-main .single-post-header .single-post-meta label {
  font-size: 13px;
  color: #909090;
  min-width: 60px;
}
.single-post-main .single-post-header .single-post-meta span {
  font-size: 13px;
  color: #909090;
}
.single-post-main .single-post-header .single-post-meta h2 {
  font-size: 18px;
}
.single-post-entry {
  margin-top: 30px;
}
.single-post-entry img {
  max-width: 100%;
}
.single-post-entry ul {
  padding-right: 20px;
  list-style: disc;
}

.h_iframe-aparat_embed_frame {
  height: 540px;
}

@media (max-width: 480px) {
  .h_iframe-aparat_embed_frame {
    height: 180px;
  }
}
.single-post-tags {
  width: 100%;
  border-top: 2px solid var(--fs-border-color);
  padding-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.single-post-tags h5 {
  margin-bottom: 0;
  min-width: 80px;
}

.single-tags-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.single-tags-wrapper a {
  text-decoration: none;
  background-color: var(--fs-background-color);
  padding: 5px 10px;
  border-radius: 32px;
  font-size: 13px;
  min-width: max-content;
}
.single-tags-wrapper a:hover {
  background-color: var(--fs-primary-color);
  color: var(--fs-white-color);
}

@media (max-width: 480px) {
  .single-post-header {
    flex-direction: column-reverse !important;
    gap: 30px !important;
  }
  .single-post-header .single-post-title {
    width: 100% !important;
    flex-direction: column;
    padding: 12px 0px !important;
  }
  .single-post-header .single-post-title .single-post-both {
    gap: 30px;
  }
  .single-post-header .single-post-thumbnail {
    width: 100% !important;
  }
  .single-post-both {
    justify-content: space-between;
    padding: 0;
    font-size: small;
  }
  .single-post-both h1 {
    font-size: small !important;
  }
}
.single-banners-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}
.single-banners-wrapper .single-banner-item {
  width: 50%;
  flex: 1;
  display: flex;
  height: auto;
  max-height: auto;
}
.single-banners-wrapper .single-banner-item a {
  display: flex;
  width: 100%;
  height: auto;
}
.single-banners-wrapper .single-banner-item img {
  max-width: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--tp-border-radius-medium);
}

@media (max-width: 480px) {
  .single-banners-wrapper {
    flex-direction: column;
  }
  .single-banners-wrapper .single-banner-item {
    width: 100%;
  }
}
.single-related-posts {
  width: 100%;
  border-top: 2px solid var(--fs-border-color);
  padding-top: 15px;
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.single-related-posts .single-related-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 480px) {
  .single-related-posts .single-related-posts-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
.single-related-posts .single-related-post-item {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--tp-border-color);
  padding: 10px;
  border-radius: var(--tp-border-radius-small);
}
.single-related-posts .single-related-post-item img {
  max-width: 100%;
  width: 50px;
  height: 50px;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--tp-border-radius-small);
}
.single-related-posts .single-related-post-item:hover {
  background-color: var(--tp-primary-color);
}
.single-related-posts .single-related-post-item:hover h5 {
  color: var(--tp-white-color);
}

/******************** CMS PAGES SIDEBAR ******************/
.related-posts-widget {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: var(--fs-background-color);
  padding: 10px;
  border-radius: 10px;
}
.related-posts-widget .related-post-item {
  text-decoration: none;
  color: inherit;
  background-color: white;
  border-radius: 15px;
}
.related-posts-widget .related-post-item-wrapper {
  border: 1px solid #B3C6E6 !important;
  align-items: center;
  padding: 6px;
  border-radius: 15px;
  display: flex;
  gap: 10px;
}
.related-posts-widget .related-post-item-wrapper .related-post-img {
  height: 60px;
  width: 60px;
  min-width: 60px;
  display: flex;
  align-items: center;
}
.related-posts-widget .related-post-item-wrapper .related-post-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 6px;
}
.related-posts-widget .related-post-item-wrapper .related-post-title {
  color: #32445C;
  width: 100%;
}
.related-posts-widget .related-post-item-wrapper .related-post-title span {
  font-size: 13px;
}
.related-posts-widget .related-post-item-wrapper .related-post-title .tp-fs-arrow-icon {
  width: 100%;
  justify-content: end;
  align-items: end;
  display: flex;
}

.sidebar-banners-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}
.sidebar-banners-wrapper .sidebar-banner-item {
  width: 100%;
  flex: 1;
  display: flex;
  height: auto;
  max-height: auto;
}
.sidebar-banners-wrapper .sidebar-banner-item a {
  display: flex;
  width: 100%;
  height: 140px;
}
.sidebar-banners-wrapper .sidebar-banner-item img {
  max-width: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--tp-border-radius-medium);
}

/******************** LOGIN PAGE ********************/
.login-type .active-btn {
  background-color: var(--tp-primary-color);
  color: var(--tp-white-color);
}

.auth-form .k-textbox {
  margin-bottom: 15px;
}
.auth-form .k-textbox input {
  font-family: "IRANSansX";
}
.auth-form .divCaptach {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row-reverse;
  gap: 5px;
}
.auth-form .divCaptach .btn-refresh {
  height: 40px;
  width: 40px;
}
.auth-form .form-hint {
  display: flex;
  font-size: 12px;
  color: var(--tp-danger-color);
  margin-bottom: 15px;
  margin-top: 5px;
}
.auth-form .mobile-input {
  direction: ltr;
  text-align: left;
}
.auth-form .mobile-input input {
  direction: ltr;
  text-align: left;
}
.auth-form h4 {
  text-align: center;
  margin-bottom: 15px;
}
.auth-form .auth-field label {
  margin-bottom: 5px;
  width: 100%;
  text-align: center;
}
.auth-form .auth-field .k-textbox input {
  text-align: left;
  direction: ltr;
}

.web-auth-box-otp {
  width: max-content;
  margin-right: auto;
  margin-left: auto;
}
@media (max-width: 480px) {
  .web-auth-box-otp {
    width: 100%;
    max-width: 100%;
  }
}
.web-auth-box-otp .auth-box-no-item {
  width: 40px;
  height: 40px;
  text-align: center;
  color: var(--tp-white-color);
}

.auth-box-number-grid {
  display: grid;
  gap: 15px;
  direction: ltr;
}

.web-otp {
  display: flex;
}
@media (max-width: 480px) {
  .web-otp {
    display: none;
  }
}

.mobile-otp {
  display: none;
}
@media (max-width: 480px) {
  .mobile-otp {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
}

.auth-swap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  gap: 10px;
}
.auth-swap h5 {
  margin-bottom: 0;
}
