/* ----------------------------------------------------------------------------------------------------------
1) Reset
---------------------------------------------------------------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
}


html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, ol, ul, li, form, label, table, tbody, thead, tr, th, td {
    border: 0;
    outline: 0;
    vertical-align: baseline;
    background: transparent;
}

/* ----------------------------------------------------------------------------------------------------------
2) Výchozí hodnoty HTML tagů
---------------------------------------------------------------------------------------------------------- */

body {
    margin: 0;
    padding: 0;
    background: #f8f8f8;
    background-attachment: fixed;
    font-family: 'Poppins', sans-serif;
    color: #333;
    font-size: 1.4em;
    height: 100vh;
}

h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
    font-weight: bold;
    color: #e30000;
}

h1 {
    font-size: 1.8em;
    padding: 0.2em 0.7em;
}

.slogan {
    font-size: 1.1em;
    font-weight: 700;
    padding: 0 0 0.5em 1em;
    color: #333;
}

.mezititulek {
    padding: 1em 0 0 0.5em;
}

h2 {
    margin: 5px 0 1px 0;
    padding: 0;
    font-size: 1.2em;
}

h2 a {
    text-decoration: none;
    color: #e30000;
}

h2 a:hover {
    text-decoration: underline;
    color: #333;
}

.spojeni {
    padding: 1em 0 0.5em 0;
    margin: 0 1em;
    border-bottom: 1px dotted #ccc;
}

.spojeni2 {
    padding: 10px 0 5px 0;
}

h3 {
    font-size: 1em;
}

p, ul, ol, form {
    margin: 0;
    padding: 0.3em 1em;
    line-height: 150%;
}

p {
    text-align: justify;
}

ul {
    margin: 0 0 0 30px;
    list-style-type: square;
}

ol {
    margin: 0 0 0 1.5em;
    text-align: justify;
}

.doprspoj2 {
    color: #222;
}

a {
    text-decoration: none;
    color: #e30000;
}

a:hover {
    color: #333;
    text-decoration: underline;
}

.creator a {
    color: #333;
}

#wrapper {
    display: block;
    margin: 0 auto;
    padding: 0;
    z-index: -1;
    background-attachment: fixed;
    min-height: 100%;
    overflow: hidden;
}

/* Content */
#content {
    min-width: 300px;
}

/* Sidebar */
#sidebar {
    text-align: center;
    margin: 0;
    padding: 0;
    color: #787878;
}

#sidebar ul {
    list-style: none;
}

#phone {
    border-radius: 8px;
    margin: 10px 5px 10px 0;
    padding: 3px 0;
    text-align: center;
    color: #000;
    background: #e30000;
}

#hotline {
    border-radius: 8px;
    margin: 10px 5px 10px 0;
    padding: 3px 0;
    text-align: center;
    color: #000;
    background:#fed77a;
}

.tel {
    float: left;
}

.tel img {
    max-width: 3em;
    margin: 0.7em 0 0.5em 1em;
}

.number {
    font-size: 2.2em;
    font-weight: bold;
    color: #000;
    margin-bottom: -6px;
}

.number a {
    text-decoration: none;
    color: #000;
}

.number a:hover {
    text-decoration: none;
    color: #000;
}

.open {
    font-size: 1.1em;
    margin-bottom: 4px;
}

#bgmenu {
    border-radius: 8px;
    margin: 0 0.5em 0 0;
    text-align: left;
    background: #f8f8f8;
}

#sidebar h3 {
    padding: 3px 0 2px 5px;
    text-transform: uppercase;
    font-size: 1.1em;
    color: #e30000;
}

#sidebar h3.news {
    padding: 7px 0 2px 10px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1em;
    color: #e30000;
}

/* Footer */
#footer {
    clear: both;
    margin: 0 auto;
    padding: 0 0 1em 0;
    display: block;
    position: relative;
    z-index: 1;
}

#footer p {
    color: #aaa;
    margin: 0;
    padding: 5px 0;
    font-size: 0.9em;
    line-height: 180%;
    text-align: center;
}

#footer a {
    color: #aaa;
}

.fb-like {
    float: left;
    margin: 10px 5px;
}

.aktualita {
    border-top: 1px dotted #ccc;
    margin-left: -25px;
    margin-right: 5px;
    padding: 2px 5px;
    border-left: none;
    min-height: 64px;
}

.aktualita a {
    color: #333;
}

