@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v40-latin-regular.eot');
    src: url('../fonts/open-sans-v40-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v40-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v40-latin-regular.woff') format('woff'), url('../fonts/open-sans-v40-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v40-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v40-latin-700.eot');
    src: url('../fonts/open-sans-v40-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v40-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v40-latin-700.woff') format('woff'), url('../fonts/open-sans-v40-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v40-latin-700.svg#OpenSans') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000000;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: .937rem;
    line-height: 1.4;
    font-weight: 400;
    hyphens: auto
}

#wrapper {
    position: relative;
    max-width: 950px;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: 0.0625rem solid #000;
    box-shadow: rgba(116, 132, 145, 1) 0 .437rem 1.812rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.site {
    color: #AFAFB6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1 {
    color: #fff;
    font-size: 25px;
    margin: 0 0 5px;
    line-height: 1.6;
    background: #8EA8C5;
    width: 100%;
    padding: 20px 2rem
}

h1 small {
    font-weight: 400;
    font-size: 18px
}

h1 span {
    white-space: nowrap
}

h2 {
    font-size: 1.1rem;
    margin: 0 0 .625rem;
}

h3 {
    font-size: 1rem;
    margin: 0 0 .375rem;
    color: #30649E
}

p {
    margin: 0 0 .625rem;
}

.nomargin {
    margin: 0
}

ul {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

ul li {
    padding-left: 1.625rem;
    margin-bottom: 0.3rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.625rem;
    font-size: 1.25rem;
    line-height: 1.3;
}

ul:last-of-type {
    margin: 0
}

header {
    display: flex;
}

.blue {
    background: #8EA8C5;
    flex: 0 0 32.65%;
}

.logo {
    background: #ECEDED;
    flex: 1 1 69%;
    padding: 2rem;
    display: flex;
    justify-content: end;
}

.aside {
    display: flex;
    background: url(../images/team.jpg) center no-repeat;
    background-size: cover;
}

.left {
    background: rgba(48, 100, 158, 0.7);
    padding: 1.25rem 11px 0 20px;
    color: #fff;
    flex: 0 0 32.67%
}

.left p {
    font-size: .937rem;
    letter-spacing: -0.2px
}

.margin {
    margin: 3rem 0 2rem;
}

.respons {
    display: none;
}

.main {
    display: flex;
    flex-direction: row-reverse;
}

article {
    background: #ECEDED;
    width: 67.3%;
}

article > p:first-of-type {
    text-align: justify;
    hyphens: auto
}

.gray {
    padding: .625rem 24px;
}

.dark_gray {
    background: #30649E;
    color: #fff;
    padding: .625rem 24px
}

footer {
    background: #30649E;
    width: 32.67%;
    padding: 300px 20px 75px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

footer p {
    margin: 0 0 1.5rem;
}

footer .section:last-of-type p:last-of-type {
    margin-bottom: 1rem;
}

footer h3 {
    color: #fff
}

@media only screen and (max-width: 949px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem
    }

    h1 {
        line-height: 1.2;
        padding: 1rem
    }

    .left {
        padding: 1rem 1rem 0 1rem;
    }

    .logo {
        padding: 1rem
    }

    .gray,
    .dark_gray {
        padding: .625rem 1rem;
    }

    .dark_gray p {
        margin: 0
    }

    .margin {
        margin: 0 0 1rem;
    }

    article > p:first-of-type {
        text-align: left;
    }

    .aside {
        background-size: auto 100%;
    }

    .left p {
        letter-spacing: normal
    }

    .left br,
    .dark_gray br {
        display: none
    }

    footer p {
        margin: 0 0 1rem;
    }
}

@media only screen and (max-width: 830px) {
    h2 + p {
        margin: 0
    }

    .left,
    .gray,
    footer {
        padding: 1rem;
    }

    .aside {
        flex-direction: column-reverse;
        background: none;
    }

    .right {
        height: auto;
    }

    .left :is(h3, p) {
        text-align: left;
    }

    .main,
    .respons {
        display: block;
    }

    .gray,
    footer,
    footer .section,
    article {
        width: 100%;
    }

    aside br,
    .gray p br,
    .blue {
        display: none;
    }

    .logo {
        display: flex;
        justify-content: center;
    }

    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    h1,
    footer p,
    footer h3,
    .dark_gray p {
        text-align: center;
    }

    footer img {
        margin: 1rem auto;
    }

    footer .section:last-of-type p:last-of-type {
        margin: 0.6rem 0;
    }
}

@media only screen and (max-width: 480px) {
    ul li {
        padding-left: 20px;
    }

    ul li:before {
        margin-left: -15px;
    }

    h1,
    .aside h2,
    .aside p {
        text-align: center
    }

    footer .section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
