body.custom-width-xxl main>.container {
  width: 100%;
  max-width: calc(100% - 80px);
}

body.custom-width-xxl .region-content {
  width: 100%;
  max-width: 100%;
}

.editor-theme .arrow-back,
.editor-theme .arrow-back-wrap a {
  padding-right: 0;
}

.statistics-icon-wrapper .image-preview img {
  padding: 10px;
  background: var(--bs-gray);
}

.drupal-table table .views-field-title a {
  display: block;
}


/* custom scroll bar  */
.custom-scroll-section .form-checkboxes {
  overflow: hidden;
  overflow-y: auto;
  max-height: 200px;
  margin-bottom: 15px;
}

.custom-scroll-section .form-checkboxes::-webkit-scrollbar {
  width: 2px;
}

.custom-scroll-section .form-checkboxes::-webkit-scrollbar-track {
  background: var(--br-c1);
  margin-top: 0px;
  margin-bottom: 20px;
}

.custom-scroll-section .form-checkboxes::-webkit-scrollbar-thumb {
  background-color: var(--fc-c2);
  border-radius: 5px;
  border: 1px solid transparent;
}

/* End custom scroll bar  */

/*image widget*/
.node-manage-page .image-widget-data .form-item {
  width: 50%;
  float: left;
}

.node-manage-page .image-widget-data .form-item {
  padding-right: 15px;
}

.node-manage-page .image-widget-data .form-item+.form-item {
  padding-left: 15px;
  padding-right: 0;
}

.node-manage-page .image-widget-data .form-item~.file--image {
  width: 100%;
  margin-bottom: 20px;
}

/*  */
.custom-scroll-section .details-wrapper .fieldgroup {
  margin: 0;
}

.custom-scroll-section .details-wrapper legend,
.field--type-image .form-type-managed-file>label {
  padding: 0.5rem 1rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.custom-scroll-section .details-wrapper,
.field--type-image .form-type-managed-file {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
}

.field--type-image .form-type-managed-file>label:first-child {
  border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.custom-scroll-section .details-wrapper .fieldset-wrapper,
.field--type-image .form-type-managed-file>div {
  flex: 1 1 auto;
  padding: 1rem 1rem;
}

.custom-scroll-section .details-wrapper {
  padding: 0;
}

/* to hide the date field  */
.hide-day .form-type-select:last-child {
  display: none;
}

/* hide fields from super user role  */
.admin-people .block-local-actions-block,
.manage-permissions main .block-help-block,
.manage-permissions .compact-link {
  display: none;
}

.manage-permissions .form-actions,
.manage-permissions .region-content form input[type="checkbox"] {
  pointer-events: none;
  opacity: .7;
}

/* hide fields from super user role  */

.featured-story-form .block-page-title-block h1 {
  text-align: center;
  font-size: 1.75rem;
  line-height: 1.2;
  width: 100%;
  margin-top: 0;
  margin-bottom: 40px;
}
