html * {
    max-height: 1000000px;
}

* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

a {
    color: #c00;
    text-decoration: none;
}

body {
    background: #fff;
    font-size: 91.25%;
    font-family: Open Sans, Roboto, arial;
    color: #000;
}

.page-blok {
    width: 100%;
    margin: 100px auto 0px auto;
    background: #fff;
    border: 1px solid #fff;
}


header {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 100;
    margin: 0px 0px 0px 0px;
    background: #fff;
}

.header-box {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    margin: 10px 0px 10px 0px;
    border: 0px solid #c00;
}

.header-nadpis-box {
    color: #333;
    line-height: 1;
    align-self: center;
}

.header-nadpis-1-red {
    color: #c00;
}

.header-nadpis-1-red span {
    text-transform: lowercase;
}

.header-nadpis-1-ext {
    font-size: 0.5em;
    font-weight: 400;
}

.header-nadpis-1 {
    font-family: Roboto Condensed, arial;
    font-weight: 700;
    font-size: 2.5em;
    color: #000;
    padding: 0px 0px 0px 15px;
    text-transform: uppercas;
    line-height: 1;
}

.header-search-btn-box {
    align-self: center;
    padding: 0px 10px 0px 0px;
    cursor: pointer;
    background: #fff;
}

.header-search-btn-box .material-icons {
    font-size: 36px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    vertical-align: middle;
}

.header-search-box {}

.header-search-input {
    position: absolute;
    top: 55px;
    left: 0px;
    right: 0px;
    z-index: 500;
    display: none;
}

.header-search-input input {
    outline: none;
    padding: 15px 15px;
    width: 100%;
    border: 0px;
    font-size: 1em;
    font-family: Open Sans, Roboto;
    letter-spacing: 0.1px;
    background: #fff;
    border: 1px solid #e0e0e0;
}

.header-search-input .material-icons {
    position: absolute;
    right: 5px;
    top: 50%;
    height: 36px;
    width: 36px;
    margin-top: -18px;
    cursor: pointer;
    font-size: 36px;
}

.header-user-box {
    justify-self: end;
    place-self: center;
    padding-right: 0px;
    border: 0px solid #f00;
}

.header-user-box .material-icons {
    font-size: 36px;
    cursor: pointer;
    line-height: 36px;
    width: 36px;
    height: 36px;
    text-align: center;
    vertical-align: middle;
    padding: 0px;
}

.header-user-login-box span {
    display: none;
}

.header-user-login-box .material-icons {
    color: #d0d0d0;
}

.header-user-logged-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    display: grid;
    grid-template-columns: 1fr 40px;
    align-items: center;

    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;

    -khtml-border-radius-topleft: 3px;
    -khtml-border-radius-topright: 3px;
    -khtml-border-radius-bottomleft: 3px;
    -khtml-border-radius-bottomright: 3px;

    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    -moz-border-radius-bottomleft: 3px;
    -moz-border-radius-bottomright: 3px;

    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.header-user-logged-box .foto {
    padding: 2px;
}

.header-user-logged-box .fotka {

    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;

    -khtml-border-radius-topleft: 3px;
    -khtml-border-radius-topright: 3px;
    -khtml-border-radius-bottomleft: 3px;
    -khtml-border-radius-bottomright: 3px;

    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    -moz-border-radius-bottomleft: 3px;
    -moz-border-radius-bottomright: 3px;

    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.header-user-logged-box .jmeno {
    padding: 0px 10px 0px 0px;
    color: #333;
    font-weight: 600;
    display: none;
}

footer {
    background: #f0f0f0;
    color: #888;
    margin: 30px 0px 0px 0px;
}

.footer {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 30px;
    column-gap: 15px;
    padding: 30px;
    line-height: 1.5;
}

.footer-menu div {
    color: #333;
    font-weight: 500;
}

.footer-menu a {
    display: block;
}

.footer-donate {
    line-height: 1.5;

    .footer-donate-popis {
        padding-bottom: 15px;

        div {
            font-weight: 500;
            color: #333;
        }
    }

    .footer-donate-items {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 10px;
        row-gap: 10px;
    }
}

.clean {
    clear: both;
    visibility: hidden;
}


@media only screen and (min-width: 999px) {

    body {
        background: #fff;
    }

    .page-blok {
        width: 1000px;
        margin: 50px auto;
        background: #fff;
    }


    header {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        z-index: auto;
        background: #fff;
        margin: 0px 0px 0px 0px;

    }

    .header-box {
        grid-template-columns: 330px 300px auto;
        margin: 0px 0px 10px 0px;
        margin-top: 0px;
    }

    .header-nadpis-box {
        padding-left: 0px;
    }

    .header-search-btn-box {
        display: none;
    }

    .header-user-box {
        justify-self: end;
        align-self: center;
    }

    .header-nadpis-1 {
        font-size: 4.25em;
        padding: 0px 0px 0px 0px;
        line-height: 1;
    }

    .header-search-box {
        display: block;
        align-self: center;
        padding-top: 0px;
    }

    #header-search-btn {
        display: none;
    }

    .header-search-input {
        display: block;
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        z-index: auto;

    }

    .header-search-input input {
        padding: 10px 15px;

    }

    .header-search-input .material-icons {
        right: 10px;
        top: 50%;
        height: 24px;
        width: 24px;
        margin-top: -12px;
        cursor: pointer;
        font-size: 24px;
    }

    .header-user-logged-box {
        grid-template-columns: 1fr auto 40px;
        margin-bottom: 0px;
    }

    .header-user-logged-box .fotka {}

    .header-user-logged-box .jmeno {
        display: block;
    }

    .header-user-login-box div {
        display: none;

    }

    .header-user-login-box span {
        display: inline-block;
        font-weight: 400;
    }

    .footer {
        grid-template-columns: 1fr 1fr 1fr;
    }

}