.ui-widget.ui-widget-content.ui-autocomplete li a {
    display: block;
    padding: .5rem;
    font-weight: 600;
}


/* Taken from system/css/components/autocomplete-loading.module.css */
/**
 * @file
 * Visual styles for animated throbber.
 *
 * @see autocomplete.js
 */

.js .ui.form input.form-autocomplete.ui-autocomplete-input {
    background-image: url(../../../../../../core/misc/throbber-inactive.png);
    background-repeat: no-repeat;
    background-position: 100% center; /* LTR */
}
.js[dir="rtl"] .ui.form input.form-autocomplete.ui-autocomplete-input {
    background-position: 0% center;
}
.js .ui.form input.form-autocomplete.ui-autocomplete-loading.ui-autocomplete-input {
    background-image: url(../../../../../../core/misc/throbber-active.gif);
    background-position: 100% center; /* LTR */
}
.js[dir="rtl"] .ui.form input.form-autocomplete.ui-autocomplete-loading.ui-autocomplete-input {
    background-position: 0% center;
}

/* Keep component names readable without forcing the header wider. */
.js form .paragraph-type-title,
.js form .paragraph-type-label {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    overflow: visible;
    text-overflow: clip;
}

/* Split the space beside the actions evenly between title and summary. */
.js form .paragraph-type-top > .paragraph-type-title,
.js form .paragraph-type-top > .paragraphs-collapsed-description {
    box-sizing: border-box;
    flex: 1 1 50%;
    min-width: 0;
    width: auto;
}

.js form .paragraph-type-top > .paragraphs-dropbutton-wrapper {
    flex-shrink: 0;
}

/* Allow the summary to grow with its text instead of clipping to one line. */
.js form .paragraphs-collapsed-description,
.js form .paragraphs-collapsed-description .paragraphs-content-wrapper {
    height: auto;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
    overflow: visible;
    text-overflow: clip;
}

.js form .paragraphs-collapsed-description::after {
    content: none;
}

form .dropbutton__item:first-of-type ~ .dropbutton__item {
    max-width: 100%;
}

.backgorund-colour-pseudo {
    display: flex;
    align-items: center;
}

.backgorund-colour-pseudo span.child {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 1px solid black;
}

.paragraphs-content-wrapper .summary-content {
    display: none;
}

.paragraphs-content-wrapper .summary-content:first-child {
    display: inline;
}

.nsw-intro {
    font-size: 1.25rem;
    line-height: 1.4;
}

.nsw-small {
    font-size: 0.875rem;
    line-height: 1.35;
}
