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

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

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

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

/* 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.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

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

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

.grid-view-header .summary {
    margin-bottom: 0;
}

.grid-page-size {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.875rem;
}

.grid-page-size-select {
    width: auto;
    min-width: 4.5rem;
    display: inline-block;
}

.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;
}

.form-group {
    margin-bottom: 1rem;
}

table th a {
    text-decoration: none;
}

form .required > label:after {
    content:" * ";
    color:red;
}

form .ck-editor__editable {
	min-height: 400px;
}

.ck-editor__editable :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, table, thead, tbody, tr, th, td, blockquote, pre, code, a, img, figure, figcaption, hr) {
	all: revert;
}

.editor_container__word-count .ck-word-count {
	color: var(--ck-color-text);
	display: flex;
	height: 20px;
	gap: var(--ck-spacing-small);
	justify-content: flex-end;
	font-size: var(--ck-font-size-base);
	line-height: var(--ck-line-height-base);
	font-family: var(--ck-font-face);
	padding: var(--ck-spacing-small) var(--ck-spacing-standard);
}

.editor_container__word-count {
	border: 1px solid var(--ck-color-base-border);
	border-radius: var(--ck-border-radius);
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-top: none;
}

.ck-word-count__words {
	font-size: 0.75em;
}

.ck-word-count__characters {
	font-size: 0.75em;
}

div:has(> .is-invalid) ~ .invalid-feedback, div:has(> .is-invalid) ~ .invalid-tooltip {
    display: block;
}

.ck-content-frame {
    display: block;
    width: 100%;
    min-height: 80px;
    border: 0;
    background: transparent;
}

.detail-cover-image {
    max-width: 100%;
    max-height: 150px;
}

.grid-cover-image {
    max-width: 150px;
    max-height: 50px;
}

.app-main .app-content-header .row > [class*="col-"] {
    min-width: 0;
}

.app-main .app-content-header h3 {
    word-break: break-word;
    overflow-wrap: anywhere;
}

.app-main .app-content-header .breadcrumb {
    word-break: break-word;
    overflow-wrap: anywhere;
}

.user-form .js-password-toggle {
    display: flex;
    align-items: center;
}

.detail-action-bar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.detail-action-bar__start,
.detail-action-bar__end {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    flex: 0 1 auto;
}

.detail-action-bar__spacer {
    flex: 1 0 20%;
    width: 20%;
    max-width: 20%;
    min-width: 20%;
    align-self: stretch;
}

@media (max-width: 767.98px) {
    .detail-action-bar {
        flex-wrap: wrap;
    }

    .detail-action-bar__spacer {
        display: none;
    }

    .detail-action-bar__end {
        margin-left: auto;
    }
}