/* font-family IRANSansX */
@font-face {
  font-family: IRANSansX;
  font-style: normal;
  font-weight: lighter;
  src: url('../fonts/IranSansX/IRANSansXFaNum-Thin.woff') format('woff'),
    url('../fonts/IranSansX/IRANSansXFaNum-Thin.woff2') format('woff2'),
    url("../fonts/IranSansX/IRANSansXFaNum-Thin.ttf") format("truetype");
}

@font-face {
  font-family: IRANSansX;
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/IranSansX/IRANSansXFaNum-Light.woff') format('woff'),
    url('../fonts/IranSansX/IRANSansXFaNum-Light.woff2') format('woff2'),
    url("../fonts/IranSansX/IRANSansXFaNum-Light.ttf") format("truetype");
}

@font-face {
  font-family: IRANSansX;
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/IranSansX/IRANSansXFaNum-Regular.woff') format('woff'),
    url('../fonts/IranSansX/IRANSansXFaNum-Regular.woff2') format('woff2'),
    url("../fonts/IranSansX/IRANSansXFaNum-Regular.ttf") format("truetype");
}

@font-face {
  font-family: IRANSansX;
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/IranSansX/IRANSansXFaNum-Medium.woff') format('woff'),
    url('../fonts/IranSansX/IRANSansXFaNum-Medium.woff2') format('woff2'),
    url("../fonts/IranSansX/IRANSansXFaNum-Medium.ttf") format("truetype");
}

@font-face {
  font-family: IRANSansX;
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/IranSansX/IRANSansXFaNum-DemiBold.woff') format('woff'),
    url('../fonts/IranSansX/IRANSansXFaNum-DemiBold.woff2') format('woff2'),
    url("../fonts/IranSansX/IRANSansXFaNum-DemiBold.ttf") format("truetype");
}

@font-face {
  font-family: IRANSansX;
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/IranSansX/IRANSansXFaNum-Bold.woff') format('woff'),
    url('../fonts/IranSansX/IRANSansXFaNum-Bold.woff2') format('woff2'),
    url("../fonts/IranSansX/IRANSansXFaNum-Bold.ttf") format("truetype");
}


@font-face {
  font-family: IRANSansX;
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/IranSansX/IRANSansXFaNum-Black.woff') format('woff'),
    url('../fonts/IranSansX/IRANSansXFaNum-Black.woff2') format('woff2'),
    url("../fonts/IranSansX/IRANSansXFaNum-Black.ttf") format("truetype");
}

@font-face {
  font-family: IRANSansX;
  font-style: normal;
  font-weight: 1000;
  src: url('../fonts/IranSansX/IRANSansXFaNum-Heavy.woff') format('woff'),
    url('../fonts/IranSansX/IRANSansXFaNum-Heavy.woff2') format('woff2'),
    url("../fonts/IranSansX/IRANSansXFaNum-Heavy.ttf") format("truetype");
}


:root,
[data-bs-theme=light] {

  --bs-font-sans-serif: IRANSansX;
  --bs-body-font-weight: 300;
  --bs-navbar-active-color: var(--bs-primary);
  --bs-link-color-rgb: var(--bs-body-color);

}

[data-bs-theme=dark] {
  color-scheme: dark;

}

a {
  text-decoration: none;
}


.link:hover {
  color: var(--bs-secondary);
}

.text-justify {
  text-align: justify;
}

.swiper-wrapper {
  padding-bottom: 70px;
}

.swiper-pagination-bullet {
  width: 21px;
  height: 21px;
}


.header_logo {
  width: 50px;
}


.w-30px {
  width: 30px !important;
}

.w-50px {
  width: 50px !important;
}

.w-100px {
  width: 100px !important;
}

.h-30px {
  height: 30px !important;
}

.h-50px {
  height: 50px !important;
}

.h-100px {
  height: 100px !important;
}

.fw-heavy {
  font-weight: 1000 !important;
}


.f-24px {
  font-size: 24px !important;
}


.text-1-lines {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-2-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-3-lines {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-4-lines {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-5-lines {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.grayscale-effect {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.grayscale-effect:hover {
  filter: grayscale(0%);
}


.sidebar .sidebar-item .widget-title {
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 10px;
  margin-bottom: 25px;
  position: relative;
  font-size: 19px;
}

.sidebar .sidebar-item .widget-title::before {
  left: auto;
  right: 0;
  content: '';
  position: absolute;
  background: var(--bs-primary);
  bottom: -1px;
  left: 0;
  width: 50px;
  height: 2px;
}

.reply-form-container {
  transition: all 0.3s ease;
  border-right: 3px solid #007bff;
  padding-right: 15px;
}

.comment-form {
  margin-bottom: 1rem;
}

.comment-box {
  margin-bottom: 1.5rem;
}

.replies {
  border-right: 2px solid #eee;
  padding-right: 1rem;
  margin-right: 10px;
}

.comment-date {
  font-size: 0.85rem;
}

.atlas-comment-content {
  line-height: 1.8;
}


.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignright {
  float: right;
  margin: 0.5em 0 0.5em 1em;
}

.alignleft {
  float: left;
  margin: 0.5em 1em 0.5em 0;
}


.title_line {
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 10px;
  position: relative;
}

.title_line::before{
  left: auto;
  right: 0;
  content: '';
  position: absolute;
  background: var(--bs-primary);
  bottom: -1px;
  left: 0;
  width: 15%;
  height: 2px;
}



@media (max-width: 900px) {}

@media (max-width: 768px) {}

@media (max-width: 576px) {}


.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

body.no-scroll {
  overflow: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid var(--bs-primary);
  border-top: 5px solid var(--bs-secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}