/* reset, layout, typography  */

      
* {
      box-sizing: border-box;
}
        
body, html {
          margin: 0;
          padding: 0;
          width: 100%;
          min-height: 100%;
          overflow-x: hidden;
          font-family: Arial, sans-serif;
}

svg {
      display: block;
}

h4 {
      color: var(--color-secondary);
}

.desktop-only {
      display: inline-block;
}
      
@media (max-width: 768px) {
      .desktop-only {
            display: none;
      }
}

.mobil-only {
      display: none;
}
      
@media (max-width: 768px) {
      .mobil-only {
            display: inline-block;
      }
}

fieldset {
            background-color: white;
            padding: 0 8px 4px 8px;
            margin: 2px;
            margin-bottom: 0;
            border-radius: 8px;
            border: 2px solid var(--color-surface-soft);
}

        fieldset:hover {
            border: 2px solid var(--color-primary);
        }

        legend {
            background-color: #f4f3f7;
            border: 1px solid #be6c6c;
            padding: 0px;
            font-size: x-small;
        }

      .sr-only {
          position:absolute;
          width:1px;
          height:1px;
          padding:0;
          margin:-1px;
          overflow:hidden;
          clip:rect(0,0,0,0);
          white-space:nowrap;
          border:0;
      }

.verified {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          width: 14px;
          height: 14px;
          border-radius: 50%;
          background: green; #22A06B; /* #1d9bf0; */
          color: white;
          font-size: 10px;
          font-weight: bold;
          line-height: 1;
}

.author-link {
      color: var(--color-primary-dark); 
      font-size: 17px; 
      font-weight: bold; 
      text-decoration: none; 
      cursor: pointer;
}

.author-link:hover {
      color: var(--color-main-navigation); 
}

.author-link.underline {
      text-decoration: underline; 
}

.author-link.underline:hover {
      color: var(--color-main-navigation); 
}

.author-link.small {
      font-size: 15px; 
}

.author-link.small:hover {
      color: var(--color-main-navigation); 
}

.intro-text {
    font-size: small;
    color: var(--color-secondary);
    display: block;
}
  
@media (max-width: 768px) {
          .intro-text {
              display: none;
          }
}
  
.intro-column {
    flex: 1 1 0;
    min-width: 0;
}

        textarea[name="expanding-textarea-reply"] {
            width: 100%;
            border: none;
            border-bottom: 2px solid #464545;
            background: transparent;
            resize: none;
            overflow: hidden;
            word-wrap: break-word;
            outline: none;
            font-size: 16px;
            padding: 5px 0;
            transition: border-bottom 0.2s ease-in-out;
        }

        textarea[name="expanding-textarea-reply"]:focus {
            border-bottom: 2px solid #007BFF; /* Změna barvy čáry při focus */
        }

        textarea[name="expanding-textarea-reply"]::placeholder {
            color: #bbb;
            transition: color 0.2s ease-in-out;
        }

        /* Odstranění černého pozadí po zavření */
        .modal-backdrop {
            background-color: transparent !important;
        }

        /* Zešedlé tlačítko, když je disabled */
        button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

      .comment-textarea {
          width: 100%;
          background-color: white;
          resize: none;
          overflow: hidden;
          word-wrap: break-word;
          outline: none;
          margin: 0 4px 0 4px;
          font-size: 16px;
          padding: 5px 3px;
          border: 2px solid var(--color-primary-dark);
          border-radius: 6px;
      
          transition: border-bottom 0.2s ease;
      }
      
      .comment-textarea:focus {
          border: 2px solid #E49A54;
      }
      
      .comment-textarea:focus::placeholder {
          color: #666;
      }

      .comment-textarea-extended {
          border: 2px solid var(--color-primary-dark);
          border-radius: 16px;
          padding-left: 10px;
          padding-bottom: 5px;
      }

      .comment-textarea-extended:focus {
          border: 3px solid #E49A54;
          padding-left: 10px;
          padding-bottom: 8px;
      }
      
      .comment-textarea-extended:focus::placeholder {
          color: #666;
      }

.discussion-title {
      white-space: normal;        /* dovolí zalomení */
      word-break: break-word;     /* láme dlouhá slova */
      display: inline;
        /*  max-width: 1200px;*/
      font-size: 20px;
      font-weight: 600;
      background-color: white; 
      color: var(--color-secondary);
}

.discussion-title a {
      text-decoration: none;
}

