﻿/* =========================
   style-rtl.css (load last)
   Scope: html[dir="rtl"]
   ========================= */

html[dir="rtl"] body {
    direction: rtl;
    unicode-bidi: embed;
}

html[dir="rtl"] .text-left {
    text-align: right;
}

html[dir="rtl"] .text-right {
    text-align: left;
}

html[dir="rtl"] .pull-left,
html[dir="rtl"] .float_left {
    float: right !important;
}

html[dir="rtl"] .pull-right,
html[dir="rtl"] .float_right {
    float: left !important;
}

/* ---------- Top header ---------- */
html[dir="rtl"] .top_header ul li {
    float: right;
    margin-left: 30px;
    margin-right: 0;
}

    html[dir="rtl"] .top_header ul li:after {
        left: -15px;
        right: auto;
    }

    html[dir="rtl"] .top_header ul li a {
        margin-right: 15px;
        margin-left: 0;
    }
/* language switcher */
html[dir="rtl"] #polyglotLanguageSwitcher {
    margin-right: 30px;
    margin-left: 0;
}

    html[dir="rtl"] #polyglotLanguageSwitcher:after {
        right: -16px;
        left: auto;
    }

    html[dir="rtl"] #polyglotLanguageSwitcher span.trigger:before {
        left: 15px;
        right: auto;
    }

/* ---------- Bottom header / search ---------- */
.nav_side_content .icon_header li:last-child {
    margin-left: 0 !important;
    margin-right: 11px !important;
}

.theme_title:after {
    position: absolute;
    content: "";
    right: 0px;
    top: 50px;
    width: 100%;
    height: 10px;
    background: url(../images/logo/sep.png) center right no-repeat;
}

html[dir="rtl"] .bottom_header .search-box form input {
    float: right;
    padding-right: 20px;
    padding-left: 0;
}

html[dir="rtl"] .bottom_header .search-box form button {
    float: left;
    border-right: 2px solid #f4f5f6;
    border-left: 0;
}

html[dir="rtl"] .bottom_header .login_form .login-info {
    margin-right: 15px;
    margin-left: 0;
}

html[dir="rtl"] .bottom_header .cart_option .cart-info {
    margin-right: 20px;
    margin-left: 0;
}

html[dir="rtl"] .bottom_header .cart_option .cart_list {
    left: 0;
    right: auto;
}

/* ---------- Menu / nav ---------- */
html[dir="rtl"] .theme_menu.fixed .sticky_logo {
    right: 0;
    left: auto;
}

html[dir="rtl"] .theme_menu.fixed .menuzord {
    float: left !important;
}

html[dir="rtl"] .menuzord-menu > li:first-child {
    margin-right: -21px;
    margin-left: 0;
}

html[dir="rtl"] .menuzord-menu ul.dropdown,
html[dir="rtl"] .menuzord-menu ul.dropdown li ul.dropdown {
    right: 0;
    left: auto;
}

    html[dir="rtl"] .menuzord-menu ul.dropdown li ul.dropdown {
        right: 101%;
        left: auto;
    }

/* ---------- Banners / titles ---------- */
html[dir="rtl"] #banner h1:after {
    right: 0;
    left: auto;
}

html[dir="rtl"] #banner h1:before {
    left: 0;
    right: auto;
}

/* ---------- About / icon rows ---------- */
html[dir="rtl"] .about-story .icon-box .single-item {
    padding-right: 70px;
    padding-left: 0;
    margin-left: 60px;
    margin-right: 0;
}

html[dir="rtl"] .about-story .icon-box .icon {
    right: 0;
    left: auto;
}

html[dir="rtl"] .about_section .item .inner-title {
    padding: 12px 30px 11px 90px;
}

    html[dir="rtl"] .about_section .item .inner-title:after {
        right: -40px;
        left: auto;
        border-left: 26px solid transparent;
        border-right: 24px solid #fff;
    }

html[dir="rtl"] .about_section .item .content {
    margin-right: 30px;
    margin-left: 0;
}

    html[dir="rtl"] .about_section .item .content .link-btn span {
        transform: rotate(90deg);
    }

/* ---------- Featured products ---------- */
html[dir="rtl"] .featured-product .default-item .single-item .overlay-box .bottom-content h4,
html[dir="rtl"] .featured-product .default-item .single-item .overlay-box .bottom-content p {
    text-align: right;
}

