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elint-disable no-descending-specificity */\n\n@mixin cursor($val) {\n  cursor: $val;\n  cursor: -moz-$val;\n  cursor: -webkit-$val;\n}\n\n.djn-group .djn-group-nested {\n  float: none;\n  width: auto;\n  margin: 0 10px;\n  background: transparent;\n}\n\n.djn-group-nested.grp-stacked h2.djn-collapse-handler,\n.djn-group-nested.grp-stacked > .grp-tools {\n  display: none;\n}\n.djn-group-nested {\n  border-color: transparent;\n}\n.grp-tools span.delete {\n  cursor: auto !important;\n}\n.djn-group-nested .djn-items .inline-related {\n  border: 1px solid transparent;\n  border-radius: 4px;\n\n  #grp-content & {\n    margin-bottom: 5px;\n    border: 1px solid #a7a7a7;\n\n    &.djn-item-dragging {\n      border: 0;\n    }\n  }\n\n  &:first-child {\n    margin-top: 0;\n  }\n  &.last-related {\n    margin-bottom: 0;\n  }\n}\n\n.djn-group-nested div.items .module:first-child {\n  margin-top: 0 !important;\n}\n\n.nested-placeholder,\n.djn-group .ui-sortable-placeholder {\n  margin-bottom: 5px;\n  background: #9f9f9f !important;\n}\n.djn-group .ui-nestedsortable-error,\n.djn-group .ui-nestedSortable-error {\n  background: #9f6464 !important;\n}\n.ui-sortable .grp-module.ui-sortable-placeholder.ui-nestedSortable-error {\n  background-color: #9f6464 !important;\n}\n\n.djn-items {\n  position: relative;\n  min-height: 0;\n  overflow: visible;\n}\n.djn-item {\n  overflow: visible;\n}\n.djn-item.djn-no-drag:first-child {\n  position: absolute;\n  top: 0;\n  right: 0;\n  left: 0;\n  z-index: -1;\n  height: 19px;\n\n  & + .djn-item.ui-sortable-helper,\n  & + .djn-item-dragging {\n    margin-top: 0;\n  }\n}\n\n.djn-item-dragging {\n  height: 0;\n  padding: 0;\n  margin: 0;\n  overflow: hidden;\n  border: 0;\n}\n\n.djn-tbody.djn-item-dragging {\n  display: none !important;\n}\n.djn-tbody.ui-sortable-placeholder td {\n  background: #fbfad0;\n}\n\n.djn-collapse-handler-verbose-name {\n  display: inline;\n}\n\n#grp-content .grp-tabular .grp-table .grp-tbody {\n  .grp-th,\n  .grp-td {\n    vertical-align: top;\n    overflow: visible;\n  }\n  .grp-tr > td.original:first-child {\n    width: 0;\n    padding: 0;\n    border: 0;\n    background: #eee;\n  }\n  .grp-tr.djn-has-inlines .grp-td {\n    border-bottom: 0 !important;\n  }\n}\n#grp-content .grp-tabular .grp-table .grp-thead .grp-th {\n  border-radius: 0;\n  border-top: 0;\n  border-bottom: 0;\n  line-height: 16px;\n  color: #aaa;\n  font-weight: bold;\n}\n\n#grp-content table.djn-table thead > tr > th {\n  font-size: 11px;\n  line-height: inherit;\n}\n#grp-content .grp-tabular .grp-table.djn-table .grp-thead > .grp-tr > .grp-th {\n  padding-top: 1px;\n  padding-bottom: 1px;\n}\n#grp-content\n  .grp-tabular\n  .grp-table.djn-table\n  .grp-thead\n  > .grp-tr\n  > .grp-th:last-of-type {\n  border-right: 0;\n}\n\n#grp-content\n  .grp-tabular\n  .grp-table.djn-table\n  .grp-tbody\n  > .grp-tr\n  > .grp-td:first-of-type {\n  border-left: 1px solid #d4d4d4 !important;\n}\n\ntable.djn-table.grp-table td div.grp-readonly,\ntable.djn-table.grp-table th div.grp-readonly {\n  margin: 0 !important;\n}\n.grp-tabular.djn-tabular td.grp-td ul.errorlist {\n  margin: 0 !important;\n}\ntable.djn-table.grp-table td div.grp-readonly:empty,\ntable.djn-table.grp-table th div.grp-readonly:empty {\n  margin-bottom: -5px !important;\n}\n\ntable.djn-table.grp-table td > input[type=\"checkbox\"],\ntable.djn-table.grp-table td > input[type=\"radio\"],\ntable.djn-table.grp-table th > input[type=\"checkbox\"],\ntable.djn-table.grp-table th > input[type=\"radio\"] {\n  margin: 3px 0.5ex !important;\n  margin: revert !important;\n}\n\ntable.djn-table.grp-table td > textarea,\ntable.djn-table.grp-table th > textarea {\n  margin: 0 !important;\n}\n// Grappelli is the absolute worst with !important\ntable.djn-table.grp-table td > input[type=\"text\"],\ntable.djn-table.grp-table td > input[type=\"password\"],\ntable.djn-table.grp-table td > input[type=\"url\"],\ntable.djn-table.grp-table td > input[type=\"email\"],\ntable.djn-table.grp-table td > input[type=\"number\"],\ntable.djn-table.grp-table td > input[type=\"button\"],\ntable.djn-table.grp-table td > select,\ntable.djn-table.grp-table td p input[type=\"text\"],\ntable.djn-table.grp-table td p input[type=\"url\"],\ntable.djn-table.grp-table td p input[type=\"email\"],\ntable.djn-table.grp-table td p input[type=\"number\"],\ntable.djn-table.grp-table td p > input[type=\"button\"],\ntable.djn-table.grp-table th > input[type=\"text\"],\ntable.djn-table.grp-table th > input[type=\"password\"],\ntable.djn-table.grp-table th > input[type=\"url\"],\ntable.djn-table.grp-table th > input[type=\"email\"],\ntable.djn-table.grp-table th > input[type=\"number\"],\ntable.djn-table.grp-table th > input[type=\"button\"],\ntable.djn-table.grp-table th > select,\ntable.djn-table.grp-table th p input[type=\"text\"],\ntable.djn-table.grp-table th p input[type=\"url\"],\ntable.djn-table.grp-table th p input[type=\"email\"],\ntable.djn-table.grp-table th p input[type=\"number\"],\ntable.djn-table.grp-table th p > input[type=\"button\"] {\n  vertical-align: middle;\n  margin-top: 0 !important;\n  margin-bottom: 0 !important;\n}\n\n.djn-empty-form {\n  &,\n  & * {\n    display: none !important;\n  }\n}\n\n// Django (sans grappelli) specific styles\n#content.colM {\n  .inline-group .tabular .ui-sortable-placeholder tr.has_original td {\n    padding: 1px;\n  }\n  .inline-group.djn-group ul.tools {\n    height: 0;\n  }\n\n  .djn-item.module {\n    margin-bottom: 0;\n  }\n\n  tr.djn-has-inlines td {\n    border-bottom: 1px solid #fff;\n  }\n\n  td.original {\n    width: 0;\n    padding: 2px 0 0 0;\n  }\n\n  td.original.is-sortable {\n    position: relative;\n    width: 15px;\n  }\n  td.original.is-sortable .djn-drag-handler {\n    position: absolute;\n    top: 4px;\n    left: 0;\n    display: block;\n    width: 10px;\n    height: 20px;\n    margin: 5px;\n    cursor: move;\n    background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAyCAYAAABcfPsmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAE5JREFUeNrs0zEKACAMBEEDST6X9+Z92lpYHNgI7naBK9KMdfcch6rK9lvdeWYOJXXnESEN1d2HH9J9hhSkEFKQQkhBClKQghSkPNYSYADFZiuygfao+AAAAABJRU5ErkJggg==\")\n      no-repeat top left;\n    background-size: 10px 25px;\n    @include cursor(grab);\n  }\n\n  // (Optional) Apply a \"closed-hand\" cursor during drag operation.\n  td.original.is-sortable .djn-drag-handler:active {\n    @include cursor(grabbing);\n  }\n  td.original.is-sortable p + .djn-drag-handler {\n    top: 20px;\n  }\n\n  td.original.is-sortable p {\n    top: 0;\n    left: 19px;\n    white-space: nowrap;\n  }\n\n  fieldset.has-inlines > .djn-form-row-last {\n    border-bottom: 0;\n  }\n}\n\n// polymorphic\n.polymorphic-add-choice {\n  .grp-tools {\n    overflow: visible;\n  }\n  .grp-tools li {\n    float: none;\n  }\n  .grp-tools li:first-child,\n  .grp-tools li:last-child {\n    padding: 4px 8px;\n  }\n  .grp-tools a {\n    width: auto;\n    height: auto;\n  }\n  .grp-tools > li > a {\n    min-width: 24px;\n    min-height: 24px;\n  }\n  .grp-tools .polymorphic-type-menu {\n    right: 0.5em;\n    left: auto;\n  }\n}\n\n.grp-tools.grp-related-widget-tools a.add-another {\n  top: 0;\n  margin: 0;\n}\n.grp-td > .grp-related-widget-wrapper .grp-related-widget-tools {\n  overflow: visible;\n  display: flex;\n}\n\n.select2-container + .grp-tools.grp-related-widget-tools {\n  position: relative;\n  right: 0;\n}\n\n#grp-content .grp-group > .grp-items > .grp-module > .grp-tabular {\n  background: #fff;\n  border: 2px solid #ccc;\n  margin-bottom: 5px;\n\n  &::after {\n    content: \"\";\n    display: block;\n    clear: both;\n  }\n}\n\ntable.grp-table.djn-table td.djn-td > input[type=\"text\"],\ntable.grp-table.djn-table td.djn-td > input[type=\"password\"],\ntable.grp-table.djn-table td.djn-td > input[type=\"url\"],\ntable.grp-table.djn-table td.djn-td > input[type=\"email\"],\ntable.grp-table.djn-table td.djn-td > input[type=\"number\"],\ntable.grp-table.djn-table td.djn-td > input[type=\"button\"],\ntable.grp-table.djn-table td.djn-td > select,\ntable.grp-table.djn-table td.djn-td p input[type=\"text\"],\ntable.grp-table.djn-table td.djn-td p input[type=\"url\"],\ntable.grp-table.djn-table td.djn-td p input[type=\"email\"],\ntable.grp-table.djn-table td.djn-td p input[type=\"number\"],\ntable.grp-table.djn-table td.djn-td p > input[type=\"button\"],\ntable.grp-table.djn-table td.djn-td div.grp-related-widget-wrapper,\ntable.grp-table.djn-table th.djn-th > input[type=\"text\"],\ntable.grp-table.djn-table th.djn-th > input[type=\"password\"],\ntable.grp-table.djn-table th.djn-th > input[type=\"url\"],\ntable.grp-table.djn-table th.djn-th > input[type=\"email\"],\ntable.grp-table.djn-table th.djn-th > input[type=\"number\"],\ntable.grp-table.djn-table th.djn-th > input[type=\"button\"],\ntable.grp-table.djn-table th.djn-th > select,\ntable.grp-table.djn-table th.djn-th p input[type=\"text\"],\ntable.grp-table.djn-table th.djn-th p input[type=\"url\"],\ntable.grp-table.djn-table th.djn-th p input[type=\"email\"],\ntable.grp-table.djn-table th.djn-th p input[type=\"number\"],\ntable.grp-table.djn-table th.djn-th p > input[type=\"button\"],\ntable.grp-table.djn-table th.djn-th div.grp-related-widget-wrapper {\n  vertical-align: baseline;\n  margin-top: 0 !important;\n  margin-bottom: 0 !important;\n}\n\ntable.grp-table.djn-table td.djn-td a.fb_show,\ntable.grp-table.djn-table td.djn-td a.related-lookup,\ntable.grp-table.djn-table td.djn-td .ui-datepicker-trigger,\ntable.grp-table.djn-table td.djn-td .ui-timepicker-trigger,\ntable.grp-table.djn-table th.djn-th a.fb_show,\ntable.grp-table.djn-table th.djn-th a.related-lookup,\ntable.grp-table.djn-table th.djn-th .ui-datepicker-trigger,\ntable.grp-table.djn-table th.djn-th .ui-timepicker-trigger {\n  margin: 0 0 0 -25px !important;\n}\n\ntable.grp-table.djn-table td.djn-td .grp-autocomplete-wrapper-m2m,\ntable.grp-table.djn-table td.djn-td .grp-autocomplete-wrapper-fk,\ntable.grp-table.djn-table th.djn-th .grp-autocomplete-wrapper-m2m,\ntable.grp-table.djn-table th.djn-th .grp-autocomplete-wrapper-fk {\n  margin: 0 !important;\n}\n\ntable.grp-table.djn-table td.djn-td > input[type=\"file\"],\ntable.grp-table.djn-table td.djn-td > input[type=\"checkbox\"],\ntable.grp-table.djn-table td.djn-td > input[type=\"radio\"],\ntable.grp-table.djn-table td.djn-td > select,\ntable.grp-table.djn-table td.djn-td p input[type=\"text\"],\ntable.grp-table.djn-table th.djn-th > input[type=\"file\"],\ntable.grp-table.djn-table th.djn-th > input[type=\"checkbox\"],\ntable.grp-table.djn-table th.djn-th > input[type=\"radio\"],\ntable.grp-table.djn-table th.djn-th > select,\ntable.grp-table.djn-table th.djn-th p input[type=\"text\"] {\n  margin-top: 0 !important;\n  margin-bottom: 0 !important;\n}\n"],"names":[],"sourceRoot":""}