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: #725716;
}

.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);
}

.container.right {
    background-color: #efefef8f;
    margin: 15px;
}

#vizitky .container {
    max-width: 100%;
}

.container h2 {
    font-size: 1.8rem;
    color: #725716;
    margin-bottom: 15px;
    text-align: left;
}

#zpravy .container h2 {
    color: #725716;
    margin-bottom: 0px;
    text-align:left;
}
.bold{
font-weight:bold;
}


.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;
}

.info {
    text-align: justify;
}

.continue-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    text-align: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: white;
    background-color: #065a2d;
    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;
    width: auto;
}

.width220 {
    width: 220px;
}

.stop-btn {
    display: block;
    width: 220px;
    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;
    background-color: #a50000;
}

.continue-btn:hover {
    background-color: #157772;
    transform: translateY(-2px);
}

.continue-btn:active {
    background-color: #157772;
    transform: translateY(0);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery.tablo {
    min-height: 0px;
}

#zprava .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    padding: 0px;
}

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

#zprava .card {
    text-align: center;
    border-radius: 8px;
}

.card img {
    max-width: 100%;
    height: auto;
    border-radius: 30%;
    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;
}

.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.not-murderer {
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.card.dead {
    background-color: #c5c3c3bf;
    border-color: gray;
}

.card-header {
    text-align: center;
    margin-bottom: 0px;
    text-decoration: none;
}

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

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

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

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

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

#vizitky .card-icons .questions {
    margin-top: 5px;
}

.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;
    margin-top: 20px;
}

.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: 1.5rem;
    color: #333;
    margin: 0;
    text-align: center;
}

.card-header .status-icons {
    margin-left: 10px;
    display: flex;
    gap: 0px;
    align-items: center;
}

.card-header .status-icons .icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.card-header .status-icons a {
    display: inline-block;
}

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

.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;
}

.vizitkainfo {
    min-height: 80px;
}

#zprava .vizitkainfo {
    min-height: 30px;
}

#tip img.profile-pic {
    width: 100px;
}

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

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

.disabled {
    background-color: #f0f0f0;
    cursor: not-allowed;
}

nav {
    background-color: #8bb5b3;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 10;
    background: #157772;
    padding: 10px;
}

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

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

.menu a {
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    transition: color 0.3s;
    padding: 10px 15px;
    display: block;
}

.menu a:hover {
    color: #ffc107;
}

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

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

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

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

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

#tip .participants {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-evenly;
}

#tip .participant {
    width: 200px;
    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: 150px;
    height: 150px;
    object-fit: cover;
    text-align: center;
    border-radius: 30%;
    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;
}

.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;
}

.zprava {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    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;
}

#zpravy .container .zprava img {
    width: 30px;
    height: 30px;
}

.zprava-predmet {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
}

.zprava-link:hover .zprava-predmet {
    color: #1a8c7e!important;
}

.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;
}

@keyframes blink {
    0%, 100% {
        background-color: #ff0000;
        color: #ffffff;
        box-shadow: 0 0 10px #ff0000;
    }
    50% {
        background-color: #ffff00;
        color: #000000;
        box-shadow: 0 0 20px #ffff00;
    }
}

.blinking-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    animation: blink 1s infinite;
    transition: transform 0.3s ease;
}

.blinking-button:hover {
    transform: scale(1.1);
}

.foto2 {
    text-align: center;
    margin: 10px;
    display: inline-block;
border: 2px #1a8a7d solid;
    border-radius: 8px;
    padding: 0px 10px;
    background-color: #19897c38;
}

#faktury body, #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 .container img {
    max-width: 700px;
}

#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-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-size: 2rem;
    line-height: 2.3rem;
    color: #2f2f2f;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

#zprava .section-title {
    font-size: 2.6rem;
    line-height: 1.2;
    font-weight: bold;
    color: #5a5a5a;
    margin-bottom: 0px;
    text-align: left;
}

#zprava .section-podtitle {
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #5a5a5a;
    margin-bottom: 10px;
    text-align: left;
}

.section-podtitle.normal {
    font-weight: normal !important;
    font-size: 1.0rem !important;
}

#zprava .section-title2 {
    font-size: 1.6rem;
    font-weight: bold;
    color: #5a5a5a;
    margin-bottom: 20px;
}

#zprava iframe {
    border-radius: 8px;
}

#zprava #message-text {
    text-align: justify;
}

#zprava .container.content-wrapper {
    margin-top: 25px;
    margin-bottom: 25px;
}

#zprava p, #zprava b {
    text-align: justify;
}

#zprava .foto2 p {
    text-align: center;
}

.status-icons,
.additional-icons {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-evenly;
}

.icon {
    width: 30px;
    height: 30px;
    border-radius: 0px;
}

.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;
}

.detektor .lie {
    background: #f44336;
}

.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;
}

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

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

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

.unread-counter {
    color: #ff0000;
    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; }
}

.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); }
}

