/**/
/*nadpis*/
/**/
#nadpis a {
    text-decoration: none;
    display: flex;
    align-items: center;
}
#nadpis {
    font-size: 1rem;
    position: fixed;
    z-index: 2;
    transition: all 0.3s ease-in-out;
}
#name {
    font-weight: bold;
    /*margin-top: 0.67em;
    margin-bottom: 0.67em;
    line-height: normal;*/
    font-size: 2em;
    line-height: 1.5;
    color: black;
    margin: 0.2em;
}
#nadpis img {
    float: left;
    height: 2em;
    margin-left: 0.5em;
}
/*nadpis startpage*/
#nadpis.start {
    font-size: 1.5rem;
}
#nadpis.start #name {
    color: white;
}
#nadpis.start img {
    filter: invert(1);
}
#proof {
    height: 0.1px;
}

/**/
/*img startpage*/
/**/
#startimg {
    width: 100%;
    display: block;
}

/**/
/*navbar*/
/**/
#navbar {
    font-size: 1rem;
    position: sticky;
    top: 0;
    background-color: rgba(211, 211, 211, 0.75);
    width: 100%;
    z-index: 1;
}
#hambcont {
    display: none;
    justify-content: flex-end;
}
#hamburger {
    margin: 0.3em;
    background-color: bisque;
    border-radius: 0.3em;
    font-size: 1.3em;
}
#navlist {
    list-style: none;
    display: flex;
    justify-content: end;
    /*padding: 1.5em;*/
    margin: 0;
    width: 75vw;
    max-width: 75%;
    margin-left: auto;
    flex-wrap: wrap;
}
#navlist a {
    text-decoration: none;
    font-size: 1.2em;
    color: black;
    position: relative;
}
#navlist li {
    padding: 1.1em;
    position: relative;
}
.dropdown-menu {
    display: none;
    top: -100%;
    flex-direction: column;
    position: absolute;
    left: 0;
    width: 100%;
    background-color: rgba(211, 211, 211, 0.75);
}
.dropdown-menu a {
    padding: 0.8em;
}
.show-dropdown {
    top: 100%;
    display: flex;
}

/**/
/*website visuals*/
/**/
.content {
    font-size: 1rem;
    margin: 2rem;
    min-height: 85vh;
}
.inner-content {
    margin: 0;
    background-color: rgb(237, 237, 237);
    padding: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}
h1 {
    font-size: 1.5em;
    background-color: bisque;
    padding: 0.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    margin-bottom: 0;
}
p {
    font-size: 1.2em;
}
h3 {
    font-size: 1.4em;
}
h4 {
    font-size: 1.2em;
}
.random {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    font-size: 1.3em;
}
.strip-img {
    width: 100%;
    margin-top: 1rem;
}
/*table*/
.tablecont {
    display: flex;
    justify-content: center;
}
table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0.8em;
    overflow: hidden;
}
#msetable {
    width: 75%;
}
#msetable th, #msetable td {
    padding: 0.6em;
    margin: 0;
    font-size: 1.4em;
    text-align: center;
    width: 33.33%;
}
th {
    background-color: rgb(255, 203, 141);
}
td {
    background-color: bisque;
}
.breakpoint td {
    border-top: 2px solid black;
}

/**/
/*tableofcontents*/
/**/
#toc {
    text-align: left;
    border: 2px solid darkgoldenrod;
    padding: 0.7em;
    border-radius: 0.6em;
}
#toc a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}
#tochead {
    font-size: 1.3em;
    font-weight: bold;
    margin-top: 0.3em;
    margin-bottom: 0.5em;
}
.tabbed {
    margin-left: 1em;
}
h3, h4 {
    scroll-margin: 4em;
}

/**/
/*startpage*/
/**/
#inv-heading {
    position: absolute;
    top: 1px;
    left: 1px;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