.discussion-title a:hover {
      text-decoration: underline;
      color: var(--color-primary-dark);
}

.discussion-heading {
    font-size: 1.3rem;
    line-height: 1.5;
}

.discussion-label {
    color: #687985;
    font-weight: 700;
    margin-right: 5px;
}

.discussion-heading a {
    color: #183D50;
    margin: 0;
    padding: 0;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
}

.discussion-heading a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.action-button-bar {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: start;
    gap: 12px;
    align-items: center;
    margin: 16px;
}

/* tlačítka se NESMÍ roztahovat */
.action-button-bar a {
    display: inline-flex;
    width: auto;
    white-space: nowrap;
}

[id^="r"]:target {
    background-color: #fff3cd;
    border-left: 4px solid orange;
    transition: background-color 1s ease;
}

@media (max-width: 768px) {

    .action-button-bar {
        grid-template-columns: repeat(2, max-content);
    }

    /* třetí prvek zabere celý řádek */
    .action-button-bar a:nth-child(3) {
        grid-column: 1 / -1;
    }
}

.help-modal {
    display: none;

    position: fixed;
    z-index: 9999;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(0,0,0,0.45);
}

.help-modal-content {
    background-color: white;

    width: 90%;
    max-width: 420px;

    margin: 10% auto;
    padding: 20px;

    border-radius: 12px;

    box-shadow: 0 4px 16px rgba(0,0,0,0.2);

    position: relative;
}

.help-close {
    position: absolute;

    right: 14px;
    top: 8px;

    font-size: 26px;

    cursor: pointer;
}

.blikajici-text {
    animation: pulse 1.2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.35;
    }
}

        .new-comment {
            animation: highlightFade 2s ease-out;
        }

        @keyframes highlightFade {
            0% {
                background-color: #007bff;
                transform: scale(1.01);
            }
            100% {
                background-color: transparent;
                transform: scale(1);
            }
        }

.comment {
    position: relative;
    padding: 5px 10px;
    list-style: none;
}

/* Vodorovná čára od parent k child */
.replies > .comment::before {
    content: "";
    position: absolute;
    top: 22px;       /* zarovnat svislou čáru s textem comment */
    left: -16px;     /* odsazení od svislé čáry parent */
    width: 20px;     /* délka vodorovné čáry */
    height: 2px;
    background: #d2dadd;
}

/* Svislá čára parent comment dolů k poslednímu přímému child */
.replies::before {
    content: "";
    position: absolute;
    top: -15px;
    bottom: 80px;
    left: -16px;
    width: 2px;
    background: #d2dadd;
}

/* Vnořené replies */
.replies {
    position: relative;
    margin-left: 20px;
    padding-left: 20px;
}

        .replies2 {
            position: relative;
            margin-left: 20px;
            padding-left: 15px;
            border-left: 2px solid #ccc; /* Vytvoří vertikální čáru */
        }

        .comment2 {
            position: relative;
            padding: 10px;
        }

        .comment2::before {
            content: "•";
            position: absolute;
            top: -10px;
            left: -15px;
            width: 15px;
            height: 2px;
            background-color: #ccc; /* Spojovací čára k rodičovskému komentáři */
        }

        .replies2 .comment2:first-child::before {
            display: none; /* Skryje spojovací čáru u prvního komentáře ve vláknu */
        }

    /*    .comment::before {
            content: "•";
            position: absolute;
            top: -5px;
            left: -17px;
            font-size: 16px;
            color: #aaa;
        }
*/
        .tooltip {
          position: relative;
          display: inline-block;
          cursor: help;
        }
        
        .tooltip::after {
          content: attr(data-hint);
          position: absolute;
          background-color: black;
          color: white;
          padding: 5px;
          border-radius: 5px;
          bottom: 100%;
          left: 50%;
          transform: translateX(-50%);
          opacity: 0;
          visibility: hidden;
          transition: opacity 0.3s;
        }

        .tooltip:hover::after {
          opacity: 1;
          visibility: visible;
        }        

        a {
           color: #224886;
            text-decoration: none;
            padding: 6px;
            border-radius: 4px;
        }
   
        a:hover {
            text-decoration: underline;
        }
   
        .input-font {
            font-size: 16px;
        }

        .child-element {
          background-color: rgb(215, 215, 215);
          padding: 10px;
          margin: 5px;
          border: 1px solid #ccc;
          transition: opacity 0.4s ease; 
        }

        #logo-container {
            margin-bottom: 0px;
            padding-bottom: 0px;
            justify-self: center;
        }

        .layout-container {
            display: flex;
            width: 100%;
            min-height: 100vh;
        }

      .left-space,
      .right-space {
            flex: 1;
            background-color: whitesmoke;
      }
            
      @media (max-width: 768px) {
            .left-space,
            .right-space {
                    display: none;
            }
      }

        .content {
            flex-shrink: 0;
            width: 100%;
            max-width: 1000px;
            min-width: 0;
            border-top: 3px solid var(--color-primary-dark);
            display: flex;
            flex-direction: column;
            height: 100vh;
        }

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        overflow-x: hidden;
    }

    .content {
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }

    .left-space,
    .right-space {
        display: none;
    }

    .dropdown-content {
        max-width: 90vw;
        white-space: normal;
    }

    svg {
        max-width: 100%;
        height: auto;
    }
}

        .header-content {
            flex-shrink: 0;
            height: 40px; /* Celková výška headeru */
            margin: 0px;
            padding-bottom: 0px;
            background-color: white;
            color: black;
            align-items: center;
            font-weight: normal;
            background-color: white;
            display: flex;
            flex-direction: column; /* Svislé uspořádání řádků */
        }
