.volo-logo{
    height: 28px;
    padding: 5px 0;
    margin-left: -1px;
}
.position{
    display: none !important;
}

a:link, 
a:visited {
  color: var(--link-fg);
}

login #branding {
    float: none;
    padding: 7px 0px;
}

.login .volo-logo {
    margin: 0 auto;
    display: block;
}

.model-location #id_token {
    width: 200px;
}
.model-location .field-token strong a {
    width: 10em;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
    font-family: monospace;
    position: relative;
    top: 3px;
}

.model-location .field-token strong a:after {
    content:"";
    position:absolute;
    top: 0px;
    right:0;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, rgba(0,0,0,0), #fff);
}


/* Tighten up layout of sortable inlines. */
.view-related  {
    display: none;
}
.related-widget-wrapper-link img {
    width: 13px;
    height: 13px;
    padding: 7px 6px;
}



.inline-group .tabular .sortable .has_original td {
    padding: 8px 8px 3px 8px;
}

fieldset.sortable table tr.form-row.has_original td.original p {
    position: static;
    text-indent: -9999px;
    font-size: 1px;
    padding: 20px 18px;
    margin: -7px 0 -2px -7px;
}

.tabular .sortable th.original::before {
    content: "Sort";
    padding: 8px;
    display: block;
    color: transparent;
}

.tabular .sortable:has(input[type=checkbox]) th.original::before {
    color: inherit;
}

.inline-group .tabular .sortable td.delete {
    padding: 11px 24px 0 8px;
}

td.delete:has(input) {
    text-align: right;
}

fieldset.sortable span.sort {
    display: none;
}

.tabular.inline-related th:last-of-type {
    text-align: right;
    padding-right: 1em;
}

.sortable-ghost { /* Row while being dragged */
    box-shadow: 4px 5px 10px -6px rgba(0,0,0,.5);
    background-color: #ffffcf !important;
    z-index: 99 !important;
    position: relative;
}


/* Django File Browser */
.fb_show img {
    margin-top: 5px;
    vertical-align: top !important;
}

.qq-upload-drop-area {
    display: block !important;
    padding: 10px 5px;
    background: rgb(238, 238, 238) none repeat scroll 0% 0%;
    width: 50%;
    margin-bottom: 10px;
    border: 1px dashed rgb(221, 221, 221);
}

.qq-upload-drop-area-active {
    background: #FFFCC9;
    border: 1px dashed #ccc;
}

#container p.preview {
    display: inline !important;
    margin-left: 0px;
}
.preview img {
    height: 50px;
    margin: -15px 0 -12px 7px;
}

.preview img[src=""] {
    display: none;
}

.inline-group .aligned label {
    width: auto !important;
}

.description {
    padding: 15px 0 15px 12px;
}

.import-preview ins {
    text-decoration: none;
}

#content .import-preview tr.new,
#content .import-preview tr.update {
    color: #000;
} 

#content .import-preview tr.new ins {
    text-decoration: none;
    background-color: transparent !important;
}

#content table.import-preview tr.skip {
    background-color: #e0e0e0;
    color: #666;
}    

.import-preview .import-type,
.import-preview thead th:first-of-type {
    display: none;
}

/* Remove if enabling update imports */
#content .import-preview tr.new,
#content .import-preview tr.update,
#content table.import-preview tr.skip {
    background-color: transparent !important;
    color: inherit !important;
} 

.change-form code {
    color: inherit;
    font-size: inherit;
}

/* Newer Django adds the object name below the h1, it's redundant. */
.change-form #content > h2 {
    display: none;
}

#changelist-filter-extra-actions {
    border-bottom: none;
}
#changelist-filter-extra-actions h3:has(.viewlink) {
    display: none;
}



#container .field-details ol, 
#container .field-details ol ul {
    margin: 0;
    padding: 0;
}

#container .field-details ol ul li {
    list-style: square;
    margin: 0 0 0 1em;
}

#container .field-details ol>li {
    margin-bottom: .4em !important;
}

#container .field-details code strong {
    color: inherit;
}
