/* * {
    direction: rtl;
    text-align: right;
} */

/* HEADER START */

#menuList {
    right: auto;
    left: 0;
}

#menuList li {
    text-align: right;
}

#header .headerRigthBlock .languageSelectionWrapper #headerLanguage {
    direction: rtl;
}

#headerLanguage {
    margin-right: 0;
}

.header-menu {
    margin-right: 0;
    margin-left: 20px;
}

#headerMail {
    margin: 0 0 0 20px;
}

.infoInnerWrapper {
    margin: 0 0 0 0;
}

#languageSelection {
    right: auto;
    left: 0;
}

#languageSelectionMob ul li, #languageSelectionMob ul li:last-child {
    text-align: right;
}

.infoInnerWrapper > a > div {
    margin: 0 0 0 10px;
}

.infoBlock .left .contractNumber,
.infoBlock .left .name {
    text-align: left;
}

.tg-link {
    margin: 0 0 0 20px;
}

li.tg-link {
    align-items: center;
    justify-content: space-between;
}

/* HEADER END */


/* MAIN START */

#real_accounts_block .fn {
    padding-right: 0;
}


.blocksContainer .block .bottom .listWrapper ul li img {
    margin-right: 0;
    margin-left: 10px;
}


.accountsTable tbody tr td:last-child,
.accountsTable thead tr th:last-child {
    border: none;
}


.list-link img {
    transform: rotate(180deg);
}

.accountsTable tbody tr td:first-child,
.accountsTable thead tr th:first-child,
.accountsTable tbody tr td,
.accountsTable thead tr th {
    padding: 16px 10px 16px 0;
}


/*.list-link a {*/
/*    margin-right: 0;*/
/*    margin-left: 80px;*/
/*}*/

.blocksContainer .btnWrapper a:last-of-type {
    margin-left: 0;
    margin-right: 20px;
}

.inactive-tx img,
.multyLineError.blueNotice img {
    margin-right: 0;
    margin-left: 10px;
}

.progressBar .status {
    left: auto;
    right: 0;
}

