/**
 *
 * ---------------------------------------------------------
 * CODESTAR FRAMEWORK RTL CSS MAP
 * ---------------------------------------------------------
 *
 * 01. Base
 *     01. 01. Header
 *     01. 02. Header Buttons
 *     01. 03. Navigation
 *     01. 04. Content
 *     01. 05. Section
 *     01. 06. Show All Settings
 *     01. 07. Search Input
 *     01. 08. Copyright
 *     01. 09. Metabox
 * 02. Fields
 *     02. 01. Field: typography
 *     02. 02. Field: checkbox, radio
 *     02. 03. Field: switcher
 *     02. 04. Field: upload
 *     02. 05. Field: group
 *     02. 06. Field: repeater
 *     02. 07. Field: help
 *     02. 08. Field: icon
 *     02. 09. Field: gallery
 *     02. 10. Field: sorter
 *     02. 11. Field: tabbed
 *     02. 12. Field: media
 *     02. 13. Field: notice
 *     02. 14. Field: border, spacing, dimensions
 *     02. 15. Field: background
 *     02. 16. Field: spinner
 *     02. 17. Field: slider
 *     02. 18. Field: button_set
 *     02. 19. Field: link_color
 *     02. 20. Field: color_group
 *     02. 21. Field: palette
 *     02. 22. Field: accordion
 *     02. 23. Field: date
 *     02. 24. Field: map
 *     02. 25. Field: sortable
 *     02. 26. Field: number
 * 03. Taxonomy
 * 04. Profile
 * 05. Nav Menu
 * 06. Modal
 * 07. Customizer
 * 08. Responsive
 * 09. Others
 *
 * ---------------------------------------------------------
 *
 */
/**
 * 01. Base
 */
.dspilot-options {
  margin-left: 20px;
  margin-right: 0;
}

/**
 * 01. 01. Header
 */
.dspilot-header h1 {
  float: right;
}
.dspilot-header fieldset {
  float: left;
}

/**
 * 01. 02. Header Buttons
 */
.dspilot-buttons {
  float: left;
  direction: ltr;
}

.dspilot-header-left {
  float: right;
}

.dspilot-header-right {
  float: left;
}

/**
 * 01. 03. Navigation
 */
.dspilot-nav {
  float: right;
}
.dspilot-nav ul {
  clear: right;
}
.dspilot-nav ul li .dspilot-active:after {
  right: auto;
  left: 0;
  border-left-color: #fff;
  border-right-color: transparent;
}
.dspilot-nav ul li .dspilot-arrow:after {
  content: "\f053";
  right: auto;
  left: 10px;
}
.dspilot-nav ul li.dspilot-tab-expanded .dspilot-arrow:after {
  transform: rotate(-90deg);
}
.dspilot-nav ul ul li a {
  padding-right: 25px;
  padding-left: 15px;
}
.dspilot-nav ul ul:before {
  left: auto;
  right: 15px;
}
.dspilot-nav .dspilot-tab-icon {
  margin-left: 5px;
  margin-right: 0;
}

.dspilot-nav-background {
  left: auto;
  right: 0;
}

/**
 * 01. 04. Content
 */
.dspilot-content {
  margin-left: 0;
  margin-right: 225px;
}

/**
 * 01. 05. Section
 */
.dspilot-sections {
  float: right;
}

/**
 * 01. 06. Show all options
 */
.dspilot-show-all .dspilot-content {
  margin-right: 0;
  overflow: hidden;
}

.dspilot-expand-all {
  float: right;
  right: auto;
  left: 40px;
  margin-right: 0;
  margin-left: 4px;
}

/**
 * 01. 07. Search Input
 */
.dspilot-search {
  float: right;
}
.dspilot-search input {
  margin: 0 0 0 5px;
}

/**
 * 01. 08. Copyright
 */
.dspilot-copyright {
  float: right;
}

/**
 * 01. 09. Metabox
 */
.dspilot-metabox {
  margin: -6px -12px -12px -12px;
}
.dspilot-metabox .dspilot-section-title {
  padding: 20px;
}

.dspilot-section-title .dspilot-section-icon {
  margin-left: 5px;
  margin-right: 0;
}

/**
 * 02. Fields
 */
.dspilot-field .dspilot-title {
  float: right;
}
.dspilot-field .dspilot-fieldset {
  float: left;
}

.dspilot-pseudo-field {
  padding: 0 0 0 5px !important;
}