/* START */
#header-first-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 4px 10px;
}

/* zarovnání */
.header-left {
    justify-self: start;

    display: flex;
    align-items: center;
    gap: 4px;
}

.header-right {
    justify-self: end;

    display: flex;
    align-items: center;
}

.dropdown {
    cursor: pointer;
}

.dropdown:hover {
    text-decoration: underline; 
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    white-space: nowrap; /* Zabrání zalomení textu na další řádek */
    
    background-color: var(--color-background);
    border: 1px solid var(--color-primary-dark);
    border-radius: 6px;
    box-shadow: 0px 8px 16px 0px rgba(12, 11, 11, 0.2);
    padding-left: 2px;
    padding-right: 6px;
    padding-top: 6px;
    padding-bottom: 6px;

    opacity: 0;
    transform: translateY(-5px);
    pointer-events: none;

    transition: all 0.2s ease;
    z-index: 9999
}

/* otevřený stav */
.dropdown.open .dropdown-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
        
.dropdown-content a {
            color: black;
            text-decoration: none;
            border-radius: 20px;
            display: block;
            font-size: 15px; /* Zmenšení písma */
            padding-left: 4px;
            padding-right: 12px;
            padding-top: 8px;
            padding-bottom: 6px;
            line-height: 1.1; /* Lepší svislé zarovnání */
            text-align: left; /* Zarovnání textu doleva */
}

.dropdown-content a:hover {
            background-color: var(--color-primary-dark);
            color: white ;
}

.context-menu-item a {
    display: block;
    padding: 4px 16px;
    color: #222;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 15px;
}

.context-menu-item a:hover {
    background-color: #dbeeff;
}

.user-context-menu-item a {
    display: block;
    padding: 4px 16px;
    color: black;
    background-color: #dbeeff;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 15px;
}

.user-context-menu-item a:hover {
    background-color: whitesmoke;
}

/* END */

.comment-image-input {
    display: none;
}

