/*!
 * Gov Design System
 * Copyright(c) 2020 - 2022 Ministerstvo vnitra Ceske republiky
 * Copyright(c) 2020 - 2022 Zdenek Vitek
 * Copyright(c) 2020 - 2022 Lukas Nulicek
 * EUPL v1.2 Licensed
 *
 * Version 3.4.0
 */
@media print {
    :root {
        --gov-color-blue: #2362a2;
        --gov-color-grey-dark: #3b3b3b;
        --gov-color-white: #ffffff;
        --gov-color-blue-dark: #254e80;
        --gov-color-blue-focus: #007bff;
        --gov-color-blue-light: #3077b7;
        --gov-color-blue-inactive-1: #91b0d0;
        --gov-color-blue-inactive-2: #d3dfec;
        --gov-color-blue-inactive-3: #edf0f2;
        --gov-color-blue-hover: #e5ebf0;
        --gov-color-grey-mid: #686868;
        --gov-color-grey-light: #a8a8a8;
        --gov-color-grey-inactive: #dddddd;
        --gov-color-grey-bg: #f5f5f5;
        --gov-color-yellow: #ecae1a;
        --gov-color-yellow-dark: #dd9f0c;
        --gov-color-error: #c52a3a;
        --gov-color-success: #6fbd2c;
        --gov-color-grey-dark-rgb: 59, 59, 59;
        --gov-color-white-rgb: 255, 255, 255
    }

    blockquote,.gov-blockquote {
        padding-left: 1.25rem;
        background-color: var(--gov-color-white);
        border-left: 4px solid var(--gov-color-grey-dark);
        font-size: 12pt;
        break-inside: avoid;
        page-break-inside: avoid;
        position: initial
    }

    blockquote:before,blockquote:after,.gov-blockquote:before,.gov-blockquote:after {
        display: none
    }

    h1,h2,h3,h4,.gov-title {
        break-inside: avoid;
        page-break-after: avoid;
        page-break-inside: avoid
    }

    h1,.gov-title--alpha {
        margin-bottom: .625rem;
        font-size: 30pt
    }

    h2,.gov-title--beta {
        margin-bottom: .625rem;
        font-size: 21pt
    }

    h3,.gov-title--gamma {
        font-size: 15pt;
        line-height: 1.4
    }

    h4,.gov-title--delta {
        font-size: 9pt
    }

    ul,.gov-list {
        margin-left: .3125rem;
        list-style-type: disc;
        list-style-position: inside
    }

    ol,.gov-ordered-list {
        margin-left: .3125rem;
        list-style-type: decimal;
        list-style-position: inside
    }

    .gov-note {
        font-size: 11pt;
        line-height: 1.5
    }

    @page {
        size: auto;
        margin: 20mm 15mm 20mm 15mm
    }

    html,body,div,p,section,span,a {
        overflow: visible !important
    }

    .gov-portal-nav,.gov-portal-subnav,.gov-hamburger {
        display: none
    }

    .gov-breadcrumbs,.gov-pagination {
        display: none
    }

    .gov-search,.gov-polar-question,.gov-fileinput {
        display: none
    }

    button,.gov-button,img {
        display: none
    }

    .gov-slider-bar,.gov-feedback-bar,.gov-partners-bar {
        display: none
    }

    .gov-container__content,.gov-content-block,.gov-accordion,.gov-tabs__content,.gov-form-control,.gov-alert {
        position: initial
    }

    p,.gov-paragraph {
        color: var(--gov-color-grey-dark);
        font-size: 12pt
    }

    .gov-alert {
        align-items: flex-start;
        justify-content: flex-start;
        padding-left: 0;
        background-color: var(--gov-color-white);
        border-top: 1px solid var(--gov-color-grey-inactive);
        border-bottom: 1px solid var(--gov-color-grey-inactive)
    }

    .gov-alert:before {
        color: var(--gov-color-grey-dark) !important
    }

    .gov-form-control {
        page-break-inside: avoid
    }

    .gov-form-control:not(.gov-form-control--custom) {
        display: flex;
        flex-direction: column-reverse
    }

    .gov-form-control:not(.gov-form-control--custom) .gov-form-control__label {
        position: relative;
        margin-bottom: .625rem
    }

    .gov-form-control--custom .gov-form-control__indicator {
        display: none
    }

    .gov-form-control--custom .gov-form-control__label {
        padding-left: 0
    }

    .gov-form-control__datepicker:after {
        display: none
    }

    .gov-form-control .gov-select:after {
        display: none
    }

    .gov-logo--inversed {
        color: var(--gov-color-blue) !important
    }

    .gov-pictogram--inversed {
        color: var(--gov-color-blue)
    }

    .gov-accordion__header {
        padding: .625rem 0;
        padding-top: 1.25rem;
        padding-left: 0 !important
    }

    .gov-accordion__header:not(:first-of-type) {
        border-top: 1px solid var(--gov-color-grey-inactive)
    }

    .gov-accordion__header:before,.gov-accordion__header:after {
        display: none
    }

    .gov-accordion__content {
        display: block !important;
        height: auto;
        visibility: visible
    }

    .gov-accordion__content-inner {
        padding-left: 0;
        padding-top: 0
    }

    .gov-accordion--as-section>.gov-accordion__header,.gov-accordion--as-section>.gov-accordion__content>.gov-accordion__content-inner {
        padding-left: 0;
        padding-right: 0
    }

    .gov-aside {
        padding-top: 1.25rem;
        padding-left: 0 !important
    }

    .gov-container {
        padding: 0
    }

    .gov-container__content {
        margin-left: 0
    }

    .gov-content-block {
        padding: 1.25rem 0
    }

    .gov-content-block hr.gov-content-block__separator {
        margin-left: 0;
        margin-right: 0
    }

    .gov-grid {
        display: block
    }

    .gov-grid-tile,a.gov-grid-tile {
        padding-left: 0 !important;
        padding-right: 0 !important;
        page-break-inside: avoid
    }

    .gov-grid-tile:before,a.gov-grid-tile:before {
        display: none
    }

    a.gov-grid-tile .gov-preview-tile__headline:after {
        display: none
    }

    .gov-link--inversed {
        color: var(--gov-color-grey-dark)
    }

    .gov-link--inversed>* {
        color: var(--gov-color-grey-dark)
    }

    .gov-link--inversed:visited,.gov-link--inversed:visited>* {
        color: var(--gov-color-grey-dark)
    }

    .gov-stepper__step {
        padding: 0;
        padding-top: 1.25rem;
        text-align: left
    }

    .gov-stepper__step-number {
        margin-left: 0;
        margin-bottom: 0
    }

    .gov-tabs__links-holder {
        display: none
    }

    .gov-tabs__content {
        position: relative;
        display: block;
        padding-top: 1.25rem;
        visibility: visible
    }

    .gov-tabs__content:not(:first-of-type):before {
        content: "";
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: -1px;
        height: 1px;
        background-color: var(--gov-color-grey-inactive)
    }

    .gov-category-list__inner {
        display: block
    }

    .gov-category-list__nav-link {
        display: inline
    }

    .gov-category-list__col:last-child .gov-category-list__col-inner:last-of-type {
        border-bottom: 0
    }

    .gov-category-list__col-inner {
        padding-top: .9375rem;
        border-bottom: 1px solid var(--gov-color-grey-inactive)
    }

    .gov-category-list__back-btn {
        display: none
    }

    .gov-category-list__subcategories .gov-category-list__col-inner,.gov-category-list__tasks .gov-category-list__col-inner {
        display: block
    }

    .gov-category-list .gov-search {
        display: none
    }

    .gov-footer {
        page-break-inside: avoid
    }

    .gov-footer hr {
        border-color: var(--gov-color-grey-inactive)
    }

    .gov-footer__scroll-up {
        display: none
    }

    .gov-header {
        background-color: var(--gov-color-white);
        border-bottom: 1px solid var(--gov-color-grey-inactive)
    }

    .gov-header__logo .gov-pictogram {
        color: var(--gov-color-blue) !important
    }

    .gov-header__site-name {
        color: var(--gov-color-blue)
    }

    .gov-header__right,.gov-header__overlay,.gov-header__nav,.gov-header__separator {
        display: none
    }

    .gov-portal-header {
        background-color: var(--gov-color-white);
        border-bottom: 1px solid var(--gov-color-grey-inactive)
    }

    .gov-portal-header__column:last-of-type {
        display: none
    }

    .u-bg-color--blue,.u-bg-color--blue-hover,.u-bg-color--blue-light,.u-bg-color--grey,.u-bg-color--grey-dark {
        background-color: var(--gov-color-white)
    }

    .u-color--grey-light {
        color: var(--gov-color-grey-dark)
    }

    .u-color--white {
        color: var(--gov-color-grey-dark)
    }

    .u-screen--only {
        display: none
    }
}