/**
 * 02. 01. Field: typography
 */
.dspilot-field-typography select {
  margin: 0;
  width: 100%;
}
.dspilot-field-typography .dspilot--blocks-inputs .dspilot--blocks {
  flex-direction: row-reverse;
}
.dspilot-field-typography .dspilot--unit {
  left: 4px;
  right: auto;
}

/**
 * 02. 02. Field: checkbox, radio
 */
.dspilot-field-checkbox ul ul li,
.dspilot-field-radio ul ul li {
  margin-left: 0;
  margin-right: 8px;
}
.dspilot-field-checkbox ul ul li:first-child,
.dspilot-field-radio ul ul li:first-child {
  margin-right: 0;
}
.dspilot-field-checkbox .dspilot--inline-list li,
.dspilot-field-radio .dspilot--inline-list li {
  margin-right: 0;
  margin-left: 15px;
}
.dspilot-field-checkbox .dspilot--text,
.dspilot-field-radio .dspilot--text {
  margin-left: 0;
  margin-right: 5px;
}

/**
 * 02. 03. Field: switcher
 */
.dspilot-field-switcher .dspilot--switcher {
  float: right;
}
.dspilot-field-switcher .dspilot--label {
  float: right;
  margin-left: 0;
  margin-right: 5px;
}

/**
 * 02. 04. Field: upload
 */
.dspilot-field-upload .dspilot--remove,
.dspilot-field-upload .dspilot--button {
  margin-left: 0;
  margin-right: 5px;
}

/**
 * 02. 05. Field: group
 */
.dspilot-field-group .dspilot-cloneable-title {
  padding: 15px 10px 15px 65px;
}
.dspilot-field-group .dspilot-cloneable-helper {
  right: auto;
  left: 10px;
}

/**
 * 02. 06. Field: repeater
 */
.dspilot-field-repeater .dspilot-repeater-helper {
  border-left: 0;
  border-right: 1px solid #eee;
}

/**
 * 02. 07. Field: help
 */
.dspilot-help {
  right: auto;
  left: 5px;
}

/**
 * 02. 08. Field: icon
 */
.dspilot-field-icon .button {
  margin-right: 0;
  margin-left: 5px;
}
.dspilot-field-icon .dspilot-icon-preview i {
  margin-right: 0;
  margin-left: 5px;
}

/**
 * 02. 09. Field: gallery
 */
.dspilot-field-gallery ul li {
  margin-right: 0;
  margin-left: 5px;
}
.dspilot-field-gallery .button {
  margin-right: 0;
  margin-left: 5px;
}

/**
 * 02. 11. Field: tabbed
 */
.dspilot-field-tabbed .dspilot-tabbed-nav .dspilot--icon {
  padding-right: 0;
  padding-left: 5px;
}
.dspilot-field-tabbed .dspilot-tabbed-nav a {
  margin-right: 0;
  margin-left: 5px;
}

/**
 * 02. 12. Field: media
 */
.dspilot-field-media .button {
  margin-left: 0;
  margin-right: 7px;
}
.dspilot-field-media .hidden + .button {
  margin-right: 0;
}

/**
 * 02. 13. Field: notice
 */
.dspilot-notice {
  border-left: none;
  border-right-style: solid;
  border-right-width: 4px;
}

/**
 * 02. 14. Field: border, spacing, dimensions
 */
.dspilot-field-dimensions .dspilot--input,
.dspilot-field-dimensions .dspilot-fieldset,
.dspilot-field-spacing .dspilot--input,
.dspilot-field-spacing .dspilot-fieldset,
.dspilot-field-border .dspilot--input,
.dspilot-field-border .dspilot-fieldset {
  direction: ltr;
}
.dspilot-field-dimensions .dspilot--inputs,
.dspilot-field-dimensions .dspilot--color,
.dspilot-field-spacing .dspilot--inputs,
.dspilot-field-spacing .dspilot--color,
.dspilot-field-border .dspilot--inputs,
.dspilot-field-border .dspilot--color {
  float: right;
}
.dspilot-field-dimensions .dspilot--color,
.dspilot-field-spacing .dspilot--color,
.dspilot-field-border .dspilot--color {
  margin-right: 4px;
  direction: rtl;
}

/**
 * 02. 15. Field: background
 */
.dspilot-field-background .dspilot--block {
  float: right;
}
.dspilot-field-background .dspilot--select,
.dspilot-field-background .dspilot--media {
  padding-right: 0;
}
.dspilot-field-background .dspilot--title {
  margin-right: 0;
  margin-left: 5px;
}