.app-download a p,
.app-download a p span,
.block-tx p,
.app-info p,
.progressBar p,
.table-title,
.blocksContainer .block .bottom .hint p,
.accountsTable tbody tr td:first-child,
.accountsTable thead tr th:first-child,
.accountsTable tbody tr td,
.accountsTable thead tr th,
.openAccountModal.modalWindow.popup .modalMiddle p,
.modalWindow.popup .modalMiddle .paymentHelpText p,
#labelHead p,
#labelHead,
.modalWindow.popup .modalMiddle li,
div.emailActivation #labelHead, .modalWindow.popup .tx-wrapper p,
.checkbox-wrapper label, .checkbox-wrapper p,
.accountsTable thead tr th, .accountsPageTable thead tr th,
.accountsTable tbody tr td, .accountsPageTable tbody tr td,
.select-selected,
.blockBtn,
.detail-info .flex-wrapper > div:first-of-type,
.openAccountModal .detail-info label,
.chooseFileButton.attachActive,
.modalWrapperInfo p,
.emailActivation tr td label,
.emailActivation tr td .emailActivationField,
.modalWindow.popup .modalMiddle p,
.modalWindow.popup .modalMiddle li,
.select-items p,
.sectionHeader h1,
#centerContent .sectionHeader p,
.q-item h3,
#questionary-form input[type="radio"] + label,
.inactive-tx p,
#secondaryRequestHint,
.sendMailAgainHint,
.loginWindowWrapper label.rememberMeLabel,
.sub-title-realacc,
.blocksContainer .title h2,
.sup-placeholder,
.best-val,
div.emailActivation #labelHead, .modalWindow.popup .tx-wrapper p,
.tx-wrapper p,
.h-input .error-wrapper p,
.paymentHelpText p,
.paymentHelpText li,
.h-input .error-wrapper p,
.smsCodeInputWrap .error-wrapper,
.result-payment p:first-of-type,
.method-item p,
#validatorpass div,
.modalWindow .res-code .label-tx,
.content-wrapper-header,
.accountsPageTable.ibAccountsTable thead tr th,
div.hint p,
.accountInformationContainer .accountInfoLeft .detail-info .flex-wrapper .ref-link p,
.detail-info .flex-wrapper > div,
.method-item .redNotice,
.ibAccountDataTable h4,
.ibAccountDataTable p,
div.hints.s-hints p,
.dropdown-popup h3.modal-title,
.ibFormContainer .intro-txt p,
.error-wrapper div,
.newsItem h1,
.newsItem p,
.open-acc .show-content .checkbox-wrapper p.acc-name-desc,
.banner-wrapper li,
.blocksContainer .messageShortBlock .title,
.detail-info label,
.messagesHeadline span,
.messageShortBlock .messageSubject span,
.smsConfirmWindow .smsHint > #confirmCode,
.smsConfirmWindow .smsHint > #labelHead,
.smsCodeInputWrap #smsLabel,
.editDataTable #secondaryRequestHint,
.smsCodeInputWrap #secondaryRequestHint,
.daily .inputWrapper,
#rebate_info_container > .flex-wrapper > div,
.sum-rebate,
.tx-rebate p,
.tx-rebate h3,
h3.modal-title,
.pammInfoBlock .title h3,
span.pammFieldHint,
.detail-info .flex-wrapper > div:last-of-type,
.accountDataTable h4,
.accountDataTable p,
.title h3,
.pammRatingHeader > p,
.pammTitle > div,
.pammRatingHeader > p,
#openAccountModal.modalWindow.popup .modalMiddle p,
.pamm-select > div h4,
.pamm-select > div p,
.accountInfoLeft.noPammAgentBlock .checkbox-wrapper p,
.notificationsWrapper h4,
.filterTitle,
.text-wrapper p,
.text-wrapper ol,
.h-input .inputField,
.pamm-select > div h4,
.pamm-select > div p,
.detail-info .changePassword.flex-wrapper p,
.detail-info .changePassword.flex-wrapper h3,
.list-link .link-info > p,
.hidden-how-to h1,
.newsItem h3,
.newsItem li,
#login-form .error-title,
.error-tx,
#login-form div.red-br-tx,
ul.ui-menu .ui-menu-item a,
div.hints p{
    text-align: right;
}

div.help-login-wrapper a {
    left: 10px;
    right: auto;
}

#login-form .error-title img{
    margin: 0 0 0 4px;
}

.accountInformationContainer .accountInfoRight ul:last-of-type li,
.inputWrapper,
.toggle-block,
.pagination,
#languageSelection ul li a, #languageSelectionMob ul li a,
.openPammButton {
    text-align: center;
}

.result-payment .sum-result {
    text-align: left;
}

.select-selected {
    padding: 8px 16px 0;
}

/* MAIN END */


/* SIDEBAR START */
div.side-menu {
    max-width: 270px;
    width: 100%;
    margin-right: 0;
    margin-left: 40px;
}

#sidebar ul li .menu-ic {
    margin-right: 0;
    margin-left: 10px;
}

.fa-container #sidebar {
    float: none;
}


/* SIDEBAR END */


/* FOOTER START */

#footer p {
    text-align: right;
}

#footer .soc-list li {
    margin-right: 0;
}

.footer-links li {
    margin-right: 0;
    margin-left: 40px;
}


/* FOOTER END */


/* POPUP START */

.modalWindow.popup .modalMiddle ol {
    margin: 0 18px 0 0;
}

.modalWindow.popup .modalMiddle .close.closeFancybox:not(.bigGreenButton) {
    right: auto;
    left: 20px;
}

.modalWindow.popup .modalMiddle ol {
    margin: 0;
}

select, .openAccountModal .select-selected {
    background-position: left 10px bottom 50%;
}

