/*
 Theme Name:   Soledad Child Theme
 Theme URI:    http://pencidesign.com/
 Description:  Soledad Child Theme - Made by PenciDesign
 Author:       Pencidesign
 Version:      1.0
 Author URI:   http://pencidesign.com/
 Template:     soledad
 Text Domain:  soledad
*/

/* = Theme customization go here
-------------------------------------------------------------- */
.penci_recent-posts-sc ul.side-newsfeed li .side-item .side-item-text h4 a, .widget ul.side-newsfeed li .side-item .side-item-text h4 a {font-size: 14px}
.penci-login-register input[type="submit"], #respond #submit, .wpcf7 input[type="submit"], .widget_wysija input[type="submit"] {
    text-transform: uppercase;
    font-family: var(--pchead-font);
    font-weight: var(--pchead-wei);
    background: #107a18;
    border-radius: 0;
    font-size: 14px;
    color: #ffffff;
    padding: 12px 20px;
    display: inline-block;
    -o-transition: .3s;
    -moz-transition: .3s;
    -webkit-transition: .3s;
    transition: .3s;
    cursor: pointer;
    width: auto;
    min-width: 120px;
    text-align: center;
    margin: 0;
    border: none;
}
.post-title-box, #respond h3.comment-reply-title {
    position: relative;
    padding: 10px;
    margin-bottom: 20px;
    text-align: right;
}
.elementor-kit-6 input:not([type="button"]):not([type="submit"]), .elementor-kit-6 textarea, .elementor-kit-6 .elementor-field-textual {
    font-size: 14px;
    color: #3E3E3E;
    accent-color: #FFFFFF;
    background-color: #EEEEEE;
    box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.5);
    border-radius: 5px 5px 5px 5px;
    padding: 15px 15px 15px 15px;
}

.penci-homepage-title.style-12 .inner-arrow, .penci-sidebar-content.style-12 .penci-border-arrow .inner-arrow {
    display: inline-block;
    margin-bottom: -2px;
    background-color: #205829;
    color: rgb(255, 255, 255);
    padding-top: 0px;
    padding-bottom: 0px;
    line-height: 34px;
    border-width: 0px;
    border-style: initial;
    border-color: initial;
    border-image: initial;
}
.penci-homepage-title.style-12 .inner-arrow, .penci-sidebar-content.style-12 .penci-border-arrow .inner-arrow {
    display: inline-block;
    margin-bottom: -2px;
    background-color: #205829;
    color: #fff;
    border: 0;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 34px;
}
.penci-border-arrow .inner-arrow {
    border: 1px solid #205829;
    background: #fff;
    position: relative;
    display: block;
    text-transform: uppercase;
    padding: 8px 12px 7px;
    z-index: 3;
    font-size: 14px;
}
.penci-homepage-title.style-12 .inner-arrow, .penci-sidebar-content.style-12 .penci-border-arrow .inner-arrow {
    display: inline-block;
    margin-bottom: -2px;
    background-color: #205829;
    color: #fff;
    border: 0;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 34px;
}

.penci-homepage-title.style-12.pcalign-center .inner-arrow:after, .penci-homepage-title.style-12.pcalign-right .inner-arrow:after, .penci-sidebar-content.style-12.pcalign-center .penci-border-arrow .inner-arrow:after, .penci-sidebar-content.style-12.pcalign-right .penci-border-arrow .inner-arrow:after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border-bottom: 34px solid #205829;
    border-left: 20px solid transparent;
    z-index: 1;
    left: -20px;
    opacity: .7;
    background-color: transparent !important;
}
.penci-homepage-title.style-12, .penci-homepage-title.style-5, .penci-homepage-title.style-7, .penci-homepage-title.style-9, .penci-sidebar-content.style-12 .penci-border-arrow, .penci-sidebar-content.style-5 .penci-border-arrow, .penci-sidebar-content.style-7 .penci-border-arrow, .penci-sidebar-content.style-9 .penci-border-arrow {
    border-bottom: 2px solid #205829;
}
address, caption, cite, code, dfn, strong, th, var {
    font-style: normal;
    font-family: 'Estedad';
}

