/*!
Theme Name: bavar
Theme URI: http://mahdimirjalili.ir/
Author: mahdi mirjalili
Author URI: http://mahdimirjalili.ir/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bavar
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

bavar is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */
body{
    overflow-x: hidden !important;
}


.AZ-primary-btn {
    font-size: 19px;
    font-family: "YekanBakh-Medium";
    color: #000000 !important;
    padding: 10px 20px !important;
    border: 0 !important;
    transition: all 0.2s linear !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 65.564px !important;
    border-radius: 9.366px !important;
    background: linear-gradient(90deg, #FC9105 0%, #FCB54B 100%) !important;
}
.AZ-primary-btn:hover {
    color: #000000 !important;
    background: linear-gradient(-90deg, #FC9105 0%, #FCB54B 100%) !important;
}

.AZ-field-group input, .AZ-field-group textarea {
    font-size: 16px !important;
    color: #636161 !important;
    font-family: "YekanBakh-Medium";
    padding: 10px !important;
    height: 100% !important;
    flex-grow: 1 !important;
    background-color: transparent !important;
    border: 0 !important;
    min-width: 50px !important;
}
.consulting-box p {
    direction: rtl;
    text-align: right;
    display: flex;
    line-height: 0;
}
.wpcf7 input[type="url"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"] {
    direction: rtl;
}


#commentform .AZ-field-group input ,#commentform .AZ-field-group textarea
{
    border: 1.102px solid #DEDEDE !important;
}

.archive_blog .AZ-img-container-inner{
    position: unset;
}



.page-numbers {
    width: 100%;
    text-align: center;
    /* display: flex; */
    /* align-content: center; */
    /* align-items: center; */
    /* align-self: center; */
}
.pagination ul.page-numbers li {
    float: right;

}
.pagination ul.page-numbers li .page-numbers{
    float: right;
    text-align: center;
    padding: 14px;
    background: #dedede;
    margin: 5px;
    width: 50px;
    height: 50px;
    border-radius: 6px;
    font-family: "YekanBakh-Medium";
    color: #000;
}
.pagination ul.page-numbers li .current
{
    background: #FC9105;
    color: #fff;
    font-family: "YekanBakh-Fat";
}
.next.page-numbers,.prev.page-numbers {
    width: 71px !important;
}
.archive_desc{
    font-family: "YekanBakh-Medium";
}
.thumbnail_post {
    /*max-height: 400px;*/
    border-radius: 21px;
}

.details_blog_datepicker li {
    border-left: 1px solid #dedede;
    padding-left: 10px;
    padding-right: 10px;
}
.entry-content {
    font-family: "YekanBakh-Medium";
    line-height: 50px;
}

.sidebar_section_blog
{
    background: rgba(0,10,107,0.15);
}


.sidebar_section_blog {
    border-radius: 16px;
    font-family: "YekanBakh-Medium";
}
.sidebar_section_blog .AZ-section-title {
    border-bottom: 1px solid #ccc;
}
.sidebar_content {
    position: sticky;
    top: 100px;
    height: fit-content;
}
.related_post_sidebar .post-card-img {
    min-width: 70px;
    border-radius: 10.683px;
    background: unset;
}
.related_post_sidebar .AZ-post-card {
    border-radius: 16px;
    border: 2.097px solid #F1F3F7;
    background: #FFF;
    padding: 6px;
    height: 100%;
}
.related_post_sidebar h6{
    color: #000
}
.sidebar_content .form-control {
    border: 1px solid #747474 !important;
}
.sidebar_content .AZ-primary-btn{
    height: unset !important;
}
.AZ-consulting-section .AZ-section-title {
    margin-bottom: 12px;
}
.AZ-consulting-section .title-desc {
    line-height: 18px;
}
.wpcf7-not-valid-tip {
    display: none !important;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: red;
    font-family: "YekanBakh-Medium";
}
.archive .AZ-post-card.post-card_big .post-card-img {
     flex-grow: unset;
     height: unset;

}
.archive .AZ-img-container-inner {
     height: unset;
}

.swiper-backface-hidden .swiper-slide {
    display: flex !important;
}







@media screen and (max-width: 1360px) {
    .AZ-navbar .nav-link {
        font-size: 16px;
    }
}
@media screen and (max-width: 991px) {
    .w-md-100 {
        width: 100%;
    }
    .AZ-navbar {
        padding: 8px 0;
    }
    .AZ-navbar.header-transparent {
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
        background: transparent;
        padding: 0;
    }
    .AZ-navbar .navbar-collapse {
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        background: #DCE3F0;
        width: 250px;
        z-index: 1000;
        transition: all 0.2s linear;
        padding: 0 20px;
    }
    .AZ-navbar #sidebar.open {
        right: 0;
    }
    .AZ-navbar .close-sidebar {
        padding: 5px;
        color: #FCB54B;
        font-size: 20px;
    }
    .AZ-navbar .nav-item {
        width: 100%;
    }
    .AZ-navbar .nav-link {
        padding: 10px !important;
        width: 100%;
    }
    .AZ-navbar .nav-link {
        font-size: 14px;
    }
    .AZ-navbar .nav-box {
        padding: 15px;
    }
    .AZ-footer {
        padding: 25px 0 20px;
        background: #F8F8F8;
        padding-bottom: 55px !important;
    }
    .AZ-footer::after {
        content: none;
    }
    .AZ-footer .back-top {
        display: none;
    }
    .AZ-footer .col-right {
        padding-left: 10px;
    }
    .AZ-footer .namad-box {
        flex-grow: unset;
        width: 100px;
    }
    .AZ-footer .footer-bottom-link {
        font-size: 14px;
    }
    .AZ-footer .footer-title {
        font-size: 11px;
        color: #656565;
        font-family: "YekanBakh-Heavy";
    }
    .AZ-footer .social a {
        font-size: 16px;
    }
    .AZ-footer .footer-text {
        font-size: 18px;
        color: #535353;
        font-family: "YekanBakh-Medium";
    }
    .mb-40 {
        margin-bottom: 40px !important;
    }
    .AZ-title-wrapper .title-desc {
        font-size: 14px;
    }
    .AZ-section-title {
        font-size: 28px;
    }
    .AZ-section-text {
        font-size: 16px;
    }
    .AZ-accordion .accordion-item__button {
        font-size: 18px;
    }
    .AZ-accordion .accordion-content p {
        font-size: 16px;
    }
    .AZ-accordion .accordion-item__button .close-accordion,
    .AZ-accordion .accordion-item__button .open-accordion {
        font-size: 20px;
        width: 35px;
        height: 35px;
    }
    .view-more-btn {
        font-size: 13px;
        height: 27px;
        padding: 0 10px;
        border-radius: 5px;
    }
    .view-more-btn span {
        font-size: 12px;
    }
    .AZ-post-card .post-card-img {
        min-width: 100px;
    }
    .AZ-post-card .post-card-title {
        font-size: 18px;
        font-family: "YekanBakh-Bold";
    }
    .AZ-post-card .post-card-text {
        font-size: 13px;
    }
    .AZ-post-card .post-card-btn {
        font-size: 12px;
        color: #565656;
        padding: 8px 10px;
    }
    .AZ-post-card .post-card-date {
        font-size: 10px;
    }
    .AZ-post-card.post-card_big .post-card-img::after {
        padding-bottom: 60%;
    }
    .tabs {
        width: 100%;
        position: unset;
        border: 1px solid #DEDEDE;
        border-radius: 6px;
    }
    .tabs .tab-link {
        font-size: 16px;
        height: 40px;
        padding: 5px;
        border-radius: 6px;
    }
    .AZ-primary-btn {
        font-size: 16px;
        height: 40px !important;
    }
    .AZ-secondary-btn {
        font-size: 16px;
        padding: 8px 20px;
    }
    .AZ-ruls-ection .ruls-item {
        font-size: 16px;
    }
    .AZ-ruls-ection .ruls-item span {
        font-size: 20px;
    }
    .AZ-field-group {
        width: 50%;
    }
    .AZ-field-group label {
        font-size: 14px;
    }
    .AZ-field-group input, .AZ-field-group textarea {
        font-size: 14px !important;
        padding: 5px !important;
    }
    .AZ-field-group .field-inner {
        height: 40px;
        padding-right: 16px;
    }
    .AZ-field-group .field-inner span {
        font-size: 16px;
    }
    .AZ-consulting-section .consulting-box {
        padding: 30px 15px;
        margin-right: 0;
    }
    .AZ-consulting-section .consulting-box::after {
        content: none;
    }
    .AZ-consulting-section .consulting-box .AZ-field-group {
        width: 100%;
    }
    .AZ-projects-section .project-box {
        border-radius: 20px;
        padding: 15px;
    }
    .AZ-projects-section .project-box .project-img {
        width: 40px;
    }
    .AZ-projects-section .project-box .project-title {
        font-size: 16px;
        font-family: "YekanBakh-Bold";
    }
    .AZ-projects-section .project-box .project-text {
        font-size: 10px;
    }
    .AZ-projects-section .project-box .project-item {
        font-size: 14px;
    }
    .AZ-projects-section .project-box .project-item span {
        font-size: 16px;
    }
    .AZ-hero-section .col-right .arrow-img {
        position: absolute;
        top: -35px;
        width: 50px;
    }
    .AZ-hero-section .hero-text {
        font-size: 16px;
    }
    .AZ-hero-section .hero-title {
        font-size: 28px;
    }
    .AZ-hero-section .hero-desc {
        font-size: 16px;
    }
    .AZ-about-section .about-img {
        width: 70%;
    }
    .AZ-project-page .project-header-img {
        width: 100%;
        height: 271px;
    }
    .AZ-project-page .project-content {
        padding: 30px 0;
    }
    .AZ-project-page .project-details_box {
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.03);
        padding: 10px;
    }
    .AZ-project-page .project-details_title {
        margin-bottom: 3px;
    }
    .AZ-blog-section .swiper-slide {
        padding: 30px 0;
    }
    .AZ-blog-section .swiper-slide-active .AZ-post-card {
        transform: scale(1.1);
    }
    .AZ-projects-section .swiper-slide {
        padding: 30px 0;
    }
    .AZ-projects-section .swiper-slide-active .project-box {
        background: #013D63;
        border: 2px solid #013D63;
        transform: scale(1.1);
    }
    .AZ-projects-section .swiper-slide-active .project-box .project-title {
        color: #FFFFFF;
    }
    .AZ-projects-section .swiper-slide-active .project-box .project-text {
        color: #fff;
        background: rgba(255, 255, 255, 0.11);
        border-radius: 40px;
    }
    .AZ-projects-section .swiper-slide-active .project-box .project-item {
        color: #F8F8F8;
    }
    .AZ-projects-section .swiper-slide-active .project-box .project-item span {
        color: #FC9105;
    }
    .imagesSwiper .swiper-slide {
        padding: 30px 0;
    }
    .imagesSwiper .swiper-slide-active {
        transform: scale(1.1);
    }





}
@media screen and (max-width: 448px) {
    .AZ-hero-section::after {
        border-radius: 0 0 20px 20px;
    }
    .AZ-hero-section .hero-text {
        font-size: 18px;
        margin-top: 10px;
        letter-spacing: 0 !important;
    }
    .AZ-hero-section .hero-title {
        font-size: 23px;
        margin-bottom: 10px;
    }
    .AZ-hero-section .hero-desc {
        font-size: 11px;
    }
    .AZ-hero-section .arrow-circle {
        bottom: -10px;
        font-size: 16px;
        width: 37px;
        height: 37px;
    }
    .AZ-footer::after {
        width: 70px;
        height: 70px;
        top: -35px;
    }
    .AZ-footer .back-top {
        min-width: 40px;
        min-height: 40px;
        top: -20px;
        font-size: 20px;
    }
    .AZ-title-wrapper {
        justify-content: center;
        align-items: center;
        padding: 0 8px;
        width: -moz-fit-content;
        width: fit-content;
        margin: 0 auto;
    }
    .AZ-title-wrapper .title-desc {
        font-size: 16px;
        text-align: center;
    }
    .AZ-title-wrapper::after, .AZ-title-wrapper::before {
        width: 4px;
        height: 14px;
        top: 0;
        transform: unset;
        right: 0;
        border-radius: 2px;
        background: linear-gradient(90deg, #FC9105 0%, #FCB54B 100%);
    }
    .AZ-title-wrapper::before {
        right: unset;
        left: 0;
    }
    .AZ-section-title {
        font-size: 15px;
        font-family: "YekanBakh-Heavy";
        text-align: center;
    }
    .AZ-accordion .accordion-item {
        margin-bottom: 15px;
    }
    .AZ-accordion .accordion-item__button {
        padding: 4px 6px;
        border-radius: 4px;
        font-size: 18px;
    }
    .AZ-accordion .accordion-item__button .close-accordion,
    .AZ-accordion .accordion-item__button .open-accordion {
        font-size: 12px;
        width: 22px;
        height: 22px;
        border-radius: 4px;
    }
    .AZ-accordion .accordion-content {
        padding: 7px 8px;
        border-radius: 4px;
        border: 1.994px dashed #DCDCDC;
        margin-top: 11px;
    }
    .AZ-accordion .accordion-content p {
        font-size: 18px;
    }
    .tabs .tab-link {
        font-size: 14px;
    }
    .AZ-section-text {
        font-size: 18px;
    }
    .small-title {
        font-size: 13px;
    }
    .download-box .file-name,
    .download-box .file-details {
        font-size: 12px;
    }
    .download-box .download-btn {
        font-size: 16px;
        color: #262626;
        width: 25px;
        height: 25px;
    }
    .download-box .file-img {
        width: 21px;
    }
    .comment-box {
        padding: 11px 17px;
    }
    .comment-box .comment-date,
    .comment-box .comment-name {
        font-size: 10px;
    }
    .comment-box .comment-text {
        font-size: 12px;
        margin-top: 5px;
    }
    .comment-box .stars span {
        font-size: 10px;
    }
    .AZ-project-page .AZ-field-group {
        width: 100%;
    }
    .AZ-project-page .AZ-field-group input,
    .AZ-project-page .AZ-field-group textarea {
        height: 39px;
        border-radius: 5px;
    }
    .AZ-ruls-ection .ruls-title {
        font-size: 20px;
    }
    .AZ-ruls-ection .ruls-item {
        font-size: 14px;
    }
    .AZ-ruls-ection .ruls-item span {
        font-size: 16px;
    }
    .AZ-primary-btn {
        font-size: 14px;
    }
    .AZ-secondary-btn {
        font-size: 14px;
    }
    .AZ-projects-section .project-box .project-title {
        font-size: 14px;
    }
    .AZ-projects-section .project-box .project-item {
        font-size: 12px;
    }
    .AZ-footer .social a {
        font-size: 14px;
    }
    .AZ-footer .footer-bottom-link {
        font-size: 12px;
    }
    .mb-40 {
        margin-bottom: 20px !important;
    }
    .mb-50 {
        margin-bottom: 50px !important;
    }
}





@media (min-width: 992px) { /* فقط برای دسکتاپ (LG و بالاتر) */
    .swiper.projectsSwiper .swiper-wrapper {
        display: flex;
        align-items: stretch; /* همه اسلایدها ارتفاع برابر بگیرند */
    }

    .swiper.projectsSwiper .swiper-slide {
        display: flex;
        height: auto;
    }

    .swiper.projectsSwiper .project-box {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%; /* ارتفاع برابر با بزرگترین باکس */
    }
}