/*
Theme Name: Национальные проекты
Theme URI: https://www.templatemonster.com/ru/demo/52938.html
Author: Zemez
Author URI: https://zemez.io
Description: A government theme using the Bootstrap framework.
Version: 1.0
Text Domain: nacproekt
*/

h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6,body,.map .label {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

iframe{
    max-width: 100%;
}
.admin-bar .rd-navbar-static.rd-navbar--is-stuck {
    top: 32px;
}

.admin-bar .rd-navbar-fixed .rd-navbar-panel {
    top: 32px;
}

.admin-bar .rd-navbar-fixed [class*='rd-navbar-fixed-element'] {
    top: 40px;
}

.admin-bar .rd-navbar-fixed .rd-navbar-nav-wrap {
    top: -24px;
}

.admin-bar .rd-navbar-fixed .rd-navbar-collapse-content {
    top: 88px;
}

.rd-navbar-corporate.rd-navbar-static.rd-navbar--is-stuck {
    border-bottom: 0;
}

.counter-minimal-main {
    flex-wrap: wrap;
    justify-content: center;
}

.counter-minimal .symbol {
    white-space: nowrap;
}

.timeline-classic-item-title-lg {
    font-size: 60px;
}

.pagination .page-numbers,
.timeline-classic-item-title-lg {
    font-family: "Oswald", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.timeline-classic .timeline-classic-item:last-child .timeline-classic-item-divider::after {
    display: none;
}

@media (min-width: 1200px) {
    .timeline-classic-item-aside {
        width: 10%;
    }
}

.post-modern .button-winona {
    margin-top: -5px;
}

.footer-advanced-layout > [class*="widget"] {
    display: flex;
    justify-content: space-between;
}

.footer-advanced-layout > [class*="widget"] > * {
    margin-top: 0;
}

/* Видео-баннер */

.video-container {
    max-height: 40.41667vw;
    position: relative;
    overflow: hidden;
}

.video-clip {
    width: 100%;
}

.video-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);

    display: flex;
    align-items: center;
}


.video-inner h1 {
    color: #fff;
    font-size: 18px;
}

@media (min-width: 576px) {
    .video-inner h1 {
        font-size: 26px;
    }
}

@media (min-width: 768px) {
    .video-inner h1 {
        font-size: 32px;
    }
}

@media (min-width: 992px) {
    .video-inner h1 {
        font-size: 37px;
    }
}

@media (min-width: 1200px) {
    .video-inner h1 {
        font-size: 54px;
    }
}

.video-inner .button-lg {
    padding: 12px 30px;
    font-size: 10px;
    line-height: 0.8;
}

@media (min-width: 768px) {
    .video-inner .button-lg {
        font-size: 13px;
        line-height: 1.5;
        margin-top: 10px;
    }
}

@media (min-width: 992px) {
    .video-inner .button-lg {
        font-size: 15px;
        margin-top: 20px;
    }
}

@media (min-width: 1200px) {
    .video-inner .button-lg {
        font-size: 16px;
        margin-top: 50px;
    }
}

@media (min-width: 992px) {
    .timeline-classic-item-main {
        max-width: 75%;
    }
}

@media (min-width: 1200px) {
    .timeline-classic-item-title {
        font-size: 36px;
    }
}

.thumbnail-light-media {
    transition: .22s ease-in-out;
}

@media (max-width: 575px) {
    .thumbnail-light-media {
        height: 70px;
        object-fit: cover;
    }
}

.thumbnail-light-media::after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';

    opacity: .9;
    background: #04408b;
}

h5.thumbnail-light-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    color: white;
    font-weight: 400;
    text-align: center;
    padding: 20px;
    white-space: normal;

    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-light {
    position: relative;
    height: 100%;
}

.thumbnail-light-title {
    transition: .4s ease;
    height: 100%;
    max-height: 100%;
}

@media (min-width: 576px) {
    .thumbnail-light:hover .thumbnail-light-title {
        opacity: 0;
    }

    .thumbnail-light:hover .thumbnail-light-media {
        opacity: .1;
    }
}

