@font-face {
    font-family: "yekan";
    font-style: normal;
    font-display: swap;
    src: url("../fonts/yekanRegular.woff2") format("woff");
}

@font-face {
    font-family: "Kalameh";
    font-style: normal;
    font-display: swap;
    src: url("../fonts/KalamehWeb-Bold.woff") format("woff");
}

/*armin root css*/
:root {
    --main: #FFB400;
    --second: #1D1D1D;
    --text: #E8E8E8;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    line-height: 2;
}

.c-main {
    color: var(--main);
}

.c-second {
    color: var(--second);
}

.c-text {
    color: var(--text);
}

.bg-main {
    background: var(--main);
}

.bg-second {
    background: var(--second);
}

p {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    font-family: yekan;
    font-size: 0.9rem !important;
    line-height: 2;
    color: white;
    background: #323232;
    text-align: justify;

}

img {
    height: auto !important;
    max-width: 100%;
}

a {
    text-decoration: none !important;
    color: unset;
}


ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1 {
    font-size: 1.6rem;
    margin: 0 !important;
    padding: 0 !important;
}

h2 {
    font-size: 1.4rem;
    margin: 0 !important;
    padding: 0 !important;
}

h3 {
    font-size: 1.2rem;
    margin: 0 !important;
    padding: 0 !important;
}


h4 {
    font-size: 1rem;
    margin: 0 !important;
    padding: 0 !important;
}

h5 {
    font-size: 0.9rem;
    margin: 0 !important;
    padding: 0 !important;
}

h6 {
    font-size: 0.8rem;
    margin: 0 !important;
    padding: 0 !important;
}

.fs-8 {
    font-size: 0.5rem;
}

.fs-9 {
    font-size: 0.5625rem;
}

.fs-10 {
    font-size: 0.625rem;
}

.fs-11 {
    font-size: 0.6875rem;
}

.fs-12 {
    font-size: 0.75rem;
}

.fs-13 {
    font-size: 0.8125rem;
}

.fs-14 {
    font-size: 0.875rem;
}

.fs-15 {
    font-size: 0.9375rem;
}

.fs-16 {
    font-size: 1rem;
}

.fs-17 {
    font-size: 1.0625rem;
}

.fs-18 {
    font-size: 1.125rem;
}

.fs-19 {
    font-size: 1.1875rem;
}

.fs-20 {
    font-size: 1.25rem;
}

.fs-21 {
    font-size: 1.3125rem;
}

.fs-22 {
    font-size: 1.375rem;
}

.fs-23 {
    font-size: 1.4375rem;
}

.fs-24 {
    font-size: 1.5rem;
}

.fs-25 {
    font-size: 1.5625rem;
}

.fs-26 {
    font-size: 1.625rem;
}

.fs-27 {
    font-size: 1.6875rem;
}

.fs-28 {
    font-size: 1.75rem;
}

.fs-29 {
    font-size: 1.8125rem;
}

.fs-30 {
    font-size: 1.875rem;
}

.fs-31 {
    font-size: 1.9375rem;
}

.fs-32 {
    font-size: 2rem;
}


.text-justify {
    text-align: justify;
}


.main-menu .menu-item a {
    color: white !important;
    margin-left: 1.5rem;
    font-weight: 200 !important;
    font-size: 0.9rem !important;
}

.main-menu .menu-item a.active {
    color: white !important;
    font-weight: bold !important;
}

.dropdown-toggle::after {
    display: block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "\002B";
    border-top: unset !important;
    border-right: unset !important;
    border-bottom: 0;
    border-left: unset !important;
    float: left;
    margin-right: 0.5rem;
}

.main-menu li.dropdown:hover ul > .dropdown.nav-item {
    display: block;
}

.main-menu li.dropdown:hover > ul {
    display: block;
    position: absolute;
    text-align: right;
}

a.nav-link.dropdown-toggle.show::after {
    content: "\002D";
}

.main-menu li.dropdown:hover ul.depth_0 {
    display: block;
    position: absolute;
    text-align: right;
    padding: 0 !important;
    top: 90%;
    border-radius: 0.25rem;
    background: #f7f7f7;
    border: 1px solid var(--main);
}

