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

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

body {
    color: #72808e;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 23px;
    font-weight: 400;
}

#wrapper {
    max-width: 910px;
    margin: 12px auto;
    border: 1px solid #72808e;
    background-color: #fff;
    overflow: hidden;
}

.link {
    border-bottom: 1px solid #693c5a;
}

article {
    padding: 40px 20px 20px;
}

p {
    margin: 0 0 15px;
}

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

h1 {
    margin: 0 0 10px;
    padding: 0 0 20px;
    font-size: 30px;
    line-height: 40px;
    text-align: center;
    border-bottom: 2px solid #f2f1ef;
}

h1 small {
    display: block;
    font-size: 16px;
    line-height: 20px;
    margin: 2rem 0 0;
}

h2 {
    margin: 0 0 10px;
    padding-bottom: 5px;
    font-size: 24px;
    line-height: 28px;
    border-bottom: 2px solid #f2f1ef;
}

.borderno {
    border: none;
}

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

ul {
    margin: 0 0 20px;
    list-style: none;
}

ul li {
    padding-left: 20px;
    background: url('../images/iconli.jpg') no-repeat 0 4px;
}

img {
    max-width: 100%;
    border: none;
    vertical-align: middle;
}

.lst_content {
    overflow: hidden;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

:is(.left, .right) {
    width: 49%;
}

.item {
    float: left;
    width: 173px;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

.center {
    text-align: center;
    margin-top: 25px;
}

.textcenter {
    text-align: center;
}

.color {
    color: #cc0099;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.button a {
    display: inline-block;
    padding: 10px 30px;
    background: #693c5a;
    color: #fff;
    border: 1px solid transparent;
    transition: .3s;
    -o-transition: .3s;
    -moz-transition: .3s;
    -webkit-transition: .3s;
}

.button a:hover {
    background: #4b253d;
}

.link:hover {
    color: #ffcd00;
}

.item p {
    height: 40px;
}

p strong span {
    margin-right: 14px;
    white-space: nowrap;
}

header div {
    padding: 20px 20px 15px;
}

header figure {
    padding: 0;
    position: relative;
}

header figure .text p {
    text-align: left;
}

header figure .text {
    margin-top: 0;
    text-align: right;
    padding: 15px 35px 15px 15px;
    background: rgba(255, 255, 255, 0.68);
    font-size: 15px;
    line-height: 20px;
    position: absolute;
    top: 37px;
    left: 29px;
    float: left;
}

footer {
    margin-top: 30px;
    padding: 0 20px 20px;
    position: relative;
}

footer section:nth-of-type(1) {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    flex-wrap: wrap;
}

footer section:nth-of-type(2) {
    margin-top: 40px;
    padding-left: 115px;
    position: relative;
}

footer section:nth-of-type(2) img {
    position: absolute;
    top: 0;
    left: 0
}

footer section:nth-of-type(3) {
    margin-top: 25px;
}

.social {
    position: absolute;
    bottom: 19px;
    right: 25px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.footer {
    margin: 0 2px 0 3px;
}

footer figure {
    display: flex;
    gap: 15px;
    margin: 20px 40px 40px;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    flex-direction: row-reverse;
}

.flex {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 20px 0;
}

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

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

    article {
        padding: 16px;
    }

    header div {
        padding: 16px 16px 6px;
    }

    h1 {
        font-size: 22px;
        line-height: 26px;
        padding: 0 0 14px;
    }

    h2 {
        font-size: 20px;
        line-height: 24px;
    }
}

@media all and (max-width:860px) {
    .social {
        padding: 0;
        margin: 20px 0 0;
        position: static;
        float: right
    }
}

@media all and (max-width:767px) {
    .item {
        width: 150px;
        padding: 5px;
    }

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

@media all and (max-width:744px) {
    footer figure {
        flex-direction: column-reverse;
    }
}

@media (max-width: 600px) {
    header figure .text {
        margin-top: 0;
        padding: 20px;
        position: static;
        top: 37px;
        float: none
    }

    header figure .text br {
        display: none
    }
}

@media (max-width: 331px) {
    .lst_content {
        justify-content: center;
    }
}