.ui-dialog-off-canvas #drupal-off-canvas {
  padding: 20px;
}
.ui-dialog.ui-dialog-off-canvas .ui-dialog-title:before {
  background: none;
}
.ui-dialog.ui-dialog-off-canvas .ui-dialog-title {
  padding-left: 0;
}


/**
 * Form elements.
 */
#modal_form form {
  margin: 0;
  padding: 0;
}
#drupal-off-canvas p {
  font-size: 0.75em;
  display: block;
  margin: 1em 0;
  line-height: 1.2em;
}
#modal_form fieldset:not(.fieldgroup) {
  position: relative;
  min-width: 0;
  margin: 1em 0;
  padding: 30px 18px 18px;
  border-radius: 2px;
  background-color: #fcfcfa;
}
#modal_form fieldset:not(.fieldgroup) > legend {
  position: absolute;
  top: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1em;
  font-weight: bold;
}
#modal_form .fieldgroup {
  min-width: 0;
}
#modal_form .form-item {
  margin: 0.75em 0;
}
/**
 * When a table row has a single form item, prevent it from adding unnecessary
 * extra spacing. If it has multiple form items, allow spacing between them,
 * overriding Classy.
 */
#modal_form tr.odd .form-item,
#modal_form tr.even .form-item {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}
#modal_form td > .form-item:only-child {
  margin-top: 0;
  margin-bottom: 0;
}
#modal_form .form-type-checkbox {
  padding: 0;
}
#modal_form label,
#modal_form legend span {
  margin: 0 0 0.1em;
  padding: 0;
  font-weight: bold;
  font-size: 14px;
}
#modal_form .field--name-grade label,
#modal_form .field--name-grade legend span {
  display: table;
}
#modal_form label.error {
  color: #a51b00;
}
#modal_form .form-item label.option {
  text-transform: none;
  width: 14px;
  text-align: center;
  font-size: 12px;
}
#modal_form .form-item label.option input {
  vertical-align: middle;
}
#modal_form .form-disabled label {
  color: #686868;
}
#modal_form .form-disabled input.form-date,
#modal_form .form-disabled input.form-text,
#modal_form .form-disabled input.form-tel,
#modal_form .form-disabled input.form-time,
#modal_form .form-disabled input.form-email,
#modal_form .form-disabled input.form-url,
#modal_form .form-disabled input.form-search,
#modal_form .form-disabled input.form-number,
#modal_form .form-disabled input.form-color,
#modal_form .form-disabled input.form-file,
#modal_form .form-disabled textarea.form-textarea,
#modal_form .form-disabled
#modal_form select.form-
#modal_form select {
  border-color: #d4d4d4;
  background-color: hsla(0, 0%, 0%, 0.08);
  box-shadow: none;
}
#modal_form .form-item input.error,
#modal_form .form-item textarea.error,
#modal_form .form-item
#modal_form select.error {
  color: #a51b00;
  border-width: 1px;
  border-color: #e62600;
  background-color: hsla(15, 75%, 97%, 1);
  box-shadow: inset 0 5px 5px -5px #b8b8b8;
}
#modal_form .form-item textarea.error + .cke {
  border-width: 1px;
  border-color: #e62600;
}
#modal_form .form-item input.error:focus,
#modal_form .form-item textarea.error:focus,
#modal_form .form-item
#modal_form select.error:focus {
  border-color: #e62600;
  outline: 0;
  background-color: #fcf4f2;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 0 8px 1px #e62600;
}
#modal_form .form-required:after {
  width: 7px;
  height: 7px;
  background-size: 7px 7px;
  display: inline-block;
  overflow: hidden;
  margin: 0 .3em;
  content: '(verplicht veld)';
  vertical-align: super;
  white-space: nowrap;
  text-indent: .6rem;
  background-repeat: no-repeat;
  background-image: url("../../../../themes/custom/hollandskroon/img/widgets/icons/asterisk.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
#modal_form .form-item--error-message {
  margin-top: 0.15em;
  color: #e32700;
  font-size: 14px;
}
#modal_form .fieldset-wrapper > .form-item--error-message {
  margin-top: 0;
}
#modal_form .text-format-wrapper .form-item--error-message {
  margin: 0;
  padding: 0.25em 0.666em 0;
  border: solid #ccc;
  border-width: 0 1px;
}

/* Filter */
#modal_form ul.tips,
#modal_form div.description,
#modal_form .form-item .description {
  margin: 0.2em 0 0 0;
  color: #595959;
  font-size: 0.95em;
}
#modal_form .form-item .description.error {
  margin-top: 0;
  color: #a51b00;
}

#modal_form ul.tips li {
  margin: 0.25em 0 0.25em 1.5em; /* LTR */
}
[dir="rtl"] ul.tips li {
  margin: 0.25em 1.5em 0.25em 0;
}
#drupal-off-canvas .js-form-type-radio {
  display: block;
  float: left;
  margin: 0 10px;
  width: auto;
}
#modal_form .js-form-type-radio .description,
#modal_form .js-form-type-checkbox .description {
  margin-left: 1.5em; /* LTR */
}
[dir="rtl"] .js-form-type-radio .description,
[dir="rtl"] .js-form-type-checkbox .description {
  margin-right: 1.5em;
  margin-left: 0;
}
#modal_form .form-text,
#modal_form .form-textarea {
  border-radius: 2px;
  font-size: 1em;
  line-height: normal;
}

