
/* iqcall-rtl.css - IQCall RTL Support */


/* For RTL pages */
[dir="rtl"] {
    direction: rtl;

}

[dir="rtl"] #current-lang::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 10px;
    bottom: auto;
    right: -30px;
    background-size: cover;
    background-repeat: no-repeat;
    margin-right: 8px;
    vertical-align: middle;
}

/* Base for current language flag */
[dir="ltr"] #current-lang::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 10px;
    bottom: auto;
    left: -27px;
    background-size: cover;
    background-repeat: no-repeat;
    margin-right: 8px;
    vertical-align: middle;
}

/* English flag */
#current-lang[data-lang="en"]::before {
    /*background-image: url('../images/flags/en.gif');*/
}

/* Arabic flag */
#current-lang[data-lang="ar"]::before {
    background-image: url('../images/flags/ar.gif');
}

/* Optional — keep dropdown flag styles if you still want flags there */
.switch-lang::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 14px;
    background-size: cover;
    background-repeat: no-repeat;
    margin-right: 8px;
    vertical-align: middle;
}

.switch-lang[data-lang="en"]::before {
    background-image: url('../images/flags/en.gif');
}

.switch-lang[data-lang="ar"]::before {
    background-image: url('../images/flags/ar.gif');
}

[dir="ltr"] .page_copyright p,
[dir="rtl"] .page_copyright p {
    text-align: center!important;
}

[dir="ltr"] #common_slider .item-content p{
    text-align: left!important;
}
.switch-lang {
  font-size: 14px!important;
}
[dir="rtl"] ol.list-styled li{
    margin-right:25px!important; 
}
 [dir="rtl"] ol.list-styled li::before{
    right: 0px!important;
}
[dir="ltr"] #contact-us h4,
[dir="rtl"] #contact-us h4,
[dir="ltr"] #contact-us-form .special-heading,
[dir="rtl"] #contact-us-form .special-heading,
[dir="rtl"] #pricing-table-content .special-heading{
    text-align: center!important;
}

.plan-price.mt-0.mb-0 {
  font-size: 28px;
}

[dir="ltr"] #common_slider p,
[dir="ltr"] #common_slider h4,
[dir="rtl"] #common_slider p,
[dir="rtl"] #common_slider h4{
    text-align: center!important;
}
[dir="ltr"] #faq-content p,
[dir="ltr"] #faq-content h4,
[dir="ltr"] #pricing-table-content h4,
[dir="ltr"] #pricing-table-content h2,
[dir="ltr"] #pricing-table-content li,
[dir="ltr"] #pricing-table-content p{
    text-align: left!important;
}
[dir="rtl"] #pricing-table-content,
[dir="rtl"] #testimonials,
[dir="rtl"] #common_slider{
     direction: ltr!important;
}
[dir="rtl"] .progress .progress-bar span {
  left: 0!important;
  right:-100!important;
}
[dir="ltr"] #common-support .special-heading{
    text-align: left !important;
}
[dir="rtl"] #common-support .special-heading,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] p,
[dir="rtl"] span,
[dir="rtl"] li,
[dir="rtl"] a {
    text-align: right !important;
}

/* For LTR pages */
[dir="ltr"] {
    direction: ltr;
    text-align: left;
}
[dir="ltr"] .progress .progress-bar span {
  right: 0!important;
}
[dir="ltr"] h1,
[dir="ltr"] h2,
[dir="ltr"] h3,
[dir="ltr"] h4,
[dir="ltr"] h5,
[dir="ltr"] h6,
[dir="ltr"] p,
[dir="ltr"] span,
[dir="ltr"] li,
[dir="ltr"] a {
    text-align: left !important;
}


/* Navbar */
[dir="rtl"] .navbar-nav {
    float: right;
}
[dir="rtl"] .navbar-nav > li {
    float: right !important;
}
[dir="rtl"] .navbar, 
[dir="rtl"] .menu, 
[dir="rtl"] .navbar-nav {
    text-align: right;
}

/* FlexSlider */
[dir="rtl"] .flexslider .slides > li {
    float: right; /* align slides RTL */
}
[dir="rtl"] .flexslider .flex-active-slide {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
[dir="rtl"] .flex-direction-nav .flex-prev {
    left: auto;
    right: 10px;
}
[dir="rtl"] .flex-direction-nav .flex-next {
    right: auto;
    left: 10px;
}
#counter p,
#counter .counter-wrap ,
#counter .counter-wrap p,
/*#canvas .special-heading,*/
#video .special-heading,
.photoswipe-link.video-link2 {
  text-align: center !important;
}
/* Photoswipe video link */
[dir="rtl"] .photoswipe-link.video-link2 {
    left: 0 !important;
    right: auto !important;
    position: absolute;
}
[dir="rtl"] .page_slider .intro_layers .intro_layer.intro_video {
    position: absolute;
    left: 0 !important;
}


/* Buttons */
[dir="rtl"] .btn {
    float: right;
}

/* Forms */
[dir="rtl"] input, [dir="rtl"] textarea, [dir="rtl"] select {
    text-align: right;
}

/* Footer */
[dir="rtl"] footer {
    text-align: right;
}

/* Flex utilities */
[dir="rtl"] .flex-row-reverse, 
[dir="rtl"] .d-flex.flex-row-reverse {
    flex-direction: row-reverse !important;
}

/* Icons flip */
[dir="rtl"] .fa-arrow-left, 
[dir="rtl"] .fa-chevron-left {
    transform: rotate(180deg);
}

/* Sections and custom content */
[dir="rtl"] .section, 
[dir="rtl"] .section-title, 
[dir="rtl"] .section-content {
    text-align: right;
}

/* RTL MENU Fixes */

[dir="rtl"] .toggle_menu {
    position: absolute!important;
    left: 23px!important;
    top: 45px!important;
    right: auto !important;
}
   

