/*  Unyson */
body.rtl .pb-item-type-simple .controls {
    right: initial;
    left: 5px;
}

body.rtl .pb-item-type-simple > img {
    margin-left: 9px;
    margin-right: 0;
}

body.rtl .dashicons-arrow-left-alt2:before {
    content: '\f345';
}

body.rtl .dashicons-arrow-right-alt2:before {
    content: '\f341';
}

body.rtl .pb-item-type-column > .panel .controls {
    right: initial;
    left: 0;
}

body.rtl .fw-backend-side-tabs .fw-settings-form-header .form-header-buttons {
    text-align: left;
}

body.rtl .fw-option-type-builder .template-container {
    float: left;
}

body.rtl .fw-option-type-builder .history-container {
    float: right;
}

body.rtl .fw-option-type-builder > .builder-items-types .fullscreen-btn {
    float: left;
}

body.rtl .fw-backend-side-tabs .fw-options-tabs-first-level > .fw-options-tabs-list {
    float: right;
}

body.rtl .fw-backend-side-tabs .fw-options-tabs-wrapper > .fw-options-tabs-list ul li {
    float: none;
    margin-left: 0;
}

body.rtl .fw-backend-side-tabs .fw-options-tabs-first-level > .fw-options-tabs-contents {
    margin-left: 0 !important;
    margin-right: 198px !important;
}

body.rtl .fw-backend-side-tabs .form-footer-buttons input[type="submit"] {
    float: right;
    margin-left: 0;
    margin-right: 26px;
}

body.rtl .fw-backend-side-tabs .fw-options-tabs-wrapper + .form-footer-buttons {
    margin: -71px 198px 0 0;
}

body.rtl .fw-backend-side-tabs .fw-options-tabs-wrapper > .fw-options-tabs-contents > .fw-inner > .fw-options-tab > .fw-options-tabs-wrapper > .fw-options-tabs-list {
    padding: 0;
}

body.rtl .fw-backend-side-tabs .fw-options-tabs-wrapper > .fw-options-tabs-contents > .fw-inner > .fw-options-tab > .fw-options-tabs-wrapper > .fw-options-tabs-list ul li:first-child a.nav-tab {
    margin: 0;
}

body.rtl .fw-backend-side-tabs .fw-options-tabs-first-level > .fw-options-tabs-contents > .fw-inner > .fw-options-tab > .fw-options-tabs-wrapper > .fw-options-tabs-list ul li {
    border-left: 1px solid #e5e5e5;
    border-right: none;
}

body.rtl .fw-backend-side-tabs #fw-backend-option-fw-option-footer_settings-html_label,
#fw-backend-option-fw-option-footer_settings-copyright_top,
#fw-backend-option-fw-option-footer_settings-copyright_bottom {
    float: right;
}

body.rtl .fw-backend-side-tabs #fw-backend-option-fw-option-footer_settings-html_label {
    padding-right: 27px;
    padding-left: 27px;
}

body.rtl .fw-option-type-builder .builder-item-type {
    float: right;
}

@media (min-width: 782px) {
    body.rtl .fw-option-type-builder > .builder-items-types .fw-options-tabs-wrapper.fw-options-tabs-first-level .fw-options-tabs-list > ul {
        float: right;
    }
}

/* Theme Parent */
body.rtl .button.fw-advanced-button {
    margin-right: 30px;
    margin-left: 0;
}

body.rtl .wp-media-buttons .button {
    margin-right: 0;
    margin-left: 5px;
}

body.rtl .fw-option-type-color-palette .fw-palette {
    right: 0;
    top: 0;
}

body.rtl .fw-option-type-color-palette .predefined .fw-option.fw-option-type-radio label {
    top: -5px;
}

body.rtl .fw-option.fw-option-type-tf-typography .fw-option-tf-typography-option {
    text-align: right;
}

body.rtl .fw-option-tf-animation-option-type {
    padding-right: 0;
    padding-left: 5px;
}

body.rtl .fw-option-type-radio-text .predefined .fw-option-type-radio div:first-child {
    margin-right: inherit;
}

body.rtl .fw-option-type-radio-text .predefined .fw-option-type-radio div {
    margin-right: 10px;
    margin-left: 0;
}

