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gB,CATpB,oCAaI,4BAA6B,CAbjC,0BAiBI,OAAQ,CACR,iBAAkB,CAlBtB,sCAsBI,iBAAkB,CAClB,UAAW,CAvBf,wDA0BI,iBAAkB,CAClB,OAAQ,CACR,MAAO,CACP,aAAc,CACd,UAAW,CACX,WAAY,CACZ,UAAW,CACX,WAAY,CACZ,qEACoB,CACpB,yBAA0B,CA1P5B,mBA2PsB,CA3PtB,WA2PsB,CA1PtB,yBA0PsB,CA1PtB,iBA0PsB,CAzPtB,4BAyPkB,CAzPlB,oBAyPsB,CArCxB,+DAtNE,uBAgQ0B,CAhQ1B,eAgQ0B,CA/P1B,6BA+P0B,CA/P1B,qBA+P0B,CA9P1B,gCA8PkB,CA9PlB,wBA8P0B,CA1C5B,0DA6CI,QAAS,CA7Cb,wCAiDI,KAAM,CACN,SAAU,CACV,kBAAmB,CAnDvB,sDAuDI,eAAgB,CACjB,mCAMC,gBAAiB,CAFrB,sCAKI,UAAW,CALf,mGASI,eAAgB,CATpB,qCAYI,UAAW,CACX,WAAY,CAbhB,wCAgBI,cAAe,CACf,eAAgB,CAjBpB,0DAoBI,WAAY,CACZ,SAAU,CACX,kDAID,KAAM,CACN,QAAS,CACV,8DAEC,gBAAiB,CACjB,mBAAS,CAAT,oBAAS,CAAT,mBAAS,CAAT,YAAa,CACd,uDAGC,iBAAkB,CAClB,OAAQ,CACT,4DAGC,eAAgB,CAChB,qBAAsB,CACtB,iBAAkB,CAHpB,mEAMI,UAAW,CACX,aAAc,CACd,UAAW,CACZ,k8CA6BD,uBAAwB,CACxB,uBAAwB,CACxB,0BAA2B,CAC5B,kbAUC,6BAA8B,CAC/B,sQAMC,mBAAoB,CACrB,4hBAYC,uBAAwB,CACxB,0BAA2B","sources":["../src/nested_admin.scss"],"sourcesContent":["/* stylelint-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":""}