/* رنگ هدر جدول */
.pcrstb-wrap table thead tr {
    background: #cccccc;
}

/* ردیف‌های زوج و فرد */
.pcrstb-wrap table tbody tr:nth-child(even) {
    background: #f8f8f8;
}

.pcrstb-wrap table tbody tr:nth-child(odd) {
    background: #ffffff;
}
.pcrstb-wrap table {
    width: 100% !important;
    table-layout: auto !important;
    border-collapse: collapse;
}

.pcrstb-wrap table td,
.pcrstb-wrap table th {
    padding: 12px 15px !important;
    white-space: normal !important;
    word-break: normal !important;
}
/* رزرو فضای لوگو قبل از بارگذاری */
img.wp-image-30022 {
    width: min(200px, 100%) !important;
    height: auto !important;
    aspect-ratio: 8 / 3;
    object-fit: contain;
    display: block;
}

/* رزرو فضای بنر مربعی */
img.wp-image-36891 {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

/* ثابت نگه‌داشتن ابعاد فلش‌های اسلایدر */
.elementor-element-faa25e5 .elementor-swiper-button {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
}
/* =========================================
   Easy Table of Contents
   RTL Persian - Final Fix
   ========================================= */

#ez-toc-container {
    float: none !important;
    clear: both !important;

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 20px 0 !important;
    padding: 16px 20px !important;

    box-sizing: border-box !important;

    direction: rtl !important;
    text-align: right !important;

    /* عنوان و دکمه کنار هم */
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;

    column-gap: 10px !important;
}


/* =========================================
   عنوان واقعی "سرفصل ها"
   ========================================= */

#ez-toc-container .ez-toc-box-title {
    display: block !important;
    float: none !important;

    flex: 0 0 auto !important;

    width: auto !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    direction: rtl !important;
    text-align: right !important;

    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 36px !important;

    order: 1 !important;
}


/* این عنوان خالی است و نیازی به نمایش ندارد */
#ez-toc-container .ez-toc-title {
    display: none !important;
}


/* =========================================
   کانتینر دکمه باز و بسته شدن
   ========================================= */

#ez-toc-container .ez-toc-title-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto !important;

    width: auto !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    direction: rtl !important;

    order: 2 !important;
}


/* دکمه toggle */
#ez-toc-container .ez-toc-title-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    float: none !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;
    transform: none !important;
}


/* خنثی کردن float خود افزونه */
#ez-toc-container .ez-toc-pull-right {
    float: none !important;
}


/* خود دکمه */
#ez-toc-container .ez-toc-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    float: none !important;

    margin: 0 !important;
}


/* =========================================
   NAV
   ========================================= */

#ez-toc-container nav {
    display: block !important;

    flex: 0 0 100% !important;
    width: 100% !important;

    height: auto !important;
    min-height: 0 !important;

    margin-top: 12px !important;

    direction: rtl !important;
    text-align: right !important;

    order: 3 !important;
}


/* =========================================
   لیست اصلی
   ========================================= */

#ez-toc-container ul.ez-toc-list {
    width: 100% !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    direction: rtl !important;
    text-align: right !important;

    box-sizing: border-box !important;
}


/* تمام آیتم‌ها */
#ez-toc-container ul.ez-toc-list li {
    width: 100% !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 0 7px 0 !important;
    padding: 0 !important;

    direction: rtl !important;
    text-align: right !important;

    line-height: 1.9 !important;

    box-sizing: border-box !important;
}


/* =========================================
   لینک سرفصل‌ها
   ========================================= */

#ez-toc-container a.ez-toc-link {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    direction: rtl !important;
    text-align: right !important;

    font-size: 16px !important;
    line-height: 1.9 !important;
}


