#edit-moderation-state-wrapper #edit-moderation-state-0,
#content-moderation-entity-moderation-form #edit-moderation-state-0 {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

#edit-moderation-state-wrapper #edit-moderation-state-0 .container-inline,
#content-moderation-entity-moderation-form #edit-moderation-state-0 .container-inline {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-right: calc(1.625rem + 4.5vw);
}

[dir="rtl"] #edit-moderation-state-wrapper #edit-moderation-state-0 .container-inline,
[dir="rtl"] #content-moderation-entity-moderation-form #edit-moderation-state-0 .container-inline {
  margin-right: 0;
  margin-left: calc(1.625rem + 4.5vw);
}

@media (min-width: 1200px) {
  #edit-moderation-state-wrapper #edit-moderation-state-0 .container-inline,
  #content-moderation-entity-moderation-form #edit-moderation-state-0 .container-inline {
    margin-right: 5rem;
  }

  [dir="rtl"] #edit-moderation-state-wrapper #edit-moderation-state-0 .container-inline,
  [dir="rtl"] #content-moderation-entity-moderation-form #edit-moderation-state-0 .container-inline {
    margin-right: 0;
    margin-left: 5rem;
  }
}

#edit-moderation-state-wrapper #edit-moderation-state-0 label,
#content-moderation-entity-moderation-form #edit-moderation-state-0 label {
  float: left;
  width: fit-content;
  margin: 0 0.5rem 0 0;
  font-weight: bold;
}

[dir="rtl"] #edit-moderation-state-wrapper #edit-moderation-state-0 label,
[dir="rtl"] #content-moderation-entity-moderation-form #edit-moderation-state-0 label {
  float: right;
  margin: 0 0 0 0.5rem;
}

#edit-moderation-state-wrapper .entity-moderation-form,
#content-moderation-entity-moderation-form .entity-moderation-form {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
  padding-inline-start: 0;
  list-style: none;
}

#edit-moderation-state-wrapper .entity-moderation-form__item,
#content-moderation-entity-moderation-form .entity-moderation-form__item {
  margin-top: 1rem;
}

#edit-moderation-state-wrapper .entity-moderation-form__item:first-child,
#content-moderation-entity-moderation-form .entity-moderation-form__item:first-child {
  margin-top: 0;
}

#edit-moderation-state-wrapper .entity-moderation-form__item label,
#content-moderation-entity-moderation-form .entity-moderation-form__item label {
  margin: 0 0.5rem 0.5rem 0;
  font-weight: bold;
}

[dir="rtl"] #edit-moderation-state-wrapper .entity-moderation-form__item label,
[dir="rtl"] #content-moderation-entity-moderation-form .entity-moderation-form__item label {
  margin: 0 0 0.5rem 0.5rem;
}

@media (max-width: 960px) {
  #edit-moderation-state-wrapper .entity-moderation-form__item button,
  #edit-moderation-state-wrapper .entity-moderation-form__item input#edit-submit,
  #content-moderation-entity-moderation-form .entity-moderation-form__item button,
  #content-moderation-entity-moderation-form .entity-moderation-form__item input#edit-submit {
    width: 100%;
  }
}

@media (min-width: 992px) {
  #edit-moderation-state-wrapper #edit-moderation-state-0,
  #content-moderation-entity-moderation-form #edit-moderation-state-0 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 1rem;
  }

  #edit-moderation-state-wrapper .form-item-moderation-state-0-current label,
  #content-moderation-entity-moderation-form .form-item-moderation-state-0-current label {
    float: left;
    margin-top: 0.5rem;
  }

  [dir="rtl"] #edit-moderation-state-wrapper .form-item-moderation-state-0-current label,
  [dir="rtl"] #content-moderation-entity-moderation-form .form-item-moderation-state-0-current label {
    float: right;
  }

  #edit-moderation-state-wrapper .form-control,
  #content-moderation-entity-moderation-form .form-control {
    width: fit-content;
    max-width: 20em;
    margin-top: -0.3rem;
  }

  #edit-moderation-state-wrapper .entity-moderation-form,
  #content-moderation-entity-moderation-form .entity-moderation-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  #edit-moderation-state-wrapper .entity-moderation-form__item,
  #content-moderation-entity-moderation-form .entity-moderation-form__item {
    display: table;
    margin-right: 2em;
  }

  [dir="rtl"] #edit-moderation-state-wrapper .entity-moderation-form__item,
  [dir="rtl"] #content-moderation-entity-moderation-form .entity-moderation-form__item {
    margin-right: 0;
    margin-left: 2em;
  }

  #edit-moderation-state-wrapper .entity-moderation-form__item:first-child,
  #content-moderation-entity-moderation-form .entity-moderation-form__item:first-child {
    width: 10rem;
    margin-top: 1rem;
  }

  #edit-moderation-state-wrapper .entity-moderation-form__item .form-item-revision-log,
  #content-moderation-entity-moderation-form .entity-moderation-form__item .form-item-revision-log {
    width: 15rem;
  }

  #edit-moderation-state-wrapper .entity-moderation-form__item input#edit-submit,
  #content-moderation-entity-moderation-form .entity-moderation-form__item input#edit-submit {
    margin: calc(1.295rem + 0.54vw) calc(1.325rem + 0.9vw) 0;
  }
}

