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

html {
    min-height: 100%;
}

body {
    background: none;
}

#wrapper {
    max-width: 525px;
    margin: 16px auto;
    border: 2px solid #000;
    box-shadow: 0 0 10px 10px #cfcfcf;
    background-color: #D8D8DA;
    overflow: hidden;
    color: #000;
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
}

#wrapper .nobr {
    white-space: nowrap;
}

#wrapper .hide {
    display: none;
}

#wrapper .header {
    background: #CBCCCE;
    padding: 15px 16px 1px;
    position: relative;
}

#wrapper .header img {
    top: 10px;
    right: 16px;
}

#wrapper .article {
    padding: 10px 16px 1px;
}

#wrapper .footer {
    background: #E4E4E6;
    padding: 6px 16px;
    position: relative;
}

#wrapper .footer p {
    margin: 0;
    line-height: 1.1;
}

#wrapper .footer img {
    bottom: 10px;
    right: 16px;
}

#wrapper p {
    margin-bottom: 10px;
}

#wrapper p.padding {
    padding-right: 86px;
}

#wrapper .block {
    padding-right: 86px;
    display: inline-block;
}

#wrapper strong {
    font-weight: 700;
}

#wrapper h1 {
    margin-bottom: 6px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

#wrapper h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

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

#wrapper ul {
    margin-bottom: 10px;
    list-style: none;
}

#wrapper ul li {
    padding-left: 20px;
    position: relative;
}

#wrapper ul li:before {
    content: "\002022";
    color: #000;
    font-size: 23px;
    font-family: Arial, sans-serif;
    position: absolute;
    top: -1px;
    line-height: 1;
    left: 0;
}

#wrapper img {
    max-width: 100%;
    vertical-align: middle;
    position: absolute;
}

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

    #wrapper :is(p, ul) {
        hyphens: auto;
        -webkit-hyphens: auto
    }
}

@media all and (max-width: 504px) {
    #wrapper img {
        position: static;
    }

    #wrapper .logo,
    #wrapper .top {
        display: flex;
        justify-content: center;
        margin: 10px 0;
    }

    #wrapper .block {
        display: inline;
        padding: 0;
    }

    #wrapper .footer p {
        text-align: center;
        line-height: 1.3;
    }
}