@charset "UTF-8";
/* line 1, app/assets/stylesheets/admin_custom.scss */
.tagify {
  margin-left: -95px;
}

/* line 5, app/assets/stylesheets/admin_custom.scss */
.chosen-select {
  margin-left: 45px;
}

/* line 9, app/assets/stylesheets/admin_custom.scss */
.dropdown {
  border: 1px solid #e6e9ee;
  height: 27px;
  width: 10.5%;
}

/* line 15, app/assets/stylesheets/admin_custom.scss */
.miss-match-qty {
  background-color: #f5cccc;
}

/* line 20, app/assets/stylesheets/admin_custom.scss */
tr.danger td {
  background-color: #f8d7da !important;
}

/* Keep the page from creating a horizontal scroll container at the root,
   which would otherwise defeat `position: sticky` on the header at zoom
   levels above 100%. `clip` prevents overflow without becoming a
   scroll container (unlike `hidden`). */
/* line 28, app/assets/stylesheets/admin_custom.scss */
html {
  overflow-x: clip;
}

/* line 33, app/assets/stylesheets/admin_custom.scss */
th a {
  color: inherit !important;
  /* keep normal text color */
  text-decoration: none !important;
  /* remove underline */
  cursor: default !important;
  /* remove pointer cursor */
}

/* Optionally, on hover, keep normal text style */
/* line 40, app/assets/stylesheets/admin_custom.scss */
th a:hover {
  text-decoration: none !important;
  cursor: default !important;
}

/* line 45, app/assets/stylesheets/admin_custom.scss */
body.active_admin {
  /* Prevent horizontal scrolling of the whole page.
     Use `clip` instead of `hidden` so the body does NOT become a scroll
     container — otherwise `position: sticky` on #header / #title_bar
     breaks at browser zoom levels above 100%. */
  overflow-x: clip;
  /* prevent the page itself from scrolling vertically. */
  overflow-y: clip;
  height: 100vh;
  margin: 0;
  /* Convert AA's floated layout to flex */
  /* Pages without a sidebar also need their own
     scroll container so long forms won't be cut off */
  /* Pull the AA footer tight. */
  /* Sidebar filter inputs: leave ActiveAdmin's natural attributes*/
  /* Sticky column headers inside the data table */
}

/* line 56, app/assets/stylesheets/admin_custom.scss */
body.active_admin.index #wrapper,
body.active_admin #wrapper {
  display: block !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* line 64, app/assets/stylesheets/admin_custom.scss */
body.active_admin #header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
}

/* line 71, app/assets/stylesheets/admin_custom.scss */
body.active_admin #title_bar {
  position: sticky;
  /* #header is ~50-60px tall in the wigu theme, stack title bar below it. */
  top: 51px;
  left: 0;
  z-index: 900;
}

/* line 81, app/assets/stylesheets/admin_custom.scss */
body.active_admin #active_admin_content.with_sidebar {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  max-width: 100%;
  box-sizing: border-box;
  /* Disable AA's default float-based clearfix */
}

/* line 88, app/assets/stylesheets/admin_custom.scss */
body.active_admin #active_admin_content.with_sidebar:after {
  content: none;
}

/* line 90, app/assets/stylesheets/admin_custom.scss */
body.active_admin #active_admin_content.with_sidebar > #main_content_wrapper {
  float: none !important;
  flex: 1 1 auto;
  min-width: 0;
  /* critical: allow flex item to shrink so
                              its child table can produce overflow */
  width: auto !important;
  margin-right: 0 !important;
}

/* line 99, app/assets/stylesheets/admin_custom.scss */
body.active_admin #active_admin_content.with_sidebar > #sidebar {
  float: none !important;
  flex: 0 0 auto;
  /* Match ActiveAdmin's $sidebar-width default so AA's calculated
         filter input widths (date-range, select+search, etc.) line up
         correctly with the panel. */
  width: 270px;
  position: sticky;
  top: 110px;
  /* below sticky header + title bar */
  max-height: calc(100vh - 180px);
  overflow-y: auto;
  overflow-x: hidden;
  margin-left: 20px !important;
  /* override AA's negative pull-back */
  z-index: 50;
}

/* line 117, app/assets/stylesheets/admin_custom.scss */
body.active_admin #active_admin_content.with_sidebar #main_content_wrapper #main_content {
  margin-right: 0 !important;
  min-width: 0;
  /* Reserve space for sticky header (~50px)*/
  max-height: calc(100vh - 180px);
  overflow: auto;
  /* Trim default ActiveAdmin bottom padding  */
  padding-bottom: 8px;
}

/* line 129, app/assets/stylesheets/admin_custom.scss */
body.active_admin #active_admin_content:not(.with_sidebar) #main_content {
  max-height: calc(100vh - 180px);
  overflow: auto;
  padding-bottom: 8px;
  box-sizing: border-box;
}

/* line 137, app/assets/stylesheets/admin_custom.scss */
body.active_admin #footer {
  margin: 0 !important;
  padding: 4px 20px !important;
  min-height: 0 !important;
  line-height: 1.2 !important;
}

/* line 145, app/assets/stylesheets/admin_custom.scss */
body.active_admin #active_admin_content.with_sidebar > #sidebar {
  /* Force date-range to fill
       the row so they line up with the rest of the filter inputs. */
}

/* line 146, app/assets/stylesheets/admin_custom.scss */
body.active_admin #active_admin_content.with_sidebar > #sidebar *, body.active_admin #active_admin_content.with_sidebar > #sidebar *::before, body.active_admin #active_admin_content.with_sidebar > #sidebar *::after {
  box-sizing: border-box;
}

/* line 147, app/assets/stylesheets/admin_custom.scss */
body.active_admin #active_admin_content.with_sidebar > #sidebar .sidebar_section {
  max-width: 100%;
}

/* line 152, app/assets/stylesheets/admin_custom.scss */
body.active_admin #active_admin_content.with_sidebar > #sidebar form.filter_form .filter_form_field.filter_date_range input[type="text"] {
  width: 100%;
  max-width: 100%;
  margin-left: 0 !important;
  display: block;
}

/* line 158, app/assets/stylesheets/admin_custom.scss */
body.active_admin #active_admin_content.with_sidebar > #sidebar form.filter_form .filter_form_field.filter_date_range .seperator {
  display: none;
}

/* line 163, app/assets/stylesheets/admin_custom.scss */
body.active_admin #main_content table.index_table {
  /* Actions column (View / Edit / Delete) is moved to the first position
      in actions_first.js.  */
}

/* line 164, app/assets/stylesheets/admin_custom.scss */
body.active_admin #main_content table.index_table thead th {
  position: sticky;
  top: 0;
  background-color: #f0f3f8;
  z-index: 5;
}

/* line 173, app/assets/stylesheets/admin_custom.scss */
body.active_admin #main_content table.index_table th.col-actions,
body.active_admin #main_content table.index_table td.col-actions {
  white-space: nowrap;
  width: 1%;
  text-align: left;
}

/*  Bump calender z-index so it floats above all sticky
   chrome on every page. */
/* line 184, app/assets/stylesheets/admin_custom.scss */
.ui-datepicker.ui-widget,
#ui-datepicker-div {
  z-index: 2000 !important;
}