@media print {
    header {
        display: none !important; /* Skryje <header> */
    }

    .gov-tabs__content-holder,kategorie-box,archiv-icon{
        display: none !important; /* Skryje <header> */
    }

    .gov-grid-tile p{
        display: none !important; /* Skryje <header> */
    }

    #menu{
        display: none !important; /* Skryje <header> */
    }

    .archiv-icon{
        display: none !important; /* Skryje <header> */
    }

    footer{
        display: none !important; /* Skryje <header> */
    }

    .l{
        display: none !important; /* Skryje <header> */
    }

    #printButton{
        display: none !important; /* Skryje <header> */
    }

    #math-modal{
        display: none !important; /* Skryje <header> */
    }
    
    .form-control-switch{
         display: none !important; /* Skryje <header> */
    }
    
    .form-wrapper{
          display: none !important; /* Skryje <header> */ 
    }
    

    a{
        color:black !important;
    }

    #prilohy a{
        color:black !important;
        display: block;
    }

    #prilohy a {
        color: #000 !important;
        text-decoration: underline !important;
        font-family: Arial, sans-serif !important; /* Explicitní font */
        font-size: 12pt !important; /* Viditelná velikost textu */
        color: #000 !important; /* Černá barva textu */
        background: none !important; /* Odstraní barvu pozadí */
        padding: 0 !important; /* Odstraní případné polstrování */
        border: none !important; /* Odstraní rámeček */
        display: block !important;
        -webkit-text-fill-color: #000000;
    }

    #prilohy a::after {
        font-size: 90%;
        color: #000; /* Šedá barva URL pro odlišení od hlavního textu */
    }

    #seznamDokumentu {
        display: table !important;
        table-layout: auto !important;
        width: 100% !important;
    }

    /* Zobraz vždy druhý sloupec: "Název dokumentu" */
    #seznamDokumentu thead tr th:nth-child(2),
    #seznamDokumentu tbody tr td:nth-child(2) {
        display: table-cell !important;
        visibility: visible !important;
        color: black !important;
    }

    /* Skryj ovládací prvky, např. tlačítko tisk */
    #printButton {
        display: none !important;
    }

    /* Nepřepisuj buňky šířky */
    .gov-table__cell--wide {
        display: table-cell !important;
        white-space: normal !important;
    }

    /* Vypnout případné přepisování z vládních stylů */
    .gov-hidden, .gov-visually-hidden {
        display: table-cell !important;
        position: static !important;
        height: auto !important;
        width: auto !important;
        overflow: visible !important;
        clip: auto !important;
    }
    
      #seznamDokumentu td:nth-child(2),
  #seznamDokumentu th:nth-child(2) {
    color: #000 !important;
    background: none !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    -webkit-text-fill-color: initial !important;
  }

  /* Zobrazit všechny buňky správně */
  .gov-table__cell--wide {
    color: #000 !important;
    background: none !important;
  }

  /* Ujistit se, že žádná barva textu není transparentní */
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    color: #000 !important;
  }
  
  
    table, tr, td, th {
    border: none !important;
    border-collapse: collapse !important;
  }

  /* Zrušit padding/margin a výplně, které by vytvářely mezery */
  td, th {
    padding: 0.2em !important;
    margin: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }

  /* Odstranit výšku řádků, která by mohla vynucovat prázdný prostor */
  tr {
    height: auto !important;
  }

  /* Odstranit případné podtržení z odkazů */
  a {
    text-decoration: none !important;
    color: black !important;
  }

  /* Volitelně zruš pozadí zvýrazněných řádků (např. .sel) */
  .sel {
    background: none !important;
  }
}

