@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

.pager li > a, .pager li > span,
.pager li > a:hover {
    border-radius: 0;
    border-color: #ffffff;
    color: #B4137D;
}

.pagination > li > a, .pagination > li > span {
    color: #337ab7;
}

.pager li > span {
    border: none;
}

.page-navigation-link {
    font-style: normal;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 110%;
    color: #3973B3;
}

.page-navigation-link a {
    color: #3973B3;
}

.page-navigation-link a:hover {
    color: #B4137D;
}

.page-node-type-front-page .region-content {
    margin: 0;
}

.front-page__block {
    background-color: #ffffff;
}

.front-page__podgotovka_block {
    font-size: 0.9rem;
    color: #828282;
}

.front-page__digest_block {
    margin-left: 2rem;
}

.file-list-row-description {
    font-style: italic;
    white-space: initial;
}

.front-page__title_block {
    color: #F2F2F2;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.front-page__title_block .front-page__title_block__title {
    font-family: Roboto, sans-serif;
    font-style: normal;
    font-size: 2rem;
    line-height: 110%;
    text-transform: uppercase;
    color: #F2F2F2;
}

.front-page__title_block .front-page__title_block__link a {
    color: #F2F2F2;
}

.front-page__title_block .front-page__title_block__link a:hover {
    color: #F2F2F2;
}

.region-content {
    background-color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.page-node-type-front-page .region-content {
    background-color: transparent;
}

/* news */

.news-card {
    flex-wrap: wrap;
    display: flex;
    box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.66);
    margin: 0 0 2rem 0;
    overflow: hidden;
    position: relative;
    background-color: #ffffff;
}

.news-card .small {
    font-size: 0.75rem;
    line-height: 1rem;
}

.news-card .news-card__category {
    text-transform: uppercase;
}

.news-card .news-card__category > a {
    color: #D53294;
}

.news-card .news-card__title {
    font-size: 1.125rem;
    line-height: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.news-card .news-card__img {
    max-height: 256px;
    width: 100%;
    object-fit: cover;
    position: relative;
}

.news-card .news-card__img_link {
    display: contents;
}

.news-card .news-card__text {
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    font-size: 0.875rem;
    line-height: 1.5rem;
    flex: 1;
}

.news-card .news-card__news_link {
    display: flex;
    flex-flow: row wrap;
    font-size: 14px;
    margin: 20px 0 0 0;
    padding: 0;
    justify-content: right;
}

.front-page__podgotovka_block .front-page__block::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 1rem solid transparent;
    border-bottom: 1rem solid transparent;
    border-right: 1rem solid #ffffff;
    left: -1rem !important;
    top: 22%;
}

.news-card .news-card__text::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 1rem solid transparent;
    border-bottom: 1rem solid transparent;
    border-right: 1rem solid #ffffff;
    left: -1rem !important;
}

#block-newscategory {
    background-color: #ffffff;
    border-radius: 3px 3px 0 0;
    padding: 2rem 0 0 2rem;
    border-bottom: 1px solid #BDBDBD;
    color: #4F4F4F;
}

.news-node__header-block {
    background-color: #ffffff;
    border-radius: 3px 3px 0 0;
    border-bottom: 1px solid #BDBDBD;
    padding-bottom: 0.531rem;
    margin-bottom: 2rem;
}

.news-node__header-block .layout__region.layout__region--first {
    display: flex;
}

.news-node__content-date {
    font-style: normal;
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 0.875rem;
    text-transform: uppercase;
    color: #4F4F4F;
    align-self: center;
}

.news-node__news-category {
    font-style: normal;
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 110%;
    text-transform: uppercase;
    align-self: center;
}

#block-newscategory nav.news-category ul.we-mega-menu-ul.nav {
    flex-direction: row;
}

#block-newscategory.block-we-megamenu-blocknews-category nav.news-category ul > li:not(:first-child) a.we-mega-menu-li::after {
    content: ">";
}

#block-newscategory.block-we-megamenu-blocknews-category nav.news-category ul li  ul.nav.nav-tabs.subul {
    flex-direction: column;
}

.news-node__content-block .field--name-field-news-title {
    font-style: normal;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 100%;
    color: #3A127A;
    padding-bottom: 1rem;
}

.news-node__content-block .field--name-body {
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 110%;
    color: #333333;
}

