////MOTION.PAGE

html[uip-toolbar="true"] {
  body.toplevel_page_motionpage #uip-toolbar {
    display: none !important;
  }
}
//// SCRIPTS ORGANISER
html[uip-toolbar="true"] body.scorg-edit-scripts #uip-toolbar {
  display: none;
}

html[uip-admin-menu="true"] body.scorg-edit-scripts #wpcontent {
  margin: 0;
}

html[uip-admin-theme="true"] body.scorg-edit-scripts .wrap .wp-heading-inline {
  margin: 0 !important;
  font-size: 13px;
  padding: var(--gap);
  padding-bottom: 5px;
}

html[uip-admin-theme="true"] body.scorg-edit-scripts #screen-meta {
  display: none;
}

///FIXED B2B KING CHECKBOXES
input#b2bking_dynamic_rule_discount_show_everywhere_checkbox_input:checked {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 4a4 4 0 0 0-4 4v8a4 4 0 0 0 4 4h8a4 4 0 0 0 4-4V8a4 4 0 0 0-4-4H8zm7.79 6.27a.75.75 0 1 0-1.08-1.04l-3.793 3.939-1.627-1.69a.75.75 0 1 0-1.08 1.041l2.166 2.25a.75.75 0 0 0 1.08 0l4.334-4.5z' fill='%230c5cef'/%3E%3C/svg%3E");
  background-position: center;
  background-color: #fff;
  border-color: var(--uip-border-color);
}

///autonami
html[uip-toolbar="true"] {
  .wr .wr_t_wrap {
    padding-top: var(--uip-toolbar-height);
  }
}

//FLUENT CRM DIALOGS / M,ODALS
html[uip-toolbar="true"] {
  .el-dialog__wrapper .el-dialog {
    margin-top: var(--uip-toolbar-height) !important;
  }
}

///WICKED FODLERS
html[uip-admin-menu="true"] #wicked-object-folder-pane {
  .wicked-resizer,
  .wicked-content {
    left: var(--uip-menu-width);
  }
}

html[uip-toolbar="true"] {
  body.admin-bar #wicked-object-folder-pane:not(.wicked-media-modal-folder-pane) .wicked-content,
  body.admin-bar #wicked-object-folder-pane:not(.wicked-media-modal-folder-pane) .wicked-resizer,
  body.admin-bar #wicked-object-folder-pane .wicked-navigating-mask {
    top: var(--uip-toolbar-height);
  }
}
////JETPACK CRM TASK MANAGER FIX
html[uip-toolbar="true"] {
  body.jetpack-crm_page_manage-events {
    .ui.segment {
      top: 130px;
    }
    .zbs-admin-main-menu {
      position: absolute;
      right: 0;
      left: 0;
      margin-left: 0 !important;
    }
    #zbs-admin-top-bar {
      position: absolute;
      right: 0;
      left: 0;
      top: 104px;
      margin-left: 0 !important;
    }
  }
}

//////MAINWP LAYOUT FIX
html[uip-toolbar="true"] {
  body.mainwp-ui-page {
    #uip-toolbar {
      display: none;
    }
  }
}

///FIX FOR WHITE LABEL CMS LOGIN PAGE
body.uip-login {
  #wlcms-login-wrapper {
    z-index: 3;

    margin: 0;

    position: relative;

    left: 25%;

    transform: translateX(-50%);

    padding: 0;

    font-family: var(--uip-body-font-family);

    box-sizing: border-box;
    #login {
      left: 0;

      transform: translateX(0%);
    }
  }
}

///FIX FOR HAPPYFILES MOVE ICON ON TABLE HOVER
#hf-wrapper #hf-sidebar-wrapper + .wrap #the-list tr:first-child:hover .check-column:after {
  top: 50px;
}

///LAYOUT FIX FOR SMASHBALOON INSTAGRAM FEED
html[uip-admin-menu="true"] .sb-customizer-sidebar {
  left: var(--uip-menu-width);
}

html[uip-admin-menu="true"] .sbi-csz-header-insider {
  width: calc(100% - var(--uip-menu-width));
}

html[uip-toolbar="true"] .sb-customizer-sidebar {
  top: calc(var(--uip-toolbar-height) + 64px);
}