/**
 * 02. 16. Field: spinner
 */
.dspilot-field-spinner .dspilot--spin {
  float: right;
  direction: ltr;
}

/**
 * 02. 17. Field: slider
 */
.dspilot-field-slider .dspilot-slider-ui {
  direction: ltr;
  margin-right: 0;
  margin-left: 15px;
}
.dspilot-field-slider .dspilot--input {
  direction: ltr;
}

/**
 * 02. 18. Field: button_set
 */
.dspilot-field-button_set .dspilot--button-group {
  float: right;
}

/**
 * 02. 19. Field: link_color
 */
.dspilot-field-link_color .dspilot--left {
  float: right;
  margin-right: 0;
  margin-left: 10px;
}

/**
 * 02. 20. Field: color_group
 */
.dspilot-field-color_group .dspilot--left {
  float: right;
  margin-right: 0;
  margin-left: 10px;
}

/**
 * 02. 21. Field: palette
 */
.dspilot-field-palette .dspilot--palette {
  margin-right: 0;
  margin-left: 10px;
}

/**
 * 02. 22. Field: accordion
 */
.dspilot-field-accordion .dspilot--icon {
  margin-right: 0;
  margin-left: 2px;
}

/**
 * 02. 23. Field: date
 */
.dspilot-field-date .dspilot--to {
  margin-left: 0;
  margin-right: 7px;
}

/**
 * 02. 24. Field: map
 */
.dspilot-field-map .dspilot--map-input:last-child {
  padding-left: 0;
  padding-right: 10px;
}

/**
 * 02. 25. Field: sortable
 */
.dspilot-field-sortable .dspilot-sortable-helper {
  border-left: none;
  border-right: 1px solid #eee;
}

/**
 * 02. 26. Field: number
 */
.dspilot-field-number .dspilot--wrap {
  float: right;
}
.dspilot-field-number .dspilot--unit {
  left: 4px;
  right: auto;
}

/**
 * 03. Taxonomy
 */
.dspilot-taxonomy-add-fields {
  margin-right: 0;
  margin-left: 30px;
}
.dspilot-taxonomy-add-fields .dspilot-field > .dspilot-fieldset > .dspilot-help {
  left: -5px;
  right: auto;
}

.dspilot-taxonomy-edit-fields {
  margin-right: 0;
  margin-left: 35px;
}
.dspilot-taxonomy-edit-fields .dspilot-field > .dspilot-fieldset > .dspilot-help {
  right: auto;
  left: -5px;
}

/**
 * 04. Profile
 */
.dspilot-profile-options > h2 > .fa {
  padding-right: 0;
  padding-left: 7px;
}
.dspilot-profile-options > .dspilot-field > .dspilot-fieldset > .dspilot-help {
  left: -5px;
  right: auto;
}

/**
 * 05. Nav Menu
 */
.dspilot-nav-menu-options > .dspilot-fields {
  margin-left: 0;
  margin-right: -10px;
}

.dspilot-nav-menu-title {
  padding-left: 14px;
  padding-right: 12px;
}

.dspilot-nav-menu-icon {
  margin-right: 0;
  margin-left: 5px;
}

/**
 * 06. Modal
 */
.dspilot-modal-content .dspilot-field {
  padding: 15px 15px 15px 30px;
}

.dspilot-modal-title {
  padding: 0 16px 0 36px;
}

.dspilot-modal-close {
  right: auto;
  left: 0;
}

/**
 * 07. Customizer
 */
.control-section .dspilot-field .dspilot-fieldset {
  margin-right: 0;
}

/**
 * 08. Responsive
 */
@media only screen and (max-width: 1200px) {
  .dspilot-metabox .dspilot-field .dspilot-fieldset {
    margin-left: 0;
  }
}
@media only screen and (max-width: 782px) {
  .dspilot .dspilot-fieldset,
  .dspilot .dspilot-content {
    margin-right: 0;
  }
}
/**
 * 09. Others
 */
.dspilot-field .dspilot--transparent-slider {
  margin-left: 0;
  margin-right: 2px;
}
.dspilot-field .dspilot--transparent-slider .ui-slider-handle {
  margin: 0 -11px;
}
.dspilot-field .dspilot--transparent-offset {
  background-position: center right;
}
.dspilot-field .dspilot--transparent-text {
  right: auto;
  left: 10px;
}
