
html {
    font-size: 14px;
}

body {
    font-family: "Source Code Pro", monospace;
    font-weight: 400;
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
}

.sc-logo {
    display: block;
    width: 280px;
    height: 62px;
    background-image: url("../images/header-sc-both-HlWsBQP.webp");
    background-size: 100%;
    background-position-y: 100%;
}

a, .btn-like {
    text-decoration: none;
    color: #0331ae !important;
}
a:hover, .btn-like:hover, a.active {
    color: #1b0b0b;
}

.smaller {
    font-size: smaller;
}

.font-size-inherit {
    font-size: inherit;
}

[data-bs-theme=dark] body {
    background-color: #121212;
    font-weight: 300 !important;
}

[data-bs-theme=dark] a, [data-bs-theme=dark] .btn-like {
    color: #a1a137!important;
    /*font-weight: 300 !important;*/
}

[data-bs-theme=dark] a:hover, [data-bs-theme=dark] a.active {
    color: white!important;
    /*font-weight: 300 !important;*/
}

a {
    display: inline-block;
    transition: all 0.2s ease;
}

a.no-transform:hover {
    transform: unset;
}


a:hover, .btn-like:hover {
    /*transform: scale(1.03);*/
    filter: brightness(1.1);
}

nav {
    background-color: rgba(var(--bs-light-rgb), 1) !important;
    font-weight: 500;
}

[data-bs-theme=dark] nav {
    background-color: rgba(var(--bs-dark-rgb), 1) !important;
    font-weight: 300;
}

[data-bs-theme=dark] .sc-logo {
    background-position-y: 0;
}


header.main-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0;
}

@media (min-width: 992px) {
    /* lg breakpoint */
    header.main-menu {
        position: sticky;
        top: 0;
    }
}

.cursor-pointer {
    cursor: pointer;
}

.flash-alert {
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 1.8s ease, opacity .8s ease;
    min-width: 260px;
    max-width: 360px;
}

.flash-alert--visible {
    transform: translateX(50%);
    opacity: 1;
}

@media (max-width: 991.98px) {

    .flash-alert--visible {
        transform: translateX(0%);
        opacity: 1;
    }

}

.flash-alert--hiding {
    transform: translateX(-120%);
    opacity: 0;
}


/* Normálně dropdown = dolů */
.mobile-dropup {
    position: relative;
}

/* Na mobilech dropup */
@media (max-width: 991.98px) {
    /* < lg */
    .mobile-dropup .dropdown-menu {
        top: auto !important;
        bottom: 100% !important;
        margin-top: 0 !important;
        margin-bottom: .125rem !important;
    }

    .mobile-dropup .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}


.icon-size-10 {
    width: 1rem;
    height: 1rem;
}

.icon-size-12 {
    width: 1.2rem;
    height: 1.2rem;
}

.icon-size-15 {
    width: 1.5rem;
    height: 1.5rem;
}

.sc-picture-thumb {
    filter: brightness(0.7);
    transition: filter 0.2s ease;
}

div:has(> .sc-picture-thumb):hover {
    .sc-picture-thumb {
        filter: brightness(1);
    }
}


.random-photo {
    opacity: 0;
    transition: opacity .4s ease;
}

.random-photo.loaded {
    opacity: 1;
}

.preview-content {
    display: -webkit-box;
    -webkit-line-clamp: 8;      /* počet řádků, které chceš zobrazit */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.divider {
    margin: 3rem auto;
    height: 1px;
    width: 80%;
    background: linear-gradient(90deg, hsl(0, 0%, 100%), hsl(0, 0%, 80%), hsl(0, 0%, 100%));
}

[data-bs-theme=dark] .divider {
    background: linear-gradient(90deg, hsl(0, 0%, 7%), hsl(0, 0%, 30%), hsl(0, 0%, 7%));
}

.accordion-body, .accordion-item {
    background: inherit;
}

dl.history-list dd {
    margin-bottom: 1rem;
}

dl.history-list dt {
    text-transform: uppercase;
}


.search-widget::placeholder {
    font-weight: 200;
    opacity: 0.7;
    font-size: 0.8rem;
}

