/**
 * DISCLAIMER
 *
 * Do not edit or add to this file.
 * You are not authorized to modify, copy or redistribute this file.
 * Permissions are reserved by FME Modules.
 *
 *  @author    FMM Modules
 *  @copyright FME Modules 2024
 *  @license   Single domain
 */
.hm_wrapper {
    text-align: center;
}

.hm_wrapper #block-title {
    margin-top: 25px;
    line-height: 30px;
    margin-bottom: 15px;
    text-align: right;
    margin-right: 20px;
    font-size: 17px;
    border-bottom: 2px solid #ef4056;
    width: fit-content;
    padding-bottom: 5px;
}

.hm_wrapper ul {
    /*overflow: hidden;*/
    padding: 0 2% 0 2%;
}

.hm-customer-name {
    margin-right: 10px;
}

/*.hm_wrapper.block {
    padding-right: 5px;
    padding-left: 5px;
}*/

.hm_content_star_footer_f #title {
    font-size: 12px;
}

.hm_wrapper ul li {
    float: right;
    margin: 4% 2% 4% 2%;
    min-height: 195px;
    text-align: right;
    vertical-align: top;
    width: 45%;
    border: 1px solid #e0e0e2;
    border-radius: 5px;
    background: #fff;
    box-shadow: unset;
    height: 195px;
}

.hm_wrapper ul li img {
    margin: 10px 10px 10px 10px;
    border: 1px solid #eee;
}

.hm_content_header {
    background-color: #236fa1 !important;
    color: #FFFFFF !important;
    font-size: 15px;
    font-weight: bold;
    line-height: 0px;
    padding: 25px 20px;
    text-align: right;
    text-transform: uppercase;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    margin: -1px;
}

.hm-customer-name {
    font-size: 14px;
}

.hm_content_header span.date {
    float: left;
    padding-right: 8px;
}

.hm_content_middle {
    height: auto;
    border-top: 2px solid #000;
}

.hm_content_middle_left {
    float: left;
    width: 45%;
}

.hm_content_middle_right {
    font-size: 11px;
    text-transform: uppercase;
    margin-right: 3%;
}

.hm_content_middle_right:after {
    content: '.';
    clear: both;
    visibility: hidden;
    height: 1px;
}

h5.clr {
    padding: 10px 0 4px;
    color: #333;
    font-size: 14px;
}

.hm_content_middle_right p {
    color: #333;
    font-size: 13px;
}

.hm_content_middle_right span {
    font-weight: bold;
    color: #333;
}

.hm_wrapper div.star.star_on {
    background: url(../img/small_stars.png) no-repeat;
    background-position: -19px 0;
}

.hm_wrapper div.star {
    background: url(../img/small_stars.png);
    background-position: -35px 0;
    width: 16px;
    height: 16px;
}

.hm_content_footer {
    font-size: 13px;
    color: #000;
    margin: 0 0 2% 0;
    max-height: 75px;
    overflow-y: scroll;
}

.hm_content_footer p {
    word-wrap: break-word;
    max-width: 100%;
}

.hm_content_footer #title {
    padding-top: 5px;
    height: auto;
    display: block;
    line-height: 1.5em;
    margin-bottom: 3px;
}

.fmm-product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    margin-top: -10px;
    color: #105888;
}

.hm_content_star_footer_f p {
    display: block;
    text-align: justify;
    padding-left: 15px;
    font-size: 12px;
}

.hm_content_star_footer_f {
    line-height: 1.5em;
}

.hm_content_date {
    font-size: 14px;
}

.col-md-6.hm-comment-img {
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
    max-width: 30%;
}

.hm-comment-img img {
    max-width: 100% !important;
    width: 100% !important;
}

.col-md-6.hn-comment-text {
    -ms-flex: 0 0 70%;
    flex: 0 0 70%;
    max-width: 70%;
}

.container.row a h5 {
    padding: 10px 0 7px !important;
    color: #333 !important;
    font-size: 14px !important;
}

.hm_content_star_middle_right {
    transform: scale(0.85);
    margin-right: -25px;
    margin-top: -5px;
}

.all-star {
    display: flex;
}

/* ========== SLIDER CORE ========== */

.fmm-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding-bottom: 20px;
}

.fmm-slider-container {
    overflow: hidden;
    width: 100%;
}

/* فقط برای همین UL اسلایدر */
.fmm-slider {
    display: flex;
    direction: ltr;
    /* منطق حرکت LTR، محتوا همچنان RTL داخل خودش */
    gap: 0;
    /* گپ را خودمان با margin مدیریت می‌کنیم */
    transition: transform 0.35s ease;
    padding: 0;
    margin: 0;
}

/* li اصلی ماژول این‌ها را داشت:
   float:left; width:45%; margin:4% 2% ...
   برای اسلایدر باید override کنیم: */
.fmm-slider li {
    float: none;
    flex: 0 0 calc(33.3% - 20px);
    /* سه تا تو ردیف */
    margin: 0 10px;
    /* فاصله بین کارت‌ها */
}

/* ریسپانسیو */
@media (max-width: 1200px) {
    .fmm-slider li {
        flex: 0 0 calc(50% - 20px);
        /* دو تا */
    }
}

@media (max-width: 768px) {
    .fmm-slider li {
        flex: 0 0 calc(100% - 20px);
        /* یکی */
    }
}

/* دکمه‌ها */
.fmm-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 22px;
    background: rgba(0, 0, 0, .2);
    color: #fff;
    cursor: pointer;
    z-index: 50;
    padding-top: 5px;
}

.fmm-arrow:hover {
    background: rgba(0, 0, 0, .8);
}

/* چون سایت RTL هست، ❮ سمت راست، ❯ سمت چپ */
.fmm-prev {
    right: 10px;
}

.fmm-next {
    left: 10px;
}

/* ===== FIX FOR SLIDER ===== */

/* جلوگیری از اعمال float و width روی اسلایدر */
.fmm-slider li,
.fmm-slide-item {
    float: none !important;
    width: auto !important;
    margin: 0 10px !important;
    min-height: auto;
}

.fmm-slider {
    padding: 0 !important;
}

.fmm-slider li {
    box-shadow: 8px 8px 5px #888888;
    /* اگر می‌خوای حفظ شه */
}



h4#block-title strong {
    font-weight: 600;
}

.fmm-product-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}

#main-page-content .hm_wrapper.block {
    margin-bottom: 60px;
}