/* ------------------------------------------------

        1. Default stylesheets                      

------------------------------------------------ */

body{
    direction: rtl;
    unicode-bidi: embed;
}

.rev-slider,
.audioplayer1{
    direction: ltr;
}

th,
td,
table,
form,
[class*="table-type"] table tr > td, 
[class*="table-type"] table tr > th{
    text-align: right;
}

/* ------------------------------------------------

        2. General classes                      

------------------------------------------------ */

.align-right{
    text-align: left;
}

.align-left{
    text-align: right;
}

.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

------------------------------------------------ */

/* Main menu */

.main-navigation{
    text-align: right;
}

.menu-wrap .search-holder{
    right: auto;
    left: 0;
}

.sub-menu-wrap{
    left: auto;
    right: -20px;
}

.menu-holder{
    padding-left: 0;
    padding-right: 200px;
}

.sub-menu-wrap .sub-menu-wrap.sub-menu-inner{
    right: 100%;
    left: auto;
}

.sub-menu-wrap ul li a{
    padding-right: 28px;
    padding-left: 40px;
}

.sub-menu-wrap ul li.sub > a:after{
    right: auto;
    left: 28px;
    content: '\e93b';
}

.sub-menu-wrap.mega-menu .mega-title{
    padding-left: 0;
    padding-right: 28px;
}

.header:not(.style-2):not(.style-3) .logo{
    left: auto;
    right: 60px;
}

.dropdown-list, 
.dropdown-window{
    right: auto;
    left: 0;
}

.header.style-2 .main-navigation > ul > li > a:before{
    left: auto;
    right: 0;
}

.sub-menu-wrap.mega-menu{
    left: auto;
    right: 0;
}

.shopping-cart{
    text-align: right;
}

.vr-btns-set > *:not(:last-child){
    margin-right: 0;
    margin-left: 5px;
}

.navbar-menu{
    right: auto;
    left: 0;

    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
}

.navbar-menu .close-bttn{
    right: auto;
    left: 25px;
}

.header.style-2 .logo{
    left: 0;
    right: auto;
}

.header.style-4 .top-header .logo{
    left: auto;
    right: 15px;
}

.header.style-4.wide .top-header .logo{
    left: auto;
    right: 60px;
}

.header.style-4 .top-header .top-head-menu, 
.header.style-4 .menu-wrap{
    padding-left: 0;
    padding-right: 230px;
}

.our-info.style-3 .info-item > i{
    margin-right: 0;
    margin-left: 8px;
}

/* Shortcodes */

input:not([type="submit"]), textarea, .custom-select .select-title{
    text-align: right;
}

[class*="btn"]:not(.icon-btn) > i{
    margin-right: 0;
    margin-left: 10px;
}

.accordion{
    text-align: right;
}

.accordion .a-title{
    padding-left: 70px;
    padding-right: 30px;
}

.accordion .a-title:before{
    left: 30px;
    right: auto;
}

[class*="message-container"]{
    left: auto;
    right: 0;
}

[class*="message-container"] [class*="alert"]{
    padding-left: 30px;
    padding-right: 70px;
}

[class*="alert"]:before{
    left: auto;
    right: 30px;
}

[class*="alert"] .close{
    right: auto;
    left: 20px;
}

.next-page::after{
    content: '\e964';
}

.prev-page::before{
    content: '\e965';
}

.count-item > span{
    left: auto;
    right: 0;
}

.counter .count-item{
    padding-left: 0;
    padding-right: 90px;
}

.pbar-inner{
    left: auto;
    right: 0;
}

