/* =========================================================
   NHRC - Global Persian Fonts
   ========================================================= */

/* فونت عمومی متن */
html,
body {
    font-family: 'IRANSans', Tahoma, Arial, sans-serif !important;
}


/* عناصر متنی */
body p,
body span,
body a,
body li,
body label,
body input,
body textarea,
body select,
body option,
body button,
body strong,
body b,
body em,
body small {
    font-family: 'IRANSans', Tahoma, Arial, sans-serif !important;
}


/* =========================================================
   تیترها - Kahroba
   ========================================================= */

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    font-family: 'Kahroba', 'IRANSans', Tahoma, Arial, sans-serif !important;
}


/* تیترهایی که داخل لینک یا span هستند */
body h1 *,
body h2 *,
body h3 *,
body h4 *,
body h5 *,
body h6 * {
    font-family: 'Kahroba', 'IRANSans', Tahoma, Arial, sans-serif !important;
}


/* =========================================================
   منوی سایت
   ========================================================= */

body .sf-menu a,
body .sf-menu > li > a,
body .sf-with-ul-pre,
body .sf-menu li a {
    font-family: 'IRANSans', Tahoma, Arial, sans-serif !important;
}


/* =========================================================
   GDLR
   ========================================================= */

/* عنوان‌ها */
body .gdlr-core-title-item-title,
body .gdlr-core-title-item-title-wrap h1,
body .gdlr-core-title-item-title-wrap h2,
body .gdlr-core-title-item-title-wrap h3,
body .gdlr-core-title-item-title-wrap h4,
body .gdlr-core-title-item-title-wrap h5,
body .gdlr-core-title-item-title-wrap h6 {
    font-family: 'Kahroba', 'IRANSans', Tahoma, Arial, sans-serif !important;
}


/* متن‌های GDLR */
body .gdlr-core-text-box-item-content,
body .gdlr-core-info-font,
body .gdlr-core-skin-caption,
body .gdlr-core-button {
    font-family: 'IRANSans', Tahoma, Arial, sans-serif !important;
}


/* =========================================================
   NHRC - Revolution Slider Persian Fonts
   ========================================================= */

/* -----------------------------------------
   تمام متن‌های Revolution Slider
   ----------------------------------------- */

body .rs-module .rs-layer,
body .rs-module .rs-layer *,
body rs-module .rs-layer,
body rs-module .rs-layer * {
    font-family: 'IRANSans', Tahoma, Arial, sans-serif !important;
}


/* -----------------------------------------
   عنوان اصلی اسلایدر
   NHRC
   ----------------------------------------- */

body .rs-module .lebeaune-font,
body .rs-module .jost-font {
    font-family: 'IRANSans', Tahoma, Arial, sans-serif !important;
}


/* -----------------------------------------
   NHRC - عنوان اصلی
   ----------------------------------------- */

body #slider-1-slide-1-layer-3 {
    font-family: 'Kahroba', 'IRANSans', Tahoma, Arial, sans-serif !important;
}


/* -----------------------------------------
   عنوان مرکز
   ----------------------------------------- */

body #slider-1-slide-1-layer-5 {
    font-family: 'IRANSans', Tahoma, Arial, sans-serif !important;
}


/* -----------------------------------------
   توضیح اسلاید
   ----------------------------------------- */

body #slider-1-slide-1-layer-9 {
    font-family: 'IRANSans', Tahoma, Arial, sans-serif !important;
}


/* -----------------------------------------
   دکمه آشنایی با مرکز
   ----------------------------------------- */

body #slider-1-slide-1-layer-14 {
    font-family: 'IRANSans', Tahoma, Arial, sans-serif !important;
}

/* =========================================================
   NHRC - Desktop Main Navigation RTL
   ========================================================= */

.kingster-navigation .sf-menu {
    direction: rtl;
    text-align: right !important;
}

/* آیتم‌های اصلی منو از راست به چپ */
.kingster-navigation .sf-menu > li {
    float: right;
}

/* متن آیتم‌های منو */
.kingster-navigation .sf-menu > li > a {
    direction: rtl;
    text-align: right;
}

/* فاصله و فلش زیرمنو */
.kingster-navigation-submenu-indicator
.sf-menu > li > a.sf-with-ul-pre:after {
    margin-right: 13px !important;
    margin-left: 0 !important;
}