.accountsTable thead tr th, .accountsPageTable thead tr th {
    padding: 16px 10px 16px 0;
}

.modalWrapper .closeFancybox {
    left: 0;
    right: auto;
}

.open-acc .modalWrapper .closeFancybox {
    left: 0;
    right: auto;
}

/* POPUP END */


/* OTHER PAGES START */

.detail-info .flex-wrapper > div:first-of-type {
    margin-right: 0;
    margin-left: 20px;
}

.chooseFileButton.attachActive {
    background: url('../images/svg/fileupload.svg') no-repeat;
    padding: 0 47px 0 0;
    background-position: 100% center;
}

.checkbox-wrapper,
.multyLineError.inactive-tx,
#ProfileForm_job_income {
    direction: rtl;
}

.loginWindowWrapper .niceCheck, #fancybox-content .modalWindow .niceCheck {
    margin-right: 0;
    margin-left: 10px;
}


input[type="radio"] {
    margin: 3px 0 0 15px;
    float: right;
}

#questionary-form input[type="radio"].niceRadio:checked + label,
#questionary-form input[type="radio"].niceRadio:not(:checked) + label {
    padding-left: 0;
    padding-right: 28px;
}

#questionary-form input[type="radio"].niceRadio:not(:checked) + label:after,
#questionary-form input[type="radio"].niceRadio:not(:checked) + label:before,
#questionary-form input[type="radio"].niceRadio:checked + label:after,
#questionary-form input[type="radio"].niceRadio:not(:checked) + label:after,
#questionary-form input[type="radio"].niceRadio:checked + label:before,
input[type="radio"].niceRadio:checked + label:after,
input[type="radio"].niceRadio:not(:checked) + label:after,
input[type="radio"].niceRadio:not(:checked) + label:before,
input[type="radio"].niceRadio:checked + label:before{
    top: 0;
    left: auto;
    right: 0;
}

input[type="radio"].niceRadio:not(:checked) + label,
input[type="radio"].niceRadio:checked + label{
    text-align: right;
    padding-left: 0;
    padding-right: 28px;
}


/* OTHER PAGES END */

/* IB START */
.arrow-wrapper input {
    background-position: left 10px bottom 50%;
}

form .h-input a.ibSearchButton {
    right: auto;
    left: 10px;
}

.sorting {
    right: auto;
    left: -15px;
}

.accountsSendBlock a:not(.accountsSendBlock a:last-of-type) {
    margin-right: 0;
    margin-left: 15px;
}

.toggle-btn > div:not(.toggle-btn > div:last-of-type) {
    margin-right: 0;
    margin-left: 20px;
}

.sorting {
    bottom: 6px;
}

.sorting.asc {
    bottom: 6px;
}

/* IB END */

.select-selected {
    background-position: left 10px bottom 50%;
}

.sup-placeholder {
    left: auto;
    right: 20px;
}

/*.open-acc-options .select-selected {*/
/*    height: 50px;*/
/*    padding: 22px 20px 7px 20px;*/
/*}*/

.open-acc .show-wrapper-nav li img {
    margin: 0 0 0 15px;
}

.loginWindowWrapper .niceCheck, #fancybox-content .modalWindow .niceCheck, .niceCheck,
.layout-login .loginWindowWrapper .niceCheck {
    margin-right: 0;
    margin-left: 10px;
}

.radio-custom {
    position: absolute;
    /*top: 0;*/
    left: auto;
    right: 0;
    height: 20px;
    width: 20px;
    border: 2px solid #868282;
    border-radius: 0;
}

.open-acc .show-content .checkbox-wrapper p {
    padding: 0 35px 0 0;
    width: 100%;
}

.h-input .inputField {
    padding: 24px 20px 12px 20px;
}

.h-input .inputField.ibSearchField {
    background: url("/images/svg/search.svg") no-repeat;
    background-position: left 20px center;
}

.cur-select .h-input:first-of-type .inputField {
    border-radius: 0 4px 4px 0;
    /*border-right: 0;*/
}

