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

        1. Default stylesheets                      

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

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

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

th,
td,
table,
form{
    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

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

/* Header */

.header{
    padding-left: 30px;
    padding-right: 0;
}

.pre-header .lang-area:not(:last-child){
    margin-right: 0;
    margin-left: 50px;
}

/* Menu */

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

.main-navigation{
    text-align: right;
    margin: 0 10px 0 20px;
}

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

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

.main-navigation > ul > li.dropdown > a:after{
    margin-left: 0;
    margin-right: 5px;
}

/* Shortcodes */

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

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

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

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

.accordion.style-2 .a-title:after{
    right: auto;
    left: 0;
}

.accordion.style-2 .a-title{
    padding-left: 30px;
    padding-right: 0;
}

.tabs .tabs-nav li{
    float: right;
}

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

.tabs.style-2 .tabs-nav > li:not(:last-child) > a{
    border-right: none;
    border-left: 1px solid #e4e4e5;
}

.tabs.style-2 .tabs-nav > li:first-child > a{
    padding-left: 30px;
    padding-right: 0;
}

.tabs.style-2 .tabs-nav > li:last-child > a{
    padding-right: 30px;
    padding-left: 0;
}

.tabs.vertical.style-2 .tabs-content{
    margin-left: 0;
    margin-right: 30px;
}

.tabs.vertical.style-2 .tabs-nav > li > a{
    border: none;
}

.tabs.style-2.vertical .tabs-nav > li:last-child > a{
    padding-right: 0;
}

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

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

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

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

.pbar-wrap .pbar-title > span{
    float: left;
}

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

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

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

.count-item > [class*="licon-"]{
    left: auto;
    right: 0;
}

.counter{
    padding-left: 0;
    padding-right: 75px;
}

.icons-box.style-1 .flex-row{
    margin-left: 0;
    margin-right: -28px;
}

.icons-box.style-1 .icons-wrap .icons-item{
    margin-right: 0;
    margin-left: -1px;
}

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

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

.carousel-type-1 .owl-carousel{
    padding-right: 0;
    padding-left: 70px;
}

[class*="carousel-type"] .owl-dots{
    right: auto;
    left: 0;
}

.testimonial-holder.style-2 .testimonial .author-box{
    float: right;
    margin-right: 0;
    margin-left: 60px;
}

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

.testimonial-holder.type-2 .testimonial blockquote{
    padding-left: 0;
    padding-right: 100px;
}

.testimonial-holder.type-2 .testimonial blockquote:before{
    left: auto;
    right: 0;
}

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

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

.custom-list > li > ul > li, 
.custom-list > li > ol > li{
    margin-left: 0;
    margin-right: 25px;
}

.blockquote-holder{
    border-right: 3px solid #65ae84;
    border-left: none;
}

.entry .entry-body .label{
    float: right;
    margin-right: 0;
    margin-left: 30px;
}

.tagcloud a{
    float: right;
}

/* Other elements */

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

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

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

.rev-slider-wrapper .side-bar{
    direction: ltr;
}

.rev-slider-wrapper.full-scr .rev-slider{
    margin-left: 0;
    margin-right: 150px;
}

.rev-slider-wrapper .side-bar{
    left: auto;
    right: 0;
}

.chat-btn{
    right: auto;
    left: 0;
    margin-right: 0;
    margin-left: -65px;
    border-radius: 0 0 20px 20px;
}

a.play i{
    padding-left: 0;
    padding-right: 15px;
}

.fancybox-button--close{
    float: left;
}

.fancybox-buttons{
    right: auto;
    left: 0;
}

.contact-info li.info-item > i{
    padding-right: 0;
    padding-left: 5px;
}

.tp-bullet:before{
    right: auto;
    left: 100%;
    margin-right: 0;
    margin-left: 20px;
}

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

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

.entry-box.entry-small .entry .thumbnail-attachment{
    float: right;
    margin-right: 0;
    margin-left: 30px;
}

.newsletter:not(.style-2) > button{
    right: auto;
    left: 20px;
}

.info-links.v-type > li:before{
    left: auto;
    right: 0;
}

.info-links.v-type > li{
    padding-left: 0;
    padding-right: 30px;
}

[class*="footer"] .widget p span{
    display: inline-block;
}

.search-holder .btn:not(:last-child){
    margin-right: 0;
    margin-left: 30px;
}

.contact-info li.info-item{
    text-align: right;
}

.toggle-list li a,
.toggle-list > li > ul{
    margin-left: 0;
    margin-right: 28px;
}

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

.minus-list li{
    padding-left: 0;
    padding-right: 28px;
}

.minus-list li:before{
    left: auto;
    right: 0;
    margin-right: 0;
    margin-left: 15px;
}

.licon-chevron-right-circle:before{
    content: "\e964";
}

.licon-chevron-left-circle:before{
    content: "\e965";
}

.profile-section .profile-content .prof-inner{
    padding-left: 0;
    padding-right: 28px;
}

.our-info.hr-type > p:not(:last-child){
    margin-right: 0;
    margin-left: 30px;
}

.info-btn.with-icon{
    margin-right: 0;
    margin-left: 30px;
}

.info-btn.with-icon > i{
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 13px;
}

.licon-arrow-right:before{
    content: "\e943";
}

.info-btn.with-icon.share > i, 
.info-btn.with-icon.left-side > i{
    left: 100%;
    right: auto;
    margin-left: 13px;
    margin-right: 0;
}

.info-btn.with-icon.left-side, 
.info-btn.with-icon.share{
    margin-left: 0;
    margin-right: 30px;
}

.left-tooltip.share > .tooltip{
    right: auto;
    left: 100%;
    margin-right: 0;
    margin-left: 50px;
}

.left-tooltip.share > .tooltip:after{
    left: auto;
    right: 100%;
    border-top: 7px solid transparent;
    border-right: 5px solid #fff;
    border-bottom: 7px solid transparent;
    top: calc(50% - 7px);
}

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

.team-holder.type-2 .team-item{
    text-align: right;
}

.team-holder.type-2 .team-item .member-photo{
    float: right;
    margin-right: 0;
    margin-left: 20px;
}

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

.comments-list .children .comment{
    margin-left: 0;
    margin-right: 110px;
}

.contact-info.style-3 > li{
    text-align: center;
}

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

        4. Media queries

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

/* Bootstrap rtl changes */

@media (min-width: 1200px){
    [class*="col-lg-"]{
        float: right;   
    }
}
@media (min-width: 992px){
    [class*="col-md-"]{
        float: right;   
    }
}
@media (min-width: 768px){
    [class*="col-sm-"]{
        float: right;   
    }
}
@media (min-width: 468px){
    [class*="col-xs-"]{
        float: right;   
    }
}

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


}

@media only screen and (max-width:991px){
    
    #advanced-menu-hide{
        right: auto!important;
        left: 30px!important;
    }

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

    .sub-menu-wrap.mega-menu > *{
        width: 100%!important;
    }

    .sub-menu-wrap.mega-menu > *:not(:last-child){
        margin-right: 0!important;
        margin-bottom: 0!important;
    }

    .rev-slider-wrapper.full-scr .rev-slider{
        margin-right: 100px!important;
        margin-left: 0!important;
    }

}

@media (min-width: 992px){


}

@media only screen and (min-width:768px){

    .header.style-2 .top-header .flex-row > *:last-child{
        text-align: left!important;
    }

}

@media (max-width: 767px){


}

@media only screen and (max-width: 480px){
    
    .tabs.vertical.style-2 .tabs-content{
        margin-right: 0;
    }

    .tabs.style-2 .tabs-nav > li:last-child > a{
        padding-right: 0;
    }

    .comments-list .children .comment{
        margin-left: 0;
        margin-right: 28px;
    }

}