﻿.news-img {
    margin-bottom: 22px;
}

div.rating-cancel, div.star-rating {
    float: left;
    width: 17px;
    height: 15px;
    text-indent: -999em;
    cursor: pointer;
    display: block;
    background: transparent;
    overflow: hidden
}

    div.rating-cancel, div.rating-cancel a {
        background: url(delete.gif) no-repeat 0 -16px
    }

    div.star-rating, div.star-rating a {
        background: url(/App_Theme/fa-IR/images/star.gif) no-repeat 0 0
    }

        div.rating-cancel a, div.star-rating a {
            display: block;
            width: 16px;
            height: 100%;
            background-position: 0 0;
            border: 0
        }

div.star-rating-on a {
    background-position: 0 -16px !important
}

div.star-rating-hover a {
    background-position: 0 -32px
}

div.star-rating-readonly a {
    cursor: default !important
}

div.star-rating {
    background: transparent !important;
    overflow: hidden !important
}

.statVal {
    position: relative;
    top: -10px
}

.ui-rater > span {
    vertical-align: top
}

    .ui-rater > span > span {
        position: relative;
        top: -6px
    }

.ui-rater-rating {
    background: url(/App_Theme/fa-IR/images/giga-star.png) no-repeat;
    font-weight: bolder;
    height: 30px;
    width: 35px;
    display: block;
    background-size: 100% 100%;
    padding-top: 7px;
    font-size: 12px;
    color: #000;
    text-align: center
}

.ms_raterStar {
    float: left;
    width: 42px
}

.ms_Sstars {
    float: right;
    width: 188px
}

.lid-title {
    font-size: 12px;
    color: #878585;
    margin: 0;
    line-height: 0
}

.news-img-box {
    overflow: hidden;
    height: auto;
    padding: 5px;
    margin-bottom: 24px;
    background: #fafafa;
    box-shadow: 3px 5px 10px #cfcfcf;
    border-radius: 10px;
    border: 1px solid #e9e9e9;
    color: #6c6c6c;
    font-family: KalamehWeb;
}

.news-img img {
    width: 100%;
    margin: 10px auto;
    border-radius: 5px;
}

.news-short-content {
    float: right;
    width: 100%;
    direction: rtl;
    text-align: justify;
    position: relative;
    padding: 18px 22px;
    border-radius: var(--hp-radius);
    border-right: 5px solid var(--hp-accent);
    background: linear-gradient(90deg, #fff, var(--hp-accent-soft));
    color: var(--hp-muted);
    font-size: 13px;
}

.relation-news-bx {
    overflow: hidden;
    clear: both
}

    .relation-news-bx h2 {
        color: #4b4b4b;
        font-size: 16px;
        padding: 15px 0 5px;
        border-bottom: 1px solid #ececec;
        margin-bottom: 20px;
    }

    .relation-news-bx ul {
        list-style: none;
        padding-right: 0
    }

        .relation-news-bx ul li {
            margin-bottom: 10px;
            list-style: none
        }

            .relation-news-bx ul li img {
                float: right;
                width: 140px;
                border-radius: 5px;
            }

.ti-blog {
    display: inline-block;
    color: #2f2727;
    width: 63%;
    float: right;
    text-align: justify;
    direction: rtl;
}

    .ti-blog h3 {
        font-size: 12px;
        padding: 0 6px;
        text-align: right;
        font-weight: 700;
        color: #595959;
        line-height: 20px;
        direction: rtl;
        margin: 0
    }

    .ti-blog .re-title {
        font-size: 12px;
        padding: 0 6px;
        text-align: right;
        font-weight: 700;
        color: #595959;
        line-height: 20px;
        direction: rtl;
        margin: 0;
    }

    .ti-blog p {
        font-size: 10px;
        direction: rtl;
        color: #666;
        text-align: right;
        padding: 2px 5px;
        line-height: 25px
    }

.dimo_introtitle {
    margin-top: 10px
}

.frmdetail {
    margin-bottom: 10px
}

.intro-social {
    padding-right: 11px;
}

.DimoContent #bill img {
    border-radius: 4px;
    margin: 10px 0;
}

/*.DimoContent #bill h2 {
    font-size: 23px;
    padding: 20px 0 10px !important;
}*/

/*.DimoContent #bill h3 {
    font-size: 20px;
    padding: 20px 0 10px !important;
}*/

.adver-lnk-bx a {
    color: #fff;
}

.adver-link-item {
    text-align: center;
    padding: 5px;
    border-radius: 10px;
    margin: 8px 0;
    direction: rtl;
}

.adver-lnk-bx a:nth-child(odd) .adver-link-item {
    background: #092b34;
}

.adver-lnk-bx a:nth-child(even) .adver-link-item {
    background: #fec30e;
}






