h1#site-name {
    font-size: 1rem;
}
h1#site-name {
    color: #202020;
}



#branding img {
    width: 66px;
    padding-bottom: 3px;
    max-width: 150px;
}

#user-tools {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    height: 1.5em;
    padding: 0.4em;
    z-index: 190;
    top: auto;
    background-color: #417690;
}

h1#site-name {
    color: #202020;
}

tr.category td {
    font-weight: bold;
}

#content-start {
    margin-bottom: 40px;
}

#admintopnav {
    display: flex;
    margin: 0;
    flex-wrap: wrap;
    margin-right: 3rem;
}

#admintopnav li {
    padding: 0rem;
    list-style-type: none;
}

#admintopnav li:hover {
    background-color: #5090ad
}

#admintopnav > li.active {
    color: var(--link-selected-fg);

    background-color: var(--body-fg);
}

#admintopnav ul {
    list-style-position: inside;
}

#admintopnav li ul {
    padding: 0;
    position: absolute;
    top: 1.0rem;
    left: auto;
    z-index: 49;
    background-color: #417690;
    min-width: 10em;
    max-height: 0;
    transition: max-height 500ms;
    overflow: hidden;
    list-style: none;
    margin: 1rem 0 1rem 0;
}

#admintopnav li:hover ul {
    display: block;
    max-height: 1000px;
    transition: max-height 500ms;
}

#admintopnav li ul li:hover {
    background-color: #5090ad
}

#admintopnav li ul li {
    margin: 0;
    list-style: none;
}

#admintopnav a, #nav_main a  {
    font-size: 1rem;
}

div.breadcrumbs:last-child {
    position: fixed;
    bottom: 0;
    width: 100%;
    opacity: 0.8;
    z-index: 45;
}

div.breadcrumbs2 {
    position: fixed;
    right: 0;
    bottom: 0;
    opacity: 1;
    z-index: 46;
    padding: 0.5rem;
    background-color: var(--selected-bg);
}

#changelist-search span.small {
    display: block;
    margin-top: 4px;
}

#form-short-search {
    width: auto;
}

#changelist #toolbar form textarea#searchbar {
    width: 300px;
}

#changelist-search {
    margin-left: 2em;
}

#toolbar {
    display: flex;
}

#changelist #toolbar form input#short-search {
    width: 3em;
    height: 17px;
    padding: 2px 5px;
}

.module caption,
.inline-group h2 {
    text-transform: none;
}

.vLargeTextField { height:4rem}


#offeritem_set-group .tabular tr.has_original td.original,
#invoiceitem_set-group .tabular tr.has_original td.original {
    visibility: hidden;
}

#offeritem_set-group .tabular tr.has_original td,
#invoiceitem_set-group .tabular tr.has_original td {
    padding: 8px 0 0 0;
}

#offeritem_set-group td.field-title input,
#invoiceitem_set-group td.field-title input {
    width: 30em;
}

#offeritem_set-group td.field-note textarea,
#invoiceitem_set-group td.field-note textarea {
    width: 20em;
    height: 1.3em;
}

#header {
    padding: 0;
}
#header li a {
    padding: 0.5em 1em;
    display: inline-block;
}

@media (max-width: 1024px) {
    #content_form textarea { max-height: none;}
}

.dev-mode-banner {
    background: #d04040;
    color: #fff;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 8px 12px;
    border-bottom: 2px solid #8a2828;
}

#text_note_html p,
#text_note p {
    margin: 0 0 1em 0;
}
#text_note_html > *,
#text_note > * {
    margin-bottom: 1em;
}
#text_note_html ul,
#text_note_html ol {
    margin: 0 0 1em 0;
    padding-left: 2.5em;
}
