@font-face {
	font-family: 'IRANSansX';
	font-style: normal;
	font-weight: 100;
	font-display: swap;
	src: url('fonts/woff/IRANSansX-Thin.woff') format('woff'),
	     url('fonts/woff2/IRANSansX-Thin.woff2') format('woff2');
}

@font-face {
	font-family: 'IRANSansX';
	font-style: normal;
	font-weight: 200;
	font-display: swap;
	src: url('fonts/woff/IRANSansX-UltraLight.woff') format('woff'),
	     url('fonts/woff2/IRANSansX-UltraLight.woff2') format('woff2');
}

@font-face {
	font-family: 'IRANSansX';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url('fonts/woff/IRANSansX-Light.woff') format('woff'),
	     url('fonts/woff2/IRANSansX-Light.woff2') format('woff2');
}

@font-face {
	font-family: 'IRANSansX';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/woff/IRANSansX-Regular.woff') format('woff'),
	     url('fonts/woff2/IRANSansX-Regular.woff2') format('woff2');
}

@font-face {
	font-family: 'IRANSansX';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('fonts/woff/IRANSansX-Medium.woff') format('woff'),
	     url('fonts/woff2/IRANSansX-Medium.woff2') format('woff2');
}

@font-face {
	font-family: 'IRANSansX';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('fonts/woff/IRANSansX-DemiBold.woff') format('woff'),
	     url('fonts/woff2/IRANSansX-DemiBold.woff2') format('woff2');
}

@font-face {
	font-family: 'IRANSansX';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('fonts/woff/IRANSansX-Bold.woff') format('woff'),
	     url('fonts/woff2/IRANSansX-Bold.woff2') format('woff2');
}
@font-face {
	font-family: 'IRANSansX';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url('fonts/woff/IRANSansX-ExtraBold.woff') format('woff'),
	     url('fonts/woff2/IRANSansX-ExtraBold.woff2') format('woff2');
}
@font-face {
	font-family: 'IRANSansX';
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url('fonts/woff/IRANSansX-Black.woff') format('woff'),
	     url('fonts/woff2/IRANSansX-Black.woff2') format('woff2');
}

body, html, a, li, ol, ul, p, input, textarea, h1,h2,h3,h4,h5,h6, button, select, .message-body {font-family: IRANSansX, sans-serif !important;}

.xpvb {
    margin-left: 3px;
}
.inputNumber-button {font-family: 'Font Awesome 5 Pro' !important;}
.p-navgroup-link.p-navgroup-link--textual.p-navgroup-link--logIn:after {
        content: 'یا' !important;
        padding: 3px 7px !important;
}

/*
.bbWrapper br + br {
    display: none;
}
*/
/*
a:hover {text-underline-offset: 7px;
    text-decoration: underline;}
*/
    
.afAwardLevel--style {
    border-radius: 50%;
    border-width: 2px;
    border-style: solid;
    height: 26px;
    width: 26px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding-top: 3px;
    font-size: 13px;
}
.lSSlideOuter .lSPager.lSpg {
    margin-top: 5px !important;
}


.p-navEl [data-nav-id="dbtechEcommerce"]:before {
    font-family: 'Font Awesome 5 Pro';
    content: "\f07a";
    padding-left: 5px;
}
.p-navEl [data-nav-id="xa_ubs"]:before {
    font-family: 'Font Awesome 5 Pro';
    content: "\f303";
    padding-left: 5px;
}
.p-navEl [data-nav-id="dbtechCredits"]:before {
    font-family: 'Font Awesome 5 Pro';
    content: "\f1b2";
    padding-left: 5px;
}
.p-navEl [data-nav-id="dbtechDonate"]:before {
    font-family: 'Font Awesome 5 Pro';
    content: "\f09d";
    padding-left: 5px;
}