/*
.toc-bx {
}

    .toc-bx .br-dn {
        background: #fafafa;
        box-shadow: 3px 5px 10px #cfcfcf;
        border-radius: 10px;
        border: 1px solid #e9e9e9;
        margin-bottom: 20px;
        padding: 5px;
    }

    .toc-bx .dropdown-label {
        font-size: 13px;
        color: #363636;
    }

    .toc-bx .dropdown-button {
        position: relative;
    }

    .toc-bx .ti-wh {
        background-color: #092b34;
        padding: 16px 32px;
        text-align: right;
        color: #fff;
        border-radius: 9px;
        margin-bottom: 10px;
    }

    .toc-bx .titr-dn {
        font-size: 15px;
    }

    .toc-bx .ce-mn {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        position: absolute;
        top: 11px;
        left: 22px;
        text-align: center;
        color: #fff;
        background-color: #0f4e5e;
        padding: 10px 0;
    }

    .toc-bx .lnr {
        font-family: Linearicons-Free;
        speak: none;
        font-style: normal;
        font-weight: 400;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        top: -8px;
        position: relative;
    }

    .toc-bx .lnr-chevron-down:before {
        content: "\e874";
    }*/

 

    /*#table-of-contents ol {
        list-style: none;
        padding: initial;
    }

    #table-of-contents > ol, #table-of-contents ul {
        padding: 20px 40px;
        direction: rtl;
        list-style: none;
        position: relative;
    }

        #table-of-contents ul::before {
            position: absolute;
            width: 1px;
            height: 84%;
            content: "";
            top: 40px;
            right: 41px;
            border-left: 1px dashed rgba(119, 137, 142, 0.43);
        }

        #table-of-contents ul li {
            list-style: none;
        }

    #table-of-contents li a {
        color: #6c6c6c;
        text-align: right;
        display: block;
        margin-bottom: 8px;
        font-size: 14px;
        direction: rtl;
        position: relative;
    }

    #table-of-contents ul li a::before {
        position: relative;
        width: 5px;
        height: 5px;
        background-color: #6c6c6c;
        float: right;
        margin-left: 16px;
        content: "";
        top: 14px;
    }*/

.DimoContent table {
    width: 100% !important;
}















.DimoContent .news-short-content p {
    margin: 6px 0 0;
    color: var(--hp-ink);
    font-size: 16px;
    font-weight: 500;
    line-height: 2;
}


.DimoContent .news-img .ImgNews {
    display: block;
    width: 100%;
    border-radius: var(--hp-radius);
    box-shadow: var(--hp-shadow-lg);
}

.DimoContent .relation-news-bx {
    padding: 18px;
    background: #fff;
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    box-shadow: var(--hp-shadow);
}

    .DimoContent .relation-news-bx .dimo_introtitle {
        position: relative;
        margin: 0 0 12px;
        padding: 5px 14px 12px 0;
        border-bottom: 1px dashed var(--hp-border);
        color: var(--hp-ink);
        font-size: 17px;
        font-weight: 800;
    }

        .DimoContent .relation-news-bx .dimo_introtitle::before {
            content: "";
            position: absolute;
            right: 0;
            top: 6px;
            width: 4px;
            height: 18px;
            border-radius: 4px;
            background: var(--hp-accent);
        }

    .DimoContent .relation-news-bx ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .DimoContent .relation-news-bx li {
        display: flex;
        gap: 12px;
        align-items: center;
        padding: 10px;
        margin: 0 -10px;
        border-radius: var(--hp-radius-sm);
        transition: background .25s;
    }

        .DimoContent .relation-news-bx li + li {
            border-top: 1px solid #f3eee5;
        }

        .DimoContent .relation-news-bx li:hover {
            background: var(--hp-accent-softer);
        }

        .DimoContent .relation-news-bx li > img {
            flex: 0 0 86px;
            width: 86px;
            height: 66px;
            object-fit: cover;
            border-radius: 10px;
            background: var(--hp-accent-soft);
            transition: transform .35s;
        }

        .DimoContent .relation-news-bx li:hover > img {
            transform: scale(1.05);
        }

        .DimoContent .relation-news-bx li > .clear {
            display: none;
        }

    .DimoContent .relation-news-bx .ti-blg {
        min-width: 0;
        flex: 1;
    }

        .DimoContent .relation-news-bx .ti-blg h3 {
            margin: 0;
            color: var(--hp-ink);
            font-size: 13.5px;
            font-weight: 700;
            line-height: 1.85;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: color .2s;
        }

    .DimoContent .relation-news-bx li:hover .ti-blg h3 {
        color: var(--hp-accent-dark);
    }

    .DimoContent .relation-news-bx .ti-blg p {
        margin: 2px 0 0;
        color: var(--hp-muted);
        font-size: 12px;
    }

        .DimoContent .relation-news-bx .ti-blg p::before {
            content: "\f017";
            font-family: FontAwesome;
            margin-left: 5px;
            color: var(--hp-accent);
        }