/* =========================================
   زیرعنوان‌ها
   ========================================= */

#ez-toc-container ul.ez-toc-list ul {
    width: 100% !important;

    margin: 5px 0 0 0 !important;

    padding-right: 24px !important;
    padding-left: 0 !important;

    direction: rtl !important;
    text-align: right !important;

    box-sizing: border-box !important;
}


/* فونت زیرعنوان */
#ez-toc-container ul.ez-toc-list ul a.ez-toc-link {
    font-size: 15px !important;
}


/* حذف margin چپ افزونه */
#ez-toc-container li,
#ez-toc-container li ul,
#ez-toc-container li ol {
    margin-left: 0 !important;
}


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

@media (max-width: 767px) {

    #ez-toc-container {
        padding: 14px 15px !important;
        column-gap: 8px !important;
    }

    #ez-toc-container .ez-toc-box-title {
        font-size: 17px !important;
    }

    #ez-toc-container a.ez-toc-link {
        font-size: 15px !important;
    }

    #ez-toc-container ul.ez-toc-list ul {
        padding-right: 18px !important;
    }

    #ez-toc-container ul.ez-toc-list ul a.ez-toc-link {
        font-size: 14px !important;
    }
}
/* =========================================
   Easy TOC - Final RTL Alignment Fix
   ========================================= */

/* ساختار بالای فهرست */
#ez-toc-container {
    direction: rtl !important;
    text-align: right !important;

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;

    align-items: center !important;
    justify-content: flex-start !important;

    column-gap: 8px !important;
}


/* عنوان واقعی: سرفصل ها */
#ez-toc-container .ez-toc-box-title {
    position: static !important;

    top: auto !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;

    display: block !important;
    float: none !important;

    flex: 0 0 auto !important;
    order: 1 !important;

    width: auto !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    direction: rtl !important;
    text-align: right !important;

    text-transform: none !important;
    letter-spacing: 0 !important;

    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 32px !important;
}


/* عنوان خالی افزونه */
#ez-toc-container .ez-toc-title {
    display: none !important;
}


/* کانتینر دکمه باز و بسته شدن */
#ez-toc-container .ez-toc-title-container {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    position: static !important;

    flex: 0 0 auto !important;
    order: 2 !important;

    width: auto !important;
    max-width: none !important;

    height: 32px !important;
    min-height: 32px !important;

    margin: 0 !important;
    padding: 0 !important;

    direction: rtl !important;
}


/* خود دکمه */
#ez-toc-container .ez-toc-title-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    float: none !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;
}


/* حذف float افزونه */
#ez-toc-container .ez-toc-pull-right {
    float: none !important;
    margin: 0 !important;
}


/* فهرست زیر عنوان قرار بگیرد */
#ez-toc-container nav {
    order: 3 !important;

    flex: 0 0 100% !important;
    width: 100% !important;

    margin-top: 8px !important;

    direction: rtl !important;
    text-align: right !important;
}


/* اندازه فونت سرفصل‌های اصلی */
#ez-toc-container a.ez-toc-link {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;

    direction: rtl !important;
    text-align: right !important;
}


/* فاصله بین آیتم‌ها */
#ez-toc-container ul.ez-toc-list li {
    margin-bottom: 4px !important;
    line-height: 1.8 !important;
}


/* زیرعنوان‌ها */
#ez-toc-container ul.ez-toc-list ul {
    padding-right: 20px !important;
    padding-left: 0 !important;
    margin-top: 4px !important;
}

#ez-toc-container ul.ez-toc-list ul a.ez-toc-link {
    font-size: 13.5px !important;
}


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

    #ez-toc-container .ez-toc-box-title {
        font-size: 14.5px !important;
    }

    #ez-toc-container a.ez-toc-link {
        font-size: 13.5px !important;
    }

    #ez-toc-container ul.ez-toc-list ul a.ez-toc-link {
        font-size: 13px !important;
    }
}