/* ------------------------------------------------

        1. Default stylesheets                      

------------------------------------------------ */

body{
    direction: rtl;
    unicode-bidi: embed;
}

.rev-slider-wrapper,
.process-box,
.audioplayer{
    direction: ltr;
}

.banner-rotator-flexslider .slides > li{
    direction: rtl;
}

th,
td,
table{
    text-align: right;
}

/* ------------------------------------------------

        2. General classes                      

------------------------------------------------ */

.align-left{
    text-align: right;
}

.align-right{
    text-align: left;
}

.f-right{
    float: left;
}

.f-left{
    float: right;
}

img.alignright{
    float: left;
    margin-left: 0;
    margin-right: 30px;
}

img.alignleft{
    float: right;
    margin-left: 30px;
    margin-right: 0;
}

/* ------------------------------------------------

        3. Main

------------------------------------------------ */

.dropdown-list, 
.dropdown-window,
.footer-2 .top-footer-item:not(:last-child):after{
    right: auto;
    left: 0;
}

.btn.btn-demo,
.demo-sw,
.icons-box .icons-wrap .icons-item.type-3 > .item-box i,
.pbar-inner{
    left: auto;
    right: 0;
}

.sub-menu-wrap{
    left: auto;
    right: -20px;
}

.sub-menu-wrap .sub-menu-wrap.sub-menu-inner{
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 4px;
}

.sub-menu-wrap .sub-menu-wrap.sub-menu-inner:before{
    right: auto;
    left: 100%;
}

#main-navigation > ul > li.dropdown > a:after,
.lang-button > a:after{
    margin-left: 0;
    margin-right: 10px;
}

#header button.search-button, 
.shop-cart .sc-cart-btn{
    margin-left: 0;
    margin-right: 35px;
}

.lang-button .dropdown-list > li > a,
#main-navigation,
input:not([type="submit"]), textarea, 
.custom-select .select-title,
.accordion,
[class*="table-type"] table tr > td, 
[class*="table-type"] table tr > th,
form{
    text-align: right;
}

.sub-menu-wrap ul li a{
    padding-right: 20px;
    padding-left: 35px;
}

.sub-menu-wrap ul li.sub > a:after{
    right: auto;
    left: 20px;
    content: '\e8e4';
}

.contact-info > li > a{
    display: inline-block;
}

.searchform-wrap form button{
    right: auto;
    left: 15px;
}

.searchform-wrap input{
    padding-right: 0!important;
    padding-left: 60px!important;
}

.breadcrumbs > li:not(:first-child):before{
    margin-right: 0;
    margin-left: 3px;
}

.btn.btn-demo:before,
.custom-list[class*="type-"] li::before{
    margin-right: 0;
    margin-left: 10px;
}

.custom-list > li > ul > li, 
.custom-list > li > ol > li{
    margin-left: 0;
    margin-right: 20px;
}

.btn.btn-demo{
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;

    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.accordion .a-title{
    padding-right: 30px;
    padding-left: 70px;
}

.tabs .tabs-nav li{
    float: right;
}

.tabs.vertical .tabs-nav{
    margin-right: 0;
    margin-left: -2px;
}

.tabs.vertical .tabs-nav > li.ui-tabs-active a{
    border-right-color:#f2f3f6;
    border-left-color: #fff;
}

.tabs .tabs-nav li:first-child a{
    border-top-left-radius: 0;
    border-top-right-radius: 3px;
}

.tabs .tabs-nav li:last-child a{
    border-top-left-radius: 3px;
    border-top-right-radius: 0;
}

[class*="alert"] .close{
    right: auto;
    left: 30px;
}

[class*="alert"]{
    padding-right: 30px;
    padding-left: 70px;
}

[class*="table-type"] table tr > td:last-child{
    border-right: none;
    border-left: 2px solid #f2f3f6;
}

.table-type-2 table tr.bg-cell td, 
.table-type-2 table tr.bg-cell th{
    border: none;
}

[class*="table-type"] table tr > td:first-child{
    border-left: none;
    border-right: 2px solid #f2f3f6;
}

.label{
    right: auto;
    left: 0;
    border-radius: 0 0 3px 0;
}

.pricing-table:nth-child(n+2){
    margin-left: 0;
    margin-right: -4px;
}

.dropcap::first-letter{
    float: right;
    margin: 15px 0 0 10px;
}

.counter-inner,
.counter > span{
    float: right;
}

.counter > span{
    margin-right: 0;
    margin-left: 20px;
}

.icons-box .icons-wrap .icons-item.type-3 > .item-box{
    padding-left: 0;
    padding-right: 60px;
}

.icons-box .icons-wrap .icons-item.type-3{
    text-align: right;
}

.pbar-wrap .pbar-title > span{
    float: left;
}

.next-page::before {
    content: '\e8e4';
}

.prev-page::before {
    content: '\e8e5';
}

.testimonial.type-2 .author-box{
    float: right;
    margin-right: 0;
    margin-left: 20px;
}

.testimonial:not(.type-2) .avatar{
    padding-right: 0;
    padding-left: 20px;
}

.go-to-top.go-top-visible{
    right: auto;
    left: 40px;
}

.go-to-top{
    right: auto;
    left: 60px;
}

.banners-wrap > .banner-item i{
    right: auto;
    left: -30px;
}

.custom-select .select-title:before{
    right: auto;
    left: 20px;
}

.entry-attachment .entry-body .entry-meta > *{
    display: inline-block;
}

#header[class*="header-"] .social-icons{
    margin-left: 0;
    margin-right: 30px;
}