.new-message {
    padding: 10px 15px;
    color: #a62020;
    font-size: 20px;
    font-weight: bold;
    background-color: #f8999982;
}

.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;
    margin-top: 25px;
}

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;
}

.profilfoto p {
    text-align: center !important;
}

.osoba p {
    text-align: center !important;
}

.loginlink a {
    text-decoration: none;
}

.loginlink .linky {
    padding: 5px;
    color: #065a2d;
}

#zprava .content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

#zprava .column {
    width: 100%;
}

.column.tablo .osoba img {
    width: 100% !important;
}

.tablo .imgtablo {
    margin: auto;
}

.tablonadpis {
    margin: auto;
    padding: 25px;
    text-align: center;
}

/* Media Queries */
@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: 15px;
        display: block;
    }

    .menu-toggle {
        display: block;
    }

    #zprava .container.content-wrapper {
        margin-top: 25px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .card {
        padding: 8px;
    }

    .content {
        flex-direction: column;
        align-items: center;
    }

    .photo, .questions-answers {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .youtubeiframe {
        width: 100% !important;
    }

    .column-50, .column-25 {
        flex: 0 0 100%;
    }
}

@media (min-width: 768px) {
    #zprava .content-wrapper {
        grid-template-columns: 50% 50%;
    }
}

@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        align-items: center;
    }
}
.id19 .content {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
}
.id18 .text4{
    background-color: #11bbb280;
    padding: 18px;
 border-radius: 10px;   
}
.id18 .text4 h2{
color:white; 
}
h1,h2{
text-align:center;
}
@media (max-width: 500px) {
    #zprava .container {
        text-align: center;
        align-items: center;
    }
    #zprava  .container img {
width:250px!important;
    }
}
#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: 200px;
    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;
        }   
.center{
        text-align: center;
        margin:auto;
} 


nav {
    background: linear-gradient(135deg, #157772 0%, #1a8c7e 100%);
    padding: 0 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border-bottom: 3px solid #0d554f;
}

.menu-toggle {
    display: none;
    color: white;
    font-size: 24px;
    padding: 15px;
    cursor: pointer;
    text-align: center;
    background: rgba(13, 85, 79, 0.8);
}

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

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

.menu li a:hover {
    background: rgba(13, 85, 79, 0.3);
    color: #ffffff;
}

.menu li a img {
    filter: brightness(0) invert(1);
}

@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, #157772 0%, #1a8c7e 100%);
        z-index: 1000;
    }
    
    .menu li {
        width: 100%;
    }
    
    .menu li a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(13, 85, 79, 0.3);
    }
}

nav {
    background: linear-gradient(135deg, #157772 0%, #1a8c7e 100%);
    padding: 0 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border-bottom: 3px solid #0d554f;
    position: relative;
}

.menu-toggle {
    display: none;
    color: white;
    font-size: 24px;
    padding: 15px;
    cursor: pointer;
    text-align: center;
    background: rgba(13, 85, 79, 0.8);
}

.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: #e8f4f3;
    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(13, 85, 79, 0.3);
    color: #ffffff;
    border-bottom: 3px solid #0d554f;
    transform: translateY(-2px);
}

.menu li a img {
    margin-right: 8px;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}

.menu li a:hover img {
    transform: scale(1.1);
    filter: brightness(0) invert(1) drop-shadow(0 0 3px #ffffff);
}

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

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, #1a8c7e 0%, #157772 100%);
    min-width: 250px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border-radius: 0 0 8px 8px;
    border-top: 2px solid #0d554f;
    z-index: 1000;
}

.submenu li {
    width: 100%;
}

.submenu li a {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(13, 85, 79, 0.3);
    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 - SPECIFIC FOR MENU */
nav .unread-counter {
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 12px;
    margin-left: 8px;
    font-weight: bold;
    animation: nav-blink 2s infinite;
}

@keyframes nav-blink {
    0%, 50% { opacity: 1; transform: scale(1); }
    51%, 100% { opacity: 0.7; transform: scale(0.95); }
}

.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, #157772 0%, #1a8c7e 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(13, 85, 79, 0.3);
    }
    
    .submenu {
        position: static;
        box-shadow: none;
        border: none;
        background: rgba(13, 85, 79, 0.3);
    }
    
    .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(13, 85, 79, 0.5);
    color: #ffffff;
    border-bottom: 3px solid #0d554f;
}
#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;
}
}       
.gallery .card .vizitkainfo h3{
font-size:20px;
padding:15px 0px;
}
#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: #1a897d36;
    border-radius: 10px;
    padding: 25px;
    width: auto;
}  
.reset{
    color: #38f400!important;
    font-weight: bold;
    margin:15px 0px;
}
@media (max-width: 500px) {
    #zprava .container #playButton img,#zprava .container #stopButton img {
      width: 40px !important; 
    }
}
@media (max-width: 768px) {
.zprava-odesilatel2 {
display:none!important;
}
}