.node-icon, .no-icon {
    padding: unset !important;
}
.node.node--read .node-icon img.cv6-node--img, .dataList-cell.node--read .node-icon img.cv6-node--img {
    opacity: calc(60 / 100);
    max-height: 100% !important;
    filter: grayscale(1);
    -webkit-transition: opacity .25s ease, filter .25s ease;
    transition: opacity .25s ease, filter .25s ease;
    padding: 10px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: #f5f8fa;
    color: #009ef7;
    font-size: 25px;
    border-radius: 6px;
    margin-top: 5px;
}
[data-template*="thread_view"] .p-body-tse.is-sticky, [data-template="xfrm_thread_view_type_resource"] .p-body-tse.is-sticky {
    /*top: calc(0px) !important;*/
    display:none;
}
.p-navgroup-link.badgeContainer {
    margin-top: 10px;
}
.node-subNodeFlatList>li {
    display: inline-block;
    float: right;
    margin: 2px -1% 0 0;
    width: 45%;
}

@media (max-width: 480px) {
    .p-title-pageAction a[href="/talk/whats-new/posts/"], .p-header-logo {
        display:none;
    }
    .p-navgroup-link.badgeContainer {
    position: relative;
    }
}

.lfs .tabGroup .structItem--lfsItem:hover {
    background: #f1f9ff !important;
}

.memberTooltip-actions .button.button--link, .memberTooltip-actions a.button.button--link {
    margin-bottom: 5px;
}
.block-container .contentRow .trophyIcon {
    margin-left: 10px;
}

.bbImageWrapper {
    text-align: center;
    width: 100%;
}
.bbImage {
    max-width: 90% !important;
    display: block;
    margin: 7px auto;
    box-shadow: 0px 8px 20px -2px rgb(82 63 105 / 10%);
    border-radius: 10px;
    text-align: center;
    border: 1px solid #edf0f1;
}

.fr-box .fr-counter {
    bottom: 0px;
    left: 0px;
    right: unset !important;
    font-size: 11px !important;
    color: #5e6278;
    font-weight: 400;
    background: #f5f8fa;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 7px;
    padding: 6px;
    position: absolute;
}
.messageOwner-Indicator i {margin-left: 3px;}

.bbCodeInline {
    direction: ltr;
    unicode-bidi: plaintext;
}

.structItem-parts .structItem-startDate a::before, .structItem-cell--latest .structItem-latestDate::before {
    padding-left: 4px !important;
}

.bbTable {
    padding: 15px;
}
.bbWrapper a.link {
    background: #dff0ff;
    padding: 1px 5px;
    line-height: 28px;
    border-radius: 5px;
    color: #16568f;
}
.bbWrapper a.link:hover {
    background: #c0e2ff;
    color: #05233d;
}

.bbTable table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 14px -3px rgba(50, 50, 50, 0.12);
    background: #fff;
    margin: 1px 0;
    direction: rtl;
}

.bbTable th, .bbTable td {
    padding: 12px 12px 12px 10px !important;
    text-align: right;
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    border-left: 1px solid #ededed;       /* اضافه شد */
    background: transparent;
}

.bbTable th:first-child, .bbTable td:first-child {
    border-right: 1px solid #ededed;      /* اضافه شد */
}

.bbTable th:last-child, .bbTable td:last-child {
    border-left: none !important;         /* آخرین ستون سمت چپ خط نداشته باشد */
}

.bbTable tr:first-child td, .bbTable tr:first-child th {
    background: linear-gradient(90deg, #006d77 60%, #83c5be 150%);
    color: #fff;
    font-weight: bold;
    border-bottom: 0;
    font-size: 17px;
    letter-spacing: 0.5px;
}

.bbTable tr:last-child td {
    border-bottom: none;
}

/* گرد شدن سلول‌ها در چهار گوشه */
.bbTable tr:first-child td:first-child,
.bbTable tr:first-child th:first-child {
    border-top-right-radius: 12px;
}
.bbTable tr:first-child td:last-child,
.bbTable tr:first-child th:last-child {
    border-top-left-radius: 12px;
}
.bbTable tr:last-child td:first-child {
    border-bottom-right-radius: 12px;
}
.bbTable tr:last-child td:last-child {
    border-bottom-left-radius: 12px;
}

