@font-face {
    font-family: 'a song for jennifer';
    src: url('a_song_for_jennifer/a-song-for-jennifer.ttf');
}

@font-face {
    font-family: 'Georgia Pro black';
    src: url('georgia-pro-black-maisfontes.200f/georgia-pro-black.ttf');
}

@font-face {
    font-family: 'Libre Baskerville';
    src: url('Libre_Baskerville/LibreBaskerville-Regular.ttf');
}

@font-face {
    font-family: 'Roboto';
    src: url('Roboto/Roboto-VariableFont_wdth,wght.ttf');
}

@font-face {
    font-family: 'Manrope';
    src: url('Manrope/Manrope-VariableFont_wght.ttf');
}

@font-face {
    font-family: 'Allura';
    src: url('Allura/Allura-Regular.ttf');
}

@font-face {
    font-family: 'Architects Daughter';
    src: url('Architects_Daughter/ArchitectsDaughter-Regular.ttf');
}

@font-face {
    font-family: 'Great Vibes';
    src: url('Great_Vibes/GreatVibes-Regular.ttf');
}

@font-face {
    font-family: 'Patrick Hand';
    src: url('Patrick_Hand/PatrickHand-Regular.ttf');
}

@font-face {
    font-family: 'Pinyon Script';
    src: url('Pinyon_Script/PinyonScript-Regular.ttf');
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('Cormorant_Garamond/CormorantGaramond-VariableFont_wght.ttf');
}

@font-face {
    font-family: 'EB Garamond';
    src: url('EB_Garamond/EBGaramond-VariableFont_wght.ttf');
}


.eb-garamond {
    font-family: "EB Garamond", serif;
}

.cormorant-garamond {
    font-family: "Cormorant Garamond", serif;
}

.pinyon-script {
    font-family: "Pinyon Script", cursive;
}

.patrick-hand {
    font-family: "Patrick Hand", cursive;
}

.great-vibes {
    font-family: "Great Vibes", cursive;
}

.architects-daughter {
    font-family: "Architects Daughter", cursive;
}

.allura {
    font-family: "Allura", cursive;
}

.manrope {
    font-family: "Manrope", sans-serif;
}

.roboto {
    font-family: "Roboto", sans-serif;
}

.libre-baskerville {
    font-family: "Libre Baskerville", serif;
}

.spiramento {
    font-family: "a song for jennifer", serif;
}

.color {
    color: #660033;
}

.pasmo {
    font-family: "Georgia Pro black", serif;
}

.bi-icon {
    font-size: 75px;
    transition: 0.5s;
    color: var(--bs-body-color);
}

.bi-icon:hover {
    color: var(--bs-primary);
}

.add-modal-button {
    font-size: 25px;
}

.table {
    vertical-align: middle;
}

.table>thead {
    vertical-align: middle;
}

