/* الافتراضي (الاتجاه من اليسار لليمين) */
.is_clickable {
    cursor: hand;
    cursor: pointer;
}

.nstSlider {
    cursor: hand;
    cursor: pointer;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    position: relative;
    width: 300px;
    height: 20px;
    background: #134;
}

.nstSlider .leftGrip.gripHighlighted,
.nstSlider .rightGrip.gripHighlighted {
    background: #134;
}

.nstSlider .leftGrip,
.nstSlider .rightGrip {
    position: absolute;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    width: 20px;
    height: 20px;
    background: #fff;
}

.nstSlider .bar {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    position: absolute;
    background: #fff;
    height: 8px;
    top: 6px;
}

.nstSlider .highlightPanel {
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
    -ms-transition: all 500ms ease-in-out;
    -o-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    position: absolute;
    background: #e87722;
    height: 20px;
    top: 0;
}

/* تعديل الاتجاه عند اللغة العربية (RTL) */
html[lang="ar"] .nstSlider {
    direction: rtl; /* تعيين الاتجاه من اليمين لليسار */
}

html[lang="ar"] .nstSlider .leftGrip {
    left: auto; /* تعيين العنصر إلى الجهة اليمنى */
    right: 0;
}

html[lang="ar"] .nstSlider .rightGrip {
    right: auto; /* تعيين العنصر إلى الجهة اليسرى */
    left: 0;
}

html[lang="ar"] .tm-heroslider-contentwrapper {
    direction: rtl; /* تغيير اتجاه النص */
    text-align: right; /* محاذاة النص إلى اليمين */
}