#toc-bx {
    margin: 0 0 28px;
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    background: linear-gradient(180deg, var(--hp-accent-softer), #fff);
    box-shadow: var(--hp-shadow);
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
}



























/*.DimoContent #table-of-contents {
    margin: 0 0 28px;
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    background: linear-gradient(180deg, var(--hp-accent-softer), #fff);
    box-shadow: var(--hp-shadow);
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
}

    .DimoContent #table-of-contents.is-open {
        border-color: var(--hp-accent);
    }

    .DimoContent #table-of-contents ol {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .DimoContent #table-of-contents > ol > li {
        position: relative;
        padding: 16px 58px 16px 60px;
        color: var(--hp-ink);
        font-size: 16px;
        font-weight: 800;
        cursor: pointer;
        user-select: none;
        outline: none;
    }

        .DimoContent #table-of-contents > ol > li:focus-visible {
            box-shadow: inset 0 0 0 2px var(--hp-accent);
            border-radius: var(--hp-radius);
        }

        .DimoContent #table-of-contents > ol > li::before {
            content: "\f0ca";
            font-family: FontAwesome;
            position: absolute;
            right: 16px;
            top: 12px;
            width: 32px;
            height: 32px;
            display: grid;
            place-items: center;
            border-radius: 9px;
            background: var(--hp-accent);
            color: #fff;
            font-size: 14px;
            font-weight: 400;
        }

        .DimoContent #table-of-contents > ol > li::after {
            content: "\f107";
            font-family: FontAwesome;
            position: absolute;
            left: 16px;
            top: 12px;
            width: 32px;
            height: 32px;
            display: grid;
            place-items: center;
            border-radius: 50%;
            background: #fff;
            border: 1px solid var(--hp-border);
            color: var(--hp-accent-dark);
            font-size: 18px;
            font-weight: 400;
            transition: transform .35s, background .3s, color .3s;
        }

    .DimoContent #table-of-contents.is-open > ol > li::after {
        transform: rotate(180deg);
        background: var(--hp-accent);
        border-color: var(--hp-accent);
        color: #fff;
    }

    .DimoContent #table-of-contents ol ol {
        margin: 14px -42px 0 -44px;
        padding: 10px 14px 4px;
        border-top: 1px dashed var(--hp-border);
        font-size: 14.5px;
        font-weight: 500;
        cursor: default;
        transition: max-height .45s ease, opacity .3s ease, margin .3s, padding .3s;
    }

    .DimoContent #table-of-contents.hp-toc-ready:not(.is-open) ol ol {
        max-height: 0 !important;
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 0;
        border-top-color: transparent;
        opacity: 0;
        overflow: hidden;
    }

    .DimoContent #table-of-contents.hp-toc-ready.is-open ol ol {
        max-height: 1200px;
        opacity: 1;
    }

    .DimoContent #table-of-contents ol ol a {
        display: block;
        padding: 7px 12px;
        border-radius: 8px;
        color: var(--hp-text);
        line-height: 1.8;
        transition: background .2s, color .2s, padding .2s;
    }

        .DimoContent #table-of-contents ol ol a:hover {
            background: var(--hp-accent-soft);
            color: var(--hp-accent-dark);
            padding-right: 18px;
        }*/



.DimoContent .toc-bx {
    margin: 0 0 28px;
    direction: rtl;
}

/* =====================================
   کادر اصلی فهرست مطالب
===================================== */

