﻿
/*@font-face {
    font-family: "IRANSansWeb";
    src: url("../fonts/IRANSansWeb.eot");
    src: url("../fonts/IRANSansWeb.eot?#iefix") format("embedded-opentype"), url("../fonts/IRANSansWeb.woff") format("woff"), url("../fonts/IRANSansWeb.ttf") format("truetype");
    font-weight: normal;
}

@font-face {
    font-family: "IRANSansWeb-Bold";
    src: url("../fonts/IRANSansWeb_Bold.woff") format("embedded-opentype"), url("../fonts/IRANSansWeb_Bold.woff2") format("woff"), url("../fonts/IRANSansWeb_Bold.ttf") format("truetype");
    font-display: swap;
}*/
@font-face {
    font-family: "monser";
    src: url(../Fonts/MontserratBold-DOWZd.ttf);
    unicode-range: U+0000, U+007F;
    font-display: swap;
}

@font-face {
    font-family: "dana-regular";
    /*    src: url(../Fonts/Dana-Regular.ttf);*/

    src: url(../assets/fonts/DanaFaNum-Regular.ttf);
    font-display: swap;
}

@font-face {
    font-family: "dana-fat";
    src: url(../assets/fonts/Dana-Fat.ttf);
    font-display: swap;
}

@font-face {
    font-family: "dana-demibold";
    src: url(../assets/fonts/Dana-DemiBold.ttf);
    font-display: swap;
}

@font-face {
    font-family: "dana-bold";
    src: url(../assets/fonts/Dana-Bold.ttf);
    font-display: swap;
}

@font-face {
    font-family: "dana-hairline";
    src: url(../assets/fonts/Dana-Hairline.ttf);
    font-display: swap;
}

@font-face {
    font-family: "dana-ultraLight";
    src: url(../assets/fonts/Dana-UltraLight.ttf);
    font-display: swap;
}


body {
    font-family: dana-regular;
}

.white-space-pre-line {
    white-space: pre-line;
    /*    white-space: pre-line;
    line-break: auto;*/
    /*  "white-space:pre-line;
        line-break:auto;*/
    /*    line-break: auto !important;
    white-space: pre-line !important;*/
    /*    white-space: pre-line;
    line-break: auto;*/
}

.landing-dark-bg {
    background-color: #FFF !important;
}

.article-content video {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    overflow: hidden;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    overflow: hidden;
}

.article-content iframe {
    max-width: 100%;
    border-radius: 5px;
    overflow: hidden;
}

.article-content *[style*="gradient"] {
    border-radius: 4px;
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 3px;
    padding-bottom: 3px;
    background: none !important;
    margin: 20px 0px 20px 0px;
    /* استایل */
}

.article-content *[style*="background-color"] {
    border-radius: 4px;
    /*    border: dashed 1px;*/
    background-color: none !important;
    margin: 20px 0px 10px 0px;
    padding: 5px 15px 5px 15px;
    /* filter: saturate(.8) brightness(1.2) opacity(0.9);*/
}
/* ===== Article Tables ===== */
/* ==========================
   Article Content Typography
========================== */