#tableoftimes {
    float: right;
    width: 20%;
}
#tableoftimes th, #tableoftimes td {
    font-size: 1.5em;
    text-align: center;
    padding-left: 0.5em;
    padding-right: 0.5em;
}
#startcont {
    display: flex;
    align-items: stretch;
}
#startcont #article-container {
    max-width: 80%;
    min-width: 80%;
}
#vr {
    margin: 1em;
}
.highlitedheading {
    margin: 0;
    padding: 1em;
    background-color: rgb(255, 203, 141);
}
.sthr {
    border-color: darkgoldenrod;
}

body {
    margin: 0;
    font-family: "Lexend Deca", sans-serif;
    min-height: 120vh;
}
html {
    scroll-behavior: smooth;
}
article {
    padding: 1em;
    border-radius: 0.5em;
}
article h3 {
    text-decoration: underline darkgoldenrod;
}

/**/
/*novinky*/
/**/
#article-container article {
    border: 2px solid darkgoldenrod;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    overflow: hidden;
}
.article-p-text {
    width: 70%;
    overflow-wrap: break-word;
}
#article-container article img {
    max-width: 25%;
    height: auto;
}
#novinky-content {
    border-radius: 1em;
    overflow: hidden;
}
#page-links {
    display: flex;
    justify-content: center;
    width: 100%;
}
#page-links button {
    margin-left: 0.3em;
    margin-right: 0.3em;
}
#article-cont img {
    max-height: 80vh;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
#article-cont .inner-content {
    overflow-wrap: break-word;
}
/*.article-p-text {
    width: 70%;
}
.article-thumbnail {
    width: 30%;
}
.article-thumbnail img {
    width: 100%;
}*/

/**/
/*fotogalerie*/
/**/
#photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.photo-category {
    border-radius: 1.5em;
    border: 2px solid black;
    overflow: hidden;
    position: relative;
    padding: 0;
}
.photo-category img {
    width: 100%;
    display: block;
}
.photo-category a {
    text-decoration: none;
}
.photo-category h4 {
    margin: 0;
    position: absolute;
    bottom: 0.5em;
    width: 100%;
    left: 0;
    text-align: center;
    color: white;
    font-size: 1.5em;
    text-shadow: 1px 1px black, 1px -1px black;
}
/**/
/*photos*/
/**/
#gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.1rem;
}
#gallery img {
    display: block;
    width: 100%;
    cursor: pointer;
}
#full-image-container {
    display: none;
    position: fixed;
    height: 100vh;
    width: 100vw;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
}
#full-image {
    max-width: 80%;
    max-height: 80%;
}

/**/
/*historie*/
/**/
.historie_content h4 {
    background-color: rgb(241, 227, 212);
    padding: 0.5em;
}
.historie_content h3 {
    background-color: rgb(255, 227, 198);
    padding: 0.5em;
}
.historie_images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.hist_image_cont {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hist_image_cont img {
    width: 40vw;
}
.historie_image_desc {
    margin: 0.5em;
}

/**/
/*ohlasky*/
/**/
.ohlaska {
    display: flex;
    font-size: 1rem;
    align-items: center;
    justify-content: space-between;
    background-color: lightgray;
    border: 2px solid darkgoldenrod;
    border-radius: 2rem;
    padding: 1rem;
    margin-top: 1em;
    margin-bottom: 1em;
}
.ohlaska div {
    font-size: 1.5em;
    margin-right: 0.5em;
}
.ohlaska span {
    width: 25%;
    display: flex;
    justify-content: end;
    align-items: center;
}
.ohlaska-name {
    width: 50% !important;
    overflow: hidden;
}
.ohlaska img {
    height: 2em;
    /*background-color: white;*/
    border-radius: 0.5em;
}


@media (hover:hover) {
    #navlist li:hover {
        background-color: darkgoldenrod;
    }
    #navlist li:hover a {
        color: white;
    }
    .dropdown-menu a:hover {
        background-color: darkgoldenrod;
        color: white !important;
    }
    #navlist li:hover .dropdown-menu a{
        color: black;
    }
    #toc a:hover {
        color: darkgoldenrod;
    }
    #tabor #navlist li:hover {
        background-color: white;
    }
    #tabor #navlist li:hover a {
        color: black;
    }
    #tabor .dropdown-menu a:hover {
        background-color: lightgray;
        color: black !important;
    }
}

