body, h1, h2, p, ul, li {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f9f9f9;
        }
        header {
            text-align: center;
            padding: 20px;
        }
        header h1{
    font-size: 2rem;
    margin-bottom: 0;
    text-transform: uppercase;
    color: #1a5389;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align:center;
}
h1{
    font-size: 2rem;
    margin-bottom: 10px;
    color: #1a5389;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align:center;
}
        .container {
            max-width: 1200px;
            margin: 20px auto;
            padding: 20px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        #vizitky .container {
            max-width: 100%;
        }
        .container h2 {
    font-size: 35px;
    color: #c68a45;
    margin-bottom: 15px;
    text-align: center;
}
        #zpravy .container h2 {
            color: #725716;
            margin-bottom: 0px;
            text-align: left;
        }
        .container img {
            width: 100%;
            max-width: 500px;
            margin: 20px 0;
            border-radius: 8px;
            display: block;
        }
        #zpravy .container img {
            margin: 0px 30px;
        }
        .container p {
            font-size: 1rem;
            margin-bottom: 15px;
            line-height: 1.8;
            /*text-align: justify;*/
        }
        .continue-btn {
            display: block;
            width: 200px;
            margin: 20px auto;
            padding: 10px 20px;
            text-align: center;
            cursor: pointer;
            font-size: 1.2rem;
            color: white;
            background-color: #d32300;
            text-decoration: none;
            border-radius: 5px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
            transition: background-color 0.3s ease, transform 0.2s ease;
        }
        .stop-btn {
            display: block;
            width: 200px;
            margin: 20px auto;
            padding: 10px 20px;
            text-align: center;
            cursor: pointer;
            font-size: 1.2rem;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
            transition: background-color 0.3s ease, transform 0.2s ease;
        }        
         .stop-btn {
            background-color: #a50000;
        }         
        .continue-btn:hover {
            background-color: #d32300;
            transform: translateY(-2px);
        }
        .continue-btn:active {
            background-color: #d32300;
            transform: translateY(0);
        }

        .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}
        .gallery.mc{
    background-position: right;
    background-repeat: no-repeat;
}
        .gallery.rodina{
    background-position: right;
    background-repeat: no-repeat;
}
        .gallery.skola{
    background-position: right;
    background-repeat: no-repeat;
}
        .gallery.bar{
    background-position: right;
    background-repeat: no-repeat;
}
        .gallery.atletika{
    background-position: right;
    background-repeat: no-repeat;
}
        .gallery{
    min-height:446px;
}
        .gallery.tablo{
    min-height:0px;
}

        .card {
            text-align: center;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 8px;
            background-color: #f9f9f9;
        }

        .card img {
            max-width: 100%;
            height: auto;
            border-radius: 10%;
            margin-bottom: 10px;
        }

        .card h3 {
            margin: 0;
        }

        .card p {
            color: #555;
            font-style: italic;
        }

        .card button {
            margin-top: 10px;
            padding: 5px 15px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        .card button:hover {
            background-color: #0056b3;
        }

        @media (max-width: 768px) {
            .card {
                padding: 8px;
            }
        }

        .card span img {
            vertical-align: middle;
            margin-left: 5px;
        }

        .card img.icon {
            width: 20px;
            height: 20px;
            vertical-align: middle;
            margin-left: 5px;
        }

        .card.suspicious {
            background-color:#ffcccc;;
        }
        
        .card-header {
    text-align: center;
    margin-bottom: 0px;
    text-decoration: none;
}

.profile-pic {
    width: 100%;
    height: auto;
    border-radius: 10%;
    display: block;
    margin: 0 auto;
}

h3 {
    font-size: 1rem;
    color: #333;
}

.nickname {
    font-size: 1rem;
    color: #666;
    text-align:center;
}

.card-icons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin: 10px 0;
}

.status-icons, .suspect {
    text-align: center;
}

.status-icons .icon, .suspect .icon, .questions .icon {
    width: 30px;
    height: 30px;
    margin: 5px;
}

.suspect input[type="checkbox"] {
    margin-left: 5px;
}

.additional-info {
    margin-top: 10px;
    text-align: center;
}

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

.questions p {
    margin-left: 5px;
    font-size: 1rem;
    color: #333;
}

.absent {
    font-size: 0.9rem;
    color: #888;
}