body.rtl .fw-checkbox-float-left div {
    float: right;
    margin-right: 0;
    margin-left: 15px;
}

body.rtl .fw-option-type-color-palette .predefined .fw-option-type-radio div:first-child {
    margin-right: inherit;
}

body.rtl .fw-option-type-color-palette .predefined .fw-option-type-radio div {
    margin-right: 7px;
    margin-left: 0;
}

body.rtl .fw-option-type-color-palette input[type=radio] {
    right: 5px;
    left: initial;
    margin-right: 0;
    margin-left: 10px;
}

body.rtl .fw-option-type-tf-typography .fw-option-type-color-palette input {
    margin-right: 0;
    margin-left: 6px;
}

body.rtl .fw-option-type-tf-typography .fw-inner {
    padding-left: 0;
}

body.rtl #fw-backend-options-group-padding_group .fw-backend-option-type-html {
    float: right;
    padding-right: 27px;
    padding-left: 0;
}

body.rtl .fw-option-type-form-builder .fw-form-builder-item-type-recaptcha .fw-form-item-recaptcha-preview .fw-col-xs-6.alpha {
    padding-right: 0;
    padding-left: 5px;
}

body.rtl .fw-option-type-form-builder .fw-form-builder-item-type-recaptcha .fw-form-item-recaptcha-preview .fw-col-xs-6.omega {
    padding-right: 5px;
    padding-left: 0;
}

body.rtl .fw-form-item-controls-right.fw-col-xs-5.fw-text-right {
    text-align: left;
}

body.rtl .fw-option-type-table .fw-table-row-delete {
    border-left: none;
    border-right: 1px solid #e1e1e1;
}

body.rtl .fw-option-type-table .fw-table-cell.fw-table-cell-worksheet {
    border-right: 1px solid #e1e1e1;
    border-left: none;
}

body.rtl .fw-option-type-table .empty-cell {
    border: none !important;
}

body.rtl .fw-option-type-table .fw-table-add-column {
    float: left;
}

body.rtl .fw-option-type-table .fw-table-col-options > :nth-last-child(2) {
    padding-right: 10px;
    padding-left: 0;
}

body.rtl .fw-option-type-table .fw-table-col-options > :nth-child(2) {
    padding-right: 0;
    padding-left: 10px;
}

/* Selectize inptut not suported RTl */
body.rtl .fw-option-type-tf-typography .fw-option-tf-typography-option-family .selectize-control.single .selectize-input:after {
    left: auto;
    right: 8px;
}

body.rtl .fw-option-type-tf-typography div.selectize-input.items.full.has-options.has-items {
    text-align: right;
    padding-right: 20px;
}

body.rtl .fw-option-tf-animation-option-type .selectize-control.single .selectize-input:after {
    left: auto;
    right: 8px;
}

body.rtl .selectize-control.fw-option-tf-animation-option-type-input.single.rtl .selectize-input {
    padding-right: 20px;
}

/* Responsive For Theme Parent */
@media (max-width: 782px) {
    /* Style for all form RTl and not RTl */
    .fw-option-type-tf-typography .fw-option-type-color-palette input[type="radio"] {
        width: 25px;
        height: 25px;
    }
}

/* Responsive for Unyson*/
@media (max-width: 782px) {
    body.rtl .fw-backend-side-tabs .fw-options-tabs-first-level > .fw-options-tabs-contents {
        margin-right: 0 !important;
    }

    body.rtl .fw-option-type-builder > .builder-items-types .fw-options-tabs-wrapper.fw-options-tabs-first-level .fw-options-tabs-list > ul {
        float: none;
    }

    body.rtl .fw-option-type-builder > .builder-items-types .fullscreen-btn,
    body.rtl .fw-options-tabs-wrapper > .fw-options-tabs-list ul li {
        float: none;
    }

    body.rtl .fw-backend-side-tabs .fw-options-tabs-wrapper + .form-footer-buttons {
        margin: -1px 0 0;
    }

    body.rtl .fw-backend-side-tabs .fw-settings-form-header .form-header-buttons {
        text-align: inherit;
    }
}