.DimoContent .dropdown-container {
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    background: linear-gradient(180deg, var(--hp-accent-softer), #fff);
    box-shadow: var(--hp-shadow);
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
}

/* =====================================
   هدر فهرست مطالب
===================================== */

.DimoContent .dropdown-button {
    padding: 15px 18px;
    cursor: pointer;
    user-select: none;
    transition: background .3s;
}

    .DimoContent .dropdown-button:hover {
        background: var(--hp-accent-soft);
    }

.DimoContent .dropdown-label,
.DimoContent .ti-wh {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* عنوان اصلی */

.DimoContent .titr-dn {
    position: relative;
    margin: 0;
    padding-right: 40px;
    color: var(--hp-ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.8;
}

    .DimoContent .titr-dn::before {
        content: "\f0ca";
        font-family: FontAwesome;
        position: absolute;
        right: 0;
        top: 50%;
        width: 32px;
        height: 32px;
        display: grid;
        place-items: center;
        border-radius: 9px;
        background: var(--hp-accent);
        color: #fff;
        font-size: 14px;
        font-weight: 400;
        transform: translateY(-50%);
    }

/* آیکون باز و بسته شدن */

.DimoContent .ce-mn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--hp-border);
    color: var(--hp-accent-dark);
    transition: transform .35s, background .3s, color .3s;
    position:relative;
}
    .DimoContent .ce-mn:after {
        content: "\f107";
        font-family: FontAwesome;
        position: absolute;
        left: 0px;
        top: 0px;
        width: 32px;
        height: 32px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: #fff;
        border: 1px solid var(--hp-border);
        color: var(--hp-accent-dark);
        font-size: 18px;
        font-weight: 400;
        transition: transform .35s, background .3s, color .3s;
    }

    /*.DimoContent .dt-ps-dw {
        font-size: 16px;
        transition: transform .35s;
    }*/

/* حالت باز */

.DimoContent .dropdown-container.is-open {
    border-color: var(--hp-accent);
}

    .DimoContent .dropdown-container.is-open .ce-mn {
        background: var(--hp-accent);
        border-color: var(--hp-accent);
        color: #fff;
        transform: rotate(180deg);
    }

/* =====================================
   انیمیشن کشویی فهرست
===================================== */

/* حالت بسته */

.DimoContent .dropdown-list {
    display: block !important;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 16px;
    border-top: 1px dashed transparent;
    transform: translateY(-8px);
    transition: max-height .7s ease, opacity .45s ease, transform .55s ease, padding .55s ease, border-color .4s ease;
    pointer-events: none;
}

/* حالت باز */

.DimoContent .dropdown-container.is-open .dropdown-list {
    max-height: 3000px;
    opacity: 1;
    padding: 0 16px 14px;
    border-top-color: var(--hp-border);
    transform: translateY(0);
    pointer-events: auto;
}

/* =====================================
   ساختار فهرست مطالب
===================================== */

.DimoContent #table-of-contents {
    margin: 0;
    padding: 12px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

    /* حذف Bullet پیش فرض */

    .DimoContent #table-of-contents ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    /* =====================================
   آیتم های فهرست مطالب
===================================== */

    .DimoContent #table-of-contents > ul > li {
        position: relative;
        margin: 3px 0;
        padding: 0;
        font-size: 14px;
        font-weight: 600;
        counter-increment: toc-counter;
    }

    /* لینک عناوین */

    .DimoContent #table-of-contents > ul {
        counter-reset: toc-counter;
    }

        .DimoContent #table-of-contents > ul > li > a {
            position: relative;
            display: block;
            padding: 9px 48px 9px 12px;
            border-radius: 8px;
            color: var(--hp-text);
            line-height: 1.9;
            text-decoration: none;
            transition: background .25s, color .25s, padding .25s;
        }

            /* شماره گذاری خودکار */

            .DimoContent #table-of-contents > ul > li > a::before {
                content: counter(toc-counter, decimal-leading-zero);
                position: absolute;
                right: 10px;
                top: 50%;
                width: 27px;
                height: 27px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 7px;
                background: var(--hp-accent-soft);
                color: var(--hp-accent-dark);
                font-size: 11px;
                font-weight: 800;
                direction: ltr;
                transform: translateY(-50%);
                transition: background .25s, color .25s, transform .25s;
            }

            /* افکت Hover */

            .DimoContent #table-of-contents > ul > li > a:hover {
                background: var(--hp-accent-soft);
                color: var(--hp-accent-dark);
                padding-right: 53px;
            }

                .DimoContent #table-of-contents > ul > li > a:hover::before {
                    background: var(--hp-accent);
                    color: #fff;
                    transform: translateY(-50%) scale(1.08);
                }

            /* فوکوس لینک */

            .DimoContent #table-of-contents > ul > li > a:focus-visible {
                outline: 2px solid var(--hp-accent);
                outline-offset: 2px;
            }

/* =====================================
   موبایل
===================================== */

@media (max-width: 576px) {

    .DimoContent .dropdown-button {
        padding: 12px 14px;
    }

    .DimoContent .titr-dn {
        font-size: 14px;
    }

    .DimoContent .dropdown-list {
        padding-right: 10px;
        padding-left: 10px;
    }

    .DimoContent .dropdown-container.is-open .dropdown-list {
        padding: 0 10px 10px;
    }

    .DimoContent #table-of-contents > ul > li {
        font-size: 13px;
    }

        .DimoContent #table-of-contents > ul > li > a {
            padding-top: 8px;
            padding-bottom: 8px;
            padding-right: 43px;
        }

            .DimoContent #table-of-contents > ul > li > a::before {
                width: 25px;
                height: 25px;
                font-size: 10px;
            }

            .DimoContent #table-of-contents > ul > li > a:hover {
                padding-right: 47px;
            }
}