.thumbnail-light-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: .4s ease;
    cursor: default;

    font-size: 13px;
    color: #000;
    font-weight: 400;
    padding: 10px 25px;
    letter-spacing: 0;

    display: flex;
    align-items: center;
}

@media (min-width: 576px) and (max-width: 767px), (min-width: 992px) and (max-width: 1199px) {
    .thumbnail-light-text {
        font-size: 11px;
    }
}

.thumbnail-light-text ul {
    position: relative;
}

.thumbnail-light-text ul li::before {
    position: absolute;
    left: -15px;
    content: '';
    margin-top: 7px;
    width: 6px;
    height: 6px;
    background: #c30734;
}

@media (min-width: 576px) {
    .thumbnail-light:hover .thumbnail-light-text {
        opacity: 1;
    }
}

/* Стили для интерактивной карты */

.map {
    position: relative;
}

.map svg {
    width: 100%;
    min-height: 50vh;
}

.map path:first-child {
    stroke-width: 5px;
}

.map path {
    fill: #f6fcfc;
    stroke: #04408b;
    stroke-width: 1.2px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.map path.cloned {
    z-index: 100;
    fill: #04408b;
    opacity: 0;

    transform-origin: center;
    transition: .3s;
}

.map path:not(.cloned):hover,
.map path:not(.cloned).active {
    fill: #04408b;
}

.map .background {
    fill: none;
    pointer-events: all;
}

.map .mesh {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.map .point {
    fill: #c30734;
    stroke: #000;
    stroke-width: 2px;
}

.map .label {
    fill: #29293a;
    text-anchor: middle;

    font-size: 19px;
    font-weight: 500;
    text-shadow: 0 1px 0 rgba(255,255,255,.7), 1px 0 0 rgba(255,255,255,.7), -1px 0 0 rgba(255,255,255,.7), 0 -1px 0 rgba(255,255,255,.7);
}

.map .label.label-accent {
    font-weight: 700;
}

.map-popup {
    max-width: 500px;
    position: absolute;
    display: none;
    z-index: 1100;

    color: #fff;
    background: #fff;

    overflow: hidden;
    border-radius: 6px;

    font-size: 13px;
    text-align: left;
    font-weight: 400;

    box-shadow: 0 4px 15px rgba(0,0,0,.3);
}

@media (max-width: 768px) {
    .map-popup {
        position: fixed;

        top: unset !important;
        left: 0 !important;
        right: 0;
        bottom: 0;

        border-radius: 0;
    }

    .map-popup-content {
        overflow: auto;
        height: 35vh;
        overscroll-behavior: none;
    }
}

.map-popup-content p {
    margin-top: 0;
}

.map-popup.map-popup-visible {
    display: inline-block;
}

.map-popup h2 {
    background: #c30734;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 6px 14px;
}

.map-popup-content {
    padding: 5px 14px 14px;
    background: #fff;
    width: 100%;
    color: #555;
}

.map-popup-content a {
    text-decoration: underline;
}

.map-popup-content h6 {
    margin: 10px 0 0;
    padding: 5px 0;
    line-height: 1;
    color: #000;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
}

.map-popup-content li {
    position: relative;
    padding-left: 12px;
}

.map-popup-content li::before {
    content: '';
    width: 7px;
    height: 7px;
    position: absolute;
    top: 50%;
    margin-top: -4px;
    left: 0;
    background: #c30734;
}

.map-popup-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.map-popup-loader .fa {
    color: black;
}

.bg-gray-800 .link-default {
    fill: #aeb1be;
}

.bg-gray-800 .link-default:hover {
    fill: #fff;
}

@media (min-width: 768px) {
    .post-creative-title {
        max-width: 100%;
    }
}

.pagination {
    font-size: 20px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    padding: 9px 9px;

    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.71429;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
    outline: none;
}

.pagination .page-numbers:not(.dots) {
    border: 1px solid #c30734;
    color: #c30734;
}

.pagination .page-numbers.current,
.pagination .page-numbers:not(.dots):hover {
    color: #fff;
    background-color: #c30734;
    border-color: #c30734;
}

@media (max-width: 576px) {
    .post-block-meta {
        font-size: 12px;
    }

    .post-block-title {
        font-size: 13px;
        margin-top: 0;
    }
}

.section--projects .row {
    margin-top: 0;
}

.section--projects .row > [class*=col] {
    margin-top: 15px;
}

@media (min-width: 576px) {
    .section--projects .row > [class*=col] {
        margin-top: 30px;
    }
}

.section--banner {
    position: relative;
    overflow: hidden;
    height: 40.41667vw;
}

.section--banner .background-image {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    animation: zoom-in-out 120s infinite;
}

@keyframes zoom-in-out {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }

    100% {
        transform: scale(1);
    }
}

.bredcrumbs--project {
    position: relative;
}

.breadcrumbs--project::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    content: '';

    background: rgba(0,0,0,.4);
}