.pbar-inner > span{
    right: auto;
    left: 0;

    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

.icons-box.style-2:not(.type-2) .icons-item .icons-box-title:after{
    left: auto;
    right: 0;
}

.icons-box.style-1.type-2 .icons-item{
    text-align: right;
}

.icons-box.style-1.type-2 .icons-item{
    padding-left: 0;
    padding-right: 80px;
}

.icons-box.style-1.type-2 .icons-item .item-box > i{
    left: auto;
    right: 0;
}

.tabs.style-2:not(.vertical) .tabs-nav > li:not(:last-child){
    margin-right: 0;
    margin-left: 2px;
}

.tabs.vertical .tabs-nav > li a:after{
    left: auto;
    right: 100%;
}

.tabs.vertical .tabs-nav{
    border-right: none;
    border-left: 1px solid #e4e4e4;
}

.tabs.vertical .tabs-content{
    padding-left: 20px;
    padding-right: 30px;
}

.dropcap::first-letter{
    float: right;
    margin-right: 0;
    margin-left: 10px;
}

.blockquote-holder blockquote{
    border-left: none;
    border-right-width: 4px;
}

.blockquote-holder{
    padding-right: 40px;
    padding-left: 30px;
}

.custom-list > li > ul:not(.social-icons) > li, 
.custom-list > li > ol:not(.social-icons) > li{
    margin-left: 0;
    margin-right: 25px;
}

.custom-list[class*="type-"] li::before{
    margin-right: 0;
    margin-left: 10px;
    float: right;
}

.testimonial-holder.list-style .testimonial .member-photo:not(:last-child){
    margin-right: 0;
    margin-left: 20px;
}

/* Other elements */

.event-box.style-2:not(.list-type):not(.grid-type) .event .event-body{
    padding-right: 15px;
    padding-left: 40px;
}

.entry-icon span{
    margin-right: 0;
    margin-left: 10px;
}

.menu-list > li:not(:last-child) > a:after{
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 10px;
}

.chart-list li a{
    margin-left: 0;
    margin-right: 20px;
}

.chart-list li a:before{
    left: auto;
    right: 0;
    margin-left: 0;
    margin-right: -20px;
}

.searchform-wrap form input{
    padding-right: 20px;
    padding-left: 60px;
}

.searchform-wrap form button, 
.search-holder form button{
    right: auto;
    left: 20px;
}

.close-search-form, .close-popup{
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 20px;
}

.news-holder .entry{
    text-align: right;
}

.news-holder .entry-meta > *:not(:last-child){
    margin-right: 0;
    margin-left: 10px;
}

.entry .thumbnail-attachment .entry-label{
    left: auto;
    right: 26px;
}

.entry-box.style-2:not(.entry-small) .entry{
    text-align: right;
}

.entry .label-top{
    right: auto;
    left: 0;
    border-radius: 0 0 15px 0;
}

.thumbnail-attachment > * > .entry-body{
    padding: 0 26px 26px 26px!important;
}

.widget .event-box .entry{
    padding-left: 0;
    padding-right: 85px;
}

.widget .event-date{
    left: auto;
    right: 0;
}

.mad-custom-select .mad-selected-option{
    padding-left: 50px;
    padding-right: 20px;
}

.mad-custom-select .mad-selected-option:before{
    right: auto;
    left: 20px;
}

input:not([type="submit"]), textarea, 
.mad-custom-select .mad-selected-option{
    text-align: right;
}

.sorting .sort-col span{
    padding-right: 0;
    padding-left: 10px;
}

.tribe-events-bar .mad-custom-select .mad-selected-option:before, 
.tribe-events-bar .mad-custom-select .mad-options-list li:before{
    left: auto;
    right: 18px;
}

.tribe-events-bar .mad-custom-select .mad-selected-option, 
.tribe-events-bar .mad-custom-select .mad-options-list li{
    padding-left: 20px;
    padding-right: 40px;
}

.week_links > .healcode-jump-to-date input{
    padding-left: 20px;
    padding-right: 50px;
}

.week_links > .healcode-jump-to-date i{
    left: auto;
    right: 20px;
}

.calc-item > .custom-select.price-check .select-title:before{
    right: auto;
    left: 0;
}

.entry.entry-ico .thumbnail-attachment{
    float: right;
    margin-right: 0;
    margin-left: 20px;
}

.most-read > li{
    padding-left: 0;
    padding-right: 70px;
}

.most-read > li:before{
    left: auto;
    right: 0;
}

.twitter .tweet_list > li .tweet_time{
    float: right;
}

.twitter .tweet_list > li .tweet-action{
    float: left;
}

.carousel-type-3 .owl-nav{
    right: auto;
    left: 0;
}

.carousel-type-3 .owl-prev::before{
    content: '\e93c';
}

.carousel-type-3 .owl-next::before{
    content: '\e93b';
}

.tab-text-wrap{
    padding-left: 170px;
    padding-right: 30px;
}

.img-col-right{
    right: auto;
    left: 0;
}

.img-col-left{
    right: 0;
    left: auto;
}

.col-bg.phone{
    right: auto;
    left: 100px;
}

.newsletter .f-right .btn{
    margin-left: 0;
    margin-right: 10px;
}

.our-info:not([class*="style-"]) .info-item:before{
    right: 0;
    left: -2000px;
}

.btn.prev-btn, 
.btn.next-btn{
    margin-left: 0;
    margin-right: 30px;
}

.btn.next-btn{
    margin-left: 30px;
    margin-right: 0;
}

.btn.prev-btn:before, 
.btn.next-btn:before{
    content: '\e965';
    left: auto;
    right: 0;
    margin-left: 0;
    margin-right: -30px;
}

.btn.next-btn:before{
    content: '\e964';
    right: auto;
    left: 0;
    margin-right: 0;
    margin-left: -30px;
}

[class*="table-type"] table tr > td:last-child, 
[class*="table-type"] table tr > th:last-child{
    border-left: 1px solid #e0e0e0;
}

table.tribe-events-calendar thead tr th:last-child{
    border-radius: 20px 0 0 0;
}

table.tribe-events-calendar thead tr th:first-child{
    border-radius: 0 20px 0 0;
}

.tribe-events-bar .custom-select .select-title, 
.tribe-events-bar .custom-select .select-list li{
    padding-left: 0;
    padding-right: 50px;
}

.tribe-events-category-tech-events .tribe-events-tooltip{
    text-align: right;
}

.tribe-events-bar .custom-select .select-title:after, 
.tribe-events-bar .custom-select .select-list li:before{
    left: auto;
    right: 20px;
}

.tribe-events-bar form .btn.f-right{
    margin-left: 0;
    margin-right: 30px;
}

.tribe-filter-control > *:not(:last-child):after{
    right: auto;
    left: -16px;
}

.tribe_events_filter_item .tribe-events-filters-group-heading{
    padding-right: 0;
    padding-left: 12px;
}

.tribe_events_filter_item .tribe-events-filters-group-heading:after{
    content: '\e85c';
    right: auto;
    left: 0;
}

table.tribe-events-calendar tr td:not(:last-child), 
table.tribe-events-calendar tr th:not(:last-child){
    border-left: 1px solid #e0e0e0;
}

[class*="table-type"] table tr > td:first-child, 
[class*="table-type"] table tr > th:first-child {
    border-right: 1px solid #e0e0e0;
}

.shop-cart-form tr:last-child td:not(.order-total):first-child{
    border-right: 1px solid #e0e0e0;
}

.shop-cart-form tr td .newsletter .btn{
    margin-left: 0;
    margin-right: 10px;
}

.entry-box.entry-small.list-type .entry > *,
.entry-box.entry-small.list-type .entry .entry-body{
    padding: 0;
}

.entry-box .entry .entry-title .price{
    float: left;
}

.entry-box.single-post .entry .entry-meta:not(:last-child){
    margin-right: 0;
    margin-left: 26px;
}

.entry-box.entry-small.list-type.style-2 > .entry{
    padding-right: 26px;
    padding-left: 70px;
}

.entry-box.entry-small.list-type > .entry .entry-icon{
    right: auto;
    left: 26px;
}

.entry .entry-title .product-price{
    float: left;
}

.entry-box.entry-small.list-type .entry .thumbnail-attachment:not(:last-child){
    margin-right: 0;
    margin-left: 20px;
}

.timeline-left .cmsmasters_post_date{
    right: auto;
    left: -180px;
}

.timeline-right .cmsmasters_post_date{
    right: -180px;
    left: auto;
}

.widget .event-box.style-2:not(.grid-type) .event{
    padding-right: 0;
}

.link-attachment .link{
    padding-left: 0;
    padding-right: 50px;
}

.link-attachment .link:before{
    left: auto;
    right: 0;
}

.blockquote-holder.style-2{
    border-right: 3px solid #891328;
    border-left: none;
}

.single-post .entry .entry-body .product-price{
    float: left;
}

.single-post .custom-list li span{
    display: inline-block;
    padding-right: 0;
    padding-left: 2px;
}

.entry-box.half-grid .entry:not(.full-grid) .thumbnail-attachment{
    float: right;
    margin-right: 0;
    margin-left: 30px;
}

.widget .team-holder .team-item .member-photo{
    float: right;
}

.widget .team-holder .team-item .member-photo:not(:last-child){
    margin-right: 0;
    margin-left: 20px;
}

.our-info.style-2 .info-item:not(:last-child){
    margin-right: 0;
    margin-left: 30px;
}

.tribe-events-category-tech-events .tribe-events-tooltip{
    left: auto;
    right: 0;
}

.tribe-events-category-tech-events .tribe-events-tooltip:before{
    left: auto;
    right: 30px;
}

.tribe-events-category-tech-events .tribe-events-tooltip img.alignleft{
    margin-right: 0;
    margin-left: 15px;
}

.our-info.style-2 .info-item span:first-child{
    display: inline-block;
}

.single-event .custom-list li span{
    display: inline-block;
}

.team-item.team-single .member-photo:not(:last-child){
    float: right;
    margin-left: 30px;
    margin-right: 0;
}

.team-holder.single-member .team-member .member-photo{
    float: right;
    margin-right: 0;
    margin-left: 30px;
}

.team-item.single-item{
    text-align: right;
}

.breadcrumbs > li:not(:first-child):before{
    margin-right: 0;
    margin-left: 5px;
}

.tagcloud a,
.widget .product .product-image{
    float: right;
}

.gravatar{
    float: right;
    margin-right: 0;
    margin-left: 20px;
}

.comments-list .children .comment{
    padding-left: 0;
    padding-right: 40px;
}

.widget-calendar table tr th{
    text-align: center;
}

.widget .product .product-image:not(:last-child){
    margin-right: 0;
    margin-left: 20px;
}

.quantity input[type="text"]{
    padding-right: 20px;
    padding-left: 40px;
}

.quantity .qty-minus, 
.quantity .qty-plus{
    right: auto;
    left: 0;
}

.product.single .pricing-area > .rating:not(:last-child){
    margin-right: 0;
    margin-left: 10px;
}

.product.single .product-meta > li > span{
    display: inline-block;
}

.product .label{
    right: auto;
    left: 0;
    border-radius: 0 0 15px 0;
}

.quantity .qty-minus, .quantity .qty-plus{
    border-left: none;
    border-right: 2px solid #f1f1f1;
}

.shopping-cart .products-holder .product-image, 
.shop-cart-form .product .product-image{
    float: right;
    margin-left: 20px;
    margin-right: 0;
}

.shop-cart-form tr td .item-close{
    margin-right: 0;
    margin-left: 30px;
}

input[type="radio"] + label, 
input[type="checkbox"] + label{
    padding-left: 0;
    padding-right: 45px;
}

input[type="radio"] + label::before, 
input[type="checkbox"] + label::before{
    left: auto;
    right: 0;
}

input[type="radio"] + label::after{
    left: auto;
    right: 9px;
}

input[type="checkbox"] + label::after{
    left: auto;
    right: 3px;
}

input[type="radio"] + label:not(:last-child), 
input[type="checkbox"] + label:not(:last-child){
    margin-right: 0;
    margin-left: 25px;
}

.search-form > button{
    right: auto;
    left: 20px;
}

.menu-wrap .search-holder > *:not(:last-child){
    margin-right: 0;
    margin-left: 35px;
}

.shopping-cart .products-holder .product-image, .shop-cart-form .product .product-image{
    float: right;
    margin-right: 0;
    margin-left: 20px;
}

.shopping-cart .products-holder .product-description{
    padding-right: 0;
    padding-left: 30px;
}

.shopping-cart .product .item-close, .shop-cart-form .item-close{
    right: auto;
    left: 0;
}

.sc-footer .subtotal .total-price{
    display: inline-block;
}

.newsletter .btn{
    right: auto;
    left: 0;
}

.healcode-header .action_icon{
    float: left;
}

.section-pre-title:not(.style-2):before{
    left: auto;
    right: 0;
}

.popup form{
    text-align: center;
}

.contact-form:not(.style-2) .contact-item{
    padding-left: 0;
    padding-right: 210px;
}

.contact-form:not(.style-2) .contact-item label{
    left: auto;
    right: 0;
}

.media-holder .media-inner{
    right: auto;
    left: 0;
}

.services.with-offset{
    padding-left: 0;
    padding-right: 30px;
}

.services .secvice-item:before{
    left: auto;
    right: 0;
}

.services .secvice-item{
    padding-left: 0;
    padding-right: 50px;
}

[class*="footer"].style-3 .widget .widget-title{
    text-align: right;
}

.single-post .custom-list li .entry-icon{
    right: auto;
    left: 0;
}

.post-nav .post-button.favorite:not(:last-child){
    margin-right: 0;
    margin-left: 10px;
}

.comment-reply-link{
    float: left;
}

.section-pre-title, .section-pre-title a{
    padding-left: 0;
    padding-right: 0;
}

.contact-form:not(.style-2) .contact-item{
    padding-right: 0;
}

.newsletter:not(.var2) input{
    padding-right: 20px;
    padding-left: 100px;
}

[class*="alert"],
.testimonial .author-box{
    text-align: right;
}

.testimonial .author-box .author-icon{
    margin-right: 0;
    margin-left: 15px;
}

.required:after{
    left: auto;
    right: 100%;
}

span.required:after{
    right: auto;
}

.call-out.newsletter .call-title{
    padding-right: 0;
    padding-left: 30px;
}

.go-to-top{
    right: auto;
    left: 60px;
}

.go-to-top.go-top-visible{
    right: auto;
    left: 40px;
}

.call-out.newsletter .newsletter .btn{
    margin-right: 5px;
    margin-left: 0;
}

.search-form input{
    padding-right: 20px;
    padding-left: 56px;
}

.header.style-3 .top-header .header-btns{
    text-align: left;
}

.event-box.style-3 .owl-carousel .owl-stage-outer{
    margin-right: 0;
    margin-left: 1px;
}

.event-box.style-3 .event{
    margin-left: 0;
    margin-right: -1px;
}

.chose-donate .call-title{
    padding-right: 0;
    padding-left: 40px;
}

.entry-box.entry-small .entry .entry-body,
.widget .entry-box.entry-small .entry .entry-body{
    padding-left: 0;
    padding-right: 20px;
}

.widget .event-box.style-2:not(.list-type):not(.grid-type) .event .event-body{
    padding-left: 0;
    padding-right: 15px;
}

.mad-custom-select .mad-options-list{
    left: auto;
    right: 0;
}

.page-404-section form .btn{
    margin-left: 0;
    margin-right: 5px;
}

.event-box.style-2 .event .event-date{
    left: auto;
    right: 0;
}

.event-box.style-2:not(.grid-type) .event{
    padding-left: 0;
    padding-right: 120px;
}

.breadcrumbs-wrap.left-side,
.chose-donate .chose-item{
    text-align: right;
}

.share-wrap .share-title:not(:last-child){
    margin-right: 0;
    margin-left: 20px;
}

/* ------------------------------------------------

        4. Media queries

------------------------------------------------ */

/* Bootstrap rtl changes */

@media (min-width: 1480px){

    .market-item .market-inner #sparkline{
        padding-right: 25px!important;
        padding-left: 120px!important;
    }

}

