body {
    margin: 0;
    background-image: url('/img/fon.png');
    /*background-size: cover;*/
    background-attachment: fixed;
    font-family: sans-serif;
    color: #000000;
    font-size: 16px;
    padding: 10px;
}

    @media screen and (max-width: 800px) {
        body {
            padding: 0;
        }
    }

h1 {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin: 0 0 30px 0;
    color: #000000;
}

h2 {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 0 0 20px 0;
    color: #000000;
}

p {
    margin: 0 0 15px 0;
}

ol li {
    margin-bottom: 15px;
}

iframe {
    max-width: 100%;
}

img {
    max-width: 100%;
}

.wrapper {
    width: 100%;
    overflow: hidden;
    max-width: 990px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    border: 0px #999999 ridge;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(100, 100, 100, .1), -23px 0 20px -23px rgba(100, 100, 100, .4), 23px 0 20px -23px rgba(100, 100, 100, .4), 0 0 20px rgba(100, 100, 100, .05) inset;
}
    @media screen and (max-width: 800px) {
        .wrapper {
            border: none;
            border-radius: 0;
        }
    }

.header {
    padding: 25px 30px 0 30px;
    width: 100%;
    box-sizing: border-box;
}

    .header__inner {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;

        width: 100%;
        box-sizing: border-box;
    }

        .header__logo {
            flex-grow: 0;
            flex-shrink: 0;
        }

            .header__logo img {
                display: block;
                width: 260px;
            }



        .header__contacts {
            flex-grow: 0;
            flex-shrink: 0;

            text-align: right;
            box-sizing: border-box;
        }

            .header__name {
                color: #000000;
                font-weight: bold;
                font-size: 18px;
            }

            .header__phone {
                color: #000000;
                font-size: 14px;
            }

        .header__menu {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
            align-items: flex-start;

            text-align: center;
            padding-bottom: 15px;
            box-sizing: border-box;
            border-bottom: 1px solid #999999;
        }

            .header__menu-item {
                display: block;
                padding: 15px 20px;
                flex-grow: 0;
                flex-shrink: 0;
                text-decoration: none;
                margin-bottom: -15px;
                color: #000000;
                font-size: 16px;
            }

            .header__menu-item:hover {
                color: #ff0000;
            }



.content {
    padding: 30px 30px;
    min-height: 300px;
}
    
    .content :last-child {
        margin-bottom: 0 !important;
    }

    .content__block {
        display: block;
        max-width: 100%;
        margin: 30px auto;
    }

    .content__block_center {
        display: block;
        max-width: 100%;
        margin: 30px auto;
        text-align: center;
    }

.footer {
    box-sizing: border-box;
    padding: 20px 30px 20px 30px;
}

    .footer__inner {
        box-sizing: border-box;
        border-top: 1px solid #999999;

        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

        .footer__copyrights {
            flex-grow: 0;
            flex-shrink: 0;

            font-size: 12px;
            padding-top: 15px;
            box-sizing: border-box;
        }

        .footer__menu {
            flex-grow: 0;
            flex-shrink: 0;

            font-size: 12px;
            padding-top: 15px;
            box-sizing: border-box;
        }

            .footer__all-in-one {
                display: block;
                height: 15px;
                width: 50px;
            }

@media screen and (max-width: 800px) {
    .header {
        padding: 15px 15px 0 15px;
    }

    .header__inner {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;

        padding-bottom: 15px;
    }

    .header__logo {
        margin-right: 0;
    }

    .header__else {
        justify-content: flex-start;
        align-items: center;
    }

    .header__contacts {
        margin-top: 15px;
        text-align: center;
    }

    .header__menu-item {
        padding: 15px 10px;
        margin-bottom: -15px;
    }

    .content {
        padding: 30px 15px;
        min-height: 100px;
    }

    .footer {
        padding: 20px 15px 20px 15px;
    }
}