.interrogation-button button {
    background-color: #8bb5b3;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.interrogation-button button:hover {
    background-color: #a50000;
}
.card-header h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #333;
    margin: 0;
    text-align: center;
}

.card-header .status-icons {
    margin-left: 10px;
    display: flex;
    gap: 0px; /* mezera mezi ikonami */
}

.card-header .status-icons .icon {
    width: 20px;
    height: 20px;
}
.card-icons {
    display: flex;
    align-items: center;
    gap: 10px; /* Mezery mezi ikonami */
}

.card-icons .icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.card-icons input[type="checkbox"] {
    display: none; /* Schová zaškrtávací pole, zůstane pouze ikona */
}

.card-icons .questions, .card-icons .suspect, .card-icons .interrogation-button {
    display: inline-flex;
    align-items: center;
}
.card-icons {
    display: flex;
    align-items: center;
    gap: 10px; /* Mezery mezi prvky */
    min-height:70px;
}

.card-icons .icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.card-icons input[type="checkbox"] {
    display: none; /* Schová checkbox */
}

/* Styl pro dynamickou ikonu otázky */
.card-icons .questions .question-icon {
    position: relative;
    width: 30px;
    height: 30px;
    background-color: #f0f0f0;
    border: 2px solid #8bb5b3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: #8bb5b3;
    font-size: 1rem;
    cursor: default;
}

.card-icons .questions .question-icon .question-number {
    position: relative;
    z-index: 1;
}
.question-number:hover{
cursor: pointer;
}
/* Styl pro kartu nevraha */
.card.not-murderer {
    background-color: #d4edda; /* Světle zelené pozadí */
    border-color: #c3e6cb;    /* Zelené orámování */
}

.card.dead {
    background-color: #c5c3c3bf; /* Světle zelené pozadí */
    border-color: gray;    /* Zelené orámování */
}
.vizitkainfo{
min-height:80px;
}
.card-header .status-icons .icon {
    width: 20px; /* Nastavení velikosti ikony */
    height: 20px;
    margin-left: 5px; /* Mezery mezi ikonami */
}
.card-header .status-icons {
    display: flex; /* Flexbox pro zarovnání ikon vedle sebe */
    align-items: center; /* Vertikální zarovnání ikon na střed */
}

.card-header .status-icons .icon {
    margin-right: 10px; /* Mezera mezi ikonami */
    width: 20px; /* Nastavení velikosti ikon */
    height: 20px;
}

.card-header .status-icons a {
    display: inline-block;
}
#tip img.profile-pic{
width:100px;
}
        .questions {
            margin-top: 20px;
        }

        .questions select {
            padding: 10px;
            width: 100%;
            font-size: 16px;
        }

        .answer {
            margin-top: 20px;
            font-size: 16px;
            font-weight: bold;
        }

        .disabled {
            background-color: #f0f0f0;
            cursor: not-allowed;
        }
    /* Stylování pro menu */
    nav {
        background-color: #8bb5b3;
        padding: 10px 0;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    .menu {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
    }
    .menu li {
        margin: 0 15px;
    }
    .menu a {
        text-decoration: none;
        color: white;
        font-size: 1.1rem;
        font-weight: bold;
        transition: color 0.3s;
    }
    .menu a:hover {
        color: #ffc107;
    }
    @media (max-width: 768px) {
        .menu {
            flex-direction: column;
            align-items: center;
        }
        .menu li {
            margin: 10px 0;
        }
    }
#tip .participants {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            justify-content: space-evenly;
        }

#tip .participant {
            width: 200px; /* Šířka karty */
            padding: 15px;
            background-color: #f4f4f4;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            text-align: center;
        }

#tip .participant img {
    width: 180px;
    height: auto;
    object-fit: cover;
    text-align: center;
    border-radius: 10%;
    margin-bottom: 10px;
    margin: auto;
}
#tip .participant .name {
margin-top:20px;
font-weight:bold;
}

        #tip .participant span {
            display: block;
            margin: 5px 0;
        }

        #tip .participant input {
            margin-top: 10px;
        }     
        
 .container {
        max-width: 1200px;
        margin: 25px auto;
        padding: 20px;
    }

    .content {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .photo {
        flex: 1 1 250px;
        max-width: 300px;
    }

    .photo img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .questions-answers {
        flex: 2 1 600px;
        min-width: 300px;
    }

    table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
    }

    table, th, td {
        border: 1px solid #ccc;
    }

    th, td {
        padding: 8px;
        text-align: left;
    }

    .questions, .answer {
        margin-top: 20px;
    }

    .questions select, .questions input {
        padding: 8px;
        font-size: 1rem;
    }

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

        .photo, .questions-answers {
            flex: 1 1 100%;
            max-width: 100%;
        }
    }        
        .zprava {
            margin-bottom: 20px;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            background-color: #f9f9f9;
        }
        .zprava h2 {
            font-size: 18px;
            color: #333;
            margin-top: 0;
        }
        .zprava a {
            color: #007bff;
            text-decoration: none;
        }
        .zprava a:hover {
         /*   text-decoration: underline;*/
        }
        .zprava img {
            vertical-align: middle;
            margin-right: 10px;
        } 