.vertical-center {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.vh-75 {
    height: 75vh;
}

table {
    page-break-inside:auto;
}
tr {
    page-break-inside:avoid;
    page-break-after:auto
}

tbody {
    page-break-inside:avoid;
}

li {
    page-break-inside: avoid;
}

.hidden {
    display: none !important;
}

.moveable {
    cursor: move;
}

.stats {
    min-height: 20px;
}

@media (max-width: 768px) {
    .places-container-wrapper {
        display: flex !important;
        flex-direction: column !important;
        overflow-x: visible !important;
    }

    .place-column {
        flex: 1 1 auto !important;
        min-width: 100% !important;
    }
}


@media print {
    html[data-bs-theme="dark"] {
        color-scheme: light !important;
    }

    :root {
        color-scheme: light !important;
        --bs-body-bg: #fff;
        --bs-body-color: #212529;
    }

    body {
        background-color: #fff !important;
        color: #212529 !important;
    }

    .table, .table th, .table td {
        background-color: #fff !important;
        color: #212529 !important;
        border-color: #dee2e6 !important;
    }

    .bg-body-tertiary, .navbar, .card, .list-group-item {
        background-color: #fff !important;
    }

    /* Pouze prvky bez inline stylů dostanou černou barvu */
    p:not([style*="color"]),
    h1:not([style*="color"]),
    h2:not([style*="color"]),
    h3:not([style*="color"]),
    h4:not([style*="color"]),
    h5:not([style*="color"]),
    h6:not([style*="color"]),
    div:not([style*="color"]),
    span:not([style*="color"]) {
        color: #212529 !important;
    }

    .no-print {
        display: none !important;
    }

    nav, footer {
        display: none !important;
    }

    .container {
        max-width: 99%;
        margin: 0;
        padding: 0;
    }

    .table-porota {
        width: 200px;
    }

    .page-break-before {
        page-break-before: always;
    }

    .page-break-after {
        page-break-after: always;
    }
}


@media (min-width: 1400px) {
    .px-xxl-10 {
        padding-right: 10rem !important;
        padding-left: 10rem !important;
    }
}

@media (min-width: 1200px) {
    .px-xl-8 {
        padding-right: 8rem !important;
        padding-left: 8rem !important;
    }
}

.top-25 {
    top: 25% !important;
}

body .select2-container--bootstrap-5 .select2-selection {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border: var(--bs-border-width) solid var(--bs-border-color);
}

body
.select2-container--bootstrap-5.select2-container--focus
.select2-selection,
body
.select2-container--bootstrap-5.select2-container--open
.select2-selection {
    border-color: var(--bs-link-hover-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

body
.select2-container--bootstrap-5
.select2-selection--multiple
.select2-selection__clear,
body
.select2-container--bootstrap-5
.select2-selection--single
.select2-selection__clear {
    background: transparent
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23676a6d'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e")
    50%/0.75rem auto no-repeat;
}
body
.select2-container--bootstrap-5
.select2-selection--multiple
.select2-selection__clear:hover,
body
.select2-container--bootstrap-5
.select2-selection--single
.select2-selection__clear:hover {
    background: transparent
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e")
    50%/0.75rem auto no-repeat;
}
body .select2-container--bootstrap-5 .select2-dropdown {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: var(--bs-link-hover-color);
}

body
.select2-container--bootstrap-5
.select2-dropdown
.select2-search
.select2-search__field {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
}
body
.select2-container--bootstrap-5
.select2-dropdown
.select2-search
.select2-search__field:focus {
    border-color: var(--bs-link-hover-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
body
.select2-container--bootstrap-5
.select2-dropdown
.select2-results__options
.select2-results__option.select2-results__message {
    color: #6c757d;
}
body
.select2-container--bootstrap-5
.select2-dropdown
.select2-results__options
.select2-results__option.select2-results__option--highlighted {
    color: var(--bs-body-color);
    background-color: var(--bs-light-bg-subtle) !important;
}
body
.select2-container--bootstrap-5
.select2-dropdown
.select2-results__options
.select2-results__option.select2-results__option--selected,
body
.select2-container--bootstrap-5
.select2-dropdown
.select2-results__options
.select2-results__option[aria-selected="true"]:not(
        .select2-results__option--highlighted
    ) {
    color: var(--bs-body-color);
    background-color: var(--bs-dark-bg-subtle);
}
body
.select2-container--bootstrap-5
.select2-dropdown
.select2-results__options
.select2-results__option.select2-results__option--disabled,
body
.select2-container--bootstrap-5
.select2-dropdown
.select2-results__options
.select2-results__option[aria-disabled="true"] {
    color: #6c757d;
}
body
.select2-container--bootstrap-5
.select2-dropdown
.select2-results__options
.select2-results__option[role="group"]
.select2-results__group {
    color: #6c757d;
}
body
.select2-container--bootstrap-5
.select2-selection--single
.select2-selection__rendered {
    color: var(--bs-body-color);
}
body
.select2-container--bootstrap-5
.select2-selection--single
.select2-selection__rendered
.select2-selection__placeholder {
    color: #6c757d;
}
body
.select2-container--bootstrap-5
.select2-selection--multiple
.select2-selection__rendered
.select2-selection__choice {
    color: var(--bs-body-color);
    border: var(--bs-border-width) solid var(--bs-border-color);
}

body
.select2-container--bootstrap-5.select2-container--disabled
.select2-selection,
body
.select2-container--bootstrap-5.select2-container--disabled.select2-container--focus
.select2-selection {
    color: #6c757d;
    background-color: var(--bs-light-bg-subtle);
    border-color: var(--bs-dark-bg-subtle);
}
.is-valid + body .select2-container--bootstrap-5 .select2-selection,
.was-validated
select:valid
+ body
.select2-container--bootstrap-5
.select2-selection {
    border-color: #198754;
}
.is-valid
+ body
.select2-container--bootstrap-5.select2-container--focus
.select2-selection,
.is-valid
+ body
.select2-container--bootstrap-5.select2-container--open
.select2-selection,
.was-validated
select:valid
+ body
.select2-container--bootstrap-5.select2-container--focus
.select2-selection,
.was-validated
select:valid
+ body
.select2-container--bootstrap-5.select2-container--open
.select2-selection {
    border-color: #198754;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}
.is-invalid + body .select2-container--bootstrap-5 .select2-selection,
.was-validated
select:invalid
+ body
.select2-container--bootstrap-5
.select2-selection {
    border-color: #dc3545;
}
.is-invalid
+ body
.select2-container--bootstrap-5.select2-container--focus
.select2-selection,
.is-invalid
+ body
.select2-container--bootstrap-5.select2-container--open
.select2-selection,
.was-validated
select:invalid
+ body
.select2-container--bootstrap-5.select2-container--focus
.select2-selection,
.was-validated
select:invalid
+ body
.select2-container--bootstrap-5.select2-container--open
.select2-selection {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.ck-rounded-corners .ck-button:hover {
    color: var(--bs-body-color)!important;
    background-color: var(--bs-light-bg-subtle)!important;

}

.ck-list, .ck-content, .ck-rounded-corners .ck.ck-button, .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar, .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se  {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

.ck-content {
    background-color: var(--bs-body-bg)!important;
}

.template-item {
    cursor: pointer;
    border: 1px solid #dee2e6;
    transition: all 0.2s;
}
.template-item:hover {
    border-color: #007bff;
    background-color: #f8f9fa;
    color: #007bff;
}
.template-item:hover .text-muted {
    color: black!important;
}
.template-item.selected {
    border-color: #007bff;
    background-color: #e3f2fd;
    color: #007bff;
}

.template-item.selected .text-muted {
    color: black!important;
}
.ck-editor__editable {
    min-height: 300px;
}

