/*
 Theme Name:   AdForest Child
 Theme URI:    https://AdForest.com/ 
 Author URI:   https://parsavesta.com
 Template:     adforest
 Version:      1.0.0
*/

/* Home header bg */
.wd-header-my-account>a {
    border: 1px solid #fff;
    padding: 0 20px;
    border-radius: 15px;
    color: #ffff;
    font-size: 13px;
    display: flex;
    align-items: center;
    column-gap: 9px;
    height: 50px;
}
.wd-dropdown {
    position: absolute;
    padding: 10px;
    width: 200px;
    border-radius: 15px;
    margin-top: 10px;
    border: 1px solid #ffff;
    background: linear-gradient(-130deg, #081d0bcc, #236332b3);
    display: none;
    top: 41px;
}
.wd-dropdown a {
    color: #fff;
    font-size: 14px
}
.wd-dropdown a:hover{
    color: #86d72f
}
.wd-header-my-account:hover .wd-dropdown {
    display: block;
}
body.rtl h4, body.rtl h3, body.rtl h1, body.rtl h2, body.rtl p, body.rtl {
    font-family: IranYekan !important
}
.app-brand.sb-dashboard-logo {
    display: none;
}
.home-header-section .blur-container {
    position: relative;
}

.home-header-section .blur-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    backdrop-filter: blur(74px); 
    -webkit-backdrop-filter: blur(74px);
    background: rgba(255, 255, 255, 0.01); 
    pointer-events: none;
}

.home-header-section .blur-container > * {
    position: relative;
    z-index: 1;
}


/* Home services */

 .pars-services .elementor-button-content-wrapper {
    display: flex;
    flex-direction: row-reverse;
    gap: 5px;
    justify-content: space-between;
     align-items: center;
}

.pars-services .elementor-button-icon {
    background-color: #212121;
    padding: 10px 12px;
    border-radius: 16px;
    color: white;
}

.pars-services .elementor-button-content-wrapper:first-child .elementor-button-icon {
    background-color: #fff;
    padding: 10px 12px;
    border-radius: 16px;
    color: #5c9c12;
}

.services-container:hover .elementor-icon-box-title,
.services-container:hover .elementor-icon-box-description, .services-container:hover .elementor-button-text{
    color: #fff !important;
}
.services-container:hover .elementor-button-icon {
    background-color: #fff !important;
   color: #5C9C12 !important;
}

.services-container:hover path {
    stroke: #fff;
}

/* home newest ads loop */

.prop-newest-main-section .prop-newest-image {
    box-shadow: 0 7px 20px 3px #00000010;
}

.prop-newest-main-section .fa-clock-o::before, .prop-newest-main-section .fa-eye::before {
    position: absolute;
    color: #5c9c12;
}

.prop-newest-main-section .items {
    margin-right: 18px !important;
}

.prop-newest-main-section .prop-estate-text-section i {
    margin: 0 0 0 5px !important;
    color: #5c9c12;
}

.prop-newest-main-section p {
    height: 60px;
}

/* home ads loop list */

.pistachio-classified-grid .sb-short-head.center {
    display: none;
}

.pistachio-classified-grid .well.ad-listing {
    padding: 10px;
    border-radius: 15px;
}

.pistachio-classified-grid .well.ad-listing .row {
    align-items: center;
}

.pistachio-classified-grid .well.ad-listing .img-box {
    margin-right: 10px;
    border-radius: 10px;
}

.pistachio-classified-grid .well.ad-listing .btn.btn-block.btn-theme {
    background-color: #5c9c12;
    color: #fff;
    font-size: 14px;
    border: 0;
    padding: 10px 24px !important;
    margin: 5px 0 !important;
}

.pistachio-classified-grid .well.ad-listing .btn.btn-block.btn-theme:hover {
    background-color: #fff;
    color: #5c9c12;
    box-shadow: 0 0 5px 1px #00000010;
}

.pistachio-classified-grid .well.ad-listing .content-area .additional-info {
    top: 0 !important;
}

.pistachio-classified-grid .well.ad-listing .ad-meta-info i {
    color: #5c9c12;
}

.pistachio-classified-grid .ad-meta-info li:first-child {
    margin: 0;
}

.pistachio-classified-grid .sb-modern-list.ad-listing .content-area .additional-info li a {
    background-color: #61ce70;
    color: #fff;
}

.pistachio-classified-grid .price span {
    color: #375d0a;
}

/* Header cart & login btn */

.pars-cart .elementor-menu-cart__toggle_button {
    background-color: transparent !important;
    border-color: #fff;
    padding: 12px 20px !important;
}