ul.depth_1 {
    right: 95%;
    top: 50%;
}

.main-menu li {
    background: unset !important;
}

.main-menu .menu-item a {
    margin-left: 1.5rem;
    font-weight: 200 !important;
    padding-right: 0;
    color: var(--text2);
}


/*theme root css*/


/*header footer style*/


ul.dropdown-menu.py-3.depth_0 li {
    border-bottom: 1px solid var(--main);
    margin: 0 0.5rem;
    padding-right: 0 !important;

}

ul.dropdown-menu.py-3.depth_0 li:last-of-type {
    border: unset;
}

.mobile-menu.navbar-nav {
    flex-direction: column !important;
    row-gap: 1rem;
}

.side-section h4 {
    position: relative;
    border-bottom: 1px solid white;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.side-section input::placeholder {
    font-size: 12px;
}

.side-section h4:after {
    content: "";
    background: var(--main);
    width: 25%;
    height: 4px;
    display: block;
    position: absolute;
    bottom: 0%;
    transform: translate(0, 50%);
}

.side-section button {
    display: inline !important;
    background: unset;
    border: unset !important;
    outline: unset !important;
}

.side-section input {
    display: inline !important;
    width: 80%;
    border: unset !important;
}

.side-section input:focus {
    border: unset !important;
    box-shadow: unset !important;
    outline: unset !important;
}

.side-section form {
    border: 1px solid #7C7C7C;
    padding: 0.25rem 0;
    border-radius: 0.5rem;
}

.side-section img {
    border-radius: 0.5rem;
    max-width: 30%;
}

.single article .content h2, .single article .content h3, .single article .content h4, .single article .content h5, article .single article .content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: var(--main);
}

h2.screen-reader-text {
    display: none;
}

.blog .first-wrapper h3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    text-align: start;
}

.blog .first-wrapper p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    text-align: start;

}

nav.navigation.pagination {
    text-align: center;
    display: flex;
    justify-content: center;
}

span.page-numbers.current {
    background: var(--main);
    padding: 0.25rem 0.5rem;
    color: white;
    border: 1px solid var(--main);
}

a.page-numbers {
    /* margin: 0 0.5rem; */
    border: 1px solid var(--second);
    padding: 0.25rem 0.5rem;
}


.single article img.aligncenter {
    margin: 0 auto;
    display: block;
}

.page-template-contact .gform_wrapper {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.page-template-contact .icon-wrapper {
    display: inline-block;
    padding: 0.5rem;
    border-radius: 50%;
    margin-bottom: 1rem;
    background: white;
    border: var(--secend) 2px solid;
}

.page-template-contact .box-wra:after {
    width: 60%;
    height: 5px;
    content: "";
    display: block;
    background: var(--secend);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
}

.page-template-contact .gform_fields {
    row-gap: 1rem !important;
}


.wrapper-form:after {
    content: "";
    width: 6px;
    height: 70%;
    position: absolute;
    display: block;
    background: var(--secend);
    top: 50%;
    right: 0;
    transform: translate(4px, -50%);
}

.wrapper-form {
    border-radius: 0 1rem 1rem 0;
    border-left: 6px solid var(--secend);
}

div#map {
    border-radius: 1rem 0 0 1rem;
}

a.custom-logo-link {
    display: block;
    padding: 0.5rem;
}


/*header section*/
.home header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 9999999;
}

/*sec*/
section.slider .info {
    background: #1B1A1A;
    z-index: 9999;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 35%;
    border-radius: .5rem 0 0 .5rem;
}

section.slider .info p {
    color: #DADADA;
}

.sub-message {
    background: #1D1D1D;
}

.end-lined {
    position: relative;
    width: auto;
}

.end-lined:after {
    content: '';
    height: 2px;
    width: 1rem;
    background: var(--main);
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
}

section.message {
    background-position: center center;
    background-size: cover;
}

section.message .container {
    border: solid 3px #525252;
}

section.service .wrapper {
    border: 2px white solid;
}

section.service div.icon {
    right: 1rem;
    top: 0;
}

section.service .wrapper h3 {
    padding-top: 8rem !important;
}

