/*!*****************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[3]!./src/openzaak/sass/admin/admin_overrides.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************/
/* SPDX-License-Identifier: EUPL-1.2 */
/* Copyright (C) 2019 - 2020 Dimpact */
/* SPDX-License-Identifier: EUPL-1.2 */
/* Copyright (C) 2019 - 2020 Dimpact */
/*
Generic admin styling overrides.

DO NOT PUT ANY TARGET APP-SPECIFIC RULES HERE.
*/
/* SPDX-License-Identifier: EUPL-1.2 */
/* Copyright (C) 2019 - 2020 Dimpact */
/* Colors */
/* Dimensions */
/* Responsive breakpoints used int the Django admin */
:root {
  --primary: #2E8DD0;
  --accent: #f3f3f3;
  --secondary: #2E8DD0;
  --primary-fg: #fff;
  --header-color: #fff;
  --breadcrumbs-fg: #2E8DD0;
  --breadcrumbs-link-fg: var(--body-fg);
  --breadcrumbs-bg: #f3f3f3;
  --link-fg: #005DD0;
  --link-hover-color: #124078;
  --hairline-color: #ddd;
  --button-fg: #fff;
  --button-hover-bg: #124078;
  --default-button-bg: #124078;
  --default-button-hover-bg: #000;
  --close-button-bg: #c4dce8;
  --close-button-hover-bg: #333;
  --object-tools-bg: #888;
  --object-tools-hover-bg: #333;
  --version-fg: var(--body-quiet-color);
  --env-button-fg: #f3f3f3;
}

/* Overrides */
body {
  font-size: 14px;
}
body.change-form {
  line-height: 1.15;
}

/**
 * Branding
 */
#branding h1 a:link,
#branding h1 a:visited {
  font-weight: bold;
}

#user-tools a {
  border-bottom: none;
  text-decoration: underline;
}
#user-tools a:focus, #user-tools a:hover {
  color: var(--header-link-color);
}

#user-tools button {
  border-bottom: none;
  text-decoration: underline;
}
#user-tools button:focus, #user-tools button:hover {
  color: var(--header-link-color);
  margin-bottom: 0;
}

div.breadcrumbs a:focus, div.breadcrumbs a:hover {
  color: #000;
}

/* Important is used because Django templates include their own style, after ours */
#changelist-filter a:focus,
#changelist-filter a:hover {
  color: var(--link-fg) !important;
}
#changelist-filter li.selected a {
  color: var(--link-fg) !important;
}
#changelist-filter li.selected a:focus, #changelist-filter li.selected a:hover {
  color: var(--primary) !important;
}

/* Calendar & time widget */
.calendar caption,
.calendarbox h2 {
  background: #ddd !important;
  color: #333 !important;
}

.calendar td a:focus, .calendar td a:hover,
.timelist a:focus,
.timelist a:hover {
  background: #124078 !important;
}

.module.clockbox h2 {
  /* Match the clock widget with the calendar widget */
  background: #ddd !important;
  color: #333 !important;
  font-weight: bold !important;
}

/* Icons */
.addlink {
  background: url("../img/admin/plus-square-regular.svg") 0 0/14px 14px no-repeat;
}

.changelink,
.inlinechangelink {
  background: url("../img/admin/edit-regular.svg") 0 0/14px 14px no-repeat;
}

.deletelink {
  background: url("../img/admin/trash-alt-regular.svg") 0 0/14px 14px no-repeat;
}

.datetimeshortcuts .clock-icon {
  background: url("../img/admin/clock-regular.svg") 0 0/14px 14px no-repeat !important;
}

.datetimeshortcuts .date-icon {
  background: url("../img/admin/calendar-alt-regular.svg") 0 0/14px 14px no-repeat !important;
}

/**
 * Django form field lengths
 */
.change-form .vTextField {
  width: 20em;
}

/**
 * Django form related widget
 */
.related-widget-wrapper {
  display: inline-block;
}

/**
 * Help text mouseover
 */
div.help {
  cursor: help;
  block-size: 14px;
  inline-size: 14px;
  background-image: url(../admin/img/icon-unknown.svg);
  background-repeat: no-repeat;
  background-size: 14px;
  margin-left: 8px !important;
  margin-top: 6px !important;
  padding-inline: 0 !important;
  padding-block: 0 !important;
  position: relative;
}
div.help > div {
  display: none;
}
div.help:hover {
  background-image: none;
}
div.help:hover > div {
  display: block;
  position: absolute;
  top: 1px;
  z-index: 10;
  block-size: auto;
  inline-size: max-content;
  max-inline-size: 300px;
  padding-block: 5px 3px;
  padding-inline: 5px 5px;
  background-color: #fffeaa;
  border: 1px solid #f7f071;
  color: #000;
}

/**
 * Help text for datetime field is without inner div
 */
