/* Styling for the course card on the frontend */

*,
:after,
:before {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-scroll-snap-strictness: proximity;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgba(59, 130, 246, 0.5);
  --tw-ring-offset-shadow: 0 0 transparent;
  --tw-ring-shadow: 0 0 transparent;
  --tw-shadow: 0 0 transparent;
  --tw-shadow-colored: 0 0 transparent;
}
*,
:after,
:before {
  border: 0 solid;
  box-sizing: border-box;
}
:after,
:before {
  --tw-content: "";
}
h2 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  text-decoration: inherit;
}
h2,
p {
  margin: 0;
}
:disabled {
  cursor: default;
}
img,
svg {
  display: block;
  vertical-align: middle;
}
img {
  height: auto;
  max-width: 100%;
}
.\!border-black-100 {
  --tw-border-opacity: 1 !important;
}
.bg-gold {
  --tw-bg-opacity: 1;
}
.text-orange {
  --tw-text-opacity: 1;
}
@media (min-width: 600px) {
  .sm\:flex {
    display: flex;
  }
}
@media (min-width: 900px) {
  .md\:mt-20 {
    margin-top: 20px;
  }
  .md\:mt-auto {
    margin-top: auto;
  }
  .md\:line-clamp-1 {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    overflow: hidden;
  }
  .md\:w-auto {
    width: auto;
  }
  .md\:justify-start {
    justify-content: flex-start;
  }
  .md\:gap-4 {
    gap: 4px;
  }
  .md\:gap-8 {
    gap: 8px;
  }
  .md\:\!rounded-sm {
    border-radius: 8px !important;
  }
  .md\:rounded-md {
    border-radius: 12px;
  }
  .md\:\!border-l {
    border-left-width: 1px !important;
  }
  .md\:\!border-r {
    border-right-width: 1px !important;
  }
  .md\:\!text-12 {
    font-size: 12px !important;
  }
  .md\:text-12 {
    font-size: 12px;
  }
  .md\:text-18 {
    font-size: 18px;
  }
  .md\:leading-snug {
    line-height: 1.375;
  }
}
.relative {
  position: relative;
}
.my-12 {
  margin-bottom: 12px;
  margin-top: 12px;
}
.mb-8 {
  margin-bottom: 8px;
}
.mt-12 {
  margin-top: 12px;
}
.mt-16 {
  margin-top: 16px;
}
.line-clamp-1 {
  -webkit-line-clamp: 1;
}
.line-clamp-1,
.line-clamp-2 {
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}
.line-clamp-2 {
  -webkit-line-clamp: 2;
}
.flex {
  display: flex;
}
.hidden {
  display: none;
}
.aspect-9\/5 {
  aspect-ratio: 9/5;
}
.h-full {
  height: 100%;
}
.w-full {
  width: 100%;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-col {
  flex-direction: column;
}
.items-start {
  align-items: flex-start;
}
.items-center {
  align-items: center;
}
.items-baseline {
  align-items: baseline;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.gap-12 {
  gap: 12px;
}
.gap-16 {
  gap: 16px;
}
.gap-2 {
  gap: 2px;
}
.gap-4 {
  gap: 4px;
}
.gap-8 {
  gap: 8px;
}
.\!rounded-xs {
  border-radius: 6px !important;
}
.rounded-100 {
  border-radius: 100px;
}
.rounded-xs {
  border-radius: 6px;
}
.border {
  border-width: 1px;
}
.\!border-l-0 {
  border-left-width: 0 !important;
}
.\!border-r-0 {
  border-right-width: 0 !important;
}
.\!border-t {
  border-top-width: 1px !important;
}
.\!border-solid {
  border-style: solid !important;
}
.border-solid {
  border-style: solid;
}
.\!border-black-100 {
  border-color: #e9ecef !important;
  border-color: rgba(233, 236, 239, var(--tw-border-opacity, 1)) !important;
}
.\!border-black-100 {
  --tw-border-opacity: 1 !important;
}
.border-black-100 {
  --tw-border-opacity: 1;
  border-color: #e9ecef;
  border-color: rgba(233, 236, 239, var(--tw-border-opacity, 1));
}
.bg-black-50 {
  --tw-bg-opacity: 1;
  background-color: #f8f9fa;
  background-color: rgba(248, 249, 250, var(--tw-bg-opacity, 1));
}
.bg-gold {
  --tw-bg-opacity: 1;
}
.bg-gold {
  background-color: #ffab17;
  background-color: rgba(255, 171, 23, var(--tw-bg-opacity, 1));
}
.bg-violet {
  --tw-bg-opacity: 1;
  background-color: #b41474;
  background-color: rgba(180, 20, 116, var(--tw-bg-opacity, 1));
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: #fff;
  background-color: rgba(255, 255, 255, var(--tw-bg-opacity, 1));
}
.bg-opacity-10 {
  --tw-bg-opacity: 0.1;
}
.object-cover {
  -o-object-fit: cover;
  object-fit: cover;
}
.p-12 {
  padding: 12px;
}
.px-10 {
  padding-left: 10px;
  padding-right: 10px;
}
.px-6 {
  padding-left: 6px;
  padding-right: 6px;
}
.py-4 {
  padding-bottom: 4px;
  padding-top: 4px;
}
.text-10 {
  font-size: 10px;
}
.text-12 {
  font-size: 12px;
}
.text-14 {
  font-size: 14px;
}
.text-16 {
  font-size: 16px;
}
.text-tiny {
  font-size: 0.875em;
}
.leading-normal {
  line-height: 1.5;
}
.text-black {
  --tw-text-opacity: 1;
  color: #000;
  color: rgba(0, 0, 0, var(--tw-text-opacity, 1));
}
.text-black-1000 {
  --tw-text-opacity: 1;
  color: #212529;
  color: rgba(33, 37, 41, var(--tw-text-opacity, 1));
}
.text-black-500 {
  --tw-text-opacity: 1;
  color: #8e8e93;
  color: rgba(142, 142, 147, var(--tw-text-opacity, 1));
}
.text-black-700 {
  --tw-text-opacity: 1;
  color: #636366;
  color: rgba(99, 99, 102, var(--tw-text-opacity, 1));
}
.text-orange {
  --tw-text-opacity: 1;
}
.text-orange {
  color: #fb7e34;
  color: rgba(251, 126, 52, var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: #fff;
  color: rgba(255, 255, 255, var(--tw-text-opacity, 1));
}
.line-through {
  text-decoration-line: line-through;
}
.\!font-medium {
  font-variation-settings: "wght" 500 !important;
  font-weight: 500 !important;
}
.font-medium {
  font-variation-settings: "wght" 500;
  font-weight: 500;
}
.font-semibold {
  font-variation-settings: "wght" 600;
  font-weight: 600;
}
.font-bold {
  font-variation-settings: "wght" 700;
  font-weight: 700;
}
a,
div,
h2,
i,
img,
p,
span {
  border: 0;
  box-sizing: border-box;
  font: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  text-align: inherit;
  vertical-align: baseline;
}
a {
  -webkit-text-decoration-skip: objects;
  background-color: transparent;
}
img {
  border-style: none;
}
svg:not(:root) {
  overflow: hidden;
}
h2 {
  margin: 0;
}
h2 {
  font-size: 1.75em;
}
a {
  color: inherit;
  font-size: inherit;
  -webkit-text-decoration: none;
  text-decoration: none;
}
a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
img {
  overflow: hidden;
}
@media (min-width: 600px) {
  .sm\:flex {
    display: flex;
  }
}
@media (min-width: 900px) {
  .md\:mt-20 {
    margin-top: 20px;
  }
  .md\:mt-auto {
    margin-top: auto;
  }
  .md\:line-clamp-1 {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    overflow: hidden;
  }
  .md\:w-auto {
    width: auto;
  }
  .md\:justify-start {
    justify-content: flex-start;
  }
  .md\:gap-4 {
    gap: 4px;
  }
  .md\:gap-8 {
    gap: 8px;
  }
  .md\:\!rounded-sm {
    border-radius: 8px !important;
  }
  .md\:rounded-md {
    border-radius: 12px;
  }
  .md\:\!border-l {
    border-left-width: 1px !important;
  }
  .md\:\!border-r {
    border-right-width: 1px !important;
  }
  .md\:\!text-12 {
    font-size: 12px !important;
  }
  .md\:text-12 {
    font-size: 12px;
  }
  .md\:text-18 {
    font-size: 18px;
  }
  .md\:leading-snug {
    line-height: 1.375;
  }
}
.search-course-card {
  min-width: 272px;
}
@media only screen and (max-width: 900px) {
  .search-course-card {
    border: none;
    border-bottom: 1px solid #e9ecef;
  }
}
.search-course-card__img {
  max-width: 96px;
  width: 96px;
}
@media screen and (min-width: 450px) {
  .search-course-card__img {
    max-width: 150px;
    width: 150px;
  }
}
@media screen and (min-width: 900px) {
  .search-course-card__img {
    max-width: 225px;
    width: 225px;
  }
}
@media screen and (min-width: 1100px) {
  .search-course-card__img {
    max-width: 301px;
    width: 301px;
  }
}

.category-course-card {
  display: flex;
  align-content: center;
  align-items: center;
  gap: 14px;
  border: #009ca7 solid 1.2px;
  border-radius: 12px;
  background-color: #ebf4f5;
  color: #009ca7;
  font-size: 18px;
  font-weight: 700;
  padding: 10px;
}
img.category-course-img {
  border-radius: 12px !important;
}
.category-course-card:hover {
  background-color: #7dcbd1;
  color: #fff;
}
.category-courses-container {
  gap: 8px;
  display: flex;
  flex-direction: column;
}

.subcategory-grid-container {
  display: flex;
  gap: 10px;
  flex-direction: column;
}
a.subcategory-card {
  display: flex;
  gap: 7px;
  background-color: #009ca7;
  border: 1px solid #009ca7;
  border-radius: 8px;
  padding: 17px 13px;
  font-size: 13px;
  color: #ffffff;
  font-weight: 700;
}
a.subcategory-card:hover {
  background-color: #ebf4f5;
  color: #009ca7;
}
p.subcategory-title {
  margin: unset;
}

/*--------------نهایی-----------*/
.course-price {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 12px;
}
.course-card {
  margin: 25px 0;
}
a.course-card {
  display: flex;
  flex-direction: row;
  gap: 16px;
  background-color: #ebf4f5;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  padding: 12px;
  width: 100%;
}
.jet-listing.jet-listing-dynamic-field.zht-maktab-khooneh-course {
    display: block !important;
}
a.course-card img {
    margin: unset !important;
}