.aktualita a:hover {
    text-decoration: underline;
    color: #e30000;
}

.aktuality {
    min-height: 100px;
    background: #f9f9f9;
    padding: 0.4em;
    margin: 0.6em 0;
    border-radius: 8px;
    clear: both;
}

.predstaveni {
    min-height: 125px;
    background: #f9f9f9;
    padding: 0.4em;
    margin: 0.6em 0;
    border-radius: 8px;
    clear: both;
}

.repertoar-img {
    padding: 0.5em;
}

@media (min-width: 768px) {
    .repertoar-img {
        float: left;
        width: 150px;
        padding: 0.5em;
    }
}

.obr-predstaveni {
    border-radius: 8px;
    max-width: 100%;
}

.obr-predstaveni:hover {
    opacity:0.8;
}

.repertoar-desc {
    min-height: 80px;
    line-height: 150%;
    margin: 0;
}

.right-news {
    float: left;
    margin: 1px;
    height: 50px;
    border-radius: 8px;
}

.right-news:hover {
    opacity:0.8;
}


.news-desc {
    line-height: 140%;
    padding-left: 5px;
    margin: 0;
}

.center {
    text-align: center;
    margin: 1em
}

.center2 {
    text-align: center;
    margin-top: 1em
}

.video {
    text-align: center;
    padding: 0 0 0.8em 0;
    margin: 0 0 1em 1em;
    width: 97%;
}

.linka {
    margin: 0.5em 0 0.2em 1em;
    width: 97%;
    border-bottom: 1px dotted #ccc;
}


.vypis {
    padding: 0.1em 1em 0 0;
}

.terminy {
    padding: 0;
    font-weight: bold;
}

.terminy .ticketListButton {
    display: block;
    float: right
}

@media (max-width: 768px) {
    .terminy .ticketListButton {
        float: none;
        text-align: center;
        padding: 1em
    }
}

.head {
    max-width: 1170px;
}

.obr {
    border-radius: 8px;
    width: 95%;
    height: inherit;
    margin: 0.2em
}

.obr-news {
    border-radius: 8px;
    max-width: 100%;
    margin-top: 0.8em;
}

.foto-news {
    max-width: 600px;
    margin: auto
}

.sede a {
    text-decoration: none;
    font-weight: bold;
    color: #e30000;
}

.sede a:hover, .aktualita a:hover {
    text-decoration: underline;
    color: #e30000;
}

.sede_small {
    color: #777;
    padding: 0.5em 1.2em;
    font-size: 0.9em;
}

.status {
    font-size: 0.85em;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
}

.status2 {
    font-size: 0.85em;
    font-weight: 600;
    color: #e30000;
    text-transform: uppercase;
}

.doprdiv2 {
    background: #eee;
    padding: 0.7em 1em;
    margin: 1em;
    border-radius: 8px;
}

.doprdiv3 {
    margin: 10px 5px 10px 0;
    padding: 0.5em;
    font-size: 0.85em;
    font-weight: 600;
    color: #333;
    background: #e30000;
    border-radius: 8px;
}

.strankovani {
    clear: both;
    margin: 0 0 1em 1em;
    text-align: left;
    float: left;
}

.strankovani3 {
    clear: both;
    margin: 0 1.2em;
    border-top: 1px dotted #ccc;
    padding-bottom: 0.3em;
    text-align: right;
}

.tabulka-lichy_radek {
    background: #f8f8f8;
    border-radius: 4px;
}

.detail_table {
    border-collapse: collapse;
    width: 97%;
    margin: 0 1em;
}

.hraji_table {
    border-collapse: collapse;
    width: 97%;
    margin: 0 1em;
}

.detail_table td {
    line-height: 160%;
    vertical-align: middle;
    padding: 4px 6px;
}

.detail_table tr:hover td {
    background: #ccc;
}

.detail_table thead td, .hraji_table thead td {
    background: #2F2F2F;
    color: white;
    padding: 4px 10px;
}

.detail_table thead tr:hover td {
    background: #2F2F2F;
}

.hraji_table td {
    line-height: 140%;
    border-bottom: 1px dotted #ccc;
    padding: 4px 20px 4px 4px
}

td.hraji {
    width: 48px;
    font-weight: bold;
}

.news {
    margin: 0.5em 0.5em 0 1em;
}

.news2 {
    margin: 0.2em 0.2em 0 0;
}

.right-news-desc {
    line-height: 130%;
    padding-left: 73px;
    margin: 0;
    font-size: 0.95em;
}

