/**
 * @file
 * A place for custom gin theming.
 */

em.placeholder {
    display: unset !important;
    min-height: unset !important;
    vertical-align: unset !important;
    cursor: unset !important;
    background-color: unset !important;
    opacity: unset !important;
}

.media-library-item__preview .field--name-field-width {
    position: absolute;
    bottom: 24px;
    width: 100%;
    background-color: white;
    padding-left: 10px;
}

.media-library-item__preview .field--name-field-height {
    position: absolute;
    bottom: 0px;
    width: 100%;
    background-color: white;
    padding-left: 10px;
}

.sb-show-main ul li.add-more-button-accordion,
main ul li.add-more-button-accordion {
  padding: 0;
}

nav.gin-breadcrumb .gin-breadcrumb__list .gin-breadcrumb__item:first-child {
  padding-right: .75rem;
}

nav.gin-breadcrumb .gin-breadcrumb__list .gin-breadcrumb__item:not(:first-child) {
  padding-left: .75rem;
  padding-right: 1.25rem;
}

html {
    scroll-padding-top: 158px !important;
}


body:not(.content-page) table.tablesaw a:not(.button), 
body:not(.content-page) table a:not(.button) {
  color: rgb(5,80,230) !important;
}

/**
 * Fix for dropbutton spacing issue after security update
 * Overrides Gin admin theme CSS to prevent button overlap
 * Using higher specificity to override gin.css
 */
body :where(*) .dropbutton--multiple > .dropbutton__item:first-of-type,
body :is(#extra-specificity-hack,[data-drupal-admin-styles]) .dropbutton--multiple > .dropbutton__item:first-of-type {
    height: 100% !important;
    margin-inline-end: calc(var(--dropbutton-extrasmall-toggle-size) + var(--dropbutton-toggle-size-spacing) - -5px) !important;
    border-inline-end: 1px solid var(--gin-color-primary-light-active) !important;
}