/* ---------- Gallery ---------- */
html[dir="rtl"] .gallery .default-item .single-item .overlay-box .bottom-content h4 a,
html[dir="rtl"] .gallery .default-item .single-item .overlay-box .bottom-content .price {
    text-align: right;
}

html[dir="rtl"] .gallery .default-item .single-item .overlay-box .bottom-content .icon-box {
    left: 20px;
    right: auto;
}

/* ---------- Contact list (icons on the side) ---------- */
html[dir="rtl"] .single-contact_us .list li {
    padding: 0 90px 0 0;
}

    html[dir="rtl"] .single-contact_us .list li a i {
        right: 27px;
        left: auto;
        margin-left: 15px;
        margin-right: 0;
        border-left: 1px solid #f1f1f1;
        border-right: none;
    }

/* ---------- News / blog bits ---------- */
html[dir="rtl"] .news .blogList_single_post .post ul li {
    margin: 16px 0 16px 30px;
}

    html[dir="rtl"] .news .blogList_single_post .post ul li:before {
        left: -18px;
        right: auto;
    }

html[dir="rtl"] .news .blogList_single_post .post .link a span {
    transform: rotate(90deg);
}

html[dir="rtl"] .blogList_single_post .share-content {
    transform: translate3d(-400px,0,0);
}

/* ---------- Breadcrumb bottom ---------- */
html[dir="rtl"] .breadcrumb-bottom-area p {
    float: left;
}

/* ---------- Sidebars ---------- */
html[dir="rtl"] .sidebar_search input {
    padding: 0 12px 0 56px;
}

html[dir="rtl"] .sidebar_search button {
    left: 0;
    right: auto;
}

html[dir="rtl"] .sidebar_categories ul li a {
    padding-right: 29px;
    padding-left: 0;
}

    html[dir="rtl"] .sidebar_categories ul li a:before {
        right: 0;
        left: auto;
    }

html[dir="rtl"] .recent_news_sidebar .post {
    padding-right: 26px;
    padding-left: 0;
}

/* ---------- Shop / product pages ---------- */
html[dir="rtl"] .shop_single_page .product_details .product_top_section .item_description {
    padding-right: 30px;
    padding-left: 0;
}

    html[dir="rtl"] .shop_single_page .product_details .product_top_section .item_description > div button {
        margin-right: 9px;
        margin-left: 8px;
    }

    html[dir="rtl"] .shop_single_page .product_details .product_top_section .item_description > a {
        margin-right: 26px;
        margin-left: 0;
    }

html[dir="rtl"] .shop_single_page .product_details .product-review-tab .item_review_content .text {
    padding-right: 30px;
    padding-left: 0;
}

    html[dir="rtl"] .shop_single_page .product_details .product-review-tab .item_review_content .text .reply_share_area a:first-child:before {
        left: 0;
        right: auto;
    }

/* ---------- Cart / tables ---------- */
html[dir="rtl"] .cart_table .table-1 tbody tr td.flex_item {
    padding-right: 28px;
    padding-left: 0;
}

html[dir="rtl"] .cart_table .table-2 td:first-child {
    border-left: 1px solid #f0f0f0;
    border-right: none;
}

html[dir="rtl"] .cart_table .payment_system .pay1 p {
    padding-right: 29px;
    padding-left: 0;
}

/* ---------- Footer ---------- */
html[dir="rtl"] footer .main_footer .footer_subscribe form input {
    padding: 0 10px 0 52px;
}

html[dir="rtl"] footer .main_footer .footer_subscribe form button {
    left: 0;
    right: auto;
}

html[dir="rtl"] footer .main_footer .footer_news li a i {
    margin-right: 0;
    margin-left: 8px;
}

html[dir="rtl"] footer .main_footer .list li a i {
    margin-left: 15px;
    margin-right: 0;
}

html[dir="rtl"] footer .bottom_footer ul li {
    margin-left: 18px;
    margin-right: 0;
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 992px) {
    html[dir="rtl"] .nav_side_content {
        left: 15px;
        right: auto;
    }

    html[dir="rtl"] .menuzord .showhide {
        margin-right: 15px;
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    html[dir="rtl"] .bottom_header .cart_option {
        float: none;
    }

    html[dir="rtl"] .menuzord .showhide {
        margin-right: 15px;
        margin-left: 0;
    }
}
