﻿@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/jost-v14-latin-regular.eot');
    src: local(''), url('../fonts/jost-v14-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/jost-v14-latin-regular.woff2') format('woff2'), url('../fonts/jost-v14-latin-regular.woff') format('woff'), url('../fonts/jost-v14-latin-regular.ttf') format('truetype'), url('../fonts/jost-v14-latin-regular.svg#Jost') format('svg');
}

@font-face {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/jost-v14-latin-700.eot');
    src: local(''), url('../fonts/jost-v14-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/jost-v14-latin-700.woff2') format('woff2'), url('../fonts/jost-v14-latin-700.woff') format('woff'), url('../fonts/jost-v14-latin-700.ttf') format('truetype'), url('../fonts/jost-v14-latin-700.svg#Jost') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Jost', Arial, sans-serif;
    font-size: 16px;
    line-height: 20px;
    color: #242021;
    font-weight: 400;
}

#wrapper {
    max-width: 482px;
    margin: 1rem auto;
    padding: 16px 16px 10px;
    border: solid 2px #242021;
    overflow: hidden;
}

header {
    display: flex;
    justify-content: center;
}

p {
    padding-bottom: 5px;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

h1 {
    font-size: 28px;
    margin: 13px 0 10px;
    line-height: 1.3;
    text-align: center;
}

h1 small {
    font-size: 23px;
}

h2 {
    font-size: 20px;
    line-height: 24px;
    margin: 6px 0 0;
}

h3 {
    font-size: 22px;
    margin: 16px 0 7px;
    line-height: 1;
    color: #3F78BB;
}

ul {
    margin: 3px 0 10px;
    list-style: none;
}

ul li {
    padding-left: 22px;
    background: url('../images/iconlist.jpg') left 4px no-repeat;
}

img {
    max-width: 100%;
    vertical-align: text-bottom;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #242021;
    text-decoration: none;
    white-space: nowrap;
}

@media screen and (max-width:480px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(p, ul) {
        text-wrap: pretty;
        hyphens: auto;
    }

    span {
        white-space: nowrap;
    }

    article br {
        display: none
    }
}