#header.header-3 button.search-button, 
#header.header-4 button.search-button{
    margin-right: 35px;
    margin-left: 40px;
}

.section-with-video {
    padding: 70px 40% 30px 30px;
}

.top-footer-item .widget p{
    padding-right: 0;
    padding-left: 15px;
}

.lineform > div .btn,
.social-icons > li > h6{
    margin-right: 10px;
    margin-left: 0;
}

.entry.small-thumb .entry-attachment .thumbnail-attachment{
    float: right;
}

.entry .entry-attachment{
    text-align: right;
}

.entry.small-thumb .entry-attachment .entry-body{
    padding-left: 0;
    padding-right: 20px;
}

.mid-header .our-info-list:not(:last-child),
.our-info-list > li:not(:last-child){
    margin-right: 0;
    margin-left: 35px;
}

.our-info-list > li > span, 
.our-info-list > li > div{
    margin-right: 0;
    margin-left: 10px;
    text-align: right;
}

.swith-holder span{
    margin-right: 0;
    margin-left: 15px;
}

.price-scale.distance input[type="text"]{
    text-align: left;
}

.price-scale.distance .ui-slider-handle{
    margin-left: -10px;
}

.custom-list.type-2.style-2 li::before,
.team-holder .team-item .team-member .member-photo{
    float: right;
    margin-right: 0;
    margin-left: 20px;
}

.tabs.horisontal.style2 .tabs-nav > li:not(:last-child){
    margin-right: 0;
    margin-left: 30px;
}

.accordion .a-title:before{
    right: auto;
    left: 30px;
}

.contact-info > li > span{
    margin-right: 0;
    margin-left: 5px;
}

.switch .slider:before{
    left: auto;
    right: 0;
}

.switch input:checked + .slider:before{
    -webkit-transform: translateX(-37px);
    -ms-transform: translateX(-37px);
    transform: translateX(-37px);
}