#zpravy .container .zprava img { 
width:30px;
height:30px;
}          

.zprava {
        display: flex;
        align-items: center;
        margin: 10px 0;
        border-bottom: 1px solid #ddd;
        padding: 10px 0;
    }
    .zprava-link {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: inherit;
        width: 100%;
    }
    .zprava-ikona {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }
    .zprava-predmet {
        font-size: 1.2rem;
        color: #333;
        margin: 0;
    }
    .zprava-link:hover .zprava-predmet {
        color: #33485d!important;
    }
@keyframes blink {
    0%, 100% {
        background-color: #ff0000; /* Červená barva */
        color: #ffffff; /* Bílý text */
        box-shadow: 0 0 10px #ff0000;
    }
    50% {
        background-color: #ffff00; /* Žlutá barva */
        color: #000000; /* Černý text */
        box-shadow: 0 0 20px #ffff00;
    }
}

.foto2{
    text-align: center;
    margin: 10px;
    display: inline-block;
    border: 2px #33485c solid;
    border-radius:8px;
    padding: 0px 10px;
    background-color: #3498db3d;
}    
        #faktury body {
            text-align: center;
            font-family: Arial, sans-serif;
        }
         #faktury h1, #rekapitulace h1 {
            text-align: center;
            font-family: Arial, sans-serif;
        }
        
        #faktury .container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
        }
        #faktury .faktura {
            text-align: center;
            border: 1px solid #ccc;
            border-radius: 10px;
            padding: 10px;
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
        }
        #faktury .faktura img {
            width: 150px;
            height: auto;
            border-radius: 8px;
            cursor: pointer;
            transition: transform 0.3s;
        }
        #faktury .faktura img:hover {
            transform: scale(1.05);
        }
        #faktury .faktura-description {
            margin-top: 10px;
            font-size: 1rem;
            color: #555;
        }
        #faktury .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        #faktury .lightbox img {
          /*  max-width: 90%;*/
            max-height: 100%;
        }
        #faktury .lightbox.active {
            display: flex;
        }
        #faktury .lightbox a {
            color: white;
            text-decoration: none;
            font-size: 2rem;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 1001;
        }
        #faktury .lightbox a.prev {
            left: 5%;
        }
        #faktury .lightbox a.next {
            right: 5%;
        }
        #faktury .lightbox a.close {
            top: 5%;
            right: 5%;
            font-size: 3rem;
        }
        #faktury .question {
            margin-top: 20px;
            padding: 20px;
            background-color: #f9f9f9;
            border: 1px solid #ccc;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            display: inline-block;
            text-align: center;
}
        }
        #faktury .question h2 {
            margin-bottom: 15px;
            font-size: 1.5rem;
        }
        #faktury .answer {
            margin: 10px 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        #faktury .answer label {
            margin-left: 10px;
            font-size: 1rem;
            cursor: pointer;
        }
        #faktury .answer input[type="radio"] {
            display: none;
        }
        #faktury .answer input[type="radio"] + label {
            padding: 10px 20px;
            border: 2px solid #007bff;
            border-radius: 5px;
            background-color: #e0f7fa;
            color: #007bff;
            transition: background-color 0.3s, color 0.3s, border 0.3s;
            cursor: pointer;
        }
        #faktury .answer input[type="radio"]:checked + label {
            background-color: #007bff;
            color: white;
            border: 2px solid #0056b3;
        }
        #faktury .answer input[type="radio"]:disabled + label {
            background-color: #ccc;
            color: #666;
            border: 2px solid #999;
            cursor: not-allowed;
        }
        #faktury button {
            padding: 10px 20px;
            font-size: 1rem;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            margin-top: 10px;
            transition: background-color 0.3s;
        }
        #faktury button:hover {
            background-color: #0056b3;
        }
        #faktury #result {
            margin-top: 20px;
            font-size: 1.2rem;
        }
        #faktury .correct {
            color: green;
        }
        #faktury .incorrect {
            color: red;
        }
        #faktury .disabled {
            pointer-events: none;
        }
        #zprava1 .handwritten {
            /*font-family: 'Dancing Script', cursive; /* Ručně psaný font */
            font-size: 2rem;
            line-height: 2.3rem;
            color: #2f2f2f; /* Tmavě hnědá/černá barva inkoustu */
            letter-spacing: 0.5px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Efekt stínování pro inkoust */
        }

        /* Styly pro oddělení textu */
        #zprava .section-title {
           /* font-family: 'Dancing Script', cursive;*/
            font-size: 2.6rem;
            line-height: 1.2;
            font-weight:bold;
            color: #5a5a5a;
            margin-bottom: 0px;
        }
       #zprava .section-podtitle {
           /* font-family: 'Dancing Script', cursive;*/
            font-size: 1.3rem;
            font-weight:bold;
            text-transform: uppercase;
            color: #5a5a5a;
            margin-bottom: 10px;
    text-align: left;            
        }
        #zprava .section-title2 {
            font-size: 1.6rem;
            font-weight:bold;
            color: #5a5a5a;
            margin-bottom: 20px;
        }
        
        #zprava iframe {
            border-radius: 8px; /* Zaoblení rohů iframe */
        }        
