html[lang="ar"] body {
    direction: rtl;
    text-align: right;
}

html[lang="ar"] p {
    direction: rtl;
}

/*---------Toolbar-----------*/

html[lang="ar"] .toolbar_box_list .menu-item .nav-link img {
    margin-left: 0.25rem;
}

html[lang="ar"] .toolbar .search-form {
    margin-right: auto;
}

/*---------Navbar-----------*/
html[lang="ar"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

html[lang="ar"] .dropdown-menu {
    left: auto;
    right: -20px;

}

html[lang="ar"] .dropdown-item {
    text-align: right;

}

html[lang="ar"] header nav.navbar ul.navbar-nav li ul li ul {
    left: 0;
    right: 100%;
    text-align: right;
}

html[lang="ar"] .mega-menu-item-object-products-categories.mega-menu-item-has-children .mega-menu-item-type-taxonomy.mega-menu-item-object-products-categories > a.mega-menu-link {
    padding: 0 15px 0 0 !important;
}

/*------------- HOME PAGE STYLE -------------*/

html[lang="ar"] .slider .item figcaption {
    right: 11%;
    left: auto;
}


/*-------- products section one --------------*/


html[lang="ar"] .products-one figure figcaption {
    right: 0;
    left: auto;
}


html[lang="ar"] .section_link a::before {
    right: 0;
    left: auto;

}

html[lang="ar"] .section_link a span {
    margin-left: 15px;
}


/*--------- products-two section -----------*/

html[lang="ar"] .products-two .nav-pills .nav-link::after {
    left: 0;
}

/*---------- features section ----------*/

html[lang="ar"] .counter-box {
    left: 0;
    right: 5%;
}

/* ------- Map section ---------*/


html[lang="ar"] .map_markers {
    right: 0;
}

/*}*/
html[lang="ar"] .events .figcaption {
    align-items: flex-end;

}


html[lang="ar"] .events .date {
    left: 8%;

}

/*----- footer -----*/
html[lang="ar"] footer .nav-link {
    margin-left: 0;
    margin-right: 25px;
}

html[lang="ar"] footer .share-icons {
    left: 0;
    right: auto;
}

html[lang="ar"] footer .nav-link::before {
    position: absolute;
    content: "";
    background: url(https://midocoatings.com/wp-content/themes/Mido/SiteAssets/images/arrow-right-circle.svg) center no-repeat;
    width: 16px;
    height: 100%;
    right: -25px;
    left: auto;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: rotate(180deg);
}

/*--------------- about-history -----------*/

html[lang="ar"] .swiper-container .swiper-slide:nth-child(even) .timeline_swiper_slide {
    text-align: left;
    width: 50%;
}

html[lang="ar"] .swiper-container .swiper-slide:nth-child(odd) .timeline_swiper_slide {
    margin-right: auto;
    width: 50%;
    margin-left: 0;
}


html[lang="ar"] .swiper-container .swiper-slide:nth-child(odd) .timeline_swiper_slide .one_story::before {
    right: -10px;
    left: auto;
}

@media (max-width: 767px) {
    html[lang="ar"] .swiper-container .swiper-slide:nth-child(odd) .timeline_swiper_slide .one_story {
        padding-right: 0;
    }
}

html[lang="ar"] .swiper-container .swiper-slide:nth-child(even) .timeline_swiper_slide .one_story::before {
    left: -10px;
    right: auto;
}

@media (max-width: 767px) {
    html[lang="ar"] .swiper-container .swiper-slide:nth-child(even) .timeline_swiper_slide .one_story {
        padding-left: 0;

    }
}

/*---------- about-mission ------------*/

html[lang="ar"] .missions-rows .row:nth-child(2) {
    direction: ltr;
}

html[lang="ar"] .missions-rows .row:nth-child(2) .mission-content {
    direction: rtl;
    padding-right: 0;
    padding-left: 30px;
}


html[lang="ar"] .mission-content {
    padding-left: 30px;
    padding-right: 0;

}

html[lang="ar"] .accordion-body .table thead th {
    border-left: 0.5px solid rgba(112, 112, 112, 0.4);
}

html[lang="ar"] .accordion-button::after {
    right: 0;
}


html[lang="ar"] .video .video-title {
    right: 0;

}

/*----- single product --------*/


html[lang="ar"] .product-gallery .next {
    left: 0;
}

html[lang="ar"] .product-gallery .prev {
    right: 0;
}

/* careers page */

html[lang="ar"] .job .apply {
    align-items: flex-start;
}

html[lang="ar"] .job a svg {
    margin-right: 5px;
}


/*------------ contact page -----------*/

html[lang="ar"] .direction-btn {
    justify-content: start;
}

html[lang="ar"] .branches-side .details {
    text-align: right;
}


/*---------HEADER & SIDENAV STYLE-----------*/

html[lang="ar"] .navbar-brand img {
    margin-right: 20px;
}


/*--------------CONTACT PAGE STYLE------------*/

html[lang="ar"] .form {
    padding-right: 3rem;
}

html[lang="ar"] .form .wpcf7-spinner {
    position: absolute;
    bottom: 0;
    left: 0;
}

html[lang="ar"] .form .wpcf7-form-control-wrap {
    direction: rtl;
}

html[lang="ar"] .wpcf7 input[type="email"] {
    direction: rtl;
}

html[lang="ar"] .form-select {
    background-position: 10px;
}

html[lang="ar"] #wpcf7-f39-o1 > form > div.row > div {
    text-align: left;
}

/*--------- CAREERS PAGE ----------*/

html[lang="ar"] .careers figure::after {
    right: 0;
}


html[lang="ar"] .jobs .job a svg {
    margin-right: 5px;
}

html[lang="ar"] .job-details .form {
    padding-right: 12px;
}

html[lang="ar"] .fileUpload input.upload {
    right: 0;
    left: initial;
}


html[lang="ar"] input[type="file"] {
    left: 100%;
}


/*---------FOOTER STYLE-----------*/


html[lang="ar"] footer ul {
    padding-right: 0;
}


html[lang="ar"] .owl-carousel {
    direction: ltr;
}