section.service .icon .wrapper-icon:after {
    background: #A1791AFF;
    position: absolute;
    content: '';
    height: 100%;
    width: 2rem;
    display: block;
    right: 99%;
    top: 0;
    clip-path: polygon(0 0, 100% 100%, 100% 0);

}

section.service .icon img {
    width: 80%;
}

span.see-more:after {
    content: '';
    width: 1rem;
    height: 1rem;
    display: block;
    background: var(--main);
    position: absolute;
    top: 2px;
    left: 2px;
    clip-path: polygon(0 0, 0% 100%, 100% 0);
}

span.see-more {
    position: relative;
    border: 1px solid white;
}


.my-next, .my-prev {
    background: var(--main);
    padding: 0.1rem 0.7rem;
}

/*********************************************** footer */
footer {
    background-image: url("../img/footer.webp");
    background-size: cover;
    background-position: center center;
}

section.blog .date {
    top: 0;
    left: 0;
    clip-path: polygon(0 0, 100% 0, 100% 79%, 0% 100%);

}


div#tablepress-3_wrapper {
    background: #F3F3F3;
    border-radius: 1rem;
    padding: 2rem 1rem;
    padding-bottom: 0;
    position: relative;
}

div#tablepress-3_wrapper:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px; /* ارتفاع منطقه محوشدگی */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);

}

.t-wrapper table thead tr th, .t-wrapper table tr td {
    text-align: center !important;
    background: unset;
}

.t-wrapper table thead tr.even td {
    background: #F3F3F3 !important;
}

.t-wrapper table thead tr.odd td {
    background: #E9E8E8 !important;
}

.bordered {
    border: solid 1px;
}


section.brand {
    background: #323232;
}

section.gallery {
    background: #292929;
}

section.gallery .wrapper:after {
    width: 100%;
    height: 30%;
    position: absolute;
    z-index: 10;
    content: '';
    right: 0px;
    top: 0px;
    bottom: 0px;
    background: linear-gradient(180deg, rgba(2, 29, 36, 1) 40%, rgba(0, 212, 255, 0) 100%);
    transition: all .7s cubic-bezier(0.040, 0.630, 0.000, 0.965);
}

section.gallery .wrapper:hover:after {
    height: 100%;
    background: rgba(2, 29, 36, .5);
    transition: all .7s cubic-bezier(0.040, 0.630, 0.000, 0.965);

}

section.gallery .wrapper h3 {
    position: absolute;
    top: 1rem;
    right: 0.5rem;
    z-index: 20;
}

.fastcall {
    position: fixed;
    bottom: 5%;
    left: 5%;
    background: white;
    border-radius: 50%;
    border: var(--bs-green) 3px solid;
    padding: 0.25rem;
    z-index: 9999;
}


.gform-theme--framework .gfield--type-choice .gfield_checkbox,
.gform-theme--framework .gfield--type-choice .gfield_radio {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important; /* اجازه می‌دهد که آیتم‌ها در صورت نیاز به ردیف‌های جدید منتقل شوند */

}

.gform-theme--framework .gfield--type-choice .gfield_checkbox li,
.gform-theme--framework .gfield--type-choice .gfield_radio li {
    flex-basis: calc(33.33% - var(--gf-field-choice-gap)) !important; /* هر آیتم یک سوم عرض */
    box-sizing: border-box !important; /* برای جلوگیری از مشکلات با padding و margin */
}

input#gform_submit_button_3 {
    min-width: 30% !important;
    background: var(--main) !important;
    margin: 0 auto !important;
    color: black;
}

label.gfield_label.gform-field-label {
    background: var(--main) !important;
    padding: .25rem .5rem !important;
    display: inline-block !important;
    margin: 0 !important;
    border-radius: 0.5rem 0 0 0 !important;
}

.gform-theme--foundation .gfield .ginput_password.large, .gform-theme--foundation .gfield input.large, .gform-theme--foundation .gfield select.large {
    border-radius: 0 0 0 .5rem;
}

legend.gfield_label.gform-field-label.gfield_label_before_complex, legend.gfield_label.gform-field-label {
    background: var(--main) !important;
    padding: .25rem .5rem !important;
    border-radius: 0.5rem 0 0 0 !important;

}