.view-news-list .news-view-row {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.view-news-list .news-view-row:not(:first-child) {
    border-top: 1px solid #E0E0E0;
}

.view-news-list .views-field-field-news-title {
    padding-top: 0.531rem;
    padding-bottom: 0.531rem;
    font-style: normal;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 100%;
    color: #3973B3;
}

.view-news-list .views-field-field-news-taxonomy .news-date-block {
    font-style: normal;
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 0.875rem;
    text-transform: uppercase;
    color: #4F4F4F;
    align-self: center;
}

.view-news-list .views-field-field-news-taxonomy a {
    padding-top: 0.531rem;
    padding-bottom: 0.531rem;
    font-style: normal;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 100%;
    color: #3973B3;
}

@media screen and (min-width: 769px) {
    .news-card {
        flex-wrap: inherit;
    }

    .news-card .news-card__title {
        font-size: 1.5rem;
    }

    .news-card .news-card__img {
        /*max-width: 300px;*/
        /*max-height: 100%;*/
        /*transition: transform 0.3s ease;*/
        max-height: 256px;
        width: 100%;
        object-fit: cover;
        position: relative;
    }

    .news-card .news-card__text {
        padding: 3rem;
        width: 100%;
    }
}

@media screen and (min-width: 1024px) {
    .news-card .news-card__img {
        max-width: 300px;
        max-height: 100%;
        transition: transform 0.3s ease;
    }

    .news-card .news-card__text {
        padding: 2rem 3.5rem;
    }
}

/* navigation */

.navbar-inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

header.header .nav_top-menu-region {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

header .navbar {
    margin-bottom: 0;
    border-radius: unset;
}

.menu--top-menu .nav > li > a {
    background: #ffffff;
    border: 0 none;
    color: #4F4F4F;
    text-decoration: none;
    text-shadow: initial
}

.menu--top-menu .nav > li > a:focus,
.menu--top-menu .nav > li > a:hover {
    background: inherit;
    text-decoration: none;
    color: #B4137D;
}

.menu--top-menu .nav > li > a.active,
.menu--top-menu .nav > li > a:active {
    /* color: #4F4F4F;*/
    color: #3A127A;
}

.we-mega-menu-ul > .we-mega-menu-li > a {
    background-color: #ffffff;
    border: 0 none;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    margin-right: 0;
    color: #4F4F4F;
    font-size: 1rem;
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    font-family: "Graphik", Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.we-mega-menu-ul > .we-mega-menu-li > a:hover,
.we-mega-menu-ul > .we-mega-menu-li > a:focus {
    background: #ffffff;
    border: 0 none;
    color: #B4137D;
    text-decoration: none;
    text-shadow: initial
}

.we-mega-menu-ul > .we-mega-menu-li:first-child {
    border-left: 0 none
}

.we-mega-menu-ul > .we-mega-menu-li.active > a,
.we-mega-menu-ul > .we-mega-menu-li.active > a:hover,
.we-mega-menu-ul > .we-mega-menu-li.active > a:focus,
.we-mega-menu-ul > .we-mega-menu-li.active-trail > a,
.we-mega-menu-ul > .we-mega-menu-li.active-trail > a:hover,
.we-mega-menu-ul > .we-mega-menu-li.active-trail > a:focus {
    color: #B4137D;
    background: #ffffff;
    border: 0 none
}

.we-mega-menu-ul > .we-mega-menu-li.active > a::before,
.we-mega-menu-ul > .we-mega-menu-li.active-trail > a::before {
    filter: brightness(0) saturate(100%) invert(7%) sepia(62%) saturate(7414%) hue-rotate(265deg) brightness(90%) contrast(98%);
}

.we-mega-menu-ul > .we-mega-menu-li > a:hover,
.we-mega-menu-ul > .we-mega-menu-li > a:focus,
.we-mega-menu-ul > .we-mega-menu-li > a:hover,
.we-mega-menu-ul > .we-mega-menu-li > a:focus {
    color: #B4137D;
}

.we-mega-menu-ul > .we-mega-menu-li > a:hover::before,
.we-mega-menu-ul > .we-mega-menu-li > a:focus::before,
.we-mega-menu-ul > .we-mega-menu-li > a:hover::before,
.we-mega-menu-ul > .we-mega-menu-li > a:focus::before {
    filter: brightness(0) saturate(100%) invert(16%) sepia(68%) saturate(4315%) hue-rotate(306deg) brightness(87%) contrast(98%);
}

.we-mega-menu-ul > .we-mega-menu-li.active > a,
.we-mega-menu-ul > .we-mega-menu-li.active-trail > a {
    color: #3A127A;
}

.navigation .nav-item > a.nav-link {
    color: #4F4F4F;
    font-style: normal;
    font-weight: normal;
    font-size: 1rem;
    line-height: 110%;
}

.we-mega-menu-ul > .we-mega-menu-li > a {
    font-size: 1rem;
    font-weight: 400;
    font-style: normal;
    text-transform: none;
}

.we-mega-menu-ul > .we-mega-menu-li > a {
    /*padding: 0.125rem 0.125rem 0.125rem 0.125rem;*/
    padding: unset;
    border: 0 none;
}

.we-mega-menu-ul > .we-mega-menu-li {
    border: 0 none;
}

.navbar-we-mega-menu[data-autoarrow="0"]:not(.admin) .dropdown-menu > a,
.navbar-we-mega-menu[data-autoarrow="0"]:not(.admin) .dropdown-menu > span {
    padding-right: 0.7rem;
}

.navbar .we-mega-menu-ul > .we-mega-menu-li > a::before {
    position: relative;
    top: 1px;
    padding-right: 4px;
    display: inline-block;
    content: "";
    background-repeat: no-repeat;
    -webkit-background-size: 1.2rem 1.2rem;
    background-size: 1.2rem 1.2rem;
    width: 1.4rem;
    height: 1.2rem;
    background-position: -0.0rem -0.05rem;
}

.we-mega-menu-ul .dropdown-menu > a::before,
.we-mega-menu-ul .dropdown-menu > a::after,
.we-mega-menu-ul .dropdown-menu > span::before,
.we-mega-menu-ul .dropdown-menu > span::after {
    content: '';
    position: absolute;
    right: .25rem;
    margin-top: -.3125rem;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
}

.navbar .we-mega-menu-ul .we-mega-menu-li.menu_item_sport a::before {
    background-image: url('/themes/custom/b4subtheme/images/icon-cup.svg');
}

.navbar .we-mega-menu-ul .we-mega-menu-li.menu_item_methodical_center a::before {
    background-image: url('/themes/custom/b4subtheme/images/icon-data-analitics.svg');
}

.navbar .we-mega-menu-ul .we-mega-menu-li.menu_item_advaced_trainning a::before {
    background-image: url('/themes/custom/b4subtheme/images/icon-chevron-double-up.svg');
}

.navbar .we-mega-menu-ul .we-mega-menu-li.menu_item_method_documents a::before {
    background-image: url('/themes/custom/b4subtheme/images/icon-file.svg');
}

/*.we-mega-menu-ul .dropdown-menu:hover > .we-mega-menu-submenu,*/
/*.we-mega-menu-ul .dropdown-menu:focus > .we-mega-menu-submenu {*/
/*    display: block;*/
/*    width: 1000px;*/
/*}*/

/*.we-mega-menu-submenu {*/
/*    width: 100vw !important;*/
/*}*/
/*.we-mega-menu-ul .dropdown-menu {*/
/*    position: initial;*/
/*}*/

/*!* Ensure top-level mega menu items extend edge-to-edge *!*/
/*.we-mega-menu-ul > .we-mega-menu-li {*/
/*    position: initial !important;*/
/*}*/

/*.we-mega-menu-ul > .we-mega-menu-li > .we-mega-menu-submenu {*/
/*    width: 100% !important;*/
/*}*/

/*.center .we-mega-menu-submenu {*/
/*    left: 50%;*/
/*    -moz-transform: translateX(-50%);*/
/*    -ms-transform: translateX(-50%);*/
/*    -webkit-transform: translateX(-50%);*/
/*    transform: translateX(-50%);*/
/*    top: 100%;*/
/*    margin-top: .3125rem;*/
/*}*/

/*.right .we-mega-menu-submenu {*/
/*    left: auto ;*/
/*    right: 0 ;*/
/*}*/

/*.justify.dropdown-menu {*/
/*    position: initial;*/
/*}*/

.menu--about-bottom-menu .nav a.about-bottom-menu__item::before {
    content: url("/themes/custom/b4subtheme/images/icon-file-download.svg") !important;
    position: relative;
    top: 1px;
    padding-right: 6px;
    filter: invert(42%) sepia(68%) saturate(512%) hue-rotate(170deg) brightness(85%) contrast(87%);
}

.menu--about-bottom-menu {
    padding-right: 2rem;
}

.region-nav-main ul.we-mega-menu-ul > li.we-mega-menu-li {
    margin-left: 1.688rem;
}

.we-mega-menu-ul .dropdown-menu > a::after, .we-mega-menu-ul .dropdown-menu > span::after,
.we-mega-menu-ul .dropdown-menu > a::before, .we-mega-menu-ul .dropdown-menu > span::before {
    background-image: none;
}

#block-newscategory .we-mega-menu-ul .dropdown-menu .we-mega-menu-submenu {
    background-color: #E0E0E0;
}

#block-newscategory .we-mega-menu-ul > .dropdown-menu:first-child > .we-mega-menu-submenu {
    margin-left: -100px;
}

/*#block-newscategory .we-mega-menu-ul .dropdown-menu > a::after, .we-mega-menu-ul .dropdown-menu > span::after {*/
/*    background-image: url("/modules/contrib/we_megamenu/assets/images/ico-arrow.png");*/
/*    background-image: url('/themes/custom/b4subtheme/images/icon-chevron-double-up.svg');*/
/*    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);*/
/*    opacity: 0;*/
/*}*/


.podgotovka_block__item_content {
    background-image: url('/sites/default/files/2022-02/podgotovka-front-rectangle-178.png');
    background-size: cover;
}

/* documents sections */
@media (max-width: 575.98px) {
    .footer__social_icons_list {
        flex-direction: row;
        justify-content: space-between;
        padding-inline-start: 0;
    }

    .podgotovka_block__item_digest__default_img {
        display: none;
    }

    .podgotovka_block__item_digest {
        width: 100%;
    }

    .podgotovka_block__row {
        flex-direction: column;
        align-items: center;
    }

    .podgotovka_block__item_content {
        /*background: none;*/
    }

    .podgotovka_block__item_content-list {
    }

    .podgotovka_block__item_block {
        width: 100%;
    }
}

@media (min-width: 576px) {

    .podgotovka_block__row {
        flex-direction: column;
        align-items: center;
    }

    .masonry-item {
        width: 100%;
    }

    .doc-section-row {
        padding-bottom: 8px;
    }

    .doc-section-caption {
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 26px;
        padding-top: 2rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .page-title-caption {
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 26px;
        padding-top: 2rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .footer__social_icons_list {
        flex-direction: row;
        justify-content: space-between;
        padding-inline-start: 0;
    }
}

@media (min-width: 1024px) {

    .podgotovka_block__row {
        flex-direction: row;
    }

    .podgotovka_block__item_block {
        width: calc(100% - 280px);
    }

    .masonry-item {
        width: 440px;
    }

    .doc-section-row {
        padding-bottom: 26px;
    }

    .gutter-sizer {
        width: 26px;
    }

    .doc-section-caption {
        font-size: 24px;
        font-style: normal;
        font-weight: bold;
        line-height: 110%
    }

    .page-title-caption {
        font-size: 24px;
        font-style: normal;
        font-weight: bold;
        line-height: 110%
    }

    .footer__social_icons_list {
        flex-direction: column;
    }
}

@media (min-width: 1200px) {

    .podgotovka_block__row {
        flex-direction: row;
    }

    .podgotovka_block__item_block {
        width: calc(100% - 280px);
    }

    .masonry-item {
        width: 523px;
        /*width: calc((100% - 32px)/2);*/
    }

    .doc-section-row {
        padding-bottom: 28px;
    }

    .gutter-sizer {
        width: 28px;
    }

    .doc-section-caption {
        font-size: 26px;
        font-style: normal;
        font-weight: bold;
        line-height: 110%;
    }

    .page-title-caption {
        font-size: 2rem;
        font-style: normal;
        font-weight: bold;
        line-height: 110%;
    }

    .footer__social_icons_list {
        flex-direction: column;
    }
}

@media (min-width: 1440px) {
    .podgotovka_block__item_block {
        width: calc(100% - 280px);
    }

    .masonry-item {
        width: 592px;
        /*width: calc((100% - 32px)/2);*/
        /*width: calc(592px - 32px);*/
        /*max-width: calc((100% - 32px)/2);*/
        justify-content: space-between;
    }

    .view-media-gallery .masonry-item {
        width: 268px;
        justify-content: space-between;
    }

    .media-gallery-row {
        padding-bottom: 44px;
    }

    .doc-section-row {
        padding-bottom: 32px;
    }

    .gutter-sizer {
        width: 32px;
    }

    .doc-section-caption {
        font-size: 32px;
        font-style: normal;
        font-weight: 700;
        line-height: 35px;
    }

    .page-title-caption {
        font-size: 2rem;
        font-style: normal;
        font-weight: 700;
        line-height: 35px;
    }

    .footer__social_icons_list {
        flex-direction: column;
    }
}

.masonry-layout-dokumenty,
.masonry-layout-view-section-docs {
    text-align: center;
    justify-content: center;
}

.doc-section-row .views-field-field-document-section-image img {
    opacity: 0.6;
    border: 2px solid #FFFFFF;
    border-radius: 3px;
}

.doc-section-caption {
    position: absolute;
    text-align: left;
    color: #ffffff;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0em;
    padding-top: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    text-shadow: 2px 2px 4px #000000;
    text-shadow: -2px -2px 4px #000000;
    z-index: 100;
}

.page-title-caption {
    position: absolute;
    text-align: left;
    color: #ffffff;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0em;
    padding-top: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    text-shadow: 2px 2px 4px #000000;
    text-shadow: -2px -2px 4px #000000;
    top: -232px;
    min-width: 80vw;
}

.doc-section-caption > a {
    color: #ffffff;
}

.grouping-title-row {
    text-align: left;
    justify-content: left;
    color: #ffffff;
    /*font-family: Roboto;*/
    font-style: normal;
    font-weight: 500;
    font-size: 32px;
    line-height: 110%;
    /* or 35px */
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* vocabulary-documents-sections */
.doc-section-caption-bg {
    /*position: absolute;*/
    /*left: 0%;*/
    /*right: 0%;*/
    /*top: 0%;*/
    /*bottom: 0%;*/

    /*background: linear-gradient(180deg, rgba(35, 35, 35, 0.83) 5.21%, rgba(29, 29, 29, 0.05) 100%);*/
    /*border-radius: 3px;*/

    /*position: absolute;*/
    /*right: 15%;*/
    /*bottom: 1.25rem;*/
    /*left: 15%;*/
    /*padding-top: 1.25rem;*/
    /*padding-bottom: 1.25rem;*/
}

.taxonomy-section-caption {
    position: absolute;
    text-align: left;
    /*position: absolute;*/
    /*width: 106px;*/
    /*height: 35px;*/
    left: 0;
    top: 0;

    /*font-family: Roboto Medium;*/
    font-style: normal;
    font-weight: 500;
    font-size: 32px;
    line-height: 110%;

    /* or 35px */
    text-transform: uppercase;

    /* Gray 6 */
    /*color: #F2F2F2;*/
}

.header.region-nav_top {
    flex: 0 1 50%;
}

.header.region-nav_additional,
.header.region-search {
    flex: 0 1 50%;
}

.navbar-light.bg-light {
    background-color: #ffffff !important;
}

.navbar-we-mega-menu {
    background-color: #ffffff !important;
    /*border: 0 none;*/
    /*padding: 0;*/
    /*-moz-border-radius: 0;*/
    /*-webkit-border-radius: 0;*/
    /*border-radius: 0;*/
    /*min-height: inherit;*/
}

.we-mega-menu-submenu li.we-mega-menu-li {
    /*display: block;*/
    float: none;
    break-after: always;
    page-break-after: always;
}

/* 1 */
/* Ensure top-level mega menu items extend edge-to-edge */
/*.we-mega-menu-ul > .we-mega-menu-li {*/
/*    position: initial !important;*/
/*}*/

.we-mega-menu-ul > .we-mega-menu-li > .we-mega-menu-submenu {
    /*width: 100%;*/
    /*width: 100% !important;*/
    /*display: block;*/
    /*max-width: 1500px;*/
    /*position: fixed;*/
    /*left: 0;*/
    /*top: 95px;*/
    /*right: 0;*/
    /*bottom: auto;*/
    /*display: block;*/
    /*width: 100vw;*/
}

/*.we-mega-menu-submenu {*/
/*    position: initial;*/
/*}*/

/* 2 */
/*.we-mega-menu-ul .dropdown-menu:hover > .we-mega-menu-submenu,
.we-mega-menu-ul .dropdown-menu:focus > .we-mega-menu-submenu {
    display: block;
    width: 100%;
}*/

/*.we-mega-menu-ul .dropdown-menu {*/
/*    position: initial !important;*/
/*}*/


/*.we-mega-menu-ul .dropdown-menu:hover > .we-mega-menu-submenu, .we-mega-menu-ul .dropdown-menu:focus > .we-mega-menu-submenu {*/
/*    display: block;*/
/*    width: 100%;*/
/*}*/

.we-mega-menu-ul .dropdown-menu {
    position: initial;
}

/*.we-mega-menu-ul .we-mega-menu-li.dropdown-menu .we-mega-menu-submenu {*/
/*    display: none;*/
/*}*/


/*.center .we-mega-menu-submenu {*/
/*    left: 50%;*/
/*    -moz-transform: translateX(-50%);*/
/*    -ms-transform: translateX(-50%);*/
/*    -webkit-transform: translateX(-50%);*/
/*    transform: translateX(-50%);*/
/*    top: 100%;*/
/*    margin-top: .3125rem;*/
/*}*/

/*.right .we-mega-menu-submenu {*/
/*    left: auto;*/
/*    right: 0;*/
/*}*/

/*.justify.dropdown-menu {*/
/*    position: initial;*/
/*}*/

/* default views */
.file-list-row li {
    list-style-type: none;
}

.file-list-row li::before {
    content: url("/themes/custom/b4subtheme/images/icon-file-download.svg");
    position: relative;
    top: 3px;
    float: left;
    padding-right: 6px;
}

.front-page__podgotovka_block .file-list-row {
    padding-left: 1rem;
}

/* about */
.node--type-about .block-field-blocknodeaboutbody {
    margin-right: 3rem;
    color: #828282;
    font-style: normal;
    font-weight: normal;
    font-size: 1.125rem;
    line-height: 110%;
}

.node--type-about .block-field-blocknodeaboutbody ul {
    padding-left: 2rem;
    /*list-style-type: none;*/
    list-style: url("/themes/custom/b4subtheme/images/icon_grade_black.svg") outside;
    /*list-style-position: outside;*/
}

.node--type-about .block-field-blocknodeaboutbody li {
    padding: 0.5rem 0;
}

.node--type-about .block-field-blocknodeaboutbody h1,
.node--type-about .block-field-blocknodeaboutbody h2,
.node--type-about .block-field-blocknodeaboutbody h3,
.node--type-about .block-field-blocknodeaboutbody h4,
.node--type-about .block-field-blocknodeaboutbody h5,
.node--type-about .block-field-blocknodeaboutbody h6 {
    color: #4f3f3f;
}

.node--type-about .layout__region--second {
    padding-left: 3rem;
    width: 656px;
    border-left: 1px solid #E0E0E0;
}

.executers-column-title {
    font-style: normal;
    font-weight: bold;
    font-size: 1.125rem;
    line-height: 110%;
    color: #4F4F4F;
    margin-bottom: 1rem;
}

.block-views-blockexecuters-vice-executers-block {
    margin-bottom: 1rem;
}

.executers_with_image_block__info_col {
    display: flex;
    flex-direction: column;
}

.executers_with_image_block__info_col .views-field-field-head-position {
    flex-basis: inherit;
}

/*.executers_with_image_block__info_col .views-field-view-field-exec-more-link {*/
/*    align-self: flex-end;*/
/*}*/

.block-views-blockexecuters-executers-with-image-block {
    margin-bottom: 2rem;
}

.block-views-blockexecuters-executers-with-image-block .executers-row .views-field-field-exec-fullname {
    font-style: normal;
    font-weight: bold;
    font-size: 2rem;
    line-height: 110%;
    margin-bottom: 0.5rem;
    color: #4F4F4F;
    text-transform: uppercase;
}

.block-views-blockexecuters-vice-executers-block .executers-row .views-field-field-exec-fullname .field-content {
    font-style: normal;
    font-weight: bold;
    font-size: 1.125rem;
    line-height: 110%;
    color: #4F4F4F;
}

.block-views-blockexecuters-executers-with-image-block .executers-row .views-field-field-head-position {
    font-style: normal;
    font-weight: normal;
    font-size: 1.125rem;
    line-height: 110%;
    color: #BDBDBD;
    /*margin-top: 0.5rem;*/
}

.executers-row .views-field-field-head-position .field-content {
    font-style: normal;
    font-weight: normal;
    font-size: 0.875rem;
    line-height: 110%;
    color: #BDBDBD;
    margin-top: 0.25rem;
}

.block-views-blockexecuters-vice-executers-block .executers-row:only-child {
    max-width: 356px;
    border-bottom: 1px solid #E0E0E0;
}

.block-views-blockexecuters-vice-executers-block .executers-row:last-child .views-field-view-node {
    border: none;
}

.block-views-blockexecuters-vice-executers-block .executers-row .views-field-view-node {
    margin-bottom: 1.094rem;
    padding-bottom: 1rem;
    margin-top: 0.344rem;
    max-width: 356px;
    border-bottom: 1px solid #E0E0E0;
}

.department_heads_list__view {
    margin-bottom: 1rem;
}

.view-department-heads-list .views-field-field-dh-department-name .field-content {
    font-style: normal;
    font-weight: bold;
    font-size: 1rem;
    line-height: 110%;
    color: #828282;
}

.view-department-heads-list .views-field-field-dh-fullname .field-content {
    font-style: normal;
    font-weight: bold;
    font-size: 1rem;
    line-height: 110%;
    color: #4F4F4F;
}

.department-heads-list__view .department-heads-list__row {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
}

.department-heads-list__view .department-heads-list__row.views-row:not(:last-child) {
    max-width: 100%;
    border-bottom: 1px solid #E0E0E0;
}

.department-heads-list__view .department-heads-list__row:last-child {
    border: none;
}

.department-heads-list__view .department-heads-list__row .views-field-title {
    margin-top: 0.5rem;
}

.department-heads-list__view .department-heads-list__row .views-field-field-dh-fullname {
    margin-top: 0.5rem;
}

.view-department-heads-list__views-field-dh {
    display: flex;
}

.view-department-heads-list__views-field-dh .views-field-field-dh-phone::before {
    content: url("/themes/custom/b4subtheme/images/icon_phone.svg");
    position: relative;
    top: 5px;
    padding-right: 6px;
    filter: invert(42%) sepia(68%) saturate(512%) hue-rotate(170deg) brightness(85%) contrast(87%);
}

.view-department-heads-list__views-field-dh .views-field-field-dh-email::before {
    content: url("/themes/custom/b4subtheme/images/icon_email_black.svg");
    position: relative;
    top: 5px;
    padding-right: 6px;
    filter: invert(42%) sepia(68%) saturate(512%) hue-rotate(170deg) brightness(85%) contrast(87%);
}

.department-heads-list__title_block .department-heads-list__title_block__title {
    font-style: normal;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 110%;
    color: #4F4F4F;
}

.department-heads-list__title_block {
    border-bottom: 1px solid #E0E0E0;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.view-view-section-docs .view-files-list .view-content h3 {
    padding-bottom: 2rem;
}

.view-files-list .files-list-row {
    font-style: normal;
    font-weight: 500;
    /*font-size: 14px;*/
    line-height: 110%;
}

.view-files-list .files-list-row .file_list_item {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    border-top: 1px solid #E0E0E0;
    font-style: normal;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 110%;
    color: #3973B3;
}

.view-files-list .files-list-row .file_list_item > a.file_list_item__link {

}

.view-files-list .files-list-row .file_list_item > a.file_list_item__link::before {
    content: url("/themes/custom/b4subtheme/images/icon-file-download.svg");
    position: relative;
    top: 0;
    float: left;
    padding-right: 0.375rem;
    filter: invert(42%) sepia(68%) saturate(512%) hue-rotate(170deg) brightness(85%) contrast(87%);
}

.view-files-list .files-list-row .file_list_item > a:focus.file_list_item__link::before,
.view-files-list .files-list-row .file_list_item > a:hover.file_list_item__link::before {
    filter: brightness(0) saturate(100%) invert(16%) sepia(68%) saturate(4315%) hue-rotate(306deg) brightness(87%) contrast(98%);
}

.navigation.menu--about-bottom-menu .nav-item > a.nav-link {
    color: #3973B3 !important;
    text-decoration: none;
    background-color: transparent;
}

.navigation.menu--about-bottom-menu .nav-item > a.nav-link:hover {
    color: #B4137D !important;
    text-decoration: underline;
}

.front-page__digest_block img {
    vertical-align: top;
}

.node--type-front-page article.front-page__podgotovka_block .container .row {
    margin-left: 0;
    margin-right: 0;
}

.header_title__block {
    /*background-image: url('/sites/default/files/2022-01/second_header_1.png');*/
    /*background-repeat: no-repeat;*/
    /*background-size: cover;*/
    /*background-position: center;*/
    /*height: 384px;*/
}

header .header_title__block .jumbotron111 {
    /*height: 100vh;*/
    width: 100vh;
    display: flex;
    align-items: center;
    background-image: url('/sites/default/files/2022-01/second_header_1.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.header_title__jumbotron {
    /*height: 384px;*/
    /*display: flex;*/
    /*align-items: center;*/
    display: table;
    width: 100%;
}

.block-views-blocksecond-header-slider-block-1,
.header_title__hero2 {
    display: table-cell;
    /*vertical-align: middle;*/
    height: 380px;
    margin: 0 auto;
    /*background-image: url('/sites/default/files/2022-02/second_header_1.png');*/
    /*background-repeat: no-repeat;*/
    /*background-size: cover;*/
    /*background-position: center;*/
}

.region-header-title {
    font-style: normal;
    font-weight: 500;
    font-size: 28px;
    line-height: 110%;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    color: #FFFFFF;
}

main div.container .region.region-content {
    margin-top: 0;
}

main .region-content {
    background-color: inherit;
}

.path-frontpage .region-content {
    background-color: transparent;
}

.view.view-media-gallery .view-content,
.view.view-media-gallery-page .view-content,
.view-files-list .view-content,
.view-department-heads-list,
.node--type-news .node__content,
.node--type-about .node__content,
.page-node-type-page .node__content,
.page-node-type-executives .node__content {
    background-color: #ffffff;
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);*/
    border-radius: 3px;
    padding: 2rem;
    color: #4F4F4F;
}

.document-content-body-row.views-row .document_content_body__field,
.view-news-list .view-empty,
.news-list--view.news-list__view .view-content {
    background-color: #ffffff;
    border-radius: 0 0 3px 3px;
    padding: 2rem;
    color: #4F4F4F;
}

.view.view-media-gallery .view-content,
.view.view-media-gallery-page .view-content {
    border-radius: 3px 3px 0 0;
    padding: 2rem;
    color: #4F4F4F;
}

.view-view-section-docs nav.pager,
.view-media-gallery nav.pager {
    background-color: #ffffff;
    border-radius: 0 0 3px 3px;
    margin-top: 0;
    padding: 2rem;
}

.executives-bio-title {
    font-style: normal;
    font-weight: 400;
    font-size: 2rem;
    line-height: 100%;
    color: #3A127A;
}

.page-node-type-executives .executives-main-content .layout__region--second {
    padding-left: 2rem;
    padding-bottom: 3rem;
}

.page-node-type-executives .executives-bio-header__section .field.field--name-field-exec-fullname {
    font-style: normal;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 100%;
    color: #4F4F4F;
}

.page-node-type-executives .executives-bio-header__section {
    border-bottom: 1px solid #BDBDBD;
    padding-bottom: 0.5rem;
    margin-bottom: 2.5rem;
}

.page-node-type-executives .executives-bio-title__block {
    margin-bottom: 2rem;
}

.page-node-type-executives .executives-main-content .field--name-body {
    font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-style: normal;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 110%;
    color: #4F4F4F;
}

.sponsors-block__view .view-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
    align-content: center;
    height: 100%;
    gap: 65px;
    padding: 0;
    margin: 0;
}

.sponsors-block__item {
    /*display: flex;*/
    height: 80px;
    min-width: 65px;
    max-width: 165px;
}

.node--type-front-page article.front-page__podgotovka_block {
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.podgotovka_block__row {
    display: flex;
    flex-wrap: nowrap;
    /*justify-content: flex-start;*/
    height: 100%;
    margin: 0;
    padding: 0;
}

.podgotovka_block__item {

}

.podgotovka_block__item_block {
    /*width: 984px;*/
    /*min-height: 448px;*/
}

.front-page__podgotovka_block span.podgotovka_block__item_caption {
    display: block;
    position: relative;
    font-style: normal;
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 110%;
    color: #FFFFFF;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
    left: 1.5rem;
    top: 1.5rem;
    width: 11.625rem;
}

.podgotovka_block__item_digest {
    width: 280px;
    /*height: 448px;*/
}

/* contacts */
.page_contacts__callback_block .page_contacts__callback_block__title {
    color: #3A127A;
    text-transform: uppercase;
}

.page_contacts__callback_block .page_contacts__callback_block__title .pre_title {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.25rem;
    letter-spacing: 0em;
    text-align: center;
}

.page_contacts__callback_block .page_contacts__callback_block__title .title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.938rem;
    letter-spacing: 0em;
    text-align: center;
}

.view-media-gallery .masonry-layout-media-gallery .grouping-title-row {
    font-style: normal;
    font-weight: 500;
    font-size: 2rem;
    line-height: 110%;
    text-transform: uppercase;
    border-bottom: 1px solid #BDBDBD;
    padding-bottom: 0.5rem;
    margin-bottom: 2.5rem;
}

.view-media-gallery .masonry-layout-media-gallery .grouping-title-row > a {
    /*color: #F2F2F2;*/
}

/* view-front-page-media-gallery-slider  */

.view-front-page-media-gallery-slider .slide__caption {
    padding: 0;
}

.view-front-page-media-gallery-slider .slick-slide {
    margin: 0 16px;
}

.view-front-page-media-gallery-slider .slick-list {
    margin: 0 -16px;
}

.view-front-page-media-gallery-slider .slick-slider {
    overflow: hidden;
}

.view-front-page-media-gallery-slider .slide__content {
    border-radius: 13px 13px 0 0;
}

.view-front-page-media-gallery-slider .slick__arrow {
    text-align: center;
}

.view-front-page-media-gallery-slider .slide__data .slide__title {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #3973B3;
    height: 48px;
}

.view-front-page-media-gallery-slider .slide__data {
    display: flex;
    align-items: flex-start;
    padding: 8px 16px;
    background-color: #ffffff;
    height: 68px;
    flex-direction: column-reverse;
    border-radius: 0 0 3px 3px;
}

.view-front-page-media-gallery-slider .slide__content .slide__caption .slide__data .media-gallery-slider__caption-date {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    text-transform: uppercase;
    color: #BDBDBD;
    padding-bottom: 0.25rem;
}

.view-front-page-media-gallery-slider .slick-arrow {
    background: transparent;
    color: transparent;
    border: none;
}

.view-front-page-media-gallery-slider .slick-prev::before {
    content: "\f177";
    font-family: FontAwesome;
    padding: 0 10px;
    font-size: 28px;
}

.view-front-page-media-gallery-slider .slick-next::before {
    content: "\f178";
    font-family: FontAwesome;
    padding: 0 10px;
    font-size: 28px;
}

.view-front-page-media-gallery-slider .slick-arrow::before {
    color: #F2F2F2;
}

.view-front-page-media-gallery-slider .slick-arrow.slick-disabled::before {
    opacity: 0.3;
}

.view-front-page-media-gallery-slider nav.slick__arrow {
    /*padding-bottom: 4rem;*/
}

.page-node-type-front-page .front-page__title_block .front-page__gallery_block__link {
    padding-bottom: 4rem;
}
.front-page__allnews_block__link a,
.front-page__gallery_block__link a {
    color: #f2f2f2;
}

.view-media-gallery-page .masonry-item {
    width: 268px;
    justify-content: space-between;
}

.media-gallery-main-row {
    padding-bottom: 32px;
}

.media-gallery-card__data {
    min-height: 98px;
}

.view-media-gallery-page .media-gallery-card__data {
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
    background-color: #ffffff;
    height: 68px;
    flex-direction: column;
    border-radius: 0 0 3px 3px;
}

.view-media-gallery-page .media-gallery-card__data .media-gallery-card__title {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #3973B3;
    height: 48px;
}

.view-media-gallery-page .media-gallery-card__data .media-gallery-card__caption-date {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    text-transform: uppercase;
    color: #BDBDBD;
    padding-bottom: 0.25rem;
}

.carousel-indicators li {
    border: none;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    /*border-radius: 100%;*/
}

.vi-special-block-image {
    background-image: url(/themes/custom/b4subtheme/images/icon_visually_impaired_a.svg) !important;
    background-color: transparent !important;
    background-repeat: no-repeat;
    display: block;
    width: 140px;
    height: 32px;
    border: 0 !important;
    cursor: pointer;
    margin: 0 auto;
    font-size: 0 !important;
    padding: 0.3rem 0.3rem;
    margin-bottom: 0.5rem;
}

.vi-normal-block-image {
    background-image: url(/themes/custom/b4subtheme/images/icon_visually_impaired_n.svg) !important;
    background-color: transparent !important;
    background-repeat: no-repeat;
    display: none;
    width: 140px;
    height: 32px;
    border: 0 !important;
    cursor: pointer;
    margin: 0 auto;
    font-size: 0 !important;
    padding: 0.3rem 0.3rem;
    margin-bottom: 0.5rem;
}

.vi-special-block-image:hover {
    color: #B4137D !important;
    filter: brightness(0) saturate(100%) invert(16%) sepia(68%) saturate(4315%) hue-rotate(306deg) brightness(87%) contrast(98%);
}

.vi-special-block-image:active {
    filter: brightness(0) saturate(100%) invert(14%) sepia(39%) saturate(7361%) hue-rotate(260deg) brightness(67%) contrast(103%);
}

.block-visually-impaired-module .vi-special-block-image.btn.active,
.block-visually-impaired-module .vi-special-block-image.btn:active,
.block-visually-impaired-module .vi-special-block-image.btn.focus,
.block-visually-impaired-module .vi-special-block-image.btn:focus,
.block-visually-impaired-module .vi-special-block-image.btn:focus-visible {
    box-shadow: none;
    outline: none;
}

article.news-card {
    color: #4F4F4F;
}

.footer__social_icons_list {
    display: flex;
}
