html, body { height: 100%; width: 100%; margin: 0; padding: 0; } #map { height: 100%; width: 100%; } body:has(#map[data-max]) { height: 100vh; display: flex; flex-direction: column; overflow: hidden; } #map[data-max] { flex: 1 1 auto; height: auto; min-height: 0; } .naseptavac { position: relative; } .naseptavac input { min-height: 2.75rem; font-size: 1rem; border-radius: 0.8rem; border-color: #d5e3f5; } .naseptavac input:focus { border-color: #2652a8; box-shadow: 0 0 0 0.2rem rgba(38, 82, 168, 0.16); } .naseptavac-nabidka { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 0.35rem); padding: 0.35rem; background: #fff; border: 0; border-radius: 0.9rem; box-shadow: 0 12px 32px rgba(25, 55, 110, 0.18); } .naseptavac-polozka { display: flex; align-items: center; width: 100%; min-height: 2.75rem; text-align: left; border: 0; border-radius: 0.65rem; background: transparent; color: #1a3a6b; padding: 0.55rem 0.8rem; font-size: 1rem; line-height: 1.25; } .naseptavac-polozka.is-active, .naseptavac-polozka:hover { background: #e3f2fd; color: #2652a8; } @media (max-width: 576px) { #modalPridelit .modal-dialog { margin: 0.5rem; } #modalPridelit .modal-content { border: 0; border-radius: 1rem; } .naseptavac-nabidka { position: static; margin-top: 0.4rem; } .naseptavac input, .naseptavac-polozka { min-height: 3rem; font-size: 1.05rem; } } .obvod-znacka, .obvod-skupina { background: none; border: none; } .obvod-znacka-telo, .obvod-skupina-telo { display: flex; flex-direction: column; align-items: center; line-height: 1; } .obvod-kolecko { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid transparent; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); font-size: 12px; font-weight: 700; box-sizing: border-box; } .obvod-badge { margin-top: 2px; padding: 1px 5px 2px; border-radius: 8px; border: 1px solid rgba(0, 0, 0, 0.28); font-size: 10px; font-weight: 700; white-space: nowrap; text-align: center; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); box-sizing: border-box; } .obvod-skupina .obvod-kolecko { width: 40px; height: 40px; font-size: 13px; } .mapa-filtr { display: flex; flex-wrap: wrap; gap: 4px; max-width: calc(100vw - 4rem); padding: 4px; background: rgba(255, 255, 255, 0.94); border-radius: 8px; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25); } .mapa-filtr button { border: 2px solid #c9a24d; border-radius: 6px; background: #f8efd0; color: #6f5410; font-size: 13px; font-weight: 700; padding: 0.4rem 0.7rem; line-height: 1.2; } .mapa-filtr button:hover, .mapa-filtr button.is-active { background: #c9a227; color: #fff; border-color: #8f7010; } .mapa-filtr button.is-active:hover { background: #a88416; color: #fff; } .stari-legenda { background: rgba(255, 255, 255, 0.94); border-radius: 6px; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25); padding: 8px 10px; width: 210px; color: #1a1a1a; font-size: 12px; line-height: 1.3; } .stari-legenda-nadpis { font-weight: 700; margin-bottom: 6px; } .stari-legenda-skala { height: 10px; border-radius: 5px; background: linear-gradient(to right, rgb(27, 158, 62), rgb(230, 184, 0), rgb(198, 40, 40)); } .stari-legenda-popisky { display: flex; justify-content: space-between; margin-top: 2px; } .stari-legenda-seda { display: flex; align-items: center; gap: 6px; margin-top: 6px; } .stari-legenda-seda span { width: 14px; height: 14px; border-radius: 2px; background: #9e9e9e; border: 2px solid #616161; box-sizing: border-box; } #obvod-nahled { height: 42vh; min-height: 220px; width: 100%; border: 1px solid #90caf9; border-radius: 4px; } .home { min-height: calc(100vh - 3.5rem); background: radial-gradient(900px 420px at 0% -8%, #c5ddf6 0%, transparent 62%), linear-gradient(180deg, #e3f2fd 0%, #f4f8fc 42%, #ffffff 100%); padding: 1.15rem 0.9rem 2.4rem; } .home-hlavicka { max-width: 52rem; margin: 0 auto 1.15rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; background: rgba(255, 255, 255, 0.94); border: 1px solid #c5ddf6; border-radius: 1.15rem; box-shadow: 0 12px 28px rgba(29, 79, 145, 0.1); } .home-nadpis { margin: 0; font-size: 1.55rem; font-weight: 800; letter-spacing: -0.03em; color: #1d4f91; } .home-popis { margin: 0.2rem 0 0; color: #3d5a80; font-size: 0.95rem; } .tlacitko, .home-cela { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0.55rem 1.15rem; border-radius: 999px; border: 2px solid #1d4f91; background: #c5ddf6; color: #1d4f91; font-weight: 800; font-size: 1rem; line-height: 1.2; text-align: center; text-decoration: none; box-shadow: 0 4px 12px rgba(29, 79, 145, 0.16); cursor: pointer; } .tlacitko:hover, .tlacitko:focus-visible, .home-cela:hover, .home-cela:focus-visible { background: #2652a8; color: #fff; } .tlacitko.is-aktivni { background: #2652a8; color: #fff; } .tlacitko.is-aktivni:hover, .tlacitko.is-aktivni:focus-visible { background: #1d4f91; color: #fff; } .tlacitko-nebezpeci { background: #fde8ea; color: #8d1d2c; border-color: #c44b5a; box-shadow: 0 4px 12px rgba(141, 29, 44, 0.12); } .tlacitko-nebezpeci:hover, .tlacitko-nebezpeci:focus-visible { background: #c44b5a; color: #fff; } .home-mrizka { max-width: 52rem; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: 0.85rem; } .home-obvod { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid #1d4f91; background: #2652a8; color: #fff; font-size: clamp(1.2rem, 4.6vw, 1.5rem); font-weight: 800; line-height: 1; text-decoration: none; box-shadow: 0 4px 10px rgba(29, 79, 145, 0.28); transition: transform 0.12s ease, background-color 0.12s ease; } .home-obvod:hover, .home-obvod:focus-visible { background: #1d4f91; color: #fff; transform: translateY(-2px); } .home-obvod:active { transform: translateY(0); background: #163e78; } .home { padding-left: max(0.9rem, env(safe-area-inset-left)); padding-right: max(0.9rem, env(safe-area-inset-right)); padding-bottom: max(2.4rem, env(safe-area-inset-bottom)); } @media (max-width: 720px) { .home-mrizka { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; } } @media (max-width: 520px) { .home { padding-top: 0.85rem; } .home-hlavicka { flex-direction: column; align-items: stretch; text-align: center; padding: 1rem; } .home-nadpis { font-size: 1.7rem; } .home-popis { font-size: 1.05rem; line-height: 1.4; } .home-cela { width: 100%; min-height: 3.25rem; font-size: 1.1rem; } .home-mrizka { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; } .home-obvod { font-size: 1.4rem; } } @media (orientation: portrait) { .btn-letter { font-size:10vw; font-weight: bold; color: #2652a8; width: 18vw; height: 18vw; margin: 0.5vw; text-align: center; } .btn-letter-del { font-size:8.5vw; width: 18vw; height: 18vw; margin: 0.5vw; text-align: center; } } @media (orientation: landscape) { .btn-tlacitko { max-width: 22rem; } .btn-letter { font-size:4vw; font-weight: bold; color: #2652a8; width: 8vw; height: 8vw; margin: 0.5vw; text-align: center; } .btn-letter-del { font-size:3.5vw; width: 8vw; height: 8vw; margin: 0.5vw; text-align: center; } } .prihlaseni-obal { width: 100%; display: flex; justify-content: center; padding: 1.25rem 1rem 2rem; } .prihlaseni { width: min(22rem, 100%); } .prihlaseni .form-control { min-height: 3rem; font-size: 1.05rem; } .prihlaseni-odeslat { margin-top: 0.85rem; min-height: 3rem; font-size: 1.1rem; } .obvod-udaje { display: grid; gap: 0.35rem; margin: 0 0 0.85rem; } .obvod-udaje div { display: flex; flex-wrap: wrap; gap: 0.35rem 0.75rem; } .obvod-udaje dt { margin: 0; color: #3d5a80; font-weight: 700; } .obvod-udaje dd { margin: 0; color: #1a1a1a; font-weight: 600; } .obvod-akce { display: flex; flex-wrap: wrap; gap: 0.5rem; } .obvod-akce .btn { flex: 1 1 8rem; min-height: 2.85rem; } @media (max-width: 991.98px) { #menu .navbar-brand { font-size: 1.25rem; font-weight: 800; color: #1d4f91; } #menu .navbar-toggler { min-width: 3rem; min-height: 3rem; padding: 0.45rem 0.6rem; } #menu .nav-link { display: flex; align-items: center; min-height: 3rem; padding: 0.75rem 0.2rem; font-size: 1.125rem; font-weight: 600; } } @media (max-width: 576px) { .stranka, .container-fluid.p-2 { padding-left: max(0.75rem, env(safe-area-inset-left)) !important; padding-right: max(0.75rem, env(safe-area-inset-right)) !important; } h3, h5 { line-height: 1.25; } .table { font-size: 1rem; } .btn-sm { min-height: 2.5rem; padding: 0.4rem 0.8rem; font-size: 1rem; } .btn-group.flex-wrap { display: flex; gap: 0.4rem; } .btn-group.flex-wrap > .btn { flex: 1 1 auto; border-radius: 0.6rem !important; min-height: 2.75rem; } .mapa-filtr { max-width: calc(100% - 3.25rem); gap: 0.25rem; padding: 0.3rem; } .mapa-filtr button { font-size: 0.95rem; padding: 0.55rem 0.7rem; } .stari-legenda { width: min(15rem, calc(100vw - 4.5rem)); font-size: 0.85rem; } .obvod-kolecko { width: 36px; height: 36px; font-size: 15px; } #obvod-nahled { height: 34vh; min-height: 180px; } .modal-footer { flex-wrap: wrap; gap: 0.4rem; } .modal-footer .btn, .modal-footer .tlacitko { flex: 1 1 8rem; min-height: 2.85rem; } } .platno { min-height: calc(100vh - 3.5rem); background: radial-gradient(900px 420px at 0% -8%, #c5ddf6 0%, transparent 62%), linear-gradient(180deg, #e3f2fd 0%, #f4f8fc 42%, #ffffff 100%); padding: 1.15rem max(0.9rem, env(safe-area-inset-right)) max(2.4rem, env(safe-area-inset-bottom)) max(0.9rem, env(safe-area-inset-left)); } .lista, .panel { max-width: 64rem; margin-left: auto; margin-right: auto; background: rgba(255, 255, 255, 0.94); border: 1px solid #c5ddf6; border-radius: 1.15rem; box-shadow: 0 12px 28px rgba(29, 79, 145, 0.1); } .lista { margin-bottom: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; } .lista-nadpis { margin: 0; font-size: 1.55rem; font-weight: 800; letter-spacing: -0.03em; color: #1d4f91; } .lista-popis { margin: 0.2rem 0 0; color: #3d5a80; font-size: 0.95rem; } .panel { padding: 0.95rem 1rem 1.05rem; } .panel h2 { margin: 0 0 0.75rem; font-size: 1.05rem; font-weight: 800; color: #1d4f91; } .panel-uzky { max-width: 36rem; } .filtry, .akce { display: flex; flex-wrap: wrap; gap: 0.5rem; } .filtry { margin-bottom: 0.85rem; } .tlacitko.tlacitko-filtr { background: #f8efd0; color: #6f5410; border-color: #c9a24d; box-shadow: 0 4px 12px rgba(143, 112, 16, 0.16); } .tlacitko.tlacitko-filtr:hover, .tlacitko.tlacitko-filtr:focus-visible, .tlacitko.tlacitko-filtr.is-aktivni { background: #c9a227; color: #fff; border-color: #8f7010; } .tlacitko.tlacitko-filtr.is-aktivni:hover, .tlacitko.tlacitko-filtr.is-aktivni:focus-visible { background: #a88416; color: #fff; } .akce { justify-content: flex-end; } .formular .form-control, .modal .form-control, .modal .form-select, .prihlaseni .form-control { min-height: 2.9rem; border-radius: 0.8rem; border-color: #d5e3f5; font-size: 1.05rem; } .formular .form-label, .modal .form-label, .prihlaseni label { color: #1d4f91; font-weight: 700; } .panel .prihlaseni { width: 100%; } .formular-akce { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; } .podklady { border: 0; margin: 0 0 0.85rem; padding: 0; } .podklady-popis { margin-bottom: 0.75rem; } .formular .form-check { display: flex; align-items: center; gap: 0.55rem; min-height: 2.2rem; margin-bottom: 0.2rem; } .formular .form-check-input { width: 1.15rem; height: 1.15rem; margin: 0; border-color: #2652a8; } .formular .form-check-input:checked { background-color: #2652a8; border-color: #2652a8; } .formular .form-check-label { color: #1a1a1a; font-size: 1.05rem; } .tabulka { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0; } .tabulka th { text-align: left; color: #1d4f91; font-size: 0.85rem; font-weight: 800; padding: 0.45rem 0.7rem 0.6rem; border-bottom: 2px solid #c5ddf6; } .tabulka td { padding: 0.7rem; border-bottom: 1px solid #e3f2fd; vertical-align: middle; color: #1a1a1a; } .tabulka tbody tr:last-child td { border-bottom: 0; } .bunka-akce .akce-radek { display: flex; flex-wrap: wrap; gap: 0.4rem; } .akce-radek form { margin: 0; } .prazdno { margin: 0.2rem 0 0.3rem; color: #3d5a80; } .detail .lista, .detail-telo { max-width: 76rem; } .detail-identita { display: flex; align-items: center; gap: 0.9rem; min-width: 0; } .detail-cislo { display: flex; align-items: center; justify-content: center; width: 4.4rem; height: 4.4rem; flex: 0 0 auto; border-radius: 50%; border: 2px solid #1d4f91; background: #2652a8; color: #fff; font-size: 1.35rem; font-weight: 800; box-shadow: 0 4px 10px rgba(29, 79, 145, 0.28); } .detail-telo { margin: 0 auto; display: grid; grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.25fr); gap: 1rem; align-items: stretch; } .detail-telo .panel { max-width: none; margin: 0; min-width: 0; } .detail-mapa #obvod-nahled { height: calc(100vh - 15rem); min-height: 320px; margin: 0; border: 1px solid #c5ddf6; border-radius: 0.9rem; box-shadow: none; } .detail-zaznamy { display: flex; flex-direction: column; max-height: calc(100vh - 12.5rem); } .detail-zaznamy .tabulka-obal { overflow: auto; min-height: 0; } .modal-content { border: 1px solid #c5ddf6; border-radius: 1.15rem; box-shadow: 0 18px 40px rgba(29, 79, 145, 0.18); } .modal-header, .modal-footer { border-color: #e3f2fd; } .modal-footer { justify-content: flex-start; gap: 0.5rem; } .tlacitko.tlacitko-zrusit { margin-left: auto; background: #eceff1; color: #455a64; border-color: #90a4ae; box-shadow: none; } .tlacitko.tlacitko-zrusit:hover, .tlacitko.tlacitko-zrusit:focus-visible { background: #cfd8dc; color: #263238; border-color: #78909c; } .modal-title { color: #1d4f91; font-weight: 800; } .flash { margin: 0; padding: 0.7rem 1rem; background: #e3f2fd; color: #1d4f91; font-weight: 700; } .flash.error, .flash.warning { background: #fde8ea; color: #8d1d2c; } @media (max-width: 900px) { .detail-telo { grid-template-columns: 1fr; } .detail-mapa #obvod-nahled { height: 38vh; min-height: 200px; } .detail-zaznamy { max-height: none; } } @media (max-width: 640px) { .lista { flex-direction: column; align-items: stretch; text-align: center; } .lista > .tlacitko, .akce, .formular-akce { width: 100%; } .akce, .formular-akce { flex-direction: column; } .akce .tlacitko, .formular-akce .tlacitko { width: 100%; } .detail-identita { flex-direction: column; } .tabulka thead { display: none; } .tabulka, .tabulka tbody, .tabulka tr, .tabulka td { display: block; width: 100%; } .tabulka tr { border: 1px solid #c5ddf6; border-radius: 1rem; margin-bottom: 0.7rem; padding: 0.35rem 0.85rem 0.65rem; background: #fff; } .tabulka td { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; border: 0; padding: 0.45rem 0; text-align: right; } .tabulka td::before { content: attr(data-popisek); color: #3d5a80; font-weight: 700; font-size: 0.85rem; text-align: left; } .tabulka td.bunka-akce { display: block; text-align: left; } .tabulka td.bunka-akce::before { display: block; margin-bottom: 0.35rem; } .bunka-akce .akce-radek, .bunka-akce .akce-radek form { display: flex; flex-direction: column; gap: 0.4rem; } .bunka-akce .tlacitko { width: 100%; } }