@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v40-latin-regular.eot');
    src: url('../fonts/open-sans-v40-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v40-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v40-latin-regular.woff') format('woff'), url('../fonts/open-sans-v40-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v40-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v40-latin-700.eot');
    src: url('../fonts/open-sans-v40-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v40-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v40-latin-700.woff') format('woff'), url('../fonts/open-sans-v40-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v40-latin-700.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: #000;
    line-height: 19px;
    font-size: 13px;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 910px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background-color: #fff;
}

article {
    padding: 0 0 0 80px;
}

footer {
    padding: 0 0 40px 89px;
    margin: -85px 0 0;
    width: 60%;
}

footer :is(p, a) {
    color: #001982 !important;
}

.font {
    font-size: 9px;
    line-height: 14px;
    margin: 0 0 10px;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

.title {
    margin: -170px 0 76px;
    width: 410px;
    font-size: 12px;
    position: relative;
}

h1 {
    margin: 1rem 1rem 12px 0;
    font-size: 25px;
    line-height: 33px;
    padding: 0 0 29px;
    background: url(../images/background.jpg) no-repeat bottom left;
}

h2 {
    font-size: 16px;
    margin: 1rem 0;
    color: #485CA7;
    line-height: 22px;
}

h3 {
    font-size: 12px;
    margin: 1rem 0;
    color: #374BB5;
    line-height: 1.125rem;
    padding: 0 0 5px;
    border-bottom: 1px solid #374BB5;
}

h4 {
    font-size: 1rem;
    margin: 10px 0 6px;
    color: #FFF;
    line-height: 1.25rem;
}

p {
    margin: 0 0 2rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

ul {
    margin: 0 0 1rem;
    list-style: none;
}

ul li {
    padding-left: 1.5rem;
    margin: 0 0 5px;
    background: url(../images/iconlist.jpg) no-repeat 0 5px;
}

.flexbox {
    display: flex;
    justify-content: space-between;
}

.content {
    width: 61%;
}

.content-right {
    width: 36%;
}

.content-right p {
    font-size: 11px;
}

.text {
    margin: 0 0 8px;
}

.box {
    background: #e4f7fc;
    -webkit-border-top-left-radius: 15px;
    -webkit-border-bottom-left-radius: 15px;
    -moz-border-radius-topleft: 15px;
    -moz-border-radius-bottomleft: 15px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    padding: 21px 21px 11px 21px;
    margin: 0 0 20px;
}

.kontakt {
    background: #374aad;
    padding-bottom: 2rem;
}

.kontakt :is(p, a) {
    color: #FFF;
}

.kontakt p {
    margin: 0 0 12px;
}

.box strong {
    color: #374BB5;
}

.kontakt strong {
    color: #FFF !important;
}

.font-size {
    font-size: 13px;
    line-height: 20px;
    font-weight: bold;
    color: #485CA7;
}

.padding {
    padding: 0 0 0 55px;
}

@media all and (max-width:909px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }
}

@media all and (max-width:840px) {
    article {
        padding: 0 0 0 1rem;
    }

    .title {
        background: #78D6EF;
        width: auto;
        margin: 0 -1rem 1rem;
        padding: 1rem;
    }

    footer {
        padding: 0 0 1rem 1rem;
    }
}

@media all and (max-width:767px) {
    br:not(.content-right br) {
        display: none;
    }

    .flexbox {
        display: block;
        padding-right: 1rem;
    }

    .padding {
        padding: 0;
    }

    :is(.content, .content-right) {
        width: 100%;
    }

    footer {
        margin: 1rem;
        padding: 0;
        width: auto;
    } }