.add-photo-button {
    display: inline-block;
    cursor: pointer;
}
        
        #header-first-row,
        #header-second-row {
            justify-content: space-between; /* Vlevo, uprostřed a vpravo */
            align-items: center; /* Vertikální vycentrování */
            width: 100%; /* Šířka řádků */
            display: flex; /* Flexbox pro oba řádky */
        }

        #header-first-row {
            height: 40px; /* Výška prvního řádku */
        }

      #header-second-row {
            height: 24px; /* Výška druhého řádku */
            background-color: var(--color-main-navigation); /* Barva pozadí druhého řádku */
            color: white; /* Barva textu v druhém řádku */
            padding: 0 8px; /* Přidá padding, aby nebyl text přímo u okraje */
            display: flex;
            align-items: center;
            width: 100%;
            display: none;
      }

      .header-second-row-left,
      .header-second-row-right {
                width: 32px;
                flex-shrink: 0;
      }
            
      #header-span-text {
                flex: 1;
                text-align: center;    
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                font-size: 17px;
      }

        #header-second-row-test span {
            font-size: 18px;
            flex: 1; /* Každý span zabere část prostoru */
            text-align: center; /* Středový text */
        }

        #header-second-row-test span:first-child {
            text-align: left; /* Levý prvek */
        }

        #header-second-row-test span:last-child {
            text-align: right; /* Posune X úplně vpravo */
            min-width: 0px; /* Ujistí se, že X nebude příliš malé */
        }

        #header-second-row a {
            font-size:18px;
            color: white; 
            font-weight: bold;
            text-decoration: none;
        }

        #header-second-row a:hover {
            font-size:18px;
            color: lightblue;
            text-decoration: none;
        }

        .main-content {
            flex-grow: 1;
            overflow-y: auto;
            text-align: left;
            background-color:  var(--color-background); /* #EDF4F3;  #e0e0e0; */
            padding-top: 0px;
            padding-left: 0px;
            padding-right: 0px;
            white-space: normal; /* Povolit zalamování řádků */
            overflow-wrap: anywhere; /* Zalomí slova okamžitě, jakmile nemají místo */
            word-break: break-word; /* Zalomení dlouhých slov */
            display: block; /* Zajistí správné zalamování uvnitř */
            width: 100%; /* Ujistí se, že text se přizpůsobí šířce */
            min-width: 0; /* Zabrání tomu, aby kontejner bránil zalomení */
        }

        .main-content-header {
            text-align: center;
            padding: 4px;
        }

        .main-content-container {
            text-align: left;
            padding: 2px;
            margin: 0px;
        }

.footer-content {
             
      margin-top: auto;            
      position: sticky;
      bottom: 0;
      
      background-color: var(--color-surface-soft);
      color: var(--color-primary-dark);
      font-size: 12px;
      
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 10px;   
      padding: 4px 10px;
      
      border-top: 2px solid var(--color-primary-dark);
      z-index: 100;
}


@media (max-width: 768px) {
          .footer-content {
              flex-direction: column;
              text-align: center;
              gap: 6px;
          }
}

.footer-content a {
      color: var(--color-primary-dark);
      text-decoration: none;
      padding: 2px 6px;
      border-radius: 6px;
}
      