.profile-header {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
}

.profile-header:after {
    content: "";
    background: black;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0.7;
}

.page-template-user-profile .acf-field .acf-label {
    margin: 0;
    background: var(--main);
    display: inline-block;
    padding: 0 0.5rem;
    border-radius: 1rem 0 0 0;
}


.page-template-user-profile input.acf-button.button.button-primary.button-large {
    background: var(--bs-green);
    color: white;
    font-weight: bold;
    border: unset;
    padding: 0.25rem 1rem;
    border-radius: 0.5rem;
}

.page-template-user-profile .acf-form-submit {
    text-align: center;
}

.right-sec {
    top: 0;
    height: 50vh;
}

.main-img {
    transition: transform 0.1s linear; /* حرکت نرم */

}


section.slider .wrapper {
    background-position: center center;
    background-size: cover;
}

span.swiper-pagination-bullet {
    background: #FFE5B8;
    opacity: 1;
    border-radius: 2px;
    width: 1rem;
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #FFB400;
    width: 1.5rem;

}

span.under {
    text-decoration: underline;
    text-decoration-color: var(--main);
    text-underline-offset: .75rem;
}

.dt-container .dt-input {

    border-color: #BCBCBC;
    background: #EEEBEB;
    /* border: unset; */
    outline: unset;
    box-shadow: unset;
    border-radius: 3px;
}

.brand .swiper-slide img {
    filter: grayscale(1);
}

.brand .swiper-slide:hover img {
    filter: unset;
}

div#gform_wrapper_5 {
    background: white;
    padding: 1rem;
    border-radius: .5rem;
}

.has_city.has_state {
    display: flex;
    flex-direction: row-reverse;
}


p.gform_required_legend {
    color: black;
    margin-bottom: 2rem !important;
}

.gv-notice {
    color: black !important;
}

#post-body-content {
    background: white;
    color: black;
    padding: 1rem;
    border-radius: 1rem;
}

.postbox-container {
    background: white;
    color: black;
    padding: 1rem;
    border-radius: 1rem;
}

.postbox {
    padding: .5rem !important;
}


.bread:before {
    content: "";
    width: 32px;
    height: 32px;
    display: inline-block;
    background: #eee;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    vertical-align: middle;
    margin-left: 8px;
}

.bread:after {
    content: "";
    width: 20px;
    height: 20px;
    background: var(--main);
    display: inline-block;
    position: absolute;
    right: -7px;
    bottom: 5px;
    border-radius: 50%;
}

.bread a {
    color: var(--main);
}

.my-accordion {
    border: var(--main) 1px solid;
    border-radius: 1rem;
    margin: 1rem 0;
    overflow: hidden;
}

.my-accordion-header {
    padding: .5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
}

.my-accordion-header span {
    color: #A59CB4;
}

/*.my-accordion-header:hover {*/
/*    background-color: #e0e0e0;*/
/*}*/

.my-accordion-content {
    display: none;
    padding: 1rem;
    font-size: 14px;
    color: #615770;
}

.my-accordion.open .my-accordion-content {
    display: block;
}


.my-accordion .icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.my-accordion .minus {
    display: none;
}

.my-accordion.open .minus {
    display: flex;
}

.my-accordion.open .plus {
    display: none;
}


.my-accordion.open .my-accordion-header {
    border-bottom: var(--main) 1px solid;
    color: var(--main);
}

ul#toc {
    color: wheat;
    list-style: disc !important;
}

ul#toc ul {
    list-style: decimal;
    margin-right: 1rem;
}

.first-wrapper img {
    border-radius: .5rem .5rem 0 0;
}

.first-wrapper {
    border-radius: .5rem;
}


ul.list-cat li {
    background: #eee;
    color: #4f4f4f;
    width: 100%;
    display: flex;
    padding: 8px;
    border-radius: 8px;
    font-size: 15px;
    padding-right: 24px;
    align-items: center;
}


section.blog .wrapper p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    -ms-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

section.blog .wrapper h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 1;
    -moz-line-clamp: 1;
    -ms-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
}

.page-template-user-profile ul.acf-checkbox-list.acf-bl li, .page-template-user-profile ul.acf-radio-list.acf-bl li {
    display: inline-block;
}