.pars-cart .elementor-button-icon-qty {
    position: relative !important;
}

.pars-cart .elementor-button-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pars-cart .elementor-button-icon-qty {
    border-radius: 4px !important;
    width: 35px !important;
    height: 20px !important;
    font-size: 12px !important;
    align-items: center;
    display: flex !important;
    justify-content: center;
}

.pars-login-btn:hover path {
    stroke: #5c9c12;
    transition-delay: 0.1s;
}

/* header responsive */

@media (min-width: 768px) and (max-width: 768px){
    .pars-cart .elementor-menu-cart__toggle_button {
        padding: 9px !important;
        border-radius: 10px !important;
    }

    .elementor-button {
        border-radius: 10px !important;
    }
}

@media (max-width: 768px) {
    .e-search-input {
        padding: 0 10px !important;
    }

    .e-search-input-wrapper {
        width: 68% !important;
    }

    .e-search-submit {
        width: 32% !important;
        justify-content: center;
    }

    .pars-login-btn .elementor-button-text {
        display: none;
    }

    .pars-cart .elementor-menu-cart__toggle_button {
        padding: 8px 13px !important;
    }

    .pars-cart .elementor-button-icon-qty {
        position: absolute !important;
        width: auto !important;
        right: -15px !important;
        top: -15px !important;
    }
}


/*Single ad*/

.single-ad_post .ad-detail-2:before {
    background: url(https://avestatheme.com/prebuild/abajan-2/wp-content/uploads/2024/12/Breadcrumb-background-9.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height:500px;
}

.single-ad_post .ad-detail-2-main-section {
    margin-top: 160px;
    border-radius:16px;
}

.single-ad_post .ad-detail-2-sell-content , .single-ad_post .ad-detail-2-click-view {
    border-color: #5C9C12;
    background-color: #61ce7024;
    padding:20px 20px;
}


.single-ad_post .ad-detail-2-content-heading h4 {
    color: #5C9C12;
}

.single-ad_post div#carousel ul.slides li.flex-active-slide img {
    border-color: #61CE70;
}

.single-ad_post .ad-detail-2-icon, .single-ad_post .ad-detail-2-user , .single-ad_post .ad-detail-2-feature {
    border-radius: 16px;
}

.single-ad_post .ad-detail-2-main-section span.ad-location {
    display: none;
}

.single-ad_post .adforest-owner-text p {
    color: #5C9C12;
}

.single-ad_post .cont-icon-list li {
    line-height: 3.5;
}

.single-ad_post .cont-icon-list li:hover {
    background-color: #61CE70;
}

.single-ad_post .map-location span {
    top: 12px;
}

.single-ad_post .map-location i {
    color: #61CE70;
}


.single-ad_post textarea.form-control.re-mdg {
    background-color: #fff;
    border-radius: 16px;
}

.single-ad_post input[type=submit] {
    border-color: #5C9C12;
}

.single-ad_post .btn-theme:hover {
    border-color: #5C9C12;
    box-shadow: none;
}

.single-ad_post .btn-theme {
    background-color: #61CE70;
    border-color: #61CE70;
    color: #fff;
}

.single-ad_post .btn-theme:hover {
    background-color: transparent;
    color:#5C9C12;
}

.single-ad_post .contact-message form textarea {
    background-color: #fff;
    border-radius: 16px;
}

.single-ad_post .feature-ads-heading h4 {
    background-color: #fff;
    border-radius: 16px;
    border-color: #ced4da;
}

.single-ad_post .feature-ads .prev-ads i {
    top: -15px;
}

.single-ad_post .feature-ads .next-ads , .single-ad_post .feature-ads .prev-ads {
    border-color: #61CE70;
    border-radius:5px;
}

.single-ad_post .feature-detail-heading h5{
    color:#61CE70;
}

.single-ad_post .ad-detail-2-icon ul.cont-icon-list li {
    margin-right: 5px !important;
}

.single-ad_post #carousel {
    display: flex;
    justify-content: flex-end;
}

.single-ad_post .fa-star-o:before {
    content: "\f005";
}

.single-ad_post .slides li {
    width: auto !important;
}


/* dashboard */

.page-template-page-theme-dashboard .dropdown-toggle.nav-link {
    background-color: transparent;
    padding: 0;
}

.page-template-page-theme-dashboard .custom-dropdown-toggler {
    background-color: transparent !important;
    width: 40px;
    height: 40px;
    border-radius: 4px !important;
    padding: 0 !important;
}
.page-template-page-theme-dashboard .notifications-menu .dropdown-toggle:after {
    position: absolute;
    top: 0;
    left: 0;
}