.footer-content a:hover {
      color: #0d6efd;
}

        .headline {
          background-color: #224886;
          color: white;
          font-size: medium;
          font-weight: normal;
          padding: 2px;
          margin: 0px;
          width: 800px;
          margin: 1px auto 0;
          border-radius: 2px;
        }

        .form-container {
            display: flex;
            flex-direction: column;
            gap: 10px;
            max-width: 600px;
            margin: auto;
        }

        .form-group {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            align-items: center;
        }

        .form-group label {
            min-width: 120px;
            font-weight: bold;
        }

        .form-group input {
            flex-grow: 1;
            padding: 5px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }

        .button-container {
            display: flex;
            justify-content: center;
            margin-top: 15px;
        }

        /* Skryj spinner ve výchozím stavu */
        #loading-spinner {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 24px;
            color: #333;
        }

        /* Animace spinneru */
        .spinner {
            border: 4px solid rgba(0, 0, 0, 0.1);
            border-left-color: #000;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }


        /* Zvýraznění vybraného radio buttonu */
        input[type="radio"]:checked + label {
            font-weight: bold;
        }

        input[type="radio"] + label {
            font-size: 0.9em; /* nebo 14px */
        }

        /* RESPONSIVITA */
        @media (max-width: 600px) {
            .form-group {
                flex-direction: column;
                align-items: flex-start;
            }
        }
        /* tablet */
        @media (max-width: 1024px) {
            .left-space {
                display: none;
            }
        }
        
        /* mobil */
        @media (max-width: 768px) {
            .right-space {
                display: none;
            }
        }


        .categories-filter  {
          color: black;
          background-color: #E2E7EF;
          border: 1px solid var(--color-primary-dark);
          text-decoration: none;
          font-size: 13px;
          padding: 2px;
          margin: 0px;
          border-radius: 2px;
        }

        .categories-filter-selected  {
          color: white; 
          background-color: var(--color-primary-dark);
          font-size: 13px;      
          text-decoration: none;
          border: 1px solid var(--color-primary-dark);
          padding: 2px;
          border-radius: 2px;
        }

        .categories-filter:hover {
          text-decoration: none;
          font-size: 13px;
          color: white;
          background-color: var(--color-primary);
        }

        .categories-filter-selected:hover {
          text-decoration: none;
        }

      .action-button-small {
          margin-top: 4px;
          font-size: small;
          border-radius: 8px;
          background-color: transparent;
          color: var(--color-primary-dark);
          cursor: pointer;
          text-decoration: none;
      }

      .action-button-small:hover {
          text-decoration: underline;
      }

        .refresh-button {
            width: 18px;
            height: 18px;
            border: none;
            border-radius: 50%;
            font-size: 18px;
            line-height: 1;
            padding: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background-color: whitesmoke;
            color: black;
            cursor: pointer;
            box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2); /* Jemný stín */
        }

        .refresh-button:hover {
            background-color: white;
            color: darkblue;
            text-decoration: none;
        }

        .action-button {
          margin-top: 10px;
          padding: 5px 10px;
          font-size: 8px;
          border-radius: 16px;
          background-color: var(--color-primary-dark);
          color: white;
          cursor: pointer;
          text-decoration: none;
          display: inline-flex !important;
          width: auto !important;
        }

        .action-button:hover {
          background-color: var(--color-primary);
          text-decoration: none;
        }

        .action-button-inv {
          margin-top: 10px;
          padding: 5px 10px;
          font-size: 16px;
          border: 2px solid #4285f4;
          border-radius: 16px;
          background-color: white;
          color: #224886;
          cursor: pointer;
          text-decoration: none;
        }

        .action-button-inv:hover {
          background-color: rgb(230, 230, 230);
          color: #224886;
          text-decoration: none;
        }        

      .search-container {
        position: relative;
        width: 70%;
       }

       .custom-input {
          margin-top: 10px;
          padding: 5px 10px;
          height: 50px;  /* Vyšší pole */
          width: 100%;  /* Aby byly širší */
          max-width: 400px;  /* Nebo specifická šířka */
          border-radius: 16px;  /* Zaoblené rohy */
          border: 2px solid #224886;  /* Tmavě modrý rámeček */
          font-size: 16px;  /* Větší písmo pro lepší čitelnost */
          padding: 10px;  /* Větší vnitřní mezera */
          box-shadow: none;  /* Zruší standardní zvýraznění */
      }

      .custom-input:focus {
          border-color: #0044cc;  /* Světlejší modrý rámeček při zaostření */
          outline: none;  /* Zrušení modrého obrysu */
      }

      .clear-btn,
      .search-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        border: 0px;
        border-radius: 24px;
        padding: 5px 10px;
        font-size: 16px;
        height: 42px;
        cursor: pointer;
      }
  
      .clear-btn {
        left: 2px;  /* tlačítko Clear bude přesně vlevo */
        background-color: transparent;
        display: none;
      }
  
      .search-btn {
        background-color: var(--color-noncensura);
        color: white;
        right: 2px; /* tlačítko Search bude přesně vpravo */
      }

      .clear-btn:hover {
        color: grey;
      }

      .search-btn:hover {
        background-color: #e0e0e0;
        color: black;
      }

      .small-input {
          height: 30px;  /* Menší výška */
          font-size: 14px; /* Menší písmo */
          padding: 5px 10px;
      }
        
      .a-question-btn {
        border-radius: 20px;
        padding: 5px 10px;
        font-size: 16px;
        height: 24px;
        font-weight: bold;
        background-color: lightgrey;
        text-decoration: none;
        color: #224886
      }

      .a-question-btn:hover {
        border: 0px;
        background-color: transparent;
      }

      .a-head-bar-btn {
        border-radius: 20px;
        border: 1px solid #007BFF;
        padding: 3px 10px;
        margin-left: 0px;
        font-size: 13px;
        height: 30px;
        box-sizing: border-box;
        background-color: whitesmoke;
        text-decoration: none;
        color: #224886;
      }

      .a-head-bar-btn:hover {
        background-color: lightgrey;
        text-decoration: none;
        border: 1px solid #224886;
      }

      .a-head-btn {
        border: 1px solid #4285f4;
        border-radius: 8px 8px 8px 8px;
        padding: 4px 6px;
        font-size: 18px;
        height: 22px;
        background-color: white;
        text-decoration: none;
        color: #007BFF;
        font-weight: bold;
      }

      .a-head-btn-sel {
        border-radius: 8px 8px 8px 8px;
        padding: 4px 6px;
        font-size: 18px;
        height: 22px;
        background-color: lightgrey;
        text-decoration: none;
        color: #007BFF;
        font-weight: bold;
      }

      .a-head-btn:hover {
        border: 2px;
        background-color: lightgrey;
        text-decoration: none;
      }

      .a-head-btn-sel:hover {
        border: 2px;
        background-color: lightgrey;
        text-decoration: none;
      }

      .a-search-bar-btn {
        padding: 5px 10px;
        border-radius: 20px;
        font-size: medium;
        font-weight: bold;
        height: 24px;
        background-color: transparent;
        text-decoration: none;
        color: #224886;
      }

      .a-search-bar-btn:hover {
        text-decoration: underline;
        background-color: gainsboro;
      }

        .horizontal-line {
          display: flex;
          align-items: center;
          justify-content: center;
        }

        .line-text {
          padding: 0 10px; /* Přidáme odsazení kolem textu */
          border-bottom: 1px solid var(--color-primary-dark); /* Vytvoříme vodorovnou čáru */
        }

        .line-text-selected {
          padding: 0 10px; /* Přidáme odsazení kolem textu */
          border-bottom: 3px solid var(--color-primary-dark); /* Vytvoříme vodorovnou čáru */
          font-weight: bold;
        }

        .line-text-invisible {
          padding: 0 10px; /* Přidáme odsazení kolem textu */
          border-bottom: 0px solid #6f6f6f; /* Vytvoříme vodorovnou čáru */
          font-weight: normal;
        }

      .a-bold-hover2 {
            font-size: 13px;
            font-weight: normal;
            padding: 0px;
            margin-top: 3px;
            border-radius: 4px;
            color: darkblue;
            background-color: white; 
            cursor: pointer;
            }

      .a-bold-hover2:hover {
            text-decoration: none;
            font-weight: normal;
            background-color: rgba(255, 255, 255, 0.1);
            cursor: pointer;
            }

      .a-bold-hover {
            font-size: 13px;
            font-weight: normal;
            padding: 0px;
            margin-top: 3px;
            border-radius: 4px;
            color:#010101;
            background-color: rgba(255, 255, 255, 0.1);
            cursor: pointer;
            }

      .a-bold-hover:hover {
            text-decoration: none;
            font-weight: normal;
            color:#2a2b2b;
            background-color: white;
            cursor: pointer;
            }

      .a-bold-hover-selected {
            font-size: 13px;
            font-weight: bold;
            padding: 0px;
            margin-top: 3px;
            color:#010101;
            background-color: rgba(255, 255, 255, 0.1);
            cursor: pointer;
            }

      .a-bold-hover-selected:hover {
            text-decoration: none;
            font-weight: bold;
            color:#2a2b2b;
            background-color: white;
            cursor: pointer;
            }

      .bottom-bar-div {
            width: 100%;
            position: relative;
            display: flex; 
            justify-content: space-between;
            padding-top:2px; 
            margin: 2px 4px 0px 4px;  "
            border-radius: 4px;
            border-top: 1px solid var(--color-border);
            background-color: transparent;
            transition: opacity 0.2s ease; /* Adding a smooth transition effect */
      }