/* =========================================================
   Desktop Submenu RTL
   ========================================================= */

.kingster-navigation .sf-menu > .kingster-normal-menu ul {
    direction: rtl;
    text-align: right;
}

.kingster-navigation .sf-menu > .kingster-normal-menu li > a {
    direction: rtl;
    text-align: right;
    padding: 6px 12px 6px 30px !important;
}

/* فلش زیرمنو در سمت چپ */
.kingster-navigation
.sf-menu > .kingster-normal-menu li > a.sf-with-ul-pre:after {
    right: auto !important;
    left: 10px !important;
    content: "\f104" !important;
    font-family: FontAwesome !important;
}

/* =========================================================
   NHRC - Mobile Menu RTL
   ========================================================= */

@media screen and (max-width: 1024px) {

    /* منوی موبایل از سمت راست */
    html.mm-opened .mm-menu,
    html.mm-opening .mm-menu {
        direction: rtl;
    }

    /* متن آیتم‌های منو سمت راست */
    .mm-menu .mm-listview,
    .mm-menu .mm-listview > li,
    .mm-menu .mm-listview > li > a,
    .mm-menu .mm-listview > li > span {
        direction: rtl;
        text-align: right !important;
    }

    /* فضای متن */
    .mm-menu .mm-listview > li > a,
    .mm-menu .mm-listview > li > span {
        padding-left: 1px;
        padding-right: 10px;
    }

    /* آیکون/فلش باز کردن زیرمنو در سمت چپ */
    .mm-menu .mm-listview .mm-next {
        right: auto;
        left: 0;
    }

    /* اگر فلش pseudo-element داشته باشد */
    .mm-menu .mm-listview .mm-next:after {
        right: auto;
        left: 0px;
    }

}

/* =========================================================
   NHRC - Footer Complete RTL
   ========================================================= */

.kingster-footer-wrapper {
    direction: rtl;
}


/* =========================================================
   چیدمان ستون‌های فوتر
   ستون اول HTML باید در سمت راست قرار بگیرد
   ========================================================= */

.kingster-footer-container {
    direction: rtl;
}


/* ستون‌های فوتر از راست به چپ */
.kingster-footer-container
.kingster-footer-column {
    float: right !important;
}


/* =========================================================
   متن و عنوان‌ها
   ========================================================= */

.kingster-footer-wrapper .widget,
.kingster-footer-wrapper .textwidget,
.kingster-footer-wrapper p,
.kingster-footer-wrapper h3,
.kingster-footer-wrapper ul,
.kingster-footer-wrapper li,
.kingster-footer-wrapper a {
    direction: rtl;
    text-align: right !important;
}


/* عنوان ستون */
.kingster-footer-wrapper .kingster-widget-title {
    text-align: right !important;
}


/* منوی فوتر */
.kingster-footer-wrapper
.gdlr-core-custom-menu-widget,
.kingster-footer-wrapper
.gdlr-core-custom-menu-widget li,
.kingster-footer-wrapper
.gdlr-core-custom-menu-widget li a {
    direction: rtl;
    text-align: right !important;
}


/* اطلاعات تماس */
.kingster-footer-wrapper .textwidget {
    text-align: right !important;
}


/* لوگو */
.kingster-footer-wrapper .textwidget img {
    display: block;
    margin-right: 0 !important;
    margin-left: auto !important;
}


/* =========================================================
   Copyright
   ========================================================= */

.kingster-copyright-wrapper {
    direction: rtl;
}

.kingster-copyright-container {
    direction: rtl;
}


/* متن کپی‌رایت سمت راست */
.kingster-copyright-left {
    float: right !important;
    text-align: right !important;
}


/* شبکه‌های اجتماعی سمت چپ */
.kingster-copyright-right {
    float: left !important;
    text-align: left !important;
    direction: ltr !important;
}


/* =========================================================
   Social Icons
   فاصله استاندارد بین آیکون‌ها
   ========================================================= */

.kingster-copyright-right
.gdlr-core-social-network-item {
    direction: ltr !important;
    text-align: left !important;
    white-space: nowrap;
}