.status-icons,
.additional-icons {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-evenly;
}

.icon {
    width: 30px;
    height: 30px;
    border-radius: 0px;
}
#vizitky .card-icons .questions{
margin-top:5px;}        
#zprava #message-text{
text-align:justify;
}
.section-podtitle.normal{
font-weight:normal!important;
font-size: 1.0rem!important;
}

nav {
    background: #d32300;
    padding: 10px;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.menu li {
    position: relative;
}

.menu a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

/* Styl pro submenu */
.has-submenu ul {
    display: none;
    position: absolute;
    background: #444;
    list-style: none;
    padding: 0;
    margin: 0;
    top: 100%;
    left: 0;
    width: 350px;
    z-index: 99;    
}

.has-submenu:hover ul {
    display: block;
}

.submenu li {
    border-bottom: 1px solid #555;
}

.submenu li a {
    padding: 10px;
    display: block;
}

/* Responzivní menu */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #333;
    }

    .menu a {
        padding: 15px;
        display: block;
    }

    .menu-toggle {
        display: block;
    }
}
#zprava .container.content-wrapper{
margin-top:25px;
}
.fa {
    font-size: 35px;
}
.detektor .question {
            margin-bottom: 20px;
}
      .detektor .response-bar {
            background: #e0e0e0;
            border-radius: 5px;
            overflow: hidden;
            margin-top: 10px;
            margin-bottom:45px;
        }
      .detektor .response-fill {
            height: 20px;
            width: 0;
            transition: width 0.5s;
        }
      .detektor .truth {
            background: #4caf50; /* Zelená pro pravdu */
        }
       .detektor .lie {
            background: #f44336; /* Červená pro lež */
        }
      .detektor button {
            background: #4caf50;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            margin-top: 20px;
        }
       .detektor button:hover {
            background: #45a049;
        }
.detektor .container {
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            width: 450px;
            text-align: center;
            margin-top:25px;
        }        
#faktury .container img {
            max-width: 700px;
        }        
.videoprofile-pic {
    width: 100%;
    height: auto;
    border-radius: 10%;
    display: block;
    margin: 0 auto;
}


/* Style for contact list */
.contact-list {
    list-style-type: none;
    padding: 0;
}

.contact-list li {
    margin: 8px 0;
}

.contact-list a {
    color: #fff;
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

#zprava p,#zprava b{
text-align:justify;
}   
#zprava .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    padding: 10px;
}
#zprava .content-wrapper {
            display: grid;
            grid-template-columns: 1fr; /* Výchozí = jeden sloupec */
            gap: 20px;
        }

        #zprava .column {
            width: 100%; /* Výchozí = plná šířka */
        }

        /* Na širších obrazovkách (tablety, PC) rozdělit na 2 sloupce */
        @media (min-width: 768px) {
           #zprava .content-wrapper {
                grid-template-columns: 50% 50%;
            }
        }