/**/
/*mobile view*/
/**/
@media (max-width: 1100px) {
    #navlist {
        display: none;
        position: absolute;
        top: 100%;
        flex-direction: column;
        left: 0;
        width: 100%;
        background-color: inherit;
        max-width: 100%;
        padding-left: 0;
    }
    #navlist.shown {
        display: flex;
    }
    .dropdown-menu {
        position: static;
        background-color: transparent;
    }
    #hambcont {
        display: flex;
    }
    #nadpis.start {
        font-size: 0.7rem;
    }
    #nadpis {
        font-size: 0.7rem;
    }
    #startcont {
        display: block;
    }
    #startcont #article-container {
        max-width: 100%;
    }
    #article-container article img {
        display: none;
    }
    .article-p-text {
        width: 100%;
    }
    #tableoftimes {
        float: none;
        width: 100%;
    }
    #photos, #gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    #footer {
        flex-direction: column;
    }
    #footer-heading {
        font-size: 1.3em !important;
    }
    #footer-address {
        width: 70% !important;
        font-size: 0.8em !important;
    }
    .historie_images {
        grid-template-columns: repeat(1, 1fr);
    }
    .hist_image_cont img {
        width: 75vw;
    }
    /*strictly for mobiles*/
    .content {
        font-size: 0.8rem;
    }
    .tabor-content {
        font-size: 0.8rem;
    }
    .pdf-open {
        display: none !important;
    }
    .ohlaska-name {
        width: 65% !important;
    }
    .ohlaska {
        font-size: 0.8rem;
    }
    #lektori-table {
        font-size: 0.8rem;
    }
    #article-cont img {
        max-height: 30vh;
    }
    table {
        font-size: 0.8em;
    }
    #bohuna-content {
        flex-direction: column;
        align-items: center;
    }
    #rozpis-spolco {
        width: 90% !important;
    }
    #extra-veci {
        max-width: 100% !important;
    }
    /*end of strictly for mobiles*/
}

/**/
/*spolco*/
/**/
#bohuna-content {
    display: flex;
    justify-content: space-between;
    border: 1px solid black;
    border-radius: 0.5em;
    margin-top: 1em;
}
#extra-veci, #rozpis-spolco {
    padding: 1em;
    /*border: 2px solid black;*/
}
#rozpis-spolco {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#rozpis-spolco table th, #rozpis-spolco table td {
    padding: 1em;
    font-size: 1.3em;
}
#extra-veci {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 65%;
}
#bohuna-poznamky {
    width: 90%;
    background-color: lightgray;
    padding: 0.5em;
    border-radius: 0.5em;
    margin: 0.3em;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#bohuna-poznamky ul {
    font-size: 1.3em;
    margin-top: 0;
}
#bohuna-poznamky p {
    margin-top: 0;
    margin-left: 0.5em;
    margin-right: 0.5em;
}
#bohuna-fotky {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: lightgray;
    width: 90%;
    padding: 0.5em;
    border-radius: 0.5em;
}
#spolco-fotky-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.img-crop {
    margin: 0.1em;
    overflow: hidden;
}
#bohuna-fotky img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/**/
/*tabor*/
/**/
#tabor {
    background-image: url("../images/tabor-background.webp");
    background-repeat: repeat-y;
    background-size: 100%;
    background-position: 0 3rem;
}
#tabor #nadpis{
    font-family: 'Nanum Pen Script', cursive;
}
#tabor #nadpis #name-t {
    color: white;
    font-weight: bold;
    font-size: 2em;
    margin: 0.3em;
}
#tabor #navbar {
    background-color: black;
}
#tabor #navlist a {
    color: white;
}
#taborcont {
    display: flex;
    align-items: center;
}
#tabor #nadpis img {
    height: 3em;
}
.tabor-content {
    margin-top: 2rem;
    margin-left: 10vw;
    margin-right: 10vw;
    color: white;
    /*font-family: 'Delius', cursive;*/
    letter-spacing: 0.1em;
}
.tabor-content h1 {
    background-color: transparent;
}
#tabconts {
    padding: 0.5em;
    border: 0.1em solid white;
}
#tabconts h3 {
    margin-top: 0;
}
#tabconts p {
    margin-bottom: 0;
}
#tabor-img {
    width: 80%;
    margin-top: 1rem;
}
#tabor-img-cont {
    display: flex;
    justify-content: center;
}