/* هر آیکون فاصله داشته باشد */
.kingster-copyright-right
.gdlr-core-social-network-icon {
    display: inline-block !important;
    margin-right: 0 !important;
    margin-left: 15px !important;
    margin-right: 15px !important;

}


/* آخرین آیکون بدون فاصله اضافه */
.kingster-copyright-right
.gdlr-core-social-network-icon:last-child {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#backtotop {
    position: fixed;
    right: 20px;
    bottom: 40px;
    display: none;
    z-index: 99999;
}

#backtotop a {
    text-decoration: none;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #01142e;
    color: #ffffff;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
}

#backtotop a:hover {
    background-color: #f8a13e;
}

#backtotop a::before {
    content: "\f062";
    font-family: FontAwesome;
    font-size: 18px;
}



/* RTL - بخش معرفی اولیه درباره مرکز */
.gdlr-core-pbf-wrapper-container.about-intro-rtl {
    direction: rtl;
}

.gdlr-core-pbf-wrapper-container.about-intro-rtl .gdlr-core-pbf-column {
    float: right;
    direction: rtl;
    text-align: right;
}




/* =========================================
   صفحه حوزه های پژوهشی
   جابجایی ستون اصلی و ستون ارتباط
   ========================================= */

#kingster-page-wrapper .gdlr-core-pbf-sidebar-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
}

/* محتوای اصلی - سمت راست */
#kingster-page-wrapper .gdlr-core-pbf-sidebar-content {
    float: none !important;
    order: 2 !important;
    width: 66.666666% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* ستون ارتباط - سمت چپ */
#kingster-page-wrapper .gdlr-core-pbf-sidebar-right {
    float: none !important;
    order: 1 !important;
    width: 33.333333% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}


/* =========================================
   صفحه حوزه های پژوهشی
   جابجایی ستون اصلی و ستون ارتباط
   ========================================= */

#kingster-page-wrapper .gdlr-core-pbf-sidebar-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
}

/* محتوای اصلی - سمت راست */
#kingster-page-wrapper .gdlr-core-pbf-sidebar-content {
    float: none !important;
    order: 2 !important;
    width: 66.666666% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* ستون ارتباط - سمت چپ */
#kingster-page-wrapper .gdlr-core-pbf-sidebar-right {
    float: none !important;
    order: 1 !important;
    width: 33.333333% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* =========================================
   گروه های پژوهشی
   ========================================= */

/* همه باکس ها از سمت راست شروع شوند */
#kingster-page-wrapper .gdlr-core-pbf-sidebar-content 
.gdlr-core-pbf-column.gdlr-core-column-20 {
    float: right !important;
    clear: none !important;
    box-sizing: border-box !important;
}

/* حذف تاثیر column-first قالب */
#kingster-page-wrapper .gdlr-core-pbf-sidebar-content 
.gdlr-core-column-first {
    float: right !important;
}

/* =========================================
   راست چین کردن عنوان ها و متن های بخش اصلی
   ========================================= */

#kingster-page-wrapper .gdlr-core-pbf-sidebar-content {
    direction: rtl !important;
}

#kingster-page-wrapper .gdlr-core-pbf-sidebar-content 
.gdlr-core-title-item,
#kingster-page-wrapper .gdlr-core-pbf-sidebar-content 
.gdlr-core-text-box-item,
#kingster-page-wrapper .gdlr-core-pbf-sidebar-content 
.gdlr-core-icon-list-item {
    direction: rtl !important;
    text-align: right !important;
}

/* عنوان گروه های پژوهشی */
#kingster-page-wrapper .gdlr-core-pbf-sidebar-content 
.gdlr-core-title-item-title {
    text-align: right !important;
}

/* =========================================
   فهرست محورها
   ========================================= */

#kingster-page-wrapper .gdlr-core-icon-list-item ul {
    direction: rtl !important;
    text-align: right !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
}

#kingster-page-wrapper .gdlr-core-icon-list-item li {
    direction: rtl !important;
    text-align: right !important;
}

/* =========================================
   باکس ارتباط با معاونت
   ========================================= */

#kingster-page-wrapper .gdlr-core-pbf-sidebar-right {
    direction: rtl !important;
}