.page-template-user-profile .acf-field-text, .page-template-user-profile .acf-field-image {
    width: 49%;
    display: inline-block;
}

.page-template-user-profile .acf-image-uploader .button, .page-template-user-profile a.acf-button.button.button-primary.acf-gallery-add {
    display: block;
    background: var(--bs-primary);
    padding: .3rem;
    border-radius: .5rem;
    line-height: 1.5;
    width: fit-content;
}

.info-table tbody, .info-table td, .info-table tfoot, .info-table th, .info-table thead, .info-table tr {
    border: 1px solid;
    text-align: center;
    padding: .5rem;
}

.action-wrapper {
    background: gray;
    padding: 1rem;
    border-radius: 1rem;
}

.user-qr {
    width: 70%;
}

ul.topics.mt-3 {
    list-style: persian;
}

@media only screen and (max-width: 998px) {

}

/**************************************************************************************************** Mobile max 768px */
@media only screen and (max-width: 768px) {
    .fsm-8 {
        font-size: 0.5rem;
    }

    .fsm-9 {
        font-size: 0.5625rem;
    }

    .fsm-10 {
        font-size: 0.625rem;
    }

    .fsm-11 {
        font-size: 0.6875rem;
    }

    .fsm-12 {
        font-size: 0.75rem;
    }

    .fsm-13 {
        font-size: 0.8125rem;
    }

    .fsm-14 {
        font-size: 0.875rem;
    }

    .fsm-15 {
        font-size: 0.9375rem;
    }

    .fsm-16 {
        font-size: 1rem;
    }

    .fsm-17 {
        font-size: 1.0625rem;
    }

    .fsm-18 {
        font-size: 1.125rem;
    }

    .fsm-19 {
        font-size: 1.1875rem;
    }

    .fsm-20 {
        font-size: 1.25rem;
    }

    .fsm-21 {
        font-size: 1.3125rem;
    }

    .fsm-22 {
        font-size: 1.375rem;
    }

    .fsm-23 {
        font-size: 1.4375rem;
    }

    .fsm-24 {
        font-size: 1.5rem;
    }

    .fsm-25 {
        font-size: 1.5625rem;
    }

    .fsm-26 {
        font-size: 1.625rem;
    }

    .fsm-27 {
        font-size: 1.6875rem;
    }

    .fsm-28 {
        font-size: 1.75rem;
    }

    .fsm-29 {
        font-size: 1.8125rem;
    }

    .fsm-30 {
        font-size: 1.875rem;
    }

    .fsm-31 {
        font-size: 1.9375rem;
    }

    .fsm-32 {
        font-size: 2rem;
    }

    ul.dropdown-menu.py-3.depth_0.show li {
        border: unset;
        background: unset !important;
    }

    ul.dropdown-menu.py-3.depth_0.show .menu-item-has-children {
        display: block;
        background: unset;
        position: relative;
        text-align: right;
    }

    .mobile-menunavbar-nav {
        flex-direction: column !important;
        row-gap: 1rem;
    }

    ul.dropdown-menu.py-3.depth_0.show {
        position: relative;
        display: block;
        text-align: right;
        font-size: 14px;
        background: unset;
        border: unset;
    }

    ul.dropdown-menu.sub-menu.py-3.depth_1 {
        position: static !important;
        text-align: right;
        background: unset;
        border: unset;
        padding-right: 1rem;
    }

    div#map {
        height: 30vh !important;
        border-radius: 0.5rem !important;
    }

    .home header {
        position: relative;
        top: unset;
        left: unset;
        transform: none;

    }

    /*.t-wrapper {*/
    /*    overflow-x: scroll;*/
    /*}*/
    /*.t-wrapper table {*/
    /*    min-width: 800px;*/
    /*}*/
    .t-wrapper table thead tr th {
        font-size: 13px;
    }

    section.slider .info {
        width: 60%;
    }

    .has_city.has_state {
        display: flex;
        flex-direction: column-reverse;
    }

    .page-template-user-profile .acf-field-text, .page-template-user-profile .acf-field-image {
        width: unset;
        display: block;
    }

    .user-qr {
        width: 30%;
    }
}