@media only screen and (max-width: 1480px){

    .header.style-4.wide .top-header .logo, 
    .header:not(.style-2):not(.style-3) .logo{
        left: auto!important;
        right: 15px!important;
    }

    .header.style-4 .top-header .top-head-menu, 
    .header.style-4 .menu-wrap{
        padding-left: 0!important;
        padding-right: 200px!important;
    }

}

@media only screen and (max-width:1280px){

    .header.style-2 .menu-holder{
        padding-right: 0;
    }

}

@media only screen and (max-width:1199px){
    
    .main-navigation > ul > li:nth-child(6) .sub-menu-wrap .sub-menu-wrap.sub-menu-inner {
        left: 100%!important;
        right: auto!important;
    }

    .header.style-4 .top-header .social-icons{
        padding-left: 0!important;
        padding-right: 30px!important;
    }

    .header.style-4 .top-header .top-head-menu, .header.style-4 .top-header .our-info.style-3, .header.style-4 .our-info.style-3 .info-item{
        text-align: left!important;
    }

}

@media only screen and (max-width: 991px){

    .header:not([class*="style-"]) .menu-holder{
        padding-left: 30px!important;
        padding-right: 0!important;
    }

    .sub-menu-wrap.mega-menu .mega-title{
        padding-left: 0!important;
        padding-right: 28px!important;
    }

    .mobile-advanced ul ul li > a:before{
        margin-right: 0!important;
        margin-left: 5px!important;
        content: "\f104"!important;
    }

    .mobile-advanced .sub-menu-wrap ul li a{
        padding-left: 20px!important;
        padding-right: 30px!important;
    }

    .mobile-advanced .sub-menu-wrap.sub-menu-inner ul li a{
        padding-left: 30px!important;
        padding-right: 50px!important;
    }

    #advanced-menu-hide{
        right: auto!important;
        left: 30px!important;
    }

    .popup .close-popup{
        margin-left: 0!important;
        margin-right: -15px!important;
    }

    .header.style-4.var2 .logo{
        left: auto!important;
        right: 15px!important;
    }

    .our-info:not([class*="style-"]) .info-item:before{
        right: -2000px;
    }

    .cmsmasters_post_date .published .cmsmasters_post_day{
        margin-right: 0!important;
        margin-left: 10px!important;
    }

    .entry-box.timeline .cmsmasters_post_date{
        text-align: right!important;
    }

}

