@font-face {
    font-family: 'Comic Sans MS'; /*a name to be used later*/
    src: url('fonts/comic.ttf'); /*URL to font*/
}

* {
    font-family: 'Comic Sans MS', Verdana, Arial;
}

h1 {
    font-size: 60px; 
    text-align:center;
    color:darkgreen
}

.logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    margin-bottom: 20px;
    margin-top: 20px;
}

/* Add a black background color to the top navigation */
.topnav {
    background-color: #333;
    overflow: hidden;
    display: flex;
    justify-content: center;
    -webkit-backface-visibility: hidden;
    position: sticky;
    top: 0;
    width: 100%;
    max-width: 100%;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    background-color: darkgreen;
    border-right: 1px solid #bbb;
}

.topnav a.last-menu {
    border-right: none;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
    background-color: darkgreen;
    color: white;
}

.chapter {
    display: flex;
    justify-content: center;
}

.rajce {
    display: flex;
    justify-content: center;
}

.content {
    background: rgba(255, 255, 255, 0.9);
    height: auto;
    padding: 3vmin 0 8vmin 0;
    width: 100%;
}

.content .container_content {
    height: auto;
    margin: 0 auto;
    padding: 0 2vmin 0 2vmin;
    max-width: 1300px;
    width: 100%;
}

.content .content_category {
    height: auto;
    width: 100%;
}

.content .content_category table {
    background: rgba(255, 255, 255, 0.5);
    display: table;
    border: solid 2px #ddd;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 auto;
    text-align: left;
    max-width: 1000px;
    width: 100%;
}

.content .content_category ul {
    display: table;
    margin: 0;
    padding: 0;
}

    .content .content_category ul li {
        display: table-row;
        color: #333;
        font-size: 0.9em;
        font-weight: 400;
        list-style: none;
        line-height: 1.65em;
    }

        .content .content_category ul li:before {
            display: table-cell;
            content: "\25E6";
            color: #000;
            font-size: 2.2em;
            font-weight: 100;
            line-height: 0.2em;
            padding: 8px 10px 0 0;
            text-align: right;
            vertical-align: top;
        }

        .content .content_category ul li a:link, .content .content_category ul li a:visited, .content .content_category ul li a:hover {
            color: #2359a1;
            font-size: 0.9rem;
            font-weight: 400;
            text-decoration: underline;
            transition: all 0.3s ease 0s;
        }

        .content .content_category ul li p {
            color: #000;
            font-size: 0.9rem;
            margin: 0 0 8px 0;
        }


/* seznam defaultn� c�slovan� */

.content > .content_category > ol {
    counter-reset: item;
    margin-left: 0;
    padding-left: 0;
    margin-bottom: 0.8em;
}

    .content > .content_category > ol li {
        display: block;
        margin-bottom: .5em;
        margin-left: 1.4em;
        color: #000;
        font-size: 0.95em;
        font-weight: 400;
        line-height: 1.5em;
        width: 100%;
    }

        .content > .content_category > ol li::before {
            display: inline-block;
            color: #000;
            content: counter(item) ". ";
            counter-increment: item;
            width: 1.4em;
            margin-left: -1.4em;
        }

.content .content_category > ol li a:link, .content .content_category > ol li a:visited, .content .content_category > ol li a:hover {
    color: #2359a1;
    font-size: 0.9rem;
    text-decoration: underline;
    transition: all 0.3s ease 0s;
}

.content .content_category > ol li p {
    color: #000;
    font-size: 0.9rem;
    margin: 0 0 8px 0;
}


/* tabulka - defaultn� */

.content .content_category table {
    background: rgba(255, 255, 255, 0.5);
    display: table;
    border: solid 2px #ddd;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 auto;
    text-align: left;
    max-width: 1000px;
    width: 100%;
}

    .content .content_category table tr {
        border-top: solid 1px #ddd;
    }

        .content .content_category table tr:after {
            clear: both;
        }

    .content .content_category table td, .content .content_category table th {
        color: #000;
        font-size: 0.9em;
        font-weight: 400;
        line-height: 1.6em;
        display: table-cell;
        padding: 10px 3vmin 10px 3vmin;
        vertical-align: top;
    }

    .content .content_category table tr.this-one > td {
        background-color: #a7bdd9;
    }

    .content .content_category table td a:link, .content .content_category table td a:visited, .content .content_category table td a:hover {
        color: #2359a1;
        font-size: 0.9rem;
        font-weight: 400;
        line-height: 1.5em;
        text-decoration: underline;
        transition: all 0.3s ease 0s;
    }


/* fotogalerie */

.content .content_image_block {
    height: auto;
    margin: 2vmin auto 2vmin auto;
    width: 100%;
    text-align: center;
}

    .content .content_image_block img {
        border: solid 1px #ddd;
        display: inline-block;
        margin: 1vmin;
        max-width: 100%;
        width: auto;
        height: auto;
        max-height: 18vmin;
    }

    .content .content_image_block a:link, .content .content_image_block a:visited, .content .content_image_block a:hover {
        text-decoration: none;
    }
