/* 
Theme Name: Avas Child
Theme URI: https://x-theme.net/avas/
Author: theme-x
Author URI: https://themeforest.net/user/theme-x
Description: Responsive Multi-Purpose WordPress Theme.
License: GNU General Public License v2 or later
License URI: http://themeforest.net/licenses
Template: avas
Version: 1.1
Text Domain: avas
*/

/* Theme customization starts here
-------------------------------------------------------------- */

/** .icon_swap span.elementor-icon-list-icon {
    -webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
    margin-left: 10px;
} **/
img.swiper-slide-image {
    border-radius: 10px !important;
    border: 5px solid #ffffff !important;
}
.text-align-right h6 {
  text-align: right;
}
.text-align-right h6.tx-icon-box-title {
    text-align: right !important;
}
.faq_block_section .elementor-accordion-item {
    box-shadow: 0px 2px 6px #88888852;
    margin: 20px 0;
}
.footer-style-3 .copyright, .tx-float-right {
    text-align: center;
    width: 100%;
    font-size: 16px;
}
.text-align-right {
    text-align: right !important;
}

span.elementor-progress-text {
    padding-right: 10px;
}
.tx-slider-image-wrapper img.tx-cover {
    width: 100%;
}
.tx-res-menu li {
    text-align: right;
}
.home_gallary_title figcaption.elementor-image-carousel-caption {
    top: 0;
    position: absolute;
    background-color: #ffffff;
    left: 0;
    right: 0;
    padding: 10px;
} 
.text_align_center .tx-icon-box-desc p {
    text-align: center !important;
}
figure.swiper-slide-inner {
    background-color: #ffffff;
}
@media only screen and (max-width: 767px) {
.tx-res-menu li:first-child {
    margin-top: 20px;
}
.tx-slider-image-wrapper img.tx-cover {
    width: 100%;
    height: 100%;
}
.footer-style-3 .copyright, .tx-float-right {
    font-size: 16px;
    padding: 0 15px;
}
.ads_img_max_width img {
    max-width: 200px !important;
}
.a.navbar-brand.tx_logo.tx_sticky_logo {
    position: absolute;
    left: 0;
}
a.navbar-brand.tx_logo {
    position: absolute;
    left: 0;
}
div#h-style-11 {
    width: 100%;
    float: left;
    min-height: 80px;
}
}

/* Global RTL settings */
html, body {
    direction: rtl !important;
    text-align: right !important;
}

/* Force align accordion titles to the right */
.elementor-accordion .elementor-accordion-title {
    text-align: right !important;
    direction: rtl !important;
}

/* Specifically target the FAQ accordion if it has a unique class */
.faq_block_section .elementor-accordion .elementor-accordion-title {
    text-align: right !important;
    direction: rtl !important;
    display: block !important; /* Ensures the rule is applied */
}

/* Additional CSS to fix the spacing issue on iPhones */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 2) {
    
    .elementor-accordion .elementor-accordion-title::before {
        margin-left: 10px !important; /* Adjust this value as needed */
        margin-right: 0 !important; /* Ensure no right margin */
    }
}
