@charset "UTF-8";

/* ==========================================================================
   Veřejná stránka — jedna obrazovka, jeden formulář.
   Záměrně bez CSS proměnných, bez gridu, bez clamp() a bez webových fontů:
   musí to fungovat i na starých telefonech a prohlížečích.
   ========================================================================== */

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    height: 100%;
    background: #ffffff;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    height: 100%;
    margin: 0;
    background: #ffffff;
    color: #10293f;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Svislé vycentrování tabulkou — funguje od IE8 do dneška. */
.screen {
    display: table;
    width: 100%;
    height: 100%;
    table-layout: fixed;
}

.middle {
    display: table-cell;
    vertical-align: middle;
    padding: 40px 20px;
}

.col {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
}

::selection {
    background: #ff9d26;
    color: #10293f;
}

::-moz-selection {
    background: #ff9d26;
    color: #10293f;
}

a:focus,
button:focus,
textarea:focus,
input:focus {
    outline: 2px solid #10293f;
    outline-offset: 3px;
}

svg {
    display: block;
}

strong,
b {
    font-weight: 600;
}

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10;
    padding: 10px 16px;
    background: #10293f;
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
}

.skip:focus {
    left: 16px;
    top: 16px;
}

.hidden-title {
    position: absolute;
    width: 1px;
    height: 1px; /* taste-skill-ignore: skryty nadpis pro ctecty, neni to vizualni linka */
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ---------------------------------------------------------------------- text */

.intro {
    margin: 0 0 20px;
    font-size: 22px;
    line-height: 1.42;
    color: #10293f;
}

/* Zvýraznění v textu — světlá fixa. */
.mark {
    background: #fff0a8;
    color: inherit;
    padding: 0.06em 0.16em 0.02em;
    margin-left: -0.05em;
    margin-right: -0.05em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* ----------------------------------------------------------------- facebook */

.fb {
    position: relative;
    display: block;
    margin: 0 0 20px;
    padding: 12px 18px 12px 58px;
    background: #c7dcf7;
    color: #10293f;
    text-decoration: none;
}

.fb:hover {
    background: #b7d3ea;
    text-decoration: none;
}

.fb:focus {
    outline: 2px solid #10293f;
    outline-offset: 3px;
}

.fb__icon {
    position: absolute;
    left: 18px;
    top: 14px;
    width: 26px;
    height: 26px;
    color: #166fe5;
}

.fb__title {
    display: block;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.fb__note {
    display: block;
    margin-top: 2px;
    font-size: 16px;
    line-height: 1.35;
}

.fb__u {
    text-decoration: underline;
}

/* ----------------------------------------------------------------- formulář */

.form {
    margin: 0;
}

.form__label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #10293f;
}

.field {
    display: block;
    width: 100%;
    min-height: 150px;
    margin: 0;
    padding: 12px 15px;
    border: 0;
    background: #e9f2fb;
    color: #10293f;
    font-family: inherit;
    font-size: 18px;
    line-height: 1.5;
    resize: vertical;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    border-radius: 0;
}

.field:hover {
    background: #ddebf8;
}

.field:focus {
    outline: 2px solid #10293f;
    outline-offset: 2px;
    background: #e9f2fb;
}

.field[aria-invalid="true"] {
    background: #fdeee2;
}

.btn {
    display: block;
    width: 100%;
    margin: 18px 0 0;
    padding: 15px 20px;
    border: 0;
    background: #2878b8;
    color: #ffffff;
    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-appearance: none;
}

.btn:hover {
    background: #1f669e;
}

.btn[disabled] {
    opacity: 0.6;
    cursor: progress;
}

.btn__icon {
    display: inline-block;
    width: 19px;
    height: 19px;
    margin-right: 9px;
    vertical-align: -4px;
}

.btn--quiet {
    display: inline-block;
    width: auto;
    background: transparent;
    color: #10293f;
    border: 2px solid #10293f;
    padding: 10px 18px;
    font-size: 16px;
}

.btn--quiet:hover {
    background: #10293f;
    color: #ffffff;
}

/* Past na roboty: v DOM je, pro člověka ne. */
.honeypot {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px; /* taste-skill-ignore: skryté pole proti spamu, není to vizuální linka */
    overflow: hidden;
}

.form__message {
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    color: #9a5600;
}

.form__message:empty {
    display: none;
}

/* ---------------------------------------------------------------- potvrzení */

.done {
    padding: 20px 22px 22px;
    background: #e9f2fb;
}

.done__icon {
    width: 26px;
    height: 26px;
    margin-bottom: 10px;
    color: #2878b8;
}

.done__title {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

.done .btn {
    margin-top: 0;
}

/* ---------------------------------------------------------------- anonymita */

.anon {
    position: relative;
    margin: 18px 0 0;
    padding: 14px 18px 14px 58px;
    background: #ffc078;
    color: #10293f;
}

.anon__icon {
    position: absolute;
    left: 18px;
    top: 14px;
    width: 26px;
    height: 26px;
}

.anon__title {
    display: block;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
}

.anon__note {
    display: block;
    margin-top: 2px;
    font-size: 16px;
    line-height: 1.3;
}

/* --------------------------------------------------------------------- info */

.info {
    position: relative;
    margin: 18px 0 0;
    padding-left: 26px;
    font-size: 16px;
    line-height: 1.5;
    color: #405869;
}

.info__icon {
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
}

/* -------------------------------------------------------------------- pohyb */

@-webkit-keyframes rise {
    from { opacity: 0; -webkit-transform: translateY(10px); transform: translateY(10px); }
    to { opacity: 1; -webkit-transform: none; transform: none; }
}

@keyframes rise {
    from { opacity: 0; -webkit-transform: translateY(10px); transform: translateY(10px); }
    to { opacity: 1; -webkit-transform: none; transform: none; }
}

.rise {
    -webkit-animation: rise 460ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
    animation: rise 460ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.rise.d1 { -webkit-animation-delay: 20ms; animation-delay: 20ms; }
.rise.d2 { -webkit-animation-delay: 80ms; animation-delay: 80ms; }
.rise.d3 { -webkit-animation-delay: 140ms; animation-delay: 140ms; }
.rise.d4 { -webkit-animation-delay: 200ms; animation-delay: 200ms; }
.rise.d5 { -webkit-animation-delay: 260ms; animation-delay: 260ms; }

/* -------------------------------------------------- nízká okna bez scrollování */

@media (max-height: 820px) {
    .middle {
        padding: 24px 20px;
    }

    .intro {
        margin-bottom: 14px;
    }

    .fb {
        margin-bottom: 16px;
    }

    .field {
        min-height: 112px;
    }

    .btn {
        margin-top: 14px;
        padding: 12px 20px;
    }

    .anon {
        margin-top: 12px;
        padding: 12px 18px 12px 54px;
    }

    .anon__icon {
        top: 12px;
        left: 16px;
    }

    .info {
        margin-top: 12px;
    }
}

/* ------------------------------------------------------------------- telefon */

@media (max-width: 560px) {
    body {
        font-size: 17px;
    }

    .middle {
        padding: 30px 20px;
    }

    .intro {
        font-size: 19px;
        margin-bottom: 18px;
    }

    .fb {
        font-size: 15px;
    }

    .field {
        min-height: 140px;
        font-size: 17px;
    }

    .btn {
        font-size: 17px;
    }

    .anon__title {
        font-size: 17px;
    }

    .anon__note,
    .info {
        font-size: 15px;
    }
}