#kingster-page-wrapper .gdlr-core-pbf-sidebar-right .gdlr-core-widget-box-shortcode {
    direction: rtl !important;
    text-align: right !important;
}


/* =========================================
   بخش تب ها
   ========================================= */

#kingster-page-wrapper .gdlr-core-tab-item {
    direction: rtl !important;
}

#kingster-page-wrapper .gdlr-core-tab-item-title-wrap {
    direction: rtl !important;
}

#kingster-page-wrapper .gdlr-core-tab-item-title {
    text-align: center !important;
}

#kingster-page-wrapper .gdlr-core-tab-item-content {
    direction: rtl !important;
    text-align: right !important;
}


/* =========================================
   جلوگیری از کش آمدن بخش سفید
   ========================================= */

#kingster-page-wrapper .gdlr-core-pbf-sidebar-container {
    align-items: flex-start !important;
}

#kingster-page-wrapper .gdlr-core-pbf-sidebar-content,
#kingster-page-wrapper .gdlr-core-pbf-sidebar-right {
    height: auto !important;
    min-height: 0 !important;
}


/* =========================================
   موبایل
   ========================================= */

@media only screen and (max-width: 767px) {

    #kingster-page-wrapper .gdlr-core-pbf-sidebar-container {
        display: block !important;
    }

    #kingster-page-wrapper .gdlr-core-pbf-sidebar-content,
    #kingster-page-wrapper .gdlr-core-pbf-sidebar-right {
        width: 100% !important;
        float: none !important;
    }

    #kingster-page-wrapper .gdlr-core-pbf-sidebar-right {
        margin-top: 30px !important;
    }

    #kingster-page-wrapper .gdlr-core-pbf-sidebar-content 
    .gdlr-core-pbf-column.gdlr-core-column-20 {
        width: 100% !important;
        float: none !important;
    }
}


/* -----------------------------------------------------
   3. وسط چین کردن کل محتوای باکس ارتباط
   ----------------------------------------------------- */

#kingster-page-wrapper .gdlr-core-pbf-sidebar-right
.gdlr-core-widget-box-shortcode-content {
    text-align: center !important;
}


/* عنوان و متن های داخل باکس */
#kingster-page-wrapper .gdlr-core-pbf-sidebar-right
.gdlr-core-widget-box-shortcode-content h3,
#kingster-page-wrapper .gdlr-core-pbf-sidebar-right
.gdlr-core-widget-box-shortcode-content p {
    text-align: center !important;
}



/* =========================================
   فرآیند مشارکت در طرح پژوهشی - RTL
   ========================================= */

/* =====================================================
   فرآیند مشارکت در طرح پژوهشی
   چیدمان صحیح RTL
   ===================================================== */

/* کانتینر اصلی */
.gdlr-core-pbf-wrapper[style*="padding: 90px 0px 30px 0px"]
.gdlr-core-pbf-wrapper-container {
    direction: rtl !important;
}


/* عنوان فرآیند تمام عرض باشد */
.gdlr-core-pbf-wrapper[style*="padding: 90px 0px 30px 0px"]
.gdlr-core-pbf-wrapper-container > .gdlr-core-pbf-element {
    width: 100% !important;
    float: none !important;
    clear: both !important;
}


/* هر سه ستون در هر ردیف */
.gdlr-core-pbf-wrapper[style*="padding: 90px 0px 30px 0px"]
.gdlr-core-pbf-wrapper-container
.gdlr-core-pbf-column.gdlr-core-column-20 {
    float: none !important;
    clear: none !important;
    width: 33.333333% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: block !important;
}


/* حذف اثر column-first */
.gdlr-core-pbf-wrapper[style*="padding: 90px 0px 30px 0px"]
.gdlr-core-pbf-wrapper-container
.gdlr-core-pbf-column-first {
    clear: none !important;
    float: none !important;
}


/* -----------------------------------------
   خود مراحل را به صورت Flex قرار بده
   ----------------------------------------- */

.gdlr-core-pbf-wrapper[style*="padding: 90px 0px 30px 0px"]
.gdlr-core-pbf-wrapper-container {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    align-items: flex-start !important;
}


