*
{
    box-sizing: border-box;
}

body
{
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #222222;
    background: #f4f6f8;
    line-height: 1.5;
}

:focus-visible
{
    outline: 3px solid #1a5fb4;
    outline-offset: 2px;
}

a
{
    color: #1f5f8b;
}

header
{
    background: #ffffff;
    border-bottom: 3px solid #1f5f8b;
}

.hlavicka
{
    max-width: 760px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.logo
{
    font-weight: 700;
    font-size: 1.2rem;
    color: #1f5f8b;
    text-decoration: none;
}

form.hladanie
{
    display: flex;
    gap: 6px;
}

    form.hladanie input
    {
        font: inherit;
        padding: 6px 8px;
        border: 2px solid #767676;
        border-radius: 4px;
        width: 11em;
    }

    form.hladanie button
    {
        font: inherit;
        padding: 6px 12px;
        border: 2px solid #1f5f8b;
        background: #1f5f8b;
        color: #ffffff;
        border-radius: 4px;
    }

main
{
    max-width: 760px;
    margin: 16px auto;
    background: #ffffff;
    padding: 8px 24px 24px;
}

h1
{
    font-size: 1.8rem;
}

h2
{
    font-size: 1.25rem;
    margin-top: 28px;
}

.pole
{
    margin: 14px 0;
}

    .pole label, .menovka
    {
        display: block;
        font-weight: 700;
        margin-bottom: 4px;
    }

    .pole input[type=text], .pole input[type=email], .pole input[type=tel], .pole input[type=password], .pole select
    {
        font: inherit;
        padding: 8px;
        border: 2px solid #767676;
        border-radius: 4px;
        width: 100%;
        max-width: 26em;
    }

    .pole input[size="2"], .pole input[size="4"]
    {
        width: 5em;
    }

    .pole input[size="6"]
    {
        width: 7em;
    }

.riadok
{
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
}

.datum
{
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.datum-cast
{
    margin: 0;
}

    .datum-cast label
    {
        font-weight: 400;
    }

.povinne > label, .povinne > .menovka, .otazka.povinne, .povinne-text
{
    color: #c00000;
}

.otazka
{
    font-weight: 700;
    margin: 18px 0 4px;
}

fieldset
{
    border: 1px solid #767676;
    border-radius: 4px;
    margin: 18px 0;
    padding: 8px 14px 12px;
}

legend
{
    font-weight: 700;
    padding: 0 4px;
}

.datum-skupina
{
    border: 0;
    padding: 0;
    margin: 14px 0;
}

.volba
{
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 6px 0;
}

    .volba input
    {
        width: 22px;
        height: 22px;
        margin: 0;
        accent-color: #1f5f8b;
    }

    .volba label
    {
        font-weight: 400;
    }

.hviezda
{
    color: #c00000;
}

.pomoc
{
    margin: 4px 0;
    color: #4a4a4a;
    font-size: 0.95rem;
}

.heslo-riadok
{
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

    .heslo-riadok input
    {
        flex: 1;
        min-width: 12em;
    }

.ukaz
{
    font: inherit;
    padding: 6px 12px;
    border: 2px solid #1f5f8b;
    background: #ffffff;
    color: #1f5f8b;
    border-radius: 4px;
    cursor: pointer;
}

.vlastne-pole
{
    width: 22px;
    height: 22px;
    border: 2px solid #767676;
    border-radius: 3px;
    cursor: pointer;
    flex: none;
}

    .vlastne-pole.zaskrtnute
    {
        background: #1f5f8b;
        box-shadow: inset 0 0 0 3px #ffffff;
    }

.odoslat
{
    display: inline-block;
    font: inherit;
    font-weight: 700;
    padding: 10px 20px;
    margin-top: 18px;
    border: 0;
    border-radius: 4px;
    background: #1f5f8b;
    color: #ffffff;
    cursor: pointer;
}

#pobocka-info
{
    margin: 6px 0;
    padding: 8px 12px;
    background: #eef3f8;
    border-left: 4px solid #1f5f8b;
}

    #pobocka-info:empty
    {
        display: none;
    }

.sr
{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

footer
{
    max-width: 760px;
    margin: 0 auto 24px;
    padding: 0 16px;
    color: #4a4a4a;
}