div.help:not(:has(div)) {
  cursor: help;
  width: 16px;
  height: 16px;
  background-image: url(../admin/img/icon-unknown.svg);
  display: inline-block;
  background-repeat: no-repeat;
  background-size: 14px;
  margin-left: 8px !important;
  margin-top: 6px !important;
  position: absolute;
  text-indent: -9999px;
}
div.help:not(:has(div)):hover {
  text-indent: inherit;
  width: auto;
  background-image: none;
  background-color: #fffeaa;
  border: 1px solid #f7f071;
  color: #000;
  padding: 5px 5px 3px 5px !important;
  max-width: 300px;
  height: auto !important;
  margin-top: 2px !important;
  z-index: 10;
}

/**
 * Help text layout
 */
.form-row:has(.help) {
  overflow: visible;
}

div:has(> div.help) {
  display: flex;
}

.related-widget-wrapper ~ div.help {
  margin-top: 8px !important;
}
.related-widget-wrapper ~ div.help:hover {
  margin-top: 4px !important;
}

/* Overrides default Django CSS */
.aligned label + p,
.aligned label + div.readonly {
  display: inline-block;
  margin-left: inherit !important;
}

.aligned label + div.help {
  margin-left: 2px !important;
}

/* Additional components seem to need the same behaviour */
/* TODO: TinyMCE is different... */
.aligned label + ul {
  display: inline-block;
  margin-left: inherit !important;
}

/* SPDX-License-Identifier: EUPL-1.2 */
/* Copyright (C) 2019 - 2020 Dimpact */
/*
 Project/app specific overrides, coupled to the data model.

 Generic overrides should go in _admin_theme.scss
 */
/* SPDX-License-Identifier: EUPL-1.2 */
/* Copyright (C) 2019 - 2020 Dimpact */
/* Colors */
/* Dimensions */
/* Responsive breakpoints used int the Django admin */
/**
 * DJANGO ADMIN INDEX
 */
body {
  --djai-tab-bg: var(--primary);
  --djai-tab-bg--active: var(--breadcrumbs-bg);
  --djai-tab-bg--hover: #124078;
  --djai-tab-fg--active: var(--secondary);
  --djai-dropdown-bg--active: #124078;
  --djai-dropdown-bg--hover: #124078;
}

.djai-dropdown-menu {
  margin-left: -15px;
  margin-right: -15px;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
  /* Added to attach to body/breadcrumbs */
  border-bottom: 8px solid #f3f3f3;
}
@media all and (min-width: 768px) {
  .djai-dropdown-menu {
    margin-left: -30px;
    margin-right: -30px;
  }
}
@media all and (min-width: 1025px) {
  .djai-dropdown-menu {
    margin-left: -40px;
    margin-right: -40px;
  }
}
@media all and (min-width: 768px) {
  .djai-dropdown-menu {
    padding-left: 30px;
    padding-right: 30px;
  }
}
@media all and (min-width: 1025px) {
  .djai-dropdown-menu {
    padding-left: 40px;
    padding-right: 40px;
  }
}
.djai-dropdown-menu .djai-dropdown-menu__drop {
  min-width: 250px !important;
}
#header {
  padding-bottom: 0 !important;
}
#header + .breadcrumbs {
  padding-top: 2px;
}
#header .djai-dropdown-menu .djai-dropdown-menu__item--active:link,
#header .djai-dropdown-menu .djai-dropdown-menu__item--active:visited {
  color: var(--djai-tab-fg--active);
}
#header .djai-dropdown-menu .djai-dropdown-menu__item--active:link:hover,
#header .djai-dropdown-menu .djai-dropdown-menu__item--active:visited:hover {
  color: var(--djai-tab-fg--hover);
}

/**
 * DJANGO-BETTER-ADMIN-ARRAYFIELD
 * Some elements are marked as !important because the style is loaded after
 * this theme.
 */
.dynamic-array-widget {
  /* Substitute with icon */
}
.dynamic-array-widget button {
  background: #2E8DD0 !important;
  color: #fff !important;
  /* Substitute theme style above with icon. Solves translation string as well. */
}
.dynamic-array-widget button:hover {
  background: #124078 !important;
  /* border: 2px solid $color-dark !important; */
}
.dynamic-array-widget button.add-array-item {
  background: url("../img/admin/plus-square-regular.svg") 0 0/14px 14px no-repeat !important;
  width: 14px;
  line-height: 16px;
  text-indent: -9999px;
  white-space: nowrap;
  margin: 0 0 5px 170px;
  display: block;
}
.dynamic-array-widget button.add-array-item:focus {
  outline-width: 0;
}
.dynamic-array-widget .remove {
  background: url("../img/admin/trash-alt-regular.svg") 0 0/14px 14px no-repeat;
  width: 14px;
  line-height: 16px;
}
.dynamic-array-widget .remove .inline-deletelink {
  display: none;
}
.dynamic-array-widget .array-item input {
  width: 20em;
}

/* Secondary submit row */
.submit-row.submit-row-extended {
  margin-top: -24px;
  border-top: 0;
  padding-top: 0;
}
.submit-row.submit-row-extended .button {
  height: 35px;
  line-height: 15px;
  margin: 0 0 0 5px;
  padding: 10px 15px;
}

/* Radiobutton widget for Selectielijstklasse*/
#selectielijst-scroll {
  max-height: 400px;
  overflow-y: scroll;
}

