@charset "utf-8";
@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');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 400 1.25em/1.25em 'Jost', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 475px;
    margin: 1rem auto;
    border: 3px solid #000;
    background: #fff;
    overflow: hidden;
}
:is(h1, strong) {
    font-weight: 700;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.5rem;
    text-align: justify;
}
h1 {
    margin: 0 0 0.5rem 3rem;
    font-size: 1.8em;
    line-height: 1.1;
    color: #313694;
}
h1 span {
    font-size: 1.5rem;
}
.tt_block{
    display: block;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
article {
    padding: 0.5rem 1rem 1rem;
    background: #fff url('../images/bg.jpg') no-repeat bottom;
    background-size: 100%;
}
footer {
    padding: 0.5rem 1rem;
    background: #E6E7E9;
}
footer p {
    text-align: center;
    padding: 0;
}
@media only screen and (max-width:474px) {
    body{
        font-size: 1.125em;
        line-height: 1.3;
    }
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    p {
        text-align: left;
        hyphens: auto;
    }
    p a, span {
        display: inline-block;
    }
    h1 {
        text-align: center;
        margin-left: 0;
    }
    article {
        padding: 0.5rem 1rem 0.25rem;
    }
}