#zprava .card {
    text-align: center;
    /* padding: 10px; */
    /* border: 1px solid #ddd; */
    border-radius: 8px;
    /* background-color: #f9f9f9; */
}
#zprava .vizitkainfo {
    min-height: 30px;
}
#zprava .container{
box-shadow: 0 4px 3px rgba(0, 0, 0, 0.1), 
            0 -4px 3px rgba(0, 0, 0, 0.1), 
            4px 0 3px rgba(0, 0, 0, 0.1), 
            -4px 0 3px rgba(0, 0, 0, 0.1);}
#zprava .container.right{
    background-color: #3498db3d;
    margin: 15px;
}
.info {
    text-align: justify;
}   
  .unread-counter {
        color: yellow;
        font-weight: bold;
        margin-left: 3px;
        animation: blink-animation 1s infinite;
    }
    
    .menu-messages a {
        position: relative;
    }
    
    @keyframes blink-animation {
        0% { opacity: 1; }
        50% { opacity: 0.3; }
        100% { opacity: 1; }
    }
    
    /* Alternativní efekt pulzování */
    .unread-counter.pulse {
        animation: pulse-animation 1.5s infinite;
    }
    
    @keyframes pulse-animation {
        0% { transform: scale(1); }
        50% { transform: scale(1.1); }
        100% { transform: scale(1); }
    }
@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #333;
        align-items:flex-start;
    }

    .menu li {
        text-align: center;
    }

    .menu a {
        padding: 0px 20px;
        display: block;
    }

    .menu-toggle {
        display: block;
    }
#zprava .container.content-wrapper{
margin-top:25px;
margin-left: 10px;
margin-right: 10px;
}
#zprava .container.right {
    margin: 0px;
} 
#zprava .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    padding: 00px;
}   
}
#zprava .container.content-wrapper{
margin-top:25px;
margin-bottom:25px;
}    
#zprava .continue-btn {
width: auto;
} 
.footer-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #343a40 !important;
    color: white;
    font-family: sans-serif;
}
footer{
    background-color: #343a40 !important;
}
footer .fas,footer .fa{
padding-right:15px;
}
.footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-column {
    min-width: 250px;
text-align:left;    
}

.column-50 {
    flex: 0 0 50%;
}

.column-25 {
    flex: 0 0 23%;
}
.footer-column{
text-align:justify;
}
.footer-container h5{
    font-size: 1.25rem;
}

.footer-column h5 {
    margin-bottom: 10px;
}

.footer-column p,
.footer-column ul,
.footer-column li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column a {
    color: white;
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9em;
    color: #ccc;
}

/* Responsivita */
@media (max-width: 768px) {
    .column-50,
    .column-25 {
        flex: 0 0 100%;
    }
}
h3{
    color: #d32300;
    padding: 0px 10px;
    margin: 0px;
}
h2 {
    font-size: 35px;
    color: #1b4e68;
    margin-bottom: 15px;
    text-align: center;
}
#zprava h2 {
    font-size: 20px;
}
.osoba p {
    text-align: center!important;
}
.column.tablo .osoba img{
width:100%!important;
}
#zprava p.section-title {
    text-align: left;
}