@media (min-width: 992px) and (min-width: 1200px) {
  #edit-moderation-state-wrapper .entity-moderation-form__item input#edit-submit,
  #content-moderation-entity-moderation-form .entity-moderation-form__item input#edit-submit {
    margin: 1.7rem 2rem 0;
  }
}

@media (min-width: 992px) {
  [dir="rtl"] #edit-moderation-state-wrapper,
  [dir="rtl"] #content-moderation-entity-moderation-form {
    margin-right: 0;
    margin-left: calc(1.625rem + 4.5vw);
  }

  [dir="rtl"] [dir="rtl"] #edit-moderation-state-wrapper,
  [dir="rtl"] [dir="rtl"] #content-moderation-entity-moderation-form {
    margin-right: calc(1.625rem + 4.5vw);
    margin-left: 0;
  }
}

@media (min-width: 992px) and (min-width: 1200px) {
  [dir="rtl"] #edit-moderation-state-wrapper,
  [dir="rtl"] #content-moderation-entity-moderation-form {
    margin-left: 5rem;
  }

  [dir="rtl"] [dir="rtl"] #edit-moderation-state-wrapper,
  [dir="rtl"] [dir="rtl"] #content-moderation-entity-moderation-form {
    margin-right: 5rem;
    margin-left: 0;
  }
}

@media (min-width: 992px) {
  [dir="rtl"] #edit-moderation-state-wrapper label,
  [dir="rtl"] #content-moderation-entity-moderation-form label {
    float: right;
    margin: 0 0 0 0.5rem;
  }

  [dir="rtl"] [dir="rtl"] #edit-moderation-state-wrapper label,
  [dir="rtl"] [dir="rtl"] #content-moderation-entity-moderation-form label {
    float: left;
    margin: 0 0.5rem 0 0;
  }

  [dir="rtl"] #edit-moderation-state-wrapper .form-item-moderation-state-0-current label,
  [dir="rtl"] #content-moderation-entity-moderation-form .form-item-moderation-state-0-current label {
    float: right;
    margin-top: 0.5rem;
  }

  [dir="rtl"] [dir="rtl"] #edit-moderation-state-wrapper .form-item-moderation-state-0-current label,
  [dir="rtl"] [dir="rtl"] #content-moderation-entity-moderation-form .form-item-moderation-state-0-current label {
    float: left;
  }

  [dir="rtl"] #edit-moderation-state-wrapper .form-control,
  [dir="rtl"] #content-moderation-entity-moderation-form .form-control {
    float: right;
  }

  [dir="rtl"] [dir="rtl"] #edit-moderation-state-wrapper .form-control,
  [dir="rtl"] [dir="rtl"] #content-moderation-entity-moderation-form .form-control {
    float: left;
  }

  [dir="rtl"] #edit-moderation-state-wrapper .entity-moderation-form__item,
  [dir="rtl"] #content-moderation-entity-moderation-form .entity-moderation-form__item {
    margin-right: 0;
    margin-left: 1rem;
  }

  [dir="rtl"] [dir="rtl"] #edit-moderation-state-wrapper .entity-moderation-form__item,
  [dir="rtl"] [dir="rtl"] #content-moderation-entity-moderation-form .entity-moderation-form__item {
    margin-right: 1rem;
    margin-left: 0;
  }

  [dir="rtl"] #edit-moderation-state-wrapper .entity-moderation-form__item:last-child,
  [dir="rtl"] #content-moderation-entity-moderation-form .entity-moderation-form__item:last-child {
    margin-right: auto;
    margin-left: 0;
  }

  [dir="rtl"] [dir="rtl"] #edit-moderation-state-wrapper .entity-moderation-form__item:last-child,
  [dir="rtl"] [dir="rtl"] #content-moderation-entity-moderation-form .entity-moderation-form__item:last-child {
    margin-right: 0;
    margin-left: auto;
  }
}

@media (min-width: 1200px) {
  #edit-moderation-state-wrapper .entity-moderation-form__item .form-item-revision-log,
  #content-moderation-entity-moderation-form .entity-moderation-form__item .form-item-revision-log {
    width: 17rem;
  }
}

#edit-preview-toggle {
  margin-top: 1rem;
}