.parent-div {
                position: relative;
                border-radius: 4px;
                margin-bottom: 2px;
                padding-bottom: 12px;
                width: 100%;
                background-color: transparent;
                transition: opacity 0.2s ease; /* Adding a smooth transition effect */
            }

            .parent-div:hover  {
                background-color: transparent;
            }

            .text-area-frame {
              border: 2px solid var(--color-border);
              padding: 2px;
              border-radius: 10px;
              background-color: white;
              margin: 0px 3px 3px 3px;
            }
            .text-area-frame:hover {
              border: 2px solid var(--color-primary);
            }

          .text-area-frame-gradient {
                border: 1px solid #010000;
                padding: 2px;
                border-radius: 20px;
                background: linear-gradient(
                    to bottom,
                    white 0,
                    white calc(100% - 33px),
                    #010000 calc(100% - 33px),
                    #010000 calc(100% - 32px),
                    #f5f4f4 calc(100% - 32px),
                    #f5f4f4 100%
                );
                margin: 1px auto 0;
            }

            .text-area-frame2 {
              border: 1px solid #010000;
              padding: 2px;
              border-radius: 3px;
              background-color: white;
              margin: 1px auto 0;
            }

            .text-area-frame2::after {
                content: "";
                position: absolute;
                left: 0;
                right: 0;
                bottom: 0;
                height: 30px;
                background: #f5f4f4;
                pointer-events: none;
            }

            .text-area-frame-shadow {
                border: 1px solid var(--color-border);
                padding: 4px;
                border-radius: 10px;
                background-color: white;
                margin: 0;  
                box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2); /* Jemný stín */
            }

