@charset "UTF-8";

:root {
    --dev-header-color: var(--color-gold);
}

html,
body {
    scroll-padding-top: 118px;
    background-color: var(--color-gray-light);
}

header>.navbar {
    background-color: var(--dev-header-color);
    box-shadow: 0px 1px 2px lightgray;
}

header>.sub-header {
    display: flex;
    align-items: center;
    column-gap: 1rem;
    background-color: var(--color-gray-gold);
    box-shadow: 0px 3px 5px lightgray;
}

header>.sub-header>*:not(.btn) {
    margin-bottom: 0;
    font-weight: bold;
}

footer {
    display: flex;
}

.badge.publish-0 {
    background-color: rgb(var(--bs-danger-rgb));
}

.badge.publish-1 {
    background-color: rgb(var(--bs-warning-rgb));
}

.badge.publish-2 {
    background-color: rgb(var(--bs-success-rgb));
}

img.logo,
p.logo {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border: solid 2px gray;
    background-color: white;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0;
}

img.thumbnail,
p.thumbnail {
    max-width: 480px;
    aspect-ratio: 16/9;
    border: solid 1px gray;
    background-color: white;
    border-radius: 4px;
    object-fit: cover;
    margin-bottom: 0;
}

p.logo.logo-empty,
p.thumbnail.thumbnail-empty {
    background-color: lightgray;
}

span.tag,
label.tag-checkbox {
    padding: 0.35rem 1rem;
    background-color: lightgray;
    border-radius: 0.35rem;
    margin: 0.15rem;
    cursor: pointer;
}

label.tag-checkbox:hover,
.tags input[type=checkbox]:checked+label.tag-checkbox,
.tags input[type=radio]:checked+label.tag-checkbox {
    background-color: gray;
}

dl.data-list {
    margin: 0;
}

dl.data-list>div {
    display: flex;
    align-items: stretch;
    border-bottom: dotted 1.5px lightgray;
    padding: 0.35rem 0;
}

dl.data-list>div>dt {
    display: flex;
    align-items: center;
    flex: 0 0 11rem;
    font-weight: bold;
}

dl.data-list>div>dd {
    display: flex;
    align-items: center;
    flex-flow: wrap;
    margin: 0;
    padding-left: 0.5rem;
    border-left: solid 1.5px gray;
}

.card-img-top {
    background-color: lightgray;
    object-fit: contain;
}

.case-card .card-img-top {
    height: 200px;
}

.planner-card .card-img-top {
    height: 100px;
}

.block-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 300;
}

.block-link:hover {
    background-color: white;
    opacity: 0.2;
}

.control-bottom {
    position: sticky;
    bottom: 0;
    z-index: 1020;
    width: 100%;
    background-color: rgba(245, 245, 245, 0.4);
    padding: 2rem 0;
    backdrop-filter: blur(2px);
}

.bs-icon {
    width: 1.6rem;
}

.input-group {
    background-color: white;
}

.toast {
    position: fixed;
    right: 16px;
    bottom: 16px;
}

.sort-param {
    margin-left: 1rem;
    font-size: 12px;
}

.aspect-ratio-1x1 {
    aspect-ratio: 1/1;
}