.article-content {
    color: #374151;
    font-size: 1.05rem;
    line-height: 2;
    text-align: justify;
}

    /* Paragraph */
    .article-content p {
        margin: 0 0 1.4rem;
    }

    /* Headings */

    .article-content h1,
    .article-content h2,
    .article-content h3,
    .article-content h4,
    .article-content h5,
    .article-content h6 {
        color: #111827;
        font-weight: 700;
        line-height: 1.5;
        margin-top: 2.5rem;
        margin-bottom: 1rem;
    }

    .article-content h1 {
        font-size: 2rem;
    }

    .article-content h2 {
        font-size: 1.65rem;
        padding-bottom: .5rem;
        border-bottom: 1px solid #e5e7eb;
    }

    .article-content h3 {
        font-size: 1.35rem;
    }

    .article-content h4 {
        font-size: 1.15rem;
    }


    /* Links */

    .article-content a {
        color: #2563eb;
        text-decoration: none;
        font-weight: 500;
    }

        .article-content a:hover {
            text-decoration: underline;
        }


    /* Lists */

    .article-content ul,
    .article-content ol {
        margin: 1.5rem 0;
        padding-right: 2rem;
    }

    .article-content li {
        margin-bottom: .7rem;
    }


        /* Nested lists */

        .article-content li > ul,
        .article-content li > ol {
            margin-top: .7rem;
        }


    /* Blockquote */

    .article-content blockquote {
        margin: 2rem 0;
        padding: 1rem 1.5rem;
        border-right: 4px solid #2563eb;
        background: #f8fafc;
        color: #475569;
        border-radius: 8px;
    }


    /* Images */

    .article-content img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        margin: 1.5rem auto;
        display: block;
    }


    /* Horizontal line */

    .article-content hr {
        border: 0;
        border-top: 1px solid #e5e7eb;
        margin: 2.5rem 0;
    }


    /* Code */

    .article-content code {
        background: #f1f5f9;
        padding: .2rem .5rem;
        border-radius: 5px;
        font-size: .9em;
        color: #be123c;
    }

    .article-content pre {
        background: #111827;
        color: #e5e7eb;
        padding: 1.2rem;
        border-radius: 12px;
        overflow-x: auto;
        margin: 2rem 0;
    }

        .article-content pre code {
            background: transparent;
            color: inherit;
            padding: 0;
        }


    /* Strong */

    .article-content strong {
        color: #111827;
        font-weight: 700;
    }


    /* Tables spacing */

    .article-content table {
        margin: 2rem 0;
    }


    /* Mobile */

    .article-content table {
        width: 100%;
        margin: 2rem 0;
        border-collapse: collapse;
        border: 1px solid #e5e7eb;
        border-radius: 4px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
        font-size: 0.95rem;
    }

    .article-content thead {
        background: #f8fafc;
    }

    .article-content th,
    .article-content td {
        padding: 14px 18px;
        border-bottom: 1px solid #edf2f7;
        text-align: right;
        vertical-align: middle;
    }

    .article-content th {
        font-weight: 700;
        color: #1f2937;
    }

    .article-content td {
        color: #4b5563;
    }

    .article-content tbody tr:nth-child(even) {
        background: #fafafa;
    }

    .article-content tbody tr:hover {
        background: #f1f5f9;
        transition: background .2s ease;
    }

    .article-content tbody tr:last-child td {
        border-bottom: none;
    }

    /* لینک داخل جدول */
    .article-content table a {
        color: #0d6efd;
        text-decoration: none;
        font-weight: 500;
    }

        .article-content table a:hover {
            text-decoration: underline;
        }

/* ریسپانسیو */
.article-content {
    overflow-wrap: break-word;
}

    .article-content table {
        /*  display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;*/
    }

@media (max-width:768px) {

    .article-content {
        font-size: 1rem;
        line-height: 1.9;
        text-align: right;
    }

        .article-content h1 {
            font-size: 1.6rem;
        }

        .article-content h2 {
            font-size: 1.35rem;
        }

        .article-content h3 {
            font-size: 1.2rem;
        }

        .article-content table {
            /*  display: table;
            white-space: normal;*/
        }
}


.dropzone .dz-preview .dz-image img { /*semi over ride for style bundle rtl  */
    height: 100%;
    width: 100%;
    object-fit: contain;
    /*line-height:50px;*/
}