/*** Navigace *****************************************************************************************/
.topnav {
    overflow: hidden;
    background-color: #e30000;
}

.topnav a {
    float: left;
    display: block;
    color: #f8f8f8;
    text-align: center;
    padding: 0.8em 1em;
    text-decoration: none;
    font-size: 1.1em;
}

.topnav a:hover {
    background-color: #333;
    color: #f8f8f8;
}

.topnav a.active {
    background-color: #a11214;
    color: #f8f8f8;
}

.topnav .icon {
    display: none;
}

@media screen and (max-width: 900px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
        float: right;
        display: block;
    }

    /* TOTO CHYBÍ - přidejte tyto pravidla: */
    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}
/*** Tlačítko "koupit vstupenky" **********************************************************************/
.koupit {
    font-weight: bold;
    font-size: 0.85em;
    color: #999;
    text-transform: uppercase;
    margin: 0 5px;
}

.koupit a {
    font-weight: bold;
    background-color: #e30000;
    border: none;
    color: white;
    padding: 4px 10px;
    text-decoration: none;
    cursor: pointer;
    border-radius: 5px;
}

.koupit a:hover {
    background-color: #333;
}

/*** Velké tlačítko **********************************************************************/
.koupit2 {
    font-size: 1.2em;
    color: #333;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    margin: 1.7em;
}

.koupit2 a {
    background-color: #e30000;
    border: none;
    color: white;
    padding: 1em 2em;
    text-decoration: none;
    cursor: pointer;
    border-radius: 8px;
}

.koupit2 a:hover {
    background-color: #333;
}

/* --------------- Responsiveness --------------- */

.container-main {
    padding-left: 0;
    padding-right: 0;

}

/* Content */
.content-container {
    background: #fff;
    margin: 0;
    padding-top: 10px;
    max-width: 1170px;
    -webkit-border-bottom-left-radius: 7px;
    -webkit-border-bottom-right-radius: 7px;
    -moz-border-radius-bottomleft: 7px;
    -moz-border-radius-bottomright: 7px;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

.panel-right {
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 768px) {
    .panel-right {
        padding-left: 5px;
        padding-right: 5px;
    }
}

iframe {
    margin-top: 15px;
    width: 100%;
}

.social-icon {
    margin: 10px 2px;
    padding: 0;
    width: 40px
}

.next {
    margin-top: 0.5em;
    padding: 0;
    width: 30px
}

.program {
    padding: 0 1.5em;
    margin: 0.6em 0;
}

.program-datum {
    text-transform: lowercase;
}

.program-datum, .program-nazev, .program-misto {
    padding: 10px 0 5px 5px;
}

.program-nazev2 {
    padding: 10px 0 0 5px;
}

.program-misto2 {
    padding: 0 0 5px 0;
}

.program-vstupenky {
    padding: 10px 10px 5px 0;
    text-align: right;
}

@media (max-width: 768px) {
    .program-datum {
        padding: 10px 0 0 10px;
    }

    .program-nazev, .program-nazev2 {
        padding: 0 0 0 10px;
    }

    .program-misto {
        padding: 0 0 0 10px;
    }

    .program-misto2 {
        padding: 0;
    }

    .program-vstupenky {
        padding: 0 10px 5px 0;
        text-align: right;
    }
}

.program .row {
    min-height: 3em;
    padding-bottom: 5px;
}

input[type=text],
input[type=email]{
    width: 100%;
    padding: 5px 20px;
    margin: 0 0 3px 0;
    box-sizing: border-box;
    border: 0;
    border-radius: 5px;
    background: #f8f8f8;
}

input[type=text]:focus, textarea:focus {
    background-color: DarkGray;
    color: black;
}

textarea {
    width: 100%;
    height: 150px;
    padding: 5px 20px;
    box-sizing: border-box;
    border: 0;
    border-radius: 5px;
    background-color: #f8f8f8;
    resize: none;
}

label {
    margin-top: 5px;
    font-weight: 400;
}

input[type=submit] {
    background-color: #e30000;
    border: none;
    color: white;
    padding: 8px 16px;
    margin: 24px 0;
    text-decoration: none;
    cursor: pointer;
    border-radius: 5px;
}

input[type=submit]:hover {
    background-color: #333;
}

.reklama {
    padding: 1em;
}

.reklama2 {
    border-radius: 8px;
    max-width: 100%;
}

.harfa {
    width: 160px;
    padding: 0.5em;
}

.next {
    margin-top: 0.5em;
    padding: 0;
    width: 30px;
}


/* odstranění okrajů mezi mobilem a 1200 px */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .container {
        width: 100%;
    }
}

