@import url('https://fonts.googleapis.com/css?family=Fira+Sans&subset=cyrillic');

@font-face {
    font-family: 'Plantin Cyr MT';
    src: url('../fonts/PlantinCyrMT/PlantinCyrMT.eot');
    src: url('../fonts/PlantinCyrMT/PlantinCyrMT.eot?#iefix') format('embedded-opentype'),
    url('../fonts/PlantinCyrMT/PlantinCyrMT.woff2') format('woff2'),
    url('../fonts/PlantinCyrMT/PlantinCyrMT.woff') format('woff'),
    url('../fonts/PlantinCyrMT/PlantinCyrMT.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 140px;
    font-family: 'Fira Sans', sans-serif;
    background: url("/images/bg.png") #fff;
}

a {
    color: #a12028;
}

a:hover {
    color: #50649a;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.footer > .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.footer .nav-link {
    font-weight: bold;
}

.footer ul {
    margin-bottom: 0;
}

.svg-icon {
    width: 2rem;
    height: 2rem;
    margin-top: 0.5rem;
    margin-right: 1.5rem;
}

.bg-red {
    background-color: #a12028;
}

.bg-blue {
    background: #e6e9f1 url("/images/bg.png");
}

.bg-light-blue {
    background: #f1f4fc url("/images/bg.png");
}

.bg-green {
    background: rgba(206, 218, 168, 0.61) url("/images/bg.png");
}

.text-blue {
    color: #50649a;
}

.btn-outline-red {
    color: #a12028;
    background-color: transparent;
    background-image: none;
    border-color: #a12028;
}

.btn-outline-red:hover {
    background-color: transparent;
    border-color: #50649a;
    color: #50649a;
}

.not-set {
    color: #a12028;
    font-style: italic;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a12028;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.overtop {
    background-color: #a12028;
    width: 100%;
    height: 5px;
}

.overtop a {
    color: inherit;
}

.bg {
    background-color: #fff;
    position: relative;
    margin-bottom: 80px;
}

.bg::before {
    background: url("/images/bg.jpg") no-repeat 50% 50% / cover;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: ' ';
    opacity: 0.3;
}

.navbar {
    z-index: 10;
    font-weight: bold;
    margin-top: 3px;
    border-top: 1px solid #50649a;
    background: url("/images/bg.png") #fff;
}

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link.active {
    color: #a12028;
    font-size: 17px;
    position: relative;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #a12028;
}

.navbar-light .navbar-nav .nav-link:hover:after,
.navbar-light .navbar-nav .nav-link.active:after {
    width: 100%;
}

.navbar-light .navbar-nav .nav-link:after {
    content: " ";
    display: block;
    position: absolute;
    top: calc(100% - 3px);
    left: 0;
    width: 0;
    height: 2px;
    background-color: #50649a;
    -webkit-transition: width 0.25s ease-in-out;
    transition: width 0.25s ease-in-out;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 1rem;
    padding-right: 1rem;
}

.nav-big {
    border-top: 1px solid #bbc1d4;
    border-bottom: 1px solid #bbc1d4;
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 20px;
    font-weight: bold;
}

.nav-big .nav-item {
    border-right: 1px solid #bbc1d4;
}

.nav-big .nav-item:last-child {
    border: none;
}

.nav-big .nav-link {
    padding: .25rem 1rem;
}

.nav-big .nav-link.active {
    background-color: rgba(80, 100, 154, .12);
}

h1, h2, .h1, .h2, .facts, .lead {
    font-family: 'Plantin Cyr MT', serif;
    color: #50649a;
}

.lead {
    font-size: 25px;
}

.facts {
    display: flex;
    align-items: center;
    text-align: left;
    font-size: 20px;
    margin: 1rem 0;
    color: #a12028;
}

.facts img {
    width: 4rem;
    height: 4rem;
    float: left;
    margin-top: 0.5rem;
    margin-right: 2rem;
    display: block;
}

.list-inline-item {
    margin: 0 !important;
}

.list-inline-item:after {
    content: ' ';
    width: 8px;
    height: 8px;
    display: inline-block;
    margin: 0 0.75rem;
    background-color: #bbc1d4;
    border-radius: 50%;
}

.list-inline-item:last-child:after {
    display: none;
}

.partners {
    background-color: #fff;
    margin: 3rem 0;
    padding: 3rem 2.5rem;
}

.partners .figure {
    margin-right: 1rem;
}
.partners .figure:last-child {
    margin-right: 0;
}

.partners .partner-img {
    max-width: 130px;
}

.with-borders {
    overflow: hidden;
}

.with-borders > .title {
    position: relative;
    padding: 0 2rem;
}

.with-borders > .title:before, .with-borders > .title:after {
    content: ' ';
    background-color: #bbc1d4;
    width: 100%;
    height: 1px;
    display: block;
    position: absolute;
    top: 50%;
}

.with-borders > .title:before {
    right: 100%;
}

.with-borders > .title:after {
    left: 100%;
}

.media {
    width: 100%;
    padding: 0.5rem 1rem;
    font-weight: bold;
}

.media:hover {
    background-color: #fff;
    text-decoration: none;
}

.media > img {
    margin-right: 1.5rem;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.sticky-top-offset {
    position: -webkit-sticky;
    position: sticky;
    top: 97px;
    z-index: 1000;
}