.clamp {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.multi-line-truncate-2 {
    overflow: hidden;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.multi-line-truncate-3 {
    overflow: hidden;
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.multi-line-truncate-4 {
    overflow: hidden;
    -webkit-line-clamp: 4;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.multi-line-truncate-5 {
    overflow: hidden;
    -webkit-line-clamp: 5;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.picgen-regular-text {
    font-family: dana-regular;
}

.picgen-bold-text {
    font-family: dana-regular;
    font-weight: 900;
}

.picgen-demibold-text {
    font-family: dana-demibold;
}


.picgen-fat-text {
    font-family: dana-fat;
}

.picgen-hairline-text {
    font-family: dana-hairline;
}

.picgen-ultraLight-text {
    font-family: dana-ultraLight;
}

.after-disable::after {
    display: none !important;
}

.dana-bold {
    font-family: dana-bold !important;
}

.dana-demi-bold {
    font-family: dana-demibold !important;
}

.temporary-chat-message {
    margin-bottom: 1.25rem !important;
}

    .temporary-chat-message p {
        word-wrap: break-word;
        white-space: pre-line;
        margin-top: 0px;
        margin-bottom: 0px;
        font-size: 13px !important;
    }

    .temporary-chat-message a {
        font-size: 13px !important;
    }

    .temporary-chat-message .message-rep {
        padding: 15px !important;
        border-radius: 5px;
        background-color: #DFFFEA;
        width: 100%;
    }

        .temporary-chat-message .message-rep a {
            color: rgba(23,198,83);
        }

    .temporary-chat-message .message-send {
        padding: 15px !important;
        border-radius: 5px;
        background-color: #F8F5FF;
    }

        .temporary-chat-message .message-send a {
            color: rgba(23,198,83);
        }


/*.download-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: .2s;
    margin-bottom: 15px;
}

    .download-btn:hover {
        transform: scale(1.08);
    }*/

.chat-attachment {
    position: relative;
    margin-top: 3px;
    border-radius: 8px;
    display: inline-block;
    max-width: 320px;
    height: auto;
}

    .chat-attachment .gallery {
        display: grid;
        gap: 8px;
        height: 300px;
    }

        .chat-attachment .gallery a {
            display: block;
            overflow: hidden;
            border-radius: 8px;
        }

        .chat-attachment .gallery img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
        }

        /* 1 عکس */
        .chat-attachment .gallery:has(> a:first-child:last-child) {
            grid-template-columns: 1fr;
        }

        /* 2 عکس */
        .chat-attachment .gallery:has(> a:nth-child(2):last-child) {
            grid-template-columns: repeat(2, 1fr);
        }

        /* 3 عکس */
        .chat-attachment .gallery:has(> a:nth-child(3):last-child) {
            grid-template-columns: 1fr 2fr;
            grid-template-rows: 1fr 1fr;
        }

            .chat-attachment .gallery:has(> a:nth-child(3):last-child) > a:nth-child(1) {
                grid-column: 2;
                grid-row: 1 / 3;
            }

            .chat-attachment .gallery:has(> a:nth-child(3):last-child) > a:nth-child(2) {
                grid-column: 1;
                grid-row: 1;
            }

            .chat-attachment .gallery:has(> a:nth-child(3):last-child) > a:nth-child(3) {
                grid-column: 1;
                grid-row: 2;
            }


.chat-file {
    display: inline-block;
    padding: 10px 24px;
    margin-bottom: 5px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.btn-loader {
    background-color: #FFFFFF;
    background-image: url("../css/images/spinner.gif");
    background-size: 50px 50px;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
    right: 0px;
    position: relative;
    top: 0px;
    width: 100%;
    z-index: 99999;
}

.embed-responsive-item {
    max-width: 530px !important;
    max-height: 530px !important;
    border-radius: 15px;
    object-fit: cover;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    background-color: black;
}



.embed-responsive-item-search {
    object-fit: cover;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    background-color: black;
}

    .embed-responsive-item-search > :first-child {
      
    }


    .embed-responsive-item-search > iframe {
       /* max-width: 50px !important;
        max-height: 50px !important;*/
    }

.temporary-chat-user {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}


    .temporary-chat-user img {
        width: 45px;
        height: 45px;
        border-radius: 20px;
    }

    .temporary-chat-user .fs-5 {
        font-size: 15px !important;
    }

    .temporary-chat-user .ms-5 {
        margin-right: 15px !important;
    }

    .temporary-chat-user a {
        font-size: 13px !important;
    }

    .temporary-chat-user div {
        font-size: 13px !important;
    }

.temporary-chat-input {
    background-color: white !important;
    border: 0 !important;
}

    .temporary-chat-input textarea {
        border: 0;
        background-color: transparent;
        outline: none !important;
        box-shadow: none;
        border-radius: 0;
    }

        .temporary-chat-input textarea:focus {
            border: 0;
            background-color: transparent;
            outline: none !important;
            box-shadow: none;
            border-radius: 0;
        }

    .temporary-chat-input .btn-primary {
        color: #ffffff;
        border-color: #3bae61;
        background-color: #3bae61;
        --bs-btn-color: var(--bs-body-color);
        outline: none !important;
        margin-right: auto;
    }

    .temporary-chat-input .file-inputer {
        position: relative;
        text-align: right;
        -moz-opacity: 0;
        filter: alpha(opacity: 0);
        opacity: 0;
        z-index: 2;
    }

.premium-tag {
    margin-top: 3px;
    margin-right: 3px;
    background-color: #FB5826A1;
    color: white;
    border-radius: 5px;
    font-family: var(--title-font-family);
    font-weight: 500;
    border: solid 1px #DDD;
    display: inline-block;
    padding: 0px 15px;
    font-style: normal;
    font-size: 11px;
    line-height: 28px;
}

.action-button-ds {
    display: inline-block;
    height: auto;
    width: 45%;
    border: 1px solid #DDD;
    border-radius: 12px;
    padding-inline: 12px;
    padding-top: 15px;
    padding-bottom: 25px;
    margin: 3px;
}

    .action-button-ds > img {
        padding-inline: 12%;
        width: 100% !important;
        filter: grayscale(100);
        opacity: 50%;
    }


    .action-button-ds:hover {
        box-shadow: 0px 0px 5px 5px rgba(202, 227, 210,0.4);
    }

        .action-button-ds:hover > img {
            filter: grayscale(0);
        }


.hide-mobile {
    /*  display: inherit;*/
}

.show-mobile {
    display: none !important;
}

@media (max-width: 991.98px) {
    .hide-mobile {
        display: none !important;
    }

    .show-mobile {
        display: block !important;
    }
}

.mobile-sticky-btn {
}

    .mobile-sticky-btn .pt-4 {
        padding-top: 0rem !important;
    }

@media (max-width: 991.98px) {
    .mobile-sticky-btn {
        border-radius: 1px !important;
        z-index: 100 !important;
        position: fixed !important;
        bottom: 0 !important;
        right: 0 !important;
        height: 8vh !important;
        font-size: 20px !important;
        width: 100% !important;
        border-radius: 0px !important;
    }

        .mobile-sticky-btn .pt-4 {
            padding-top: 0.8rem !important;
        }
}


/*ace-responsivemenu.css start*/

/*ace-responsivemenu.css end*/











.animated-bg {
    animation: slide 40s ease-in-out infinite alternate;
    background-image: linear-gradient(-60deg, #3cb363 50%, black 50%);
    bottom: 0;
    left: -50%;
    opacity: .8;
    position: absolute;
    right: -50%;
    top: 0;
    z-index: -1;
}

.animated-bg2 {
    animation-direction: alternate-reverse;
    animation-duration: 45s;
}

.animated-bg3 {
    animation-duration: 30s;
}




@keyframes slide {
    0% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(25%);
    }
}

.refresh-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background-color: #3498db;
    /* آیکون SVG به عنوان background */
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTMuNSAyYy01LjYyMSAwLTEwLjIxMSA0LjQ0My0xMC40NzUgMTBoLTMuMDI1bDUgNi42MjUgNS02LjYyNWgtMi45NzVjLjI1Ny0zLjM1MSAzLjA2LTYgNi40NzUtNiAzLjU4NCAwIDYuNSAyLjkxNiA2LjUgNi41cy0yLjkxNiA2LjUtNi41IDYuNWMtMS44NjMgMC0zLjU0Mi0uNzkzLTQuNzI4LTIuMDUzbC0yLjQyNyAzLjIxNmMxLjg3NyAxLjc1NCA0LjM4OSAyLjgzNyA3LjE1NSAyLjgzNyA1Ljc5IDAgMTAuNS00LjcxIDEwLjUtMTAuNXMtNC43MS0xMC41LTEwLjUtMTAuNXoiLz48L3N2Zz4=");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60% 60%;
    cursor: pointer;
    display: inline-flex;
    vertical-align: middle;
    transition: background-color 0.3s, transform 0.5s;
}

    .refresh-btn:hover {
        background-color: #2980b9;
        transform: rotate(20deg); /* چرخش جزئی هنگام هاور */
    }

    .refresh-btn:active {
        transform: rotate(360deg); /* چرخش کامل هنگام کلیک */
    }