.manage-authorizations {
  text-align: center;
  padding-bottom: 2em;
}
.manage-authorizations .button {
  padding: 10px 15px;
}

.client-credentials table {
  table-layout: fixed;
}

.jwt {
  word-wrap: break-word;
}

.table {
  width: 100%;
}

/* Extra login links in admin login screen */
.admin-login-option {
  text-align: center;
  clear: both;
  padding-top: 1em;
}

/* SPDX-License-Identifier: EUPL-1.2 */
/* Copyright (C) 2019 - 2020 Dimpact */
/* SPDX-License-Identifier: EUPL-1.2 */
/* Copyright (C) 2019 - 2020 Dimpact */
.checkbox-select {
  padding: 0;
}
.checkbox-select .checkbox-select__checkbox {
  list-style-type: none;
  padding: 2px 5px;
}

/* SPDX-License-Identifier: EUPL-1.2 */
/* Copyright (C) 2019 - 2020 Dimpact */
.radio-select {
  padding: 0;
}
.radio-select .radio-select__radio {
  list-style-type: none;
  padding: 2px 5px;
}

/* SPDX-License-Identifier: EUPL-1.2 */
/* Copyright (C) 2019 - 2020 Dimpact */
/* SPDX-License-Identifier: EUPL-1.2 */
/* Copyright (C) 2019 - 2020 Dimpact */
/* Colors */
/* Dimensions */
/* Responsive breakpoints used int the Django admin */
.autorisatie-formset .autorisatie-formset__header {
  background: #2E8DD0;
  margin: 0;
  padding: 8px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: left;
  color: #fff;
}
.autorisatie-formset .autorisatie-formset__add-row {
  padding: 8px 16px;
  background: #f8f8f8;
  border-bottom: solid 1px #eee;
  margin-bottom: 30px;
}
.autorisatie-formset .autorisatie-formset__add-row > a {
  background: url("../admin/img/icon-addlink.svg") 0 1px no-repeat;
  padding-left: 16px;
  font-size: 12px;
}

/* SPDX-License-Identifier: EUPL-1.2 */
/* Copyright (C) 2019 - 2020 Dimpact */
/* SPDX-License-Identifier: EUPL-1.2 */
/* Copyright (C) 2019 - 2020 Dimpact */
/* Colors */
/* Dimensions */
/* Responsive breakpoints used int the Django admin */
.autorisatie-form {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 5px 10px;
  border-bottom: 1px solid #eeeeee;
}
.autorisatie-form.autorisatie-form--odd {
  background: #f9f9f9;
}
.autorisatie-form .autorisatie-form__component {
  min-width: 200px;
  width: 20vw;
  margin-right: 3em;
}
.autorisatie-form .autorisatie-form__select-component {
  display: block;
  margin: 0;
  color: #ddd;
  font-style: italic;
}
.autorisatie-form .autorisatie-form__scopes {
  min-width: 200px;
  width: 20vw;
  margin-right: 3em;
}
.autorisatie-form .autorisatie-form__field-title {
  margin-bottom: 10px;
}
.autorisatie-form .autorisatie-form__extra-container {
  width: 100%;
}
.autorisatie-form .autorisatie-form__extra {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
}
.autorisatie-form .autorisatie-form__types-selection {
  min-width: 500px;
  width: 20vw;
}
/* SPDX-License-Identifier: EUPL-1.2 */
/* Copyright (C) 2019 - 2020 Dimpact */
.catalogus-options {
  padding-left: 18px;
}
.catalogus-options__title {
  display: block;
  font-weight: 600;
  padding-left: 5px;
}
.catalogus-options__external-types {
  padding: 0;
}
.catalogus-options__external-type {
  list-style: none;
}
.catalogus-options__add-type {
  margin: 0 !important;
  border: none;
}

/* SPDX-License-Identifier: EUPL-1.2 */
/* Copyright (C) 2020 Dimpact */
.external-formset__add-row a {
  background: url("../admin/img/icon-addlink.svg") 0 1px no-repeat;
  padding-left: 16px;
  font-size: 12px;
}
.external-formset__col--big {
  width: 25em;
}
.external-formset__col {
  width: 18em;
}
.external-formset__col--small {
  width: 8em;
}

/* SPDX-License-Identifier: EUPL-1.2 */
/* Copyright (C) 2020 Dimpact */
.external-form.external-form--odd {
  background: #f9f9f9;
}
.external-form__field {
  padding: 20px 10px;
}
.external-form__field--wide {
  width: 95%;
}
.external-form__hidden {
  display: none;
}
.external-form__label {
  display: block;
}
.external-form__group {
  padding-top: 10px;
}

/* SPDX-License-Identifier: EUPL-1.2 */
/* Copyright (C) 2020 Dimpact */
.autorisatie-form .errorlist {
  background: transparent;
}

.type-options .errorlist {
  padding-left: 18px;
}

/* SPDX-License-Identifier: EUPL-1.2 */
/* Copyright (C) 2022 Dimpact */
.btn-primary {
  background-color: var(--button-bg);
  border-color: var(--button-bg);
}
.btn-primary:hover {
  background-color: var(--button-hover-bg);
  border-color: var(--button-hover-bg);
}