.cur-select .h-input:last-of-type .select-selected {
    border-radius: 4px 0 0 4px;
    padding: 0 16px;
    border-right: 0;
    border-left: 1px solid #D1D5DB;
}

.best-val {
    right: auto;
    left: 0;
    direction: ltr;
}

.method-ic > .flex-wrapper img {
    margin: 0 0 0 12px;
}

.h-input .error-wrapper p {
    padding: 0 20px 0 0;
}

.paymentHelpText ul,
.paymentHelpText ol {
    padding-right: 18px;
}

.h-input.error .error-wrapper,
.smsCodeInputWrap .error-wrapper {
    padding: 0 20px 0 0;
}

#trade-container .accountsPageTable tr td,
#trade-container .accountsPageTable tr td b,
#trade-container .accountsPageTable tbody {
    direction: ltr;
    text-align: left;
}

.newsItem ol {
    padding: 0 18px 0 0;
}

.pagination li.next {
    transform: rotate(-180deg)
}

.pagination li.previous {
    transform: rotate(180deg)
}

.banner-wrapper .title img {
    margin: 0 0 0 14px;
}


.banner-wrapper li {
    padding: 0 6px 0 0;
    margin: 0 6px 10px 0;
}

.dropdown-menu li .flag {
    margin: 0 0 0 10px;
}

#shortListItems {
    padding: 0 0 0 5px;
}

.sectionHeader .leftSection .feedbackTitle.flex-wrapper h1:first-of-type {
    margin: 0 0 0 25px;
}

.messageWrapper {
    padding: 0 0 0 10px;
}

.clientMessage.flex-wrapper > img {
    margin: 0 10px 0 0;
}

.managerMessage.flex-wrapper > img {
    margin: 0 0 0 10px;
}

.messageSubject > img {
    margin: 0 0 0 8px;
}

#backToMessages {
    margin: 0 0 0 12px;
}

messageShortBlock > .flex-wrapper > img {
    margin: 0 12px;
}

#backToMessages > img {
    transform: rotate(180deg);
}

.attachListWrapper ul li .paperclip {
    margin: 0 0 0 8px;
}

.attachListWrapper ul li .delete {
    margin: 0 20px 0 0;
}

.dropdown-popup h3.modal-title,
.sectionHeader .rightSection {
    text-align: center;
}

.accountsPageTable .hiddenRow .cellContents ul li {
    display: inline-block;
    margin: 0 0 0 10px;
}

.h-input select.inputField {
    background: #F8F8F8 url('../images/svg/arrowselect.svg') no-repeat;
    background-position: 5% 50%;
}

#open_account_block.opened,
#open_demo_account_block.opened {
    direction: ltr;
}

.method-item form {
    text-align: center;
}

.ibAccountDataTable > p span,
.method-item .select-items p,
.method-item .select-selected {
    direction: ltr;
}


.cur-select .select-items {
    padding: 20px 16px 20px 0;
}

#inner_container {
    text-align: center;
}


.blocksContainer .block .bottom .listWrapper ul li:not(.passed) img {
    margin: 0 0 0 10px;
}

.blocksContainer .block .bottom .listWrapper ul li.allow-pass img {
    margin: 0 -6px 0 10px;
}

.app-download a {
    padding: 10px 12px 10px 0;
}

.app-title img {
    margin-right: 0;
    margin-left: 10px;
}

.app-download a img {
    margin-right: 0;
    margin-left: 12px;
}

.accumulated-sum {
    margin: 0 0 0 32px;
}

.accumulated-sum:after {
    right: auto;
    left: -20px;
}

.right-ring {
    margin-right: auto;
    margin-left: 0;
}

/*.list-link a{*/
/*    flex-direction: row-reverse;*/
/*}*/
.list-link img {
    margin-right: 0;
    margin-left: 10px;
}

#open-roulette {
    float: left;
}

.roulette-item {
    direction: rtl;
}