#modal_form input.form-autocomplete,
#modal_form input.form-text,
#modal_form input.form-tel,
#modal_form input.form-email,
#modal_form input.form-url,
#modal_form input.form-search,
#modal_form input.form-number,
#modal_form input.form-color,
#modal_form input.form-file,
#modal_form input.form-date,
#modal_form input.form-time,
#modal_form textarea.form-textarea {
  box-sizing: border-box;
  max-width: 100%;
  padding: 0.3em 0.4em 0.3em 0.5em; /* LTR */
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
  transition: border linear 0.2s, box-shadow linear 0.2s;
  color: #595959;
  border: 1px solid #b8b8b8;
  border-top-color: #999;
  border-radius: 7px;
  background: #fcfcfa;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.125);
  font-size: 1em;
}
#drupal-off-canvas input[type="email"] {
    border-radius: 7px;
}
#drupal-off-canvas input[type="submit"].button {
    width: 100%;
    padding: 7.2px 15px;
    text-align: center;
    color: #fff;
    border: 0;
    border-radius: 8px 0 8px 8px;
    background-color: #d4440e;
}
#drupal-off-canvas input[type="submit"].feedback-cancel {
  background-color: #666;
  font-weight: normal;
}
#drupal-off-canvas input[type="submit"].button:hover,
#drupal-off-canvas input[type="submit"].button:focus,
#drupal-off-canvas input[type="submit"].button:active {
  outline: none;
  background: #1c6d8d;
}
#drupal-off-canvas textarea.form-textarea {
  border-radius: 7px;
  height: 1em;
  transition: all 0.5s ease;
}
#drupal-off-canvas textarea.form-textarea:focus {
  height: 10em;
}
#modal_form .form-text:focus,
#modal_form .form-tel:focus,
#modal_form .form-email:focus,
#modal_form .form-url:focus,
#modal_form .form-search:focus,
#modal_form .form-number:focus,
#modal_form .form-color:focus,
#modal_form .form-file:focus,
#modal_form .form-textarea:focus,
#modal_form .form-date:focus,
#modal_form .form-time:focus {
  border-color: #40b6ff;
  outline: 0;
  background-color: #fff;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 0 8px #40b6ff;
}

#modal_form .confirm-parent,
#modal_form .password-parent {
  overflow: visible;
  width: auto;
}

#modal_form .form-item-options-group-info-identifier,
#modal_form .form-item-pass .description {
  clear: both;
}

#modal_form .field--name-grade .form-item-grade:first-of-type,
#modal_form .field--name-found .form-item-found:first-of-type,
#modal_form .field--name-source .form-item-source:first-of-type {
 display: none;
}

/**
 * Limits extra long instances of
#modal_form select elements to the max width allowed
 * to avoid breaking layouts.
 */

#modal_form select {
  max-width: 100%;
}

/**
 *
#modal_form select elements - Webkit only
 */
@media screen and (-webkit-min-device-pixel-ratio: 0) {

#modal_form select {
    padding: 1px 1.571em 1px 0.5em; /* LTR */
    cursor: pointer;
    -webkit-transition: all 0.1s;
    transition: all 0.1s;
    border: 1px solid #a6a6a6;
    border-radius: 0.143em;
    background:
      url(../../../../misc/icons/333333/caret-down.svg) no-repeat 99% 63%,
      -webkit-linear-gradient(top, #f6f6f3, #e7e7df); /* LTR */

    text-shadow: 0 1px hsla(0, 0%, 100%, 0.6);
    font-size: 0.875rem;
    -webkit-appearance: none;
    -webkit-font-smoothing: antialiased;
  }
  [dir="rtl"]
#modal_form select {
    padding: 1px 0.714em 1px 1.571em;
    background-position: 1% 63%, 0 0;
  }

#modal_form select:focus,

#modal_form select:hover {
    color: #1a1a1a;
    background-image:
      url(../../../../misc/icons/333333/caret-down.svg),
      -webkit-linear-gradient(top, #fcfcfa, #e9e9dd);
  }

#modal_form select:hover {
    box-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.125);
  }
}

/**
 * Improve spacing of cancel link.
 */
#modal_form #edit-cancel {
  margin-left: 10px; /* LTR */
}
[dir="rtl"] #edit-cancel {
  margin-right: 10px;
  margin-left: 0;
}

/**
 * Improve form element usability on narrow devices.
 */
@media screen and (max-width: 600px) {
  input.form-autocomplete,
  input.form-text,
  input.form-tel,
  input.form-email,
  input.form-url,
  input.form-search,
  input.form-number,
  input.form-color,
  input.form-file,
  textarea.form-textarea {
    width: 100%;
    font-size: 1.2em;
    line-height: 1.2em;
    border-radius: 5px;
  }
  input.form-number {
    width: auto;
  }
  .form-actions input,
  .form-wrapper input[type="submit"] {
    float: none;
    width: 100%;
    margin-top: 10px;
    margin-right: 0;
    margin-left: 0;
    padding-bottom: 6px;
  }
  .form-actions input:first-child,
  .form-wrapper input[type="submit"]:first-child {
    margin-top: 0;
  }
  #modal_form details summary {
    overflow: hidden;
    box-sizing: border-box;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .password-strength {
    width: 100%;
  }
  div.form-item div.password-suggestions {
    float: none;
  }
  #dblog-filter-form .form-actions {
    float: none;
    padding: 0;
  }
  #edit-cancel {
    display: block;
    margin: 10px 0 0 0;
  }

#modal_form select {
    width: 100%;
  }
}

/* Exceptions */
#modal_form #diff-inline-form
#modal_form select,
#modal_form div.filter-options
#modal_form select {
  padding: 0;
}

