@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v34-latin-regular.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-regular.woff') format('woff'), url('../fonts/open-sans-v34-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v34-latin-700.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-700.woff') format('woff'), url('../fonts/open-sans-v34-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-700.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    color: #000;
}

#wrapper {
    margin: 1rem auto;
    max-width: 980px;
    background: #fff;
    border: solid thin #cbcbcb;
}

header {
    padding: 16px 20px 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.header-flex-content:nth-of-type(1) {
    width: 62%;
}

.header-flex-content:nth-of-type(2) {
    width: 35%;
}

article {
    padding: 16px 20px 0;
    background: #F7FBFE;
}

.flex-box {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    background: #fff;
    margin: 0 -20px;
    padding: 16px 20px;
}

.flex-box-content {
    width: 49%;
}

:is(.color, .color a) {
    color: #0069B4 !important;
}

.text-center {
    text-align: center;
}

.margin-bottom {
    margin-bottom: 0;
}

.button {
    width: 285px;
    height: 37px;
    line-height: 37px;
    display: block;
    border: none;
    background: #0069B4;
    color: #fff !important;
    margin: 16px 0;
    text-align: center;
    border-radius: 10px;
    font-size: 12px;
}

:is(h1, h2, h3, strong) {
    font-weight: 700;
}

:is(h1, h2, h3) {
    line-height: 1.2;
}

h1 {
    font-size: 26px;
    color: #fff;
    text-transform: uppercase;
    background: url(../images/bg-title.png) left bottom no-repeat;
    padding-bottom: 10px;
}

h2 {
    font-size: 25px;
    margin: 0 0 16px;
    font-weight: 400;
}

h3 {
    font-size: 18px;
    margin: 0 0 16px;
    font-weight: 400;
}

h5 {
    margin: 30px 0;
    font-size: 20px;
    text-align: center;
}

h5 + p {
    text-align: center;
}

h5 a {
    padding: 10px 30px;
    color: #fff !important;
    background-color: #0069B4;
    width: auto;
    text-decoration: none;
    border-radius: 7px;
    line-height: 1;
    display: inline-block;
    transition-timing-function: ease-out;
    transition-property: all;
    transition-duration: .3s;
    box-shadow: 0px 0px 0px 0 transparent;
}

h5 a:hover {
    background: #094570;
}

p {
    margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}

img {
    max-width: 100%;
}

ul {
    margin: 0 0 20px 15px;
}

ul li {
    list-style: none;
    text-indent: -15px;
}

ul li:before {
    font-size: 13px;
    margin-right: 15px;
    position: relative;
    top: -1px;
    float: left;
    content: "\25A0";
    color: #0069B4;
}

.blue {
    color: #0069B4 !important;
}

.gray {
    background: #e8ebec;
    padding: 20px;
    border-radius: 20px;
    margin: 20px 0;
}

.center {
    text-align: center;
    margin: 16px 0;
}

.flex {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.flex div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 22%;
    gap: 16px;
}

.flex div p {
    text-align: center;
    color: #0069B4 !important;
    font-size: 15px;
}

.banner {
    position: relative;
    background: url(../images/background.jpg) no-repeat;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    gap: 20px;
}

.banner img {
    vertical-align: bottom;
}

footer {
    padding: 16px 20px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.footer-flex-content:nth-of-type(1) {
    width: 56%;
}

.footer-flex-content:nth-of-type(2) {
    width: 41%;
}

.footer-flex-content p {
    display: flex;
    gap: 10px;
    align-items: center;
}

.box {
    background: #F7FAFD;
    margin: 0 -20px;
    padding: 20px;
}

.box figure {
    display: flex;
    justify-content: center;
}

.box figure:hover img {
    opacity: 0.7;
}

video {
    width: 100%;
    margin-bottom: 20px;
}

@media screen and (max-width: 979px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(h1, h2, h3, p, ul li) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, p span) {
        white-space: nowrap;
    }

    .footer-flex-content p span {
        white-space: normal !important;
    }

    br:not(br.mobile-block) {
        display: none;
    }

}

@media screen and (max-width: 799px) {
    .banner {
        flex-direction: column;
        align-items: center;
        padding: 0 16px 16px;
    }

    .header-flex, .flex-box {
        flex-direction: column;
    }

    .header-flex-content:nth-of-type(1), .header-flex-content:nth-of-type(2), .flex-box-content {
        width: auto;
    }
}

@media screen and (max-width: 767px) {
    .footer-flex {
        flex-direction: column;
        align-items: center;
    }

    .footer-flex-content:nth-of-type(1), .footer-flex-content:nth-of-type(1) {
        width: auto;
    }
}

@media screen and (max-width: 625px) {
    .flex div {
        width: 45%;
    }
}