.roulette-item img {
    margin-right: 0;
    margin-left: 10px;
}

.indicator {
    position: absolute;
    top: 50%;
    left: -41px;
    right: auto;
    transform: translateY(-22px) scaleX(-1);
}

.accountDataTable h4 {
    margin: 0 0 0 6px;
    flex: 1 1;
}

.accountInformationContainer .accountInfoRight ul li a img {
    margin: 0 0 0 7px;
}

.pammRatingHeader > p, .pammTitle > div {
    padding: 17px 10px 17px 0;
}

.toggle-btn > div:not(.toggle-btn > div:last-of-type), .custom-radio:not(.custom-radio:last-of-type) {
    margin-left: 20px;
    margin-right: 0;
}

.status-account-pamm {
    margin: 0 8px 0 0;
}

.detail-info .flex-wrapper > div:first-of-type a {
    margin: 0 12px 0 0;
}

.filterBlock.noSlider .inputWrapper .h-input:first-of-type input, .filterBlock .labels-container > div:first-of-type {
    border-right: 1px solid #D1D5DB;
    border-left: none;
    border-radius: 0 4px 0 0;
}

.filterBlock.noSlider .inputWrapper .h-input:last-of-type input, .filterBlock .labels-container > div:last-of-type {
    border-radius: 4px 0 0 0;
}

.select-items, ul.ui-corner-all.ui-menu {

}

.ref-link .flex-wrapper {
    direction: ltr;
}

#pammPeriodRevenueSwitcher {
    flex-direction: row-reverse;
}

.accountDataTable p span {
    direction: ltr;
}

.accountInformationContainer .accountInfoLeft .detail-info .changePassword.flex-wrapper > div:first-of-type {
    margin-left: 0;
}

.detail-info .changePassword.flex-wrapper > img {
    margin: 0 0 0 8px;
}

.realAcc .leftSection a.bigGreenButton {
    margin: 0 20px 0 0;
}
.accountInfoLeft .ibInfoTable tr td {
    direction: ltr;
}

.notice-wrapper > div img{
    margin: 0 0 0 4px;
}
.blocksContainer.inactive ul li{
    text-align: right;
    margin: 0 6px 10px 0;
    padding: 0 6px 0 0;
}
@media (max-width: 1280px) {
    .open-acc .show-wrapper-nav li img {
        margin: 0 0 5px;
    }

    .accountsPageTable .hiddenRow .cellContents ul li {
        margin: 0 0 5px;
    }
}

@media (max-width: 980px) {
    div.side-menu {
        margin-right: 0;
        margin-left: 20px;
        max-width: 155px;
    }

    .accountInformationContainer .accountInfoRight {
        margin: 0 10px 0 0;
    }
}

@media (max-width: 768px) {


    /* HEADER START */
    .header-sidebar .side-menu {
        padding: 20px 30px 30px;
        min-width: 260px;
        background: #fff;
        position: absolute;
        right: -100%;
        left: auto;
        top: 0;
        z-index: 9999;
        transition: all 0.5s ease-in;
        border: 1px solid #F4F4F4;
    }

    .header-sidebar.active-sidebar .side-menu {
        right: 0;
        left: auto;
    }

    .sec-menu .sec-menubar {
        padding: 20px 30px 30px;
        min-width: 260px;
        background: #fff;
        position: absolute;
        left: -100%;
        right: auto;
        top: 0;
        z-index: 9999;
        transition: all 0.5s ease-in;
        border: 1px solid #F4F4F4;
    }

    .sec-menu.active-sec-menu .sec-menubar {
        left: 0;
        right: auto;

    }

    /* HEADER END */
    /* IB START */
    .accountsSendBlock {
        align-items: center;
    }

    .accountsSendBlock a:not(.accountsSendBlock a:last-of-type) {
        margin-left: 0;
    }

    /* IB END */
    .banner-wrapper .title img {
        margin: 0;
    }

}