#dur-navbar {
    min-width: 650px;
    background: #333;
    border-bottom: 5px solid #08c;
    color: #fff;
}

#dur-navbar-inner {
    min-height: 64px;
    padding: 0 2.5%;
    display: flex;
    align-items: center;
}

#dur-brand {
    flex: 1;
    text-align: left;
}

#dur-brand a,
#dur-brand a:hover {
    color: #fff;
    text-decoration: none;
}

#dur-brand strong {
    font-size: 2.2em;
    font-weight: normal;
    color: #fff;
}

#dur-brand span {
    margin-left: .45em;
    color: #aaa;
    font-size: 1.05em;
}

#dur-navbar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#dur-navbar li {
    display: inline-block;
}

#dur-navbar li a {
    /* inline-block, not block: Dillo puts every block link on a line of
       its own */
    display: inline-block;
    padding: 1.65em .9em;
    color: #aaa;
    font-weight: bold;
}

#dur-navbar li a:hover,
#dur-navbar li.selected a {
    color: #fff;
    text-decoration: none;
}

#pkglist-about {
    margin-top: 2em;
}

#pkglist-about h2,
.box h3 {
    margin-top: 0;
}

#pkglist-about th {
    padding-right: 2em;
}

#pkglist-about td {
    padding-right: 2em;
}

#pkglist-results {
    overflow: hidden;
}

.pkglist-stats {
    float: left;
    margin-bottom: .75em;
}

.pkglist-nav {
    float: right;
}

.pkglist-nav .prev {
    margin-right: 1em;
}

table.results {
    clear: both;
}

table.results th {
    padding: .5em;
    background: #e4e4e4;
    border-bottom: 1px solid #aaa;
}

table.results td {
    padding: .45em .5em;
    border-bottom: 1px dotted #bbb;
}

table.results tbody tr:hover {
    background: #ffd;
}

.package-details th {
    padding-right: 2em;
}

.package-details td,
.package-details th {
    padding-top: .25em;
    padding-bottom: .25em;
}


/* Archweb-style compact layout */

#dur-navbar-inner {
    min-height: 48px;
    padding: 0 2.5%;
    display: flex;
    align-items: center;
}

#dur-brand strong {
    font-size: 1.9em;
    font-weight: normal;
}

#dur-brand span {
    margin-left: .4em;
    color: #aaa;
    font-size: .9em;
}

#dur-navbar li a {
    padding: 1.25em .9em;
}

#content {
    margin-top: 1.5em;
}

#pkglist-about {
    margin-top: 0;
}

table.results th,
table.results td {
    padding: .5em .6em;
}


/* Pages taken over from Distro Tracker use Bootstrap classes.  Only the
   most used ones get a few rules here instead of loading Bootstrap. */

.container, .container-fluid { margin: 0; padding: 0; }
.row { display: flex; flex-wrap: wrap; gap: 1em; }
.row > [class^="col-"], .row > [class*=" col-"] { flex: 1 1 18em; min-width: 0; }
.pull-xs-right { float: right; }
.pull-xs-left { float: left; }
.clear { clear: both; }
.text-xs-center, .center { text-align: center; }
.font-weight-bold { font-weight: bold; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.panel, .card { border: 1px solid #ccc; margin-bottom: 1em; background: #fff; }
.panel-heading, .card-header { padding: .4em .6em; background: #eee; border-bottom: 1px solid #ccc; font-weight: bold; }
.panel-body, .card-block { padding: .5em .6em; }

.list-group { list-style: none; margin: 0; padding: 0; }
.list-group-item { padding: .3em .6em; border-bottom: 1px dotted #bbb; }
.list-group-item:last-child { border-bottom: 0; }

.btn { display: inline-block; padding: .25em .8em; border: 1px solid #999; background: #eee; color: #222; cursor: pointer; }
.btn-primary { background: #08c; border-color: #069; color: #fff; }
.btn-danger { background: #c33; border-color: #922; color: #fff; }
.btn-sm { padding: .1em .5em; font-size: .9em; }

.form-group { margin-bottom: .6em; }
.form-control { box-sizing: border-box; width: 100%; max-width: 30em; }
.form-inline .form-control { width: auto; display: inline-block; }

.pagination { list-style: none; padding: 0; }
.pagination li { display: inline-block; margin-right: .3em; }

/* Without JavaScript nothing can open collapsed content, so show it. */
.collapse, .accordion-body { display: block; }

/* Accounts and the new-package pages */

form.dur-inline { display: inline; margin: 0; }
form.dur-inline button { background: none; border: 0; color: #aaa; font-weight: bold; cursor: pointer; padding: 1.25em .9em; font: inherit; }
form.dur-inline button:hover { color: #fff; }
.dur-messages { padding: .5em 1em; background: #ffd; border: 1px solid #cc9; list-style: none; }
.dur-account-menu { list-style: none; padding: 0; margin: 0 0 1em; }
.dur-account-menu li { display: inline-block; margin-right: 1.2em; }
.dur-form th { text-align: left; vertical-align: top; padding: .3em 1.5em .3em 0; font-weight: normal; }
.dur-form td { padding: .3em 0; }
.dur-form input[type=text], .dur-form input[type=url], .dur-form textarea, .dur-form select { box-sizing: border-box; width: 30em; max-width: 100%; }
.dur-form textarea { height: 6em; }
.dur-note { color: #666; font-size: .9em; }
.dur-state-running, .dur-state-pending { color: #a60; }
.dur-state-success { color: #080; }
.dur-state-failure, .dur-state-error { color: #c33; }
pre.dur-file { background: #f6f6f6; border: 1px solid #ddd; padding: .5em; overflow: auto; max-height: 30em; }
/* ... and nothing can open a dialog: the links next to them lead to pages
   that do the same without one. */
.modal { display: none; }

/* Distro Tracker's page actions ("Create a new team") under the heading */
.dur-page-actions { margin: .4em 0 .8em; }
.dur-page-actions:empty { display: none; }

/* the admin's warning above every page (dur_banner) */
.dur-banner { padding: .6em 1em; margin: 0 0 1em; border: 2px solid #c33; background: #fbeaea; font-weight: bold; }

/* messages (allauth, draft limits) */
.dur-messages { list-style: none; padding: 0; margin: 0 0 1em; }
.dur-messages li { padding: .4em .8em; margin-bottom: .3em; border: 1px solid #ccc; background: #f4f4f4; }
.dur-messages li.error, .dur-messages li.danger { border-color: #c33; background: #fbeaea; }
.dur-messages li.success { border-color: #393; background: #eaf6ea; }

/* remarks in the review queue */
.dur-comment { margin: .3em 0; padding: .3em .6em; border-left: 3px solid #08c; background: #f6f9fb; }

/* package page (packages.debian.org's layout): the suites, the relations,
   the file list */
.dur-suites { margin: 0.5em 0 1em; }
.dur-relations li { margin: 0.15em 0; }
.dur-rel { display: inline-block; width: 2.5em; font-weight: bold; }
.dur-filelist { overflow-x: auto; font-size: 0.9em; }

/* package search: the dropdowns as wide as each other, not as their
   longest entry */
#pkglist-about select { min-width: 9em; }