.vyslech .vyslech {
  max-width: 800px;
  margin: 40px auto;

  line-height: 1.6;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.vyslech .vyslech p {
  margin: 12px 0;
}
.vyslech .otazka {
  font-weight: bold;
  color: #2b3a67;
  margin-top: 20px;
}
.vyslech .odpoved {
  color: #333;
  margin-left: 20px;
}
.vyslech .poznamka {
    background-color: #e2f9d7;
    padding: 15px;
    border-radius: 10px;
  border: 1px solid #ccc;
  margin-top: 30px;
}
.vyslech .container h2 {
    font-size: 25px;
    margin-bottom: 15px;
    text-align: center!important;
}

.vyslech .header-container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.vyslech .header-container .text-content {
  display: flex;
  flex-direction: column;
}

.vyslech .header-container h1,
.vyslech .header-container h2 {
  margin: 25px 0px 0px 0px;
}

.vyslech .header-container h2 {
  margin-top: 5px;
}
.vyslech .header-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.vyslech .text-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.vyslech .text-content h1,
.vyslech .text-content h2 {
  text-align: left;
  margin: 0;
}

.vyslech .text-content h2 {
  margin-top: 5px;
}

.vyslech .photo {
  flex-shrink: 0;
}

/* Responzivní design pro mobilní zařízení */
@media (max-width: 768px) {
  .vyslech .header-container {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .vyslech .text-content h1,
  .vyslech .text-content h2 {
    text-align: center;
  }
  
  .vyslech .photo {
    align-self: center;
  }
}

@media (max-width: 480px) {
  .vyslech .header-container {
    gap: 10px;
  }
  
  .vyslech .text-content h1 {
    font-size: 1.4em;
  }
  
  .vyslech .text-content h2 {
    font-size: 1.1em;
  }
  .vyslech .osoba img {
    width:100%!important;
  }
}

/* Styly pro obsah */
.vyslech .otazka {
  font-weight: bold;
  color: #2c3e50;
  margin: 15px 0 5px 0;
}

.vyslech .odpoved {
  color: #34495e;
  margin: 5px 0 15px 0;
  line-height: 1.5;
}

.poznamka {
  background-color: #ebc40463;
  color:black;
  padding: 15px;
  border-left: 4px solid #e74c3c;
  font-style: italic;
  margin: 20px 0;
  border-radius:10px;
}


.vyslech h1 {
    font-size: 35px;
    margin-bottom: 15px;
    text-align: center;
}
  .vyslech .osoba img {
    width:350px!important;
  }
.tablo .imgtablo{
    margin: auto;
}
.tablonadpis {
    margin: auto;
    padding:25px;
    text-align:center;
}
        @media (max-width: 800px) {
            .krevnadpis {
                display:none;
            }
        }
        @media (min-width: 800px) {
            .mobilnadpis {
                display:none;
            }
        } 

        @media (max-width: 500px) {
            .nomobil50, .index .section-image {
                display:none!important;
            }
        }               
.participants {
    display: flex;
    flex-wrap: wrap; /* aby se účastníci zalamovali na menších obrazovkách */
    justify-content: center; /* centrování účastníků */
    gap: 20px; /* mezera mezi účastníky */
}

.participant {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px; /* šířka každého účastníka */
    cursor: pointer;
}

.participant img.profile-pic {
    width: 120px;  /* velikost fotky */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    margin-bottom: 5px;
}

.participant .name {
    font-weight: bold;
    text-align: center;
}

.participant span {
    text-align: center;
    font-size: 0.9em;
    color: #555;
}
.center {
text-align: center;
margin:auto;
}


  h3 {
    text-align: center;
    margin-bottom: 25px;
  }

  .players {
    display: flex;
    gap:20px;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .player {
    border: 3px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    margin: auto;
    width: 220px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .player:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #f1c40f;
  }

  .player span {
    display: block;
    margin: 5px 0;
  }

  .container .player-img {
    width: 200px;
    height: 200px;
    border-radius: 20%;
    margin:auto;
    object-fit: cover;
  }

  .card {
    display: inline-block;
    font-size: 1.5em;
    margin: 2px;
  }

  .card.red { color: #e74c3c; }
  .card.black { color: black; }

input[type="radio"] {
  display: inline-block; /* místo 'none' */
  margin-top: 5px;
}

  @keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.5; }
  }

  .error {
    display: none;
    color: #e74c3c;
    text-align: center;
    margin-top: 15px;
  }
/* Custom radio button */
.custom-radio {
  display: block;
  position: relative;
  padding-left: 25px;
  margin-top: 5px;
  cursor: pointer;
  user-select: none;
}

.custom-radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: #eee;
  border-radius: 50%;
  border: 1px solid #999;
}

.custom-radio input:checked ~ .checkmark {
  background-color: #4CAF50;
  border-color: #4CAF50;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-radio input:checked ~ .checkmark:after {
  display: block;
}

.custom-radio .checkmark:after {
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}
.blinking-button {
display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    padding: 15px 36px;
    text-decoration: none;
    margin: 15px;
    margin-bottom: 25px;
    border: none;
    border-radius: 12px;
    color: #fff;
background: linear-gradient(90deg, #33485c 0%, #3498db 40%, #2196F3 100%);
    background-size: 250%;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
    box-shadow: 0 0 14px rgba(6, 90, 45, 0.7),
                0 0 28px rgba(255, 255, 0, 0.55),
                0 0 60px rgba(255, 255, 0, 0.25);
    animation: softPulse 1.6s ease-in-out infinite,
               glowBlink 1.2s ease-in-out infinite;
}

/* Jemné pulzování barvy pozadí */
@keyframes softPulse {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Viditelné blikání přes stíny */
@keyframes glowBlink {
    0%, 100% {
        box-shadow: 0 0 6px rgba(255,255,0,0.4),
                    0 0 12px rgba(255,255,0,0.6),
                    0 0 24px rgba(255,255,0,0.9);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 20px rgba(255,255,0,1),
                    0 0 40px rgba(255,255,0,1),
                    0 0 80px rgba(255,255,0,1);
        transform: scale(1.05);
    }
}


.blinking-button:hover {
    transform: scale(1.1); /* Při najetí zvětší tlačítko */
}
        
.poznamka ul{
    margin-left: 30px;
}        


.card-img {
    width: 60px;
    height: 90px;
    margin: 2px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

.card-img:hover {
    transform: translateY(-5px);
}

.combo {
    background:#ffffff;
    padding:15px;
    color:black;
    border-radius:10px;
    flex:0 0 250px;
    text-align:center;
    box-shadow:0 0 12px rgba(0,0,0,0.6);
    cursor:pointer;
    transition: box-shadow 0.2s;
}

.combo:hover {
    box-shadow:0 0 20px #ffff33;
}

.error {
    color:red;
    margin-top:15px;
    text-align:center;
}
footer{
margin-top:25px;
}
.card-image {
width: 150px!important;
cursor: pointer;
transition: transform 0.2s ease;
}
.card-image:hover {
transform: scale(1.05);
}


.popup-overlay {
  display: none; /* skryté výchozí */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup {
  background: #fff;
  padding: 20px;
  max-width: 800px;
  width: 90%;
  max-height: 80vh; /* maximální výška popupu */
  overflow-y: auto; /* umožní scroll uvnitř popupu */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  position: relative;
}

body.popup-open {
  overflow: hidden; /* zabrání scrollu stránky pod popupem */
}

.popup ul{
margin-left:35px;
}

@keyframes fadeIn {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}


.popup h2 {
margin-top: 0;
}


.close-btn {
margin-top: 20px;
padding: 10px 15px;
background: #333;
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
}
.close-btn:hover {
background: #000;
}
 .index3 .hand { margin:12px 0; padding:12px;border-radius:6px; }

  /* Hlavní úprava – karty vždy v jedné řadě */
  .index3 .cards,
  .index3 .flop,
  .index3 .turn,
  .index3 .river {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    margin: 10px 0 18px;
  }

.index3 .cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
}

.index3 .card {
  width: 58px!important;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

  .index3 .line { margin:10px 0; }
  .index3 .meta { color:black; font-size:0.95em; margin-top:14px; }
.index3 .start-hands {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 20px;
}

.index3 .player {
  width: 50%;
}  
.index3 .recap { margin-top: 40px; padding: 20px; border-top: 2px solid #ccc; }

  .index3 .hand-block {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
  }

  .index3 .player, .board {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
  }

  .index3 .cards img.card {
    width: 70px;
    margin: 0 4px;
  }
  .final-hands {
  margin: 40px 0;
  padding: 25px;
  border-radius: 12px;
  color: #fff;
  border: 0px solid #333;
}

.final-hands h3 {
  margin-bottom: 20px;
  font-size: 1.6rem;
  text-align: left;
  color: #ffd35c;
}

.final-hands .player {
  margin-bottom: 35px;
  width: 100%;
  padding-bottom: 20px;
  border-bottom: 0px solid #333;
}

.final-hands .player:last-child {
  border-bottom: none;
}

.final-hands .player p {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #d32300;
  font-weight: bold;
}

.final-hands .cards {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
}

.final-hands .cards .card {
  width: 65px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(255,255,255,0.2);
  transition: transform .15s ease;
}

.final-hands .cards .card:hover {
  transform: scale(1.06);
}

@media (max-width: 600px) {
  .final-hands .cards {
    flex-wrap: wrap;
  }
  .final-hands .cards .card {
    width: 52px;
  }
}
.popup .card {
  width: 100px!important; /* nebo jiná vhodná velikost */
  height: auto;
  margin-right: 5px; /* mezera mezi kartami */
  display: inline-block; /* vedle sebe */
  vertical-align: middle;
}

.popup ol li img.card:last-child {
  margin-right: 0; /* poslední karta nemá margin */
}
.image-row {
  display: flex;          /* flexbox pro řadu */
  flex-wrap: wrap;        /* pokud se nevejdou, přejdou na další řádek */
  gap: 10px;              /* mezera mezi obrázky */
  justify-content: center;/* obrázky vycentrované */
  align-items: center;    /* vertikální zarovnání */
}

.image-row img {
  display: block;        /* odstraní případné mezery pod inline obrázky */
  max-width: 100%;       /* obrázky nepřesáhnou kontejner */
  height: auto;
  cursor: pointer;       /* pokud jsou klikací */
}
#zprava #message-text ul{
margin-left:25px;
}
.tablo h3{
    font-size: 13px!important;
}
/* MENU STYLES */
nav {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 0 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border-bottom: 3px solid #3498db;
    position: relative;
}

.menu-toggle {
    display: none;
    color: white;
    font-size: 24px;
    padding: 15px;
    cursor: pointer;
    text-align: center;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: wrap;
}

.menu li {
    position: relative;
    margin: 0;
}

.menu li a {
    display: flex;
    align-items: center;
    color: #ecf0f1;
    text-decoration: none;
    padding: 18px 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 16px;
    border-bottom: 3px solid transparent;
}

.menu li a:hover {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border-bottom: 3px solid #3498db;
    transform: translateY(-2px);
}

.menu li a img {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.menu li a:hover img {
    transform: scale(1.1);
}

/* Submenu styles */
.has-submenu > a::after {
    content: " ˇ";
    font-size: 12px;
    margin-left: 5px;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border-radius: 0 0 8px 8px;
    border-top: 2px solid #3498db;
    z-index: 1000;
}

.submenu li {
    width: 100%;
}

.submenu li a {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(52, 152, 219, 0.2);
    font-size: 14px;
}

.submenu li:last-child a {
    border-bottom: none;
}

.has-submenu:hover .submenu {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Unread messages counter */
.unread-counter {
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 12px;
    margin-left: 8px;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.5; }
}

.menu-messages {
    position: relative;
}

/* Žolík counter */
.menu li a span {
    background: #27ae60;
    color: white;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 12px;
    margin-left: 8px;
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        z-index: 1000;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }
    
    .menu li {
        width: 100%;
    }
    
    .menu li a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(52, 152, 219, 0.2);
    }
    
    .submenu {
        position: static;
        box-shadow: none;
        border: none;
        background: rgba(0,0,0,0.2);
    }
    
    .has-submenu:hover .submenu {
        display: none;
    }
    
    .has-submenu.active .submenu {
        display: block;
    }
}

/* Current page highlight */
.menu li a[href*="<%= Request.ServerVariables("SCRIPT_NAME") %>"] {
    background: rgba(52, 152, 219, 0.3);
    color: #3498db;
    border-bottom: 3px solid #3498db;
}
#zprava h3{
text-align:left;
font-size: 18px;
}
#vizitky h3 {
    color: #33485c;
    padding:15px 0px 10px 0px;
    font-size: 15px;}
#zprava .foto2 img{
width:350px!important;
}    
#zprava .foto2 p, #zprava .foto2 b {
    text-align: center;
    font-weight: bold;    
}
@media (max-width: 500px) {       
#zprava .foto2 img{
width:90%!important;
margin: auto;
padding: 20px 0px;
text-align:center;
}
}  
.tablo h3 {
    color: #33485c;
}
#playButton{padding:8px 14px;
    border:1px solid #ccc;
    background:white;
    border-radius:10px;
    display:flex;
    align-items:center;
    gap:6px;
    cursor:pointer;}
#stopButton{padding:8px 14px;
    border:1px solid #ccc;
    background:white;
    border-radius:10px;
    display:flex;
    align-items:center;
    gap:6px;
    cursor:pointer;}
#playButton img, #stopButton img{
margin:0px;
width:40px!important;
height:40px!important;}  

.box_zvuk{
    display: flex;
    justify-content: left;
    gap: 10px;
    margin: 20px 0px;
    background-color: #3498db1a;
    border-radius: 10px;
    padding: 25px;
    width: auto;
} 
.reset{
    color: #38f400!important;
    font-weight: bold;
    margin:15px 0px;
}
@media (max-width: 768px) {
.zprava-odesilatel2 {
display:none!important;
}
}