/**/
/*lektori*/
/**/
#lektori-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 0;
}
#lektori-table td, #lektori-table th {
    text-align: center;
    font-size: 1.5em;
    border: 1px solid black;
}
#lektori-table td {
    background-color: lightgray;
}

/**/
/*Kontakty*/
/**/
.contact {
    border: 2px solid black;
    padding-left: 0.5em;
    margin-bottom: 1em;
}

/**/
/*login*/
/**/
#login-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#login-form input {
    margin: 0.2rem;
}

/**/
/*adminpages*/
/**/
#admin-links {
    display: flex;
    flex-direction: column;
}
#admin-links a {
    margin: 0.5rem;
}
.admin-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid black;
    border-radius: 0.3em;
    background-color: bisque;
}
.form-container {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
}
.admin-form input, .admin-form button, .admin-form textarea {
    margin: 0.5rem;
}
#aktuality-form {
    width: 90%;
    padding: 2rem;
    background-color: transparent;
    border: 2px solid black;
    border-radius: 1rem;
}
#h2-edit {
    font-size: 1.5em;
    background-color: bisque;
    padding: 0.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    margin-bottom: 0;
}
.p-edit {
    font-size: 1.2em;
}
.img-edit-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.img-edit {
    width: 90%;
}
.editor-hidden {
    display: none;
}
#statistics-table th, #statistics-table td {
    margin: 0.5rem;
    padding: 0.5rem;
    border: 1px solid black;
}
#statistics-table {
    margin: 1rem;
    border-radius: 0;
}
#dailystats-table {
    margin: 1rem;
    border-radius: 0;
}
#dailystats-table th, #dailystats-table td {
    margin: 0.5rem;
    padding: 1rem;
    border: 1px solid black;
}
#spolco-form table {
    width: 50%;
    border-radius: 0;
}
#spolco-form table tr {
    width: 25vw;
}
#spolco-form table th, #spolco-form table td {
    padding: 1em;
    border: 1px solid black;
}
#poznamky {
    margin: 0.5em;
    font-size: 1.2em;
}
.poznamka {
    background-color: lightgray;
}

/**/
/*footer*/
/**/
#footer {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    background-color: lightgray;
    padding-top: 1rem;
    padding-bottom: 1rem;
    bottom: 0;
}
#footer img {
    width: 10%;
    margin: 1em;
}
#footer-heading {
    font-size: 2em;
    font-weight: bold;
    margin: 1em;
}
#infooter-cont {
    display: flex;
    align-items: center;
}
#footer-address {
    font-weight: bold;
    font-size: 1.3em;
    margin: 1em;
    width: 25%;
    padding: 0.5em;
    border: 1px solid black;
}

/**/
/*work in progress*/
/**/
.work-in-progress {
    display: flex;
    justify-content: space-evenly;
    border: 2px solid black;
    border-radius: 2em;
}
.work-in-progress img {
    width: 25%;
    margin: 2em;
}
.work-in-progress div {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
}

/*
#uklizecky {
    border: 2px solid black;
    background-color: aquamarine;
    padding: 1em;
    position: absolute;
    top: 1000px;
    right: 6px;
}*/