.page-template-page-theme-dashboard .app-brand.sb-dashboard-logo img {
    display: none;
    opacity: 0;
    visibility: hidden;
    height: 0;
    width: 0;
}

.page-template-page-theme-dashboard .app-brand.sb-dashboard-logo a::before {
    content: "آباجان";
    font-size: 35px;
    font-weight: 700;
}

.page-template-page-theme-dashboard .left-sidebar.bg-sidebar,
.page-template-page-theme-dashboard .page-wrapper,
.page-template-page-theme-dashboard p, .page-template-page-theme-dashboard h2,
.page-template-page-theme-dashboard h4, .page-template-page-theme-dashboard canvas {
    font-family:IranYekan !important;
}

/*page cart*/
.woocommerce-cart .woocommerce-message a.button {
    background-color: #5c9c12 !important;
    color: #fff !important;
    border-radius: 16px !important;
    padding: 15px 40px !important;
    font-size: 15px !important;
}

.woocommerce-cart a.remove {
    color: #61ce70 !important;
}


.woocommerce-cart table.cart td.actions .coupon .input-text {
    border-radius: 16px !important;
}

.woocommerce-cart a.button {
    background-color: #5c9c12 !important;
    border-color: #5c9c12 !important;
    border-radius: 16px !important;
    color: #fff !important;
}
.woocommerce-cart a.button:hover {
    background-color: #fff !important;
    border-color: #5c9c12 !important;
    border-radius: 16px !important;
    color: #5c9c12 !important;
}

.woocommerce .woocommerce-cart-form table.shop_table td .button {
    background-color: #61ce70 !important;
    border-color: #61ce70;
    border-radius: 16px;
}

.woocommerce-cart .woocommerce-cart-form table.shop_table td .button {
    background-color: #61ce70 !important;
    border-color: #61ce70;
    border-radius: 16px;
}
.woocommerce-cart .woocommerce-cart-form table.shop_table td .button:hover {
    background-color: #fff !important;
    border-color: #5c9c12 !important;
    color:#5c9c12 !important;
}


 .woocommerce button[type='submit'] {
    background-color: #61ce70 !important;
    border-color: #61ce70 !important;
    color: #fff !important;
}
.woocommerce button[type='submit']:hover {
    background-color: #61ce70 !important;
    border-color: #61ce70 !important;
    color: #fff !important;
}

/*checkout*/

.woocommerce-checkout .woocommerce-info {
    border-top-color: #61ce70;
}

.woocommerce-checkout .woocommerce-info::before {
    color: #5c9c12;
}

.woocommerce-checkout .woocommerce .shop_table thead tr th {
    border-radius: 8px;
}

.woocommerce-checkout #payment {
    background-color: #61ce7026;
}

.woocommerce-checkout #payment div.payment_box {
    background-color: #fff;
    border-radius: 8px;
}

.woocommerce-checkout #payment div.payment_box::before {
    border: 1em solid #5c9c12 !important;
    border-left-color: transparent !important;
    border-top-color: transparent !important;
    border-right-color: transparent !important;
}

.woocommerce-checkout .woocommerce button[type='submit'] {
    background-color: #5c9c12 !important;
    border-color: #5c9c12 !important;
    color: #fff !important;
    font-size: 13px;
    padding: 10px 20px;
    border-radius:8px;
}

.woocommerce-checkout .woocommerce button:hover[type='submit'] {
    background-color: #5c9c12 !important;
    border-color: #5c9c12 !important;
    color:#fff !important;
}
.navbar .sidebar-offcanvas-toggle, .navbar .sidebar-toggle {
    padding: 0!important;
    border-left: 0!important;
}
.navbar .navbar-right .navbar-nav .notifications-menu .dropdown-toggle:after {
    top: -20px;
    right: -22px;
}
.header-light .navbar .navbar-right .navbar-nav .notifications-menu .dropdown-toggle {
    border: 1px solid !important;
    margin-top: 19px;
}



/*form contact gravity*/

input#gform_submit_button_1 {
    background: #5c9c12;
    padding: 13px 30px;
    border-radius: 10px;
}
span.gfield_required.gfield_required_text {
    display: none !important;
}

.elementor-widget.elementor-widget-shortcode.pars-code {
    padding: 30px;
    background: #ffffff;
    border-radius: 15px;
}
#gform_fields_1 {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

#gform_fields_1 .gfield {
    width: calc(50% - 7.5px);
    min-width: 250px;
}

@media (max-width: 600px) {
    #gform_fields_1 .gfield {
        width: 100%;
    }
}

span.select2-selection__arrow {
    display: none !important;
}