/* styl pro cookies lištu*/
.consent {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    resize: vertical;
    overflow: auto;
    z-index: 999999999;
    background: rgba(0, 0, 0, 0.7);
}

.consent .consent-inner {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    margin: -100px auto 0;
    background: #fff;
    padding: 20px;
    max-width: 500px;
}

.consent .consent-buttons {
    text-align: right;
}

.consent button {
    border: none;
    padding: 10px 20px;
    margin: 10px 0 0 10px;
    background: none;
    font-size: 1.1em;
}

.consent button.consentTrue {
    background-color: #04aa6d;
    color: #fff;
}

.consent button.consentTrue:focus,
.consent button.consentTrue:hover {
    background-color: #059862;
    cursor: pointer;
}

.consent button.consentFalse {
    padding: 5px 0;
    font-size: 0.9em;
    opacity: 0.8;
}

.consent button.consentFalse:focus,
button.consentFalse:hover {
    opacity: 1;
    cursor: pointer;
}

.consent hr {
    margin: 15px 0;
}


/* --------------- výběr vstupenek z kulturniportal.cz --------------- */

.hlaska {
    text-align: center;
    font-weight: bold;
    color: #f30;
}

.hlaska {
    margin: 1em auto 1em auto;
    padding: 0.6em 0;
    width: 840px;
    font-weight: 600;
    color: #e30000;
    background: #eee;
    border-radius: 5px;
}

.predprodeje img {
    max-width: 200px;
    margin: 0.5em 2em;
}

.predprodeje2 img {
    max-width: 200px;
    margin: 0.5em 2em;
}

/* program nav - výpis měsíců */

h2.month {
    text-align: center;
    margin: 1.5em 0 0.5em 0;
    text-transform: uppercase;
    color: #333;
}


.monthNav {
    overflow: hidden;
}

.monthNav a {
    float: left;
    display: block;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    padding: 0.5em 1em;
    margin: 1em 0.3em 0 0.3em;
    text-decoration: none;
    font-size: 0.9em;
    background-color: #f8f8f8;
    border-radius: 0.5em;
    border: 2px solid #e30000;
}

.monthNav a:hover {
    background-color: #d8d8d8;
}

.monthNav a.active {
    background-color: #d8d8d8;
}

/*program - footer*/

.doprdiv {
    margin: 1em 0;
    padding: 0.5em 1em;
    color: #000;
    background: #eee;
    border-radius: 8px;
}

/* divadlo */

.left_icon {
    margin-right: 0.4em;
    float: left;
    width: 20px;
}


.noscreen {
    display: none;
}

li.pokyny {
    padding: 0.5em 0;
}



/* Dropdown menu - přidejte do sekce navigace */

/* PŘIDAT - speciální pravidlo jen pro dropdown */
.topnav .dropdown {
    float: left;
    position: static; /* ZMĚNA z relative */
}

.topnav .dropdown .submenu {
    display: none;
    position: fixed; /* ZMĚNA z absolute na fixed */
    background-color: #e30000;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 9999;
}



.topnav .dropdown .submenu a {
    float: none;
    color: #f8f8f8;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.topnav .dropdown .submenu a:hover {
    background-color: #333;
}

@media screen and (max-width: 900px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
        float: right;
        display: block;
    }

    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }

    /* PŘIDAT - skryje dropdown na mobilech */
    .topnav .dropdown {
        display: none;
    }

    /* PŘIDAT - zobrazí dropdown v responsive menu */
    .topnav.responsive .dropdown {
        display: block;
        float: none;
    }

    /* PŘIDAT - upraví submenu pro mobily */
    .topnav.responsive .dropdown .submenu {
        position: relative;
        display: block; /* Vždy zobrazené na mobilech */
        background-color: #333;
        box-shadow: none;
        margin-left: 20px;
    }

    .topnav.responsive .dropdown .submenu a {
        padding-left: 40px;
        font-size: 0.9em;
    }
}

/* detail pořadu - počet fotek,když je jich více jak 15 */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    z-index: 10;
}

.gallery-plus {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 15px;
    border-radius: 50%;
    min-width: 60px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-overlay:hover {
    cursor: pointer;
}