.a-diskuse  {
    display: inline-flex;
    align-items: center;
    padding: 2px;
    margin: 1px 2px 3px 2px;
    border-radius: 6px;
    border: 1px solid var(--color-primary-dark);
    background: var(--color-surface-soft);
    color: var(--color-primary-dark); 
    font-size: .85rem;
}

.a-diskuse:hover {
      text-decoration: none;
      background-color: whitesmoke;
      color: var(--color-darkblue);
}

            .a-diskuse-inv  {
            border: 1px solid var(--color-darkblue);
            background-color: white;
            color: var(--color-darkblue);         
            border-radius: 6px;
            text-decoration: none;
            padding: 2px;
            margin: 1px 2px 3px 2px;
            }

            .a-diskuse-inv:hover {
            border: 1px solid white;
            background-color: var(--color-darkblue);
            color: white;
            text-decoration: none;
            }

            .rate {
            font-size: medium;
            padding: 2px;
            margin-top: 3px;
            border-radius: 6px;
            font-weight: normal;   
            background-color: rgba(255, 255, 255, 0.1); 
            }

            .rate:hover {
                font-weight: bold;
                text-decoration: none;
                background-color: gray; 
            }

            .vote {
              font-size: medium;
              font-weight: bold;
              padding: 2px;
              margin-top: 3px;
              border-radius: 6px;
              font-size: smaller;   
          /*    background-color: rgba(255, 255, 255, 0.3); */
              background-color: transparent;  
            }
            .vote:hover {
              font-weight: bold;
              text-decoration: none;
              background-color: rgba(146, 145, 145, 0.3); 
            }

            .vote-sel {
              font-weight: bold;
              background-color: white; 
            }

            .vote-sel:hover {
              font-weight: bold;
              background-color: rgb(132, 132, 132); 
            }

            .a-xsmall-button {
                font-size: small;
                font-weight: normal;
                padding: 1px;
                margin-top: 3px;
                border-radius: 4px;
                border: 1px solid rgb(65, 1, 175);
                color: var(--color-darkblue);
                background-color: white;
                text-decoration: none;
                }

            .a-xsmall-button:hover {
                font-weight: normal;
                text-decoration: none;
                background-color: rgb(235, 235, 235); 
                color: black;
            }

                .line-text {
                padding: 0 10px; /* Přidáme odsazení kolem textu */
                border-bottom: 1px solid #6f6f6f; /* Vytvoříme vodorovnou čáru */
                }

                .line-text-selected {
                padding: 0 10px; /* Přidáme odsazení kolem textu */
                border-bottom: 3px solid #2e2e2e; /* Vytvoříme vodorovnou čáru */
                font-weight: bold;
                }

                .line-text-invisible {
                padding: 0 10px; /* Přidáme odsazení kolem textu */
                border-bottom: 0px solid #6f6f6f; /* Vytvoříme vodorovnou čáru */
                font-weight: normal;
                }

                .a-small-bold-hover {
                font-size: small;
                font-weight: normal;
                padding: 0px;
                margin-top: 3px;
                
                color:rgb(71, 31, 182);
                background-color: rgba(255, 255, 255, 0.1); 
                }
                .a-small-bold-hover-selected {
                font-size: small;
                font-weight: bold;
                padding: 0px;
                margin-top: 3px;
                color:rgb(71, 31, 182);
                background-color: rgba(255, 255, 255, 0.1); 
                }

                .a-small-bold-hover:hover {
                text-decoration: none;
                font-weight: normal;
                color:rgb(71, 31, 182);
                background-color: white;
                }

                .a-small-bold-hover-selected:hover {
                text-decoration: none;
                font-weight: bold;
                color:rgb(71, 31, 182);
                }

                #header-span-text {
                    white-space: nowrap;  /* Zabráni zalamování textu */
                    overflow: hidden;  /* Skrytí přetékajícího textu */
                    text-overflow: ellipsis;  /* Zobrazení tří teček na konci, pokud text je příliš dlouhý */
                }    

            #header-second-row {
                      display: flex;
                      width: 100%;
                      align-items: center;
            }
                  
            #header-second-row span:nth-child(2) {
                      flex: 1;
                      min-width: 0; /* KLÍČOVÉ */
            }
