/***
 *
 * Arabic language adjustments for public theme CSS
 *
 * Contents
 *
 * 1.0 General
 * 	-Body (rtl)
 *  -Lists
 *
 * 2.0 Template/Layout
 *  - Header
 *  - Language selector
 *  - Navigation
 *
 * 3.0 Charts
 *  - Messages
 *  - legend
 *  - text
 *
 * 4.0 Images
 *  - mirror
 */
.clearfix {
    *zoom: 1;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: "";
    line-height: 0;
}

.clearfix:after {
    clear: both;
}

.hide-text {
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.input-block-level {
    display: block;
    width: 100%;
    min-height: 29.6px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.float-right {
    float: left !important;
}

.float-left {
    float: right !important;
}

/**************
 * 1.0 =General
 **************/
/*sweeping rtl change for arabic */
body {
    direction: rtl;
    text-align: right;
}

/* Lists */
ul {
    margin-right: 0;
    margin-left: 0;
}

li {
    text-align: right;
    direction: rtl;
}

.fa-caret-right::before {
    content: "\f0d9";
    float: right;
    margin-left: 10px;
}

/**************
 * 2.0 =Navigation
 **************/
nav {
    text-align: right;
}

.navbar-nav {
    padding: 0;
}

.nav-menu-content {
    text-align: right;
}

.close-bar button, .close-bar a {
    float: left;
}


/**************
 * 3.0 =Charts
 **************/
#noIndicatorDataMsg {
    text-align: right;
}

/**************
 * 4.0 =Image
 **************/
.background-image-homepage,.icon img {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

/**************
 * 5.0 =Custom
 **************/
.year_cell {
    padding: 5px 0;
}


.legend-node {
    margin-left: 5px;
}

.customTooltip .tooltiptext {
    right: -3000px;
    left: unset;
    margin-right: 0%;
}

.customTooltip .tooltiptext::after {
    right: 50%;
}

.customTooltip:hover .tooltiptext {
    right: 0px;
}
.select2{
    text-align: right;
}

.select2-results__options{
    text-align: right;
}

.dropdown-menu{
    text-align: right;
    right: 0;
    left: auto;
}

.nav-link::before {
    right: 1.2rem;
}

.dropdown-menu-right {
    left: 0;
    right: auto;
}

.dropdown-menu-left {
    right: 0;
    left: auto;
}

.mr-5, .mx-5 {
    margin-left: 3rem !important;
    margin-right: unset !important;
}

.ml-5, .ml-5 {
    margin-right: 3rem !important;
    margin-left: unset !important;
}

.list-unstyled {
    padding-right: 0;
}
.op_header .op_logo{
    float: right !important;
    margin-left: 30px;
    margin-right: 0px;
}
.op_header {
    text-align: right;
}

.ml-auto, .mx-auto {
    margin-right: auto !important;
    margin-left: unset !important;
}
.wizard > .content {
    text-align: right !important;
}

.wizard > .actions > ul > li, .wizard > .steps > ul > li {
    float: right !important;
}

.wizard > .content > .body textarea {
    float: right !important;
}

.input input {
    float: right !important;
}

.input label {
    float: right !important;
}

.autocomplete_container .autocomplete_icon {
    left: 8px;
    right: unset;
    margin-left: 25px;
    top: 40px;
}
.autocomplete_container .autocomplete_box {
    left: unset;
    right: 0;
}

.grid .grid_item .item_footer .tag, .news_modal_content .item_footer .tag{
    left: 10px !important;
    right: unset !important;
}
