main > .container {
    padding: 70px 15px 20px;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #e9ecef !important;
    color: #16181b !important;
}

.navbar-nav.ml-md-auto.nav {
    height: 40px;
    margin-top: -8px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

.dropdown-menu.show {
    z-index: 2000;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.text-dark.stretched-link:hover {
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: #007bff;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.block {
    display: block;
}

.smaller {
    font-size: smaller;
}

.text-gray {
    color: #808080;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.nav button.dropdown-toggle {
    color: white;
}

main > .content-container {
    padding-top: 90px;
}

body {
    margin: 0;
    font-size: .75rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
}

a, a:hover {
    text-decoration: none;
}

.list-group .list-group-item span > i.bi {
    font-size: 1.5em;
    vertical-align: bottom;
    line-height: 1;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.avatar-upload {
    top: -2em;
}

.avatar-upload .btn-outline-secondary:not(:hover) {
    background: #fff;
}

.subhead {
    display: flex;
    padding-bottom: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid #d8dee4;
    flex-flow: row wrap;
    justify-content: flex-start;
}

.subhead-heading {
    font-size: 1.5em;
    font-weight: bold;
}

.d-block {
    display: block !important;
}

.mb-2 {
    margin-bottom: 8px !important;
}

label {
    font-weight: 600;
}

.avatar {
    display: inline-block;
    overflow: hidden;
    line-height: 1;
    vertical-align: middle;
    background-color: #fff;
    border-radius: 6px;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px #1b1f2426;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.hidden {
    display: none !important;
}

.bold {
    font-weight: bolder;
}

.bigger {
    font-size: 1.2em;
}

.active .badge-primary {
    color: #007bff;
    background-color: #fff;
}

.card-header .float-right {
    margin: -6px 2px;
    height: 30px;
}

.card-header a.float-right {
    padding-top: 6px;
}

.card-header .float-right:first-of-type {
    margin-right: -6px;
}

.card-header {
    clear: both;
    overflow: visible;
}

.flex {
    display: flex;
}

.pointer {
    cursor: pointer;
}

.link[data-href] {
    cursor: pointer;
}

img.img-flag {
    height: 1em;
}

li.list-group-item.list-banner-cover, .banner-cover {
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position-y: 50%;
    text-shadow: rgb(255 255 255) 0 0 6px;
    position: relative;
}

li.list-group-item.list-banner-cover:before, .banner-cover:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgb(255 255 255 / 50%), white);
    background: -moz-linear-gradient(rgb(255 255 255 / 50%), white);
    background: -o-linear-gradient(rgb(255 255 255 / 50%), white);
    background: -webkit-linear-gradient(rgb(255 255 255 / 50%), white);
}

li.list-group-item.list-banner-cover > img, li.list-group-item.list-banner-cover > .media-body, .banner-cover > * {
    z-index: 1000;
}

li.list-group-item.list-banner-cover > img {
    place-self: center;
}

.btn-link-radius {
    background: rgb(255 255 255 / 30%);
    border-radius: 50%;
}

.list-group.list-group-flush.sender-info {
    position: relative;
}

.list-group.list-group-flush.sender-info .media-body {
    pointer-events: none;
}

.list-group.list-group-flush.sender-info .media-body .justify-content-between small.text-muted, .list-group.list-group-flush.sender-info .media-body .float-right {
    display: none;
}

ul.pagination {
    margin-top: .5rem;
    margin-bottom: .5rem;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
    justify-content: center;
}

ul.pagination > li {
    position: relative;
    display: block;
    border: 1px solid #dee2e6;
    margin: -1px;
    background-color: #fff;
    color: #007bff;
}

ul.pagination > li.page-item {
    border: unset;
    margin: unset;
}

ul.pagination > li.disabled {
    padding: .5rem .75rem;
    line-height: 1.25;
    border: 1px solid #dee2e6;
}

ul.pagination > li:first-of-type {
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

ul.pagination > li:last-of-type {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}

ul.pagination > li.page-item.disabled > a {
    padding: 0;
    border: none;
}

ul.pagination > li.active {
    background-color: #007bff;
    color: #fff;
}

ul.pagination > li > a {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    line-height: 1.25;
    color: inherit;
}