.breadcrumbs--project .breadcrumbs-custom-inner {
    z-index: 2;
}

.breadcrumbs--project .breadcrumbs-custom-title,
.breadcrumbs--project .breadcrumbs-custom-path a,
.breadcrumbs--project .breadcrumbs-custom-path li,
.breadcrumbs--project .breadcrumbs-custom-subtitle {
    color: #fff;
}

.breadcrumbs--project .breadcrumbs-custom-path a:hover {
    text-decoration: underline;
}

.breadcrumbs--project .breadcrumbs-custom-path li {
    font-weight: 500;
}

.section--principles .box-minimal .fa {
    font-size: 40px;
    color: #04408b;
}

.page {
    overflow: auto;
}

a.selected {
    text-decoration: underline;
}

/* Временно убрана кнопка для открытия меню на мобилках (когда будет создано меню, кнопку вернуть) */
.rd-navbar-toggle {
    display: none !important;
}

.has-list-marked * + ul,
.has-list-ordered * + ol {
    margin-top: 15px;
}

.has-list-ordered ol {
    counter-reset: li;
}

.has-list-marked ul > li,
.has-list-ordered ol > li {
    text-indent: -25px;
    padding-left: 25px;
}

.has-list-marked ul > li::before {
    position: relative;
    top: 1px;
    display: inline-block;
    left: 25px;
    min-width: 25px;
    content: '\f14f';
    font: 400 14px 'Material Design Icons';
    line-height: inherit;
    color: #aeb1be;
}
.has-list-ordered ol {counter-reset: li;}
.post-classic-meta a:hover {
	text-decoration: underline;
}
.has-list-ordered ol > li {
    position: relative;
    padding-left: 25px;
}

.reset-links a {
    display: inline;
}

.has-list-ordered ol > li::before {
    content: counter(li, decimal) ".";
    counter-increment: li;
    top: 0;
    left: 0;
    display: inline-block;
    width: 15px;
    color: #aeb1be;
    padding-left: 25px;
}
.post-creative-title {
	font-weight: 400;
}

.post-classic-media {
    height: 0;
    padding-bottom: 65%;
}

.post-classic-media-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.ya-share2-outer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;

    display: flex;
    align-items: center;
}

.ya-share2--aside {
    display: none;
    margin-left: 20px;
}

.ya-share2--aside:hover .ya-share2__title {
    display: inline-block;
}

@media (min-width: 992px) {
    .ya-share2--aside {
        display: block;
    }
}

.ya-share2--aside .ya-share2__title {
    display: none;
}

.read-more-container .button {
    margin-top: 4px;
}

.section.section-healthcare .button.button-white {
    width: 320px;
}

.section.section-healthcare .button.button-white:hover {
    background: #c30734;
    border-color: #c30734;
}

@media (min-width: 576px) {
    .section.section-healthcare .button.button-lg {
        padding-right: 25px;
        padding-left: 25px;
    }
}

.mdi.mdi-search::before {
    content: "";
    transform: rotate(0deg) scale(1);
    opacity: 1;
    visibility: visible;
    font-family: "Material Design Icons";
}

.rd-navbar-search-wrapper .rd-navbar-search-input {
    border: 1px solid #e8e9ee;
    border-radius: 6px;
    padding: 11px 19px;
    transition: .3s;
    font-size: 16px;
    font-weight: 300;
}

.rd-navbar-search-wrapper .rd-navbar-search-input:focus {
    border-color: #c30734;
}

.aymap{
margin-top:30px;	
}