* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    min-height: 100%;
}

body {
    color: #231f20;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

a {
    color: #231f20;
    text-decoration: none;
}

a.link {
    color: #005da4;
}

#wrapper {
    max-width: 720px;
    margin: 16px auto;
    text-align: left;
    border: 1px solid #231f20;
    background-color: #fff;
}

header figure {
    position: relative;
}

header figure a {
    position: absolute;
    top: 0px;
    right: 5%;
    width: 36%;
    height: 42%;
}

.block {
    display: block;
}

article {
    padding: 16px 31px 0;
    position: relative;
}

.kontakt p {
    margin: 0;
}

footer {
    padding: 0 0px 15px;
    border-bottom: 6px solid #005da4;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: -22px 30px 16px 40px;
}

p {
    margin-bottom: 13px;
}

p.pad span {
    padding-right: 103px;
    display: block;
}

h1 {
    color: #005da4;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.25;
    margin: 0 0 2px;
    padding-left: 24px;
}

h1 strong {
    font-size: 20px;
}

h1+p {
    padding-left: 24px;
    margin-bottom: 9px;
    color: #005da4;
}

h1:before {
    content: "\2022";
    float: left;
    font-family: Arial, sans-serif;
    font-size: 23px;
    margin: -1px 0 0;
    text-indent: -24px;
}

h1 small {
    font-size: 19px;
    line-height: 1.2;
    display: block;
    margin-right: -30px;
}

h2 {
    text-align: right;
    color: #fff;
    font-weight: bold;
    font-size: 22px;
    line-height: 22px;
    padding: 5px 36px 10px 85px;
    background: url(bg_top.jpg) no-repeat;
    height: 38px;
}

ul {
    margin: 13px 0 15px 9px;
    list-style: none;
    color: #005da4;
    font-size: 26px;
    font-weight: bold;
    line-height: 1.3;
}

ul li {
    padding-left: 1rem;
    margin: 0 0 5px;
}

ul span {
    display: block;
    font-size: 14px;
    font-weight: normal;
}

ul li:before {
    content: "\2022";
    float: left;
    font-family: Arial, sans-serif;
    font-size: 20px;
    margin: 2px 0 0;
    text-indent: -1rem;
}

.pad {
    position: relative;
}

.color {
    color: #005da4;
}

.qrcode {
    position: absolute;
    top: -15px;
    right: 0px;
}

.link {
    color: #005da4 !important;
}

@media only screen and (max-width:719px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    h2 {
        background: #005da4;
        height: auto;
        text-align: center;
        padding: 8px 16px;
        line-height: 1.4;
    }

    a {
        white-space: nowrap;
    }

    br:not(.br br, .mobile) {
        display: none;
    }

    footer {
        margin: 16px;
        padding: 0 0 16px;
        gap: 20px;
        flex-wrap: wrap;
    }

    p.pad span {
        padding: 0;
        display: inline;
    }

    ul {
        font-size: 20px;
    }

    .qrcode {
        position: static;
        text-align: center;
        margin: 16px 0;
    }

    article {
        padding: 1rem 1rem 0;
    }

    .pad {
        padding-right: 0;
    }

    .kontakt br {
        display: inline !important;
    }
    h1 small {
    font-size: 19px;
    line-height: 1.2;
    display: block;
    margin-right: 0;
}
}

@media only screen and (max-width:340px) {
    footer {
        flex-direction: column;
        align-items: center;
    }
}