.page-404-section > img{
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

form.with-icon input{
    padding: 10px 20px 10px 60px;
}

form.with-icon input+button{
    right: auto;
    left: 15px;
}

.entry-attachment .entry-body .entry-title span{
    float: right;
    margin-right: 0;
    margin-left: 10px;
}

.link-attachment span{
    margin-right: 0;
    margin-left: 15px;
}

.tagcloud a{
    float: right;
}

.tagcloud span{
    float: right;
    margin-right: 0;
    margin-left: 8px;
}

.social-icons.share > li > a > i{
    margin-right: 0;
    margin-left: 10px;
}

.entries-nav > * .alignleft{
    float: right;
    margin-right: 0;
    margin-left: 20px;
}

.entries-nav > * .alignright{
    float: left;
    margin-right: 20px;
    margin-left: 0;
}

.entries-nav > .next-entry{
    text-align: left;
}

.gravatar{
    float: right;
    margin-right: 0;
    margin-left: 20px;
}

.shopping-cart{
    text-align: right;
}

.products-holder .product-price{
    float: right;   
}

.shopping-cart .products-holder .product-image, 
.shop-cart-form .product .product-image{
    float: right;
    margin-right: 0;
    margin-left: 20px;
}

.shopping-cart .product .item-close, 
.shop-cart-form .item-close{
    right: auto;
    left: 0;
}

.shopping-cart .products-holder .product-description{
    padding-right: 0;
    padding-left: 30px;
}

.sc-footer .subtotal .total-price{
    display: inline-block;
    padding-left: 0;
    padding-right: 35px;
}

.settings-view-products > span{
    float: right;
}

.settings-view-products .sort-criteria,
.products-holder .rating{
    float: left;
}

.products-holder.view-list .product-image{
    float: right;
    margin: 0 0 0 30px;
}

.quantity .qty-minus{
    left: auto;
    right: 0;
}

.quantity .qty-plus{
    left: 0;
    right: auto;
}

.owl-carousel .owl-item{
    float: right;
}

.widget .products-holder .product-image{
    float: right;
    margin: 0 0 0 20px;
}

input[type="checkbox"] + label{
    padding-left: 0;
    padding-right: 32px;
}

input[type="radio"] + label::before, 
input[type="checkbox"] + label::before{
    left: auto;
    right: 0;
}

input[type="checkbox"] + label::after{
    left: auto;
    right: -1px;
}

input[type="radio"] + label, 
input[type="checkbox"] + label{
    padding-left: 0;
    padding-right: 35px;
}

input[type="radio"] + label::after{
    left: auto;
    right: 7px;
}

input[type="radio"] + label:not(:last-child), 
input[type="checkbox"] + label:not(:last-child){
    margin-right: 0;
    margin-left: 25px;
}

.payment-option .paypal-link{
    margin-left: 0;
    margin-right: -20px;
}

.open-modal{
    right: auto;
    left: 20px;
}

.rating .fill-state{
    left: auto;
    right: 0;
}

.product-info .product-review:last-child{
    margin-left: 0;
    margin-right: 10px;
}

#header.style-2 #main-navigation > ul > li > a:before{
    left: auto;
    right: 0;
}

#header.header-5 .search-holder, #header.header-6 .search-holder{
    right: auto;
    left: 20px;
}

#header.header-5 .nav-item,
#header.header-6 .nav-item{
    text-align: right;
}

body.rtl .vc_row[data-vc-full-width] {
position: relative;
left: 50%;
right: 50%;
margin-left: -50vw;
margin-right: -50vw;
width: 100%;
width: 100vw !important;
}


/* ------------------------------------------------

        4. Media queries

------------------------------------------------ */

/* Bootstrap rtl changes */

@media (min-width: 1200px){
    .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12{
        float: right;
    }
}
@media (min-width: 992px){
    .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12{
        float: right;
    }
}
@media (min-width: 768px){
    .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12{
        float: right;
    }
}
@media (min-width: 480px){
    .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12{
        float: right;
    }
}

@media only screen and (max-width:1199px){


}

@media only screen and (max-width:991px){

    .mobile-advanced ul ul ul li > a{
        padding-left: 30px;
        padding-right: 55px;
    }

    .mobile-advanced ul ul li > a{
        padding-left: 20px;
        padding-right: 35px;
    }

    .mobile-advanced ul ul li > a:before{
        margin-right: 0;
        margin-left: 5px;
        content: "\e8e4";
    }

    .sub-menu-wrap ul li.sub > a:after{
        content: '\e8e7';
    }

}

@media (min-width: 992px){
    
    .tabs:not(.vertical):not(.style2) .tabs-nav > li:not(:first-child) > a{
        border-right: none;
        border-left: 2px solid #f2f3f6;
    }

    .sbr #main{
        padding-left: 30px;
        padding-right: 15px;
    }

    .sbl #main{
        padding-right: 30px;
        padding-left: 15px;
    }

    .sbr #sidebar{
        border-right: 2px solid #f2f3f6;
        border-left: none;
        padding-left: 0;
        padding-right: 28px;
    }

    .sbl #sidebar{
        border-left: 2px solid #f2f3f6;
        border-right: none;
        padding-left: 28px;
        padding-right: 0;
    }

}

@media only screen and (min-width:768px){

    .top-bar .table-row > [class*="col-"]:last-child, 
    .mid-header .table-row > [class*="col-"]:last-child,
    .nav-item,
    .copyright .info-links{
        text-align: left;
    }

}

@media (max-width: 767px){


}

@media only screen and (min-width: 480px){


}