/*
Theme Name: Twenty Twenty-Four
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Four is designed to be flexible, versatile and applicable to any website. Its collection of templates and patterns tailor to different needs, such as presenting a business, blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process, is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4.
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.0
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*.wp-block-post-date,
.wp-block-post-author,
.wp-block-post-terms {
    display: none !important;
}*/

/* Hide the post meta data */
/*.wp-block-post .wp-block-template-part {
    display: none !important;
}*/

/* Zobrazit logo a název vedle sebe */
.inline-middle {
    display: inline-block; /* Zajistí, že budou vedle sebe */
    vertical-align: middle; /* Zajistí, že budou vyrovnány vertikálně */
}

.flex {
    display: flex;
    align-items: center;
}

.footer-logo {
    margin-right: 10px;
}

.pr10 {
   padding-right: 10px;
}
.mb125 {
    margin-bottom: 125px !important;
}

.text-center {
    text-align: center;
}

nav.extra-menu-clen {
    max-width: 350px;
    min-height: 30px;
    margin: 0 auto;
}

#menu-menu-pro-cleny {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
}
#menu-menu-pro-cleny li {
    list-style: none;
}
#menu-menu-pro-cleny li a {
    text-decoration: none;
}
#menu-menu-pro-cleny li a:hover {
    text-decoration: underline;
}
@media (max-width: 400px) {
    #menu-menu-pro-cleny {
        flex-direction: column;
    }
    #menu-menu-pro-cleny li {
        margin-bottom: 10px;
    }
}

.category-informace h1 {
    padding-top: 55px !important;
}
.page-id-179 .wp-block-spacer,
.page-id-216 .wp-block-spacer {
    height: 40px !important;
}

/*.rezervace-slot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem;
    border-bottom: 1px solid #ddd;
    align-items: center;
}
.rezervace-slot > * {
    flex: 1 1 100%;
}
@media (min-width: 600px) {
    .rezervace-slot > * {
        flex: 1 1 auto;
    }
}*/

header p.logout-wrapper {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 12px;
}
header p.logout-wrapper a {
    text-decoration: none;
}
header p.logout-wrapper a:hover {
    text-decoration: underline;
}

.wp-block-navigation__responsive-container {
    background-color: var(--wp--preset--color--contrast) !important;

}

header .has-base-background-color,
footer {
    background-color: var(--wp--preset--color--contrast) !important;
}

header *,
footer * {
    color: var(--wp--preset--color--base) !important;
}

/***************** REZERVACE ************************/
.rezervace-den-wrapper {
    display: flex;
    flex-direction: column;
    /*gap: 5px;*/
}

.rezervace-den-wrapper .streliste {
    width: 30px;
    cursor: help;
}

.rezervace-den {
    margin-top: 20px;
    margin-bottom: 0;
}

.rezervace-slot {
    display: grid;
    grid-template-columns: 2fr 0.3fr 0.7fr auto; /* Jméno, střelnice, čas, tlačítko */
    gap: 0.5rem;
    align-items: center;
    padding: 3px 0;
    border-bottom: 1px solid #ddd;
}

.rezervace-slot input {
    /*width: 100%;*/
    height: 20px;
    border: 1px solid #ddd;
    border-radius: 2px;
}
.rezervace-slot .btn-wrapper {
    width: 50px;
}
.rezervace-slot .btn-wrapper button {
    background: black;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 4px 8px;
    cursor: pointer;
}
.rezervace-slot .btn-wrapper button:hover {
    background-color: #3d3d3d;
}

@media (max-width: 500px) {
    .rezervace-slot {
        grid-template-columns: 1fr;
    }

    .rezervace-slot > * {
        width: 100%;
    }

    .rezervace-slot button {
        justify-self: start;
    }
}

.scroll-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    display: none;
}

.scroll-to-top-btn:hover {
    background-color: #0056b3;
}
/********************************************************/

/*************** Seznam *************************/
/*.info-line {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
    margin-bottom: 10px;
}

.info-item {
    flex: 1 1 auto;
    color: #333;
    word-break: break-word;
}

@media (max-width: 600px) {
    .info-line {
        flex-direction: column;
        gap: 10px;
    }
}*/
.info-line {
    display: grid;
    grid-template-columns: 0.2fr 2fr 2fr; /*1fr;*/
    gap: 20px;
    padding: 8px;
    background: #fff;
    border-radius: 8px;
    //margin-bottom: 5px;
    align-items: center;
    margin-block-start: 10px
}
.info-item {
    word-break: break-word;
}
@media (max-width: 600px) {
    .info-line {
        grid-template-columns: 1fr;
    }
}
/********************************************************/

footer {
    position: relative;
}

footer h1.wp-block-site-title {
    padding-top: 0 !important;
}

footer .cookies-link {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 12px;
}
footer .cookies-link a {
    text-decoration: none;
}
footer .cookies-link a:hover {
    text-decoration: underline;
}

/*footer .address {
    margin-left: 55px;
}*/

/*footer {
    max-width: var(--wp--style--global--wide-size);
    margin-left: auto;
}*/