/* عنوان باید اول صفحه و تمام عرض باشد */
.gdlr-core-pbf-wrapper[style*="padding: 90px 0px 30px 0px"]
.gdlr-core-pbf-wrapper-container
.gdlr-core-pbf-element:first-child {
    flex: 0 0 100% !important;
}


/* -----------------------------------------
   ترتیب RTL مراحل
   ----------------------------------------- */

.gdlr-core-pbf-wrapper[style*="padding: 90px 0px 30px 0px"]
.gdlr-core-pbf-wrapper-container
.gdlr-core-pbf-column.gdlr-core-column-20 {
    direction: rtl !important;
}


/* -----------------------------------------
   محتوای هر مرحله
   ----------------------------------------- */

.gdlr-core-pbf-wrapper[style*="padding: 90px 0px 30px 0px"]
.gdlr-core-column-service-item {
    direction: rtl !important;
    text-align: right !important;
    min-height: 0 !important;
}


/* شماره مرحله */
.gdlr-core-pbf-wrapper[style*="padding: 90px 0px 30px 0px"]
.gdlr-core-column-service-media {
    float: right !important;
    margin-right: 0 !important;
    margin-left: 20px !important;
}


/* متن کنار شماره */
.gdlr-core-pbf-wrapper[style*="padding: 90px 0px 30px 0px"]
.gdlr-core-column-service-content-wrapper {
    direction: rtl !important;
    text-align: right !important;
}


/* عنوان هر مرحله */
.gdlr-core-pbf-wrapper[style*="padding: 90px 0px 30px 0px"]
.gdlr-core-column-service-title {
    text-align: right !important;
    direction: rtl !important;
}


/* متن مراحل */
.gdlr-core-pbf-wrapper[style*="padding: 90px 0px 30px 0px"]
.gdlr-core-column-service-content {
    text-align: right !important;
    direction: rtl !important;
}


/* -----------------------------------------
   فاصله بین دو ردیف
   ----------------------------------------- */

.gdlr-core-pbf-wrapper[style*="padding: 90px 0px 30px 0px"]
.gdlr-core-pbf-wrapper-container
.gdlr-core-pbf-column.gdlr-core-column-20 {
    margin-bottom: 35px !important;
}


/* -----------------------------------------
   موبایل
   ----------------------------------------- */

@media only screen and (max-width: 767px) {

    .gdlr-core-pbf-wrapper[style*="padding: 90px 0px 30px 0px"]
    .gdlr-core-pbf-wrapper-container {
        display: block !important;
    }

    .gdlr-core-pbf-wrapper[style*="padding: 90px 0px 30px 0px"]
    .gdlr-core-pbf-wrapper-container
    .gdlr-core-pbf-column.gdlr-core-column-20 {
        width: 100% !important;
        float: none !important;
        margin-bottom: 35px !important;
    }

}


/* جدول اطلاعات دوره ICNC */
.gdlr-core-course-info-item-inner{
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    direction: rtl !important;
}

.gdlr-core-course-info-item-inner > .gdlr-core-pbf-column{
    float: none !important;
    width: 33.333% !important;
    margin: 0 !important;
    padding: 5px 5px !important;
    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;
    justify-content: right !important;
    gap: 10px !important;

    direction: rtl !important;
}

/* عنوان */
.gdlr-core-course-info-item-inner .gdlr-core-head{
    display: inline-block !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

/* مقدار */
.gdlr-core-course-info-item-inner .gdlr-core-tail{
    display: inline-block !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

/* نمایش موبایل */
@media screen and (max-width: 767px){

    .gdlr-core-course-info-item-inner > .gdlr-core-pbf-column{
        width: 100% !important;
        justify-content: center !important;
    }

}







.sponsors-section .gdlr-core-pbf-wrapper-container {
    direction: rtl;
}

/* ستون عنوان برود سمت راست */
.sponsors-section .gdlr-core-column-first {
    float: right;
    text-align: right;
}

/* ستون متن برود سمت چپ */
.sponsors-section .gdlr-core-column-40 {
    float: left;
    text-align: right;
}

/* اصلاح تراز عنوان */
.sponsors-section .gdlr-core-left-align {
    text-align: right !important;
}

/* اصلاح متن */
.sponsors-section .gdlr-core-text-box-item-content {
    direction: rtl;
    text-align: justify;
}