@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v35-latin-regular.eot');
    src: url('../fonts/open-sans-v35-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v35-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v35-latin-regular.woff') format('woff'), url('../fonts/open-sans-v35-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v35-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-v35-latin-700.eot');
    src: url('../fonts/open-sans-v35-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v35-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v35-latin-700.woff') format('woff'), url('../fonts/open-sans-v35-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v35-latin-700.svg#OpenSans') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #000;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

#wrapper {
    max-width: 740px;
    margin: 16px auto;
    border: 1px solid #6983a0;
    background: #fff;
    overflow: hidden;
}

header {
    padding: 22px 20px 3px;
    background: #6983a0;
    position: relative;
    color: #fff;
}

article {
    padding: 25px 282px 15px 20px;
    position: relative;
}

footer {
    padding: 15px 15px 1px;
    border: 1px solid #6983a1;
    width: 231px;
    position: absolute;
    z-index: 3;
    right: 20px;
    top: 30px;
}

p:not(.margin) {
    margin: 0 0 20px;
}

h1 {
    margin: 30px 0;
    font-size: 27px;
    line-height: 34px;
}

h2 {
    font-size: 18px;
    margin: 0 0 10px;
    line-height: 22px;
}

:is(h1, h2, strong) {
    font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    padding: 0 0 20px;
    list-style: none;
}

ul ul {
    padding: 0;
}

ul li {
    padding-left: 23px;
    background: url('../img/iconlist.jpg') no-repeat 0 4px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.color {
    color: #d3db2b;
}

.buttom {
    margin: 25px 0;
}

.buttom a {
    background: #6983a0 url('../img/icon.jpg') no-repeat 10px center;
    border-radius: 5px;
    display: inline-block;
    color: #fff !important;
    font-weight: 700;
    padding: 10px 15px 10px 32px;
    font-size: 17px;
    line-height: 21px;
}

.flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.flex p {
    width: 40%;
    line-height: 24px;
}

.flex p:nth-of-type(2) {
    width: 54%;
}

.font-size {
    font-size: 12px;
}

header img {
    position: absolute;
    z-index: 3;
    right: 20px;
    top: 30px;
}

@media all and (max-width: 739px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    header img {
        position: static;
        margin-bottom: 20px;
    }

    header {
        padding: 16px 16px 2px;
    }

    .flex p {
        width: 48% !important;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty
    }
	
    span:not(header span) {
        white-space: nowrap;
    }

    article {
        padding: 16px 274px 15px 16px;
    }

    :is(.mobile, h1 br) {
        display: none
    }

    footer {
        top: 20px;
        right: 20px;
    }
}

@media all and (max-width: 660px) {
    .flex p {
        width: 100% !important;
    }

    article {
        padding: 16px;
    }

    footer {
        width: auto;
        position: static;
    }

    .font-size {
        font-size: 14px;
    }
}