@media (min-width: 992px){

    .offset-lg-2{
        margin-left: 0!important;
        margin-right: 16.666667%!important;
    }

    .offset-lg-1{
        margin-left: 0!important;
        margin-right: 8.333333%!important;
    }

}

@media only screen and (min-width:768px){
    
    .offset-md-1{
        margin-right: 8.333333%!important;
        margin-left: 0!important;
    }

}

@media (max-width: 769px){
    
    .header.style-4 .top-header .top-head-menu{
        padding-left: 0!important;
        padding-right: 100px!important;
    }

    .header.style-4 .menu-wrap{
        padding-right: 0!important;
    }

}

@media only screen and (max-width: 480px){
    
    .header.style-4 .top-header .top-head-menu{
        padding-left: 0!important;
        padding-right: 140px!important;
    }

    .event-box.style-2:not(.grid-type) .event{
        padding-right: 0;
    }

    .event-box.style-2.list-type .event .event-date > *:not(:last-child){
        margin-right: 0!important;
        margin-left: 10px!important;
    }

}

@media only screen and (max-width: 320px){

    .header.style-4 .top-header .top-head-menu, 
    .header.style-4 .menu-wrap{
        padding-right: 0!important;
    }

    .header.style-4 .top-header .logo,
    .header.style-4.wide .top-header .logo{
        right: 0!important;
    }

    .header.style-4 .top-header .top-head-menu, .header.style-4 .top-header .our-info.style-3, .header.style-4 .our-info.style-3 .info-item{
        text-align: right!important;
    }

    .header.style-4 .top-header .social-icons{
        padding: 0!important;
    }

}