///FIX FOR SUPPORT BOARD
html[uip-toolbar="true"] .sb-admin {
  top: var(--uip-toolbar-height);
  height: calc(100% - var(--uip-toolbar-height));
  border-top: 1px solid var(--uip-border-color);
}

html[uip-toolbar="true"] .sb-admin > .sb-header {
  top: var(--uip-toolbar-height);
}

html[uip-admin-menu="true"] .sb-admin > .sb-header {
  left: var(--uip-menu-width);
}

html[uip-admin-menu="true"] .sb-admin > .sb-header > .sb-admin-nav-right {
  left: var(--uip-menu-width);
}

///RANKMATH FIX
#toplevel_page_rank-math:not(.wp-has-submenu) {
  display: list-item !important;
}

///KALI FORMS
html[uip-admin-theme="true"] {
  .post-type-kaliforms_forms {
    #uip-toolbar {
      display: none !important;
    }
    .material-icons {
      display: inline-block;
    }
    #kali-appbar input[type="text"] {
      background: transparent !important;
      background: transparent !important;
      color: white !important;
      border: none !important;
    }
  }
}

////SECURITY NINJA PRO
html[uip-admin-theme="true"][data-theme="dark"] {
  h1,
  h2,
  h3,
  h4,
  h5 {
    color: var(--uip-text-color-emphasis);
  }
  i {
    color: var(--uip-text-color-muted) !important;
  }
  .secnin_content_wrapper {
    color: var(--uip-text-color-normal);
    a {
      color: var(--uip-text-color-normal);
    }
    #secninja-tests-quickselect ul li a {
      color: var(--uip-text-color-normal);
    }
    .card {
      background: var(--uip-background-grey);
      border-color: var(--uip-border-color);
    }
    .sidebarsection.feature {
      background: var(--uip-background-grey);
      border-color: var(--uip-border-color);
    }
  }
}

body.toplevel_page_chaty-app,
body[class*="chaty_page"] {
  #uip-admin-menu {
    font-size: 14px;
  }
}

/////OXYGEN FIX
#oxygen-save-first-message,
#oxygen-save-first-message,
#ct_connection_metabox .inside label,
#ct_views_cpt .inside label,
.oxygen-vsb-apply-template-label {
  color: var(--uip-text-color-normal) !important;
}

#ct_views_cpt h3.accordion-section-title,
#ct_connection_metabox h3.accordion-section-title {
  background-color: var(--uip-background-default);
  color: #fff;
  border-bottom: 1px solid var(--uip-border-color);
  padding: 15px;
}

#ct_views_cpt h3.accordion-section-title:hover,
#ct_connection_metabox h3.accordion-section-title:hover {
  background-color: var(--uip-background-muted);
  color: var(--uip-text-color-normal) !important;
}

#ct_views_cpt h3.accordion-section-title:after,
#ct_connection_metabox h3.accordion-section-title:after {
  color: var(--uip-text-color-normal) !important;
}

#ct_views_cpt h3.accordion-section-title:hover:after,
#ct_connection_metabox h3.accordion-section-title:hover:after,
#ct_views_cpt h3.accordion-section-title:focus:after,
#ct_connection_metabox h3.accordion-section-title:focus:after,
#ct_views_cpt h3.accordion-section-title:active:after,
#ct_connection_metabox h3.accordion-section-title:active:after {
  color: var(--uip-text-color-normal) !important;
}

#ct_views_cpt .accordion-section-content,
#ct_connection_metabox .accordion-section-content,
#ct_views_cpt .inside span.select2-selection,
#ct_connection_metabox .inside span.select2-selection {
  background-color: var(--uip-background-default);
}

#ct-edit-template-builder-parent,
#ct-edit-template-builder {
  color: #fff !important;
}

.post-type-ct_template .select2-container--open .select2-dropdown {
  border-color: var(--uip-border-color);
  background-color: var(--uip-background-default);
  color: var(--uip-text-color-normal);
  box-shadow: var(--uip-box-shadow);
}

#ct_views_cpt hr,
#ct_connection_metabox hr {
  background-color: var(--uip-border-color) !important;
}

#ct-toggle-shortcodes,
#ct-toggle-revisions,
#ct-toggle-json {
  color: var(--uip-color-primary);
}

#ct-toggle-shortcodes:hover,
#ct-toggle-revisions:hover {
  color: var(--uip-color-primary-dark);
}

#ct_builder_shortcodes {
  background-color: var(--uip-background-default) !important;
  color: var(--uip-color-black) !important;
  border: solid 1px var(--uip-border-color) !important;
  margin-bottom: var(--uip-margin-m) !important;
}

#ct-builder-revisions {
  margin-top: var(--uip-margin-xs);
}

#ct_builder_revisions {
  background-color: var(--uip-background-default) !important;
}

#ct_builder_revisions > li {
  color: var(--uip-text-color-normal) !important;
}

#oxygen-save-first-message,
#oxygen-save-first-message,
#ct_connection_metabox .inside label,
#ct_views_cpt .inside label,
.oxygen-vsb-apply-template-label {
  color: var(--uip-text-color-normal) !important;
}

#ct_views_cpt h3.accordion-section-title,
#ct_connection_metabox h3.accordion-section-title {
  background-color: var(--uip-background-default);
  color: #fff;
  border-bottom: 1px solid var(--uip-border-color);
  padding: 15px;
}

#ct_views_cpt h3.accordion-section-title:hover,
#ct_connection_metabox h3.accordion-section-title:hover {
  background-color: var(--uip-background-muted);
  color: var(--uip-text-color-normal) !important;
}

#ct_views_cpt h3.accordion-section-title:after,
#ct_connection_metabox h3.accordion-section-title:after {
  color: var(--uip-text-color-normal) !important;
}

#ct_views_cpt h3.accordion-section-title:hover:after,
#ct_connection_metabox h3.accordion-section-title:hover:after,
#ct_views_cpt h3.accordion-section-title:focus:after,
#ct_connection_metabox h3.accordion-section-title:focus:after,
#ct_views_cpt h3.accordion-section-title:active:after,
#ct_connection_metabox h3.accordion-section-title:active:after {
  color: var(--uip-text-color-normal) !important;
}

#ct_views_cpt .accordion-section-content,
#ct_connection_metabox .accordion-section-content,
#ct_views_cpt .inside span.select2-selection,
#ct_connection_metabox .inside span.select2-selection {
  background-color: var(--uip-background-default);
}

#ct-edit-template-builder-parent,
#ct-edit-template-builder {
  color: #fff !important;
}

.post-type-ct_template .select2-container--open .select2-dropdown {
  border-color: var(--uip-border-color);
  background-color: var(--uip-background-default);
  color: var(--uip-text-color-normal);
  box-shadow: var(--uip-box-shadow);
}

#ct_views_cpt hr,
#ct_connection_metabox hr {
  background-color: var(--uip-border-color) !important;
}

////LEARNDASH
html[uip-toolbar="true"] .learndash-screen .editor-post-publish-panel {
  top: calc(var(--uip-toolbar-height) + 97px);
}

///ithemes magic link login
.uip-login.itsec-pwls-login--hide .itsec-pwls-login-fallback {
  position: relative;
  margin: 0;
  bottom: auto;
  float: left;
  margin-top: 20px;
}
//CONVERT PRO FIX
html.cp-design-section-open {
  #uip-toolbar {
    display: none;
  }
}

///piotnetforms
body.wp-admin.toplevel_page_piotnetforms,
body.wp-admin.piotnetforms-edit {
  #uip-toolbar {
    display: none;
  }
}

///QUERY MONITOR
html[uip-toolbar="true"] #uip-toolbar .uip-legacy-admin {
  #wpadminbar #wp-admin-bar-query-monitor {
    border-radius: var(--uip-border-radius);
  }

  #wpadminbar #wp-admin-bar-query-monitor-logger-warning a,
  #wpadminbar #wp-admin-bar-query-monitor-warnings a,
  #wpadminbar #wp-admin-bar-query-monitor-errors a,
  #wpadminbar .qm-error,
  #wpadminbar .qm-alert,
  #wpadminbar .qm-warning {
    .ab-item .ab-label {
      color: #fff;
    }
  }
}

html.wpse-full-screen {
  #uip-toolbar {
    display: none !important;
  }
  #wpcontent {
    margin-left: 0 !important;
  }
}

//CROCOBLOCK JETMENU LAYOUT FIX
.cx-vui-popup.nav-settings-popup {
  z-index: 99999;
}
