/*
. Настройки переменных                    19-44
    - Основные цвета
    - Размер шрифта
    - Межстрочное расстояние
    - Настройки бутсрап

. Конфигурация сайта                       45-78
    - Шрифты
    - Служебные классы
        - цвет секции
        - насыщенность
    - Контейнеры

. Шапка (до 1400) + шапка (после 1400)   239
    - Логотип
        - 0-370px
        - 370 - 576px
        - 576 - 768px
    - Социальные сети и подложки под них
    - Выпадающее меню
    - Контакты                             467

. Адаптивное правое и левое меню
. Баннеры                                  514
. Новости                                  541
. Полезные ресурсы                         617
. Подвал                                   711
    - Адаптив
    - Полная версия
. Конфиденциальность                       837
. Офисы                                    1191

Подвал                                     752




*/

/*  ===== Настройка переменных ==== */

:root {
    /* Основные цвета */
    --color-cyan: #00ffff;
    --main-color: #623B2A; /* Основной цвет сайта */
    --record_red: #E04E39;
    --social_icon_gray: hsla(29, 43%, 58%, .8);
    --text_color: #F4EBE0;
    --background_body: #EBEFF2;
    --section_color: #fff; /* Цвет секций(белый)*/

    /* Размер шрифта проекта */
    --fontsize: 16px;

    /* Межстрочное расстояние */
    --lineheight: 1.50;
    --userfont: 'PT Sans', sans-serif;
    --systemfont: -apple-system, BlinkMacSystemFont, Arial, sans-serif;

    /* Настройки бутстрап */
    --bs-accordion-bg: hsla(29, 43%, 58%, .8);
}


/* =======   Конфигурация сайта ====== */
/*  Шрифты  */
@font-face {
    font-family: 'PTSans';
    src: url('../fonts/PTSans-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'PTSans';
    src: url('../fonts/PTSans-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'PTSans';
    src: url('../fonts/PTSans-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'PTSans';
    src: url('../fonts/PTSans-BoldItalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
}

* {
    box-sizing: border-box;
}

/* Настройки шрифта на всей странице */
body {
    font-family: 'PTSans', sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.4rem;
    background-color: #ebeff2;
}

address {
    margin: 0;
}

/* Списки */
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Цвет и оформление ссылок на странице */
a {
    text-decoration: none;
    color: var(--text_color);
}

/* Заголовки */
body .h1, body .h2 {
    margin-bottom: 1rem;
    color: var(--main-color); /* Использование вашей переменной */
    font-style: normal;
    letter-spacing: .05em;
    line-height: 28px;
    text-transform: uppercase;
}

body .h1 {
    font-size: 26px;
    font-weight: 600;
    text-align: left;
}

body .h2 {
    font-size: 20px;
    font-weight: 700;
}

/* Изображения */
img {
    width: 100%;
}

svg {
    pointer-events: bounding-box;
}


/* Служебные классы */
.sec_color {
    background-color: var(--section_color);
}

/* Насыщенность текста */
.db {
    font-weight: 600;
}

/* Заголовки секций*/
.services-block_item_header {
    color: #623b2a;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 23px;
    min-width: 700px;
    text-transform: uppercase;
    letter-spacing: 0.032em;
}

/* Контейнеры */

.containers-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
}


/* Контент на странице */
.content-container {
    margin-top: 20px;
}

@media (max-width: 1400px) {
    .content-container {
        padding: 30px;
    }
}

.document-title {
    color: var(--record_red);
    font-size: 16px;
    font-weight: 700;
    margin-left: 15px;
    text-transform: uppercase;
}


/*  =====  Шапка  ===== */

/*   Логотип  */
/* Логотип  от 0 до 370*/
@media (max-width: 370px) {
    .logo_title h1 {
        font-size: 20px;
    }

    .logo_title h2 {
        line-height: 1.2;
        text-align: left;
        font-size: 18px;
    }
}

/* Логотип  до 576*/
@media (max-width: 576px) {
    .logo img {
        width: 60%;
    }
}

/* Логотип  от 576 до  768*/
@media (min-width: 576px) and (max-width: 768px) {
    .logo img {
        width: 40%;
    }

    .logo_title h1 {
        font-size: 28px;
    }

    .logo_title h2 {
        font-size: 26px;
    }
}

.header {
    min-height: 66px;
    background-color: var(--main-color);
    width: 100%;
}

.header-fix {
    position: fixed;
    top: 0;
    z-index: 5;
}

.header_left-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header_left-group-links {
    display: flex;
    justify-content: flex-end;
}

.home_icons_container {
    align-items: center;
}

/* header >= 992px */
@media (min-width: 992px) {
    header {
        position: fixed;
        top: 0;
        z-index: 5;
    }
}

#top_menu {
    font-weight: 900;
}

/* Социальные сети и подложки под них */
.substrate {
    width: 40px;
    height: 40px;
    background: rgba(195, 147, 103, 0.8);
    display: flex;
    align-items: center;
    margin-right: 10px;
    padding: 5px;
}

.substrate a {
    display: flex;
    width: 35px;
    height: 35px;
}

.vk, .ok, .telegram {
    width: 30px;
}

/* Адаптивное правое и левое меню */
/* 1400 */
.adaptive_left_menu_container {
    position: fixed;
    top: 190px;
    left: auto;
    right: auto;
    padding-left: 5px;
    padding-right: 5px;
}

@media (max-width: 992px) {
    .adaptive_left_menu_container {
        position: fixed;
        top: 217px;
        left: auto;
        right: auto;
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media (max-width: 1400px) {
    .adaptive_max_1400_company_block {
        margin-top: 260px;
        background-color: #fff;
    }
}

.company-block {
    margin-top: 100px;
    margin-bottom: 25px;
}

.accordion-button {
    background-color: var(--main-color);
    color: var(--text_color);
    border-radius: 0;
}

.accordion-button:not(.collapsed) {
    color: var(--text_color);
    background-color: var(--main-color);
    font-style: var(--userfont);
    font-weight: 700;
}

.accordion {
    background-color: var(--social_icon_gray) !important;
    border-radius: 0;
}

.visually_button {
    margin-right: 10px;
    cursor: pointer;
    border: none;
    background-color: transparent;
}

.header-links {
    display: flex;
    justify-content: space-between;
}

.header-links li a {
    /*font-family: 'PT Sans', sans-serif;*/
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    transition: transform .4s;
}


/* ===== Правое меню ===== */

.right_menu {
    background-color: var(--main-color);
}

.markup {
    color: #002aff !important;
}


/* Новости */

.news, .news a {
    color: var(--main-color);
}

.new-card_header {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.news-additional-image {
    margin-bottom: 30px;
}

/*  Выпадающее меню */

nav {
    height: 100%;
}

.topmenu {
    margin: 0;
    padding: 0;
    list-style: none;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul:after {
    content: "";
    display: table;
    clear: both;
}

nav a {
    text-decoration: none;
    display: block;
    transition: .3s linear;
}

.topmenu > li {
    float: left;
    position: relative;
}

.topmenu > li:first-child {
    border-left: 0;
}

.topmenu > li > a {
    padding: 20px 20px;
    font-size: 18px;
    color: #FEFDFD;
    font-weight: 900;
}

.topmenu > li > a.active,
.submenu a:hover {
    color: #ddbe86;
}

.topmenu .fa,
.submenu .fa {
    margin-left: 5px;
    color: inherit;
}

.submenu {
    position: absolute;
    z-index: 5;
    min-width: 230px;
    background: white;
    border-top: 1px solid #CBCBCC;
    border-left: 1px solid #CBCBCC;
    border-right: 1px solid #CBCBCC;
    visibility: hidden;
    opacity: 0;
    transform-origin: 0% 0%;
    transform: rotateX(-90deg);
    transition: .4s linear;
}

.submenu li {
    position: relative;
    background-color: var(--main-color);
}

.submenu li a {
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    border-bottom: 1px solid #CBCBCC;
}

.submenu .submenu {
    position: absolute;
    left: 100%;
    top: -1px;
    transition: .3s linear;
}

nav li:hover > .submenu {
    transform: rotateX(0deg);
    visibility: visible;
    opacity: 1;
}

/*.submenu.right_submenu {*/
/*    bottom: 0;*/
/*}*/

/* Контакты */
.contact_tel,
.contact_mail {
    font-size: 16px;
    line-height: 1.1;
}

/* Плашка с контактами */
.contacts-wrap {
    width: 100%;
    background-color: rgba(195, 147, 103, 0.5);
    min-height: 40px;
    padding: 4px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contacts_item {
    display: flex;
    align-items: center;
}

.number_wrapper {
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 23px;
    color: #623B2A;
    display: flex;
    align-items: center;
    margin-left: 10px;
}

/* ============================= Разобрать по разделам ==================================*/

.adaptive_max_1400_company_block h1 {
    font-size: 32px;
}

.adaptive_max_1400_company_block h2 {
    font-size: 28px;
}


/*  Баннеры */

.company-block_content_banners {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.company-block_contacts {
    margin-top: 80px;
}

@media (max-width: 1400px) {
    .company_content h1 {
        font-size: 28px;
    }
}

.banner img {
    height: 280px;
    width: 70%;
    border: 1px solid #e4d7d7;
    text-align: center;
}

.banner {
    text-align: center;
}

.widget {
    justify-content: center;
}

.widget-size {
    max-width: 98%;
    text-align: center;
}

/*  Новости*/
.news {
    margin-bottom: 25px;
}

.news_container {
    padding: 25px;
    /*width: 100%;*/
    background-color: #fff;
    justify-content: space-between;
}


.news_cards_img {
    max-width: 400px;
    height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.news_cards_img {
    max-height: 198px;
    border: 1px solid #c2c6c6;
}

.news_cards_img img {
    height: 100%;
}

.news_cards_header {
    margin-bottom: 18px;
    width: 100%;
    min-height: 40px;
}

.news_cards_header a {
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 120%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color: #704D3E;
}

.news_cards_short_body span {
    font-size: 16px;
    color: #623B2A;
    display: block;
    line-height: 1.15;
    font-style: italic;
    font-weight: 700;
}

.news_cards_short_body {
    margin-top: 10px;
}

.news_cards_header,
.news_cards_img,
.news_cards_short_body {
    flex-grow: 0;
}

/* =====  Полезные ресурсы  ===== */

.useful_resources {
    margin-bottom: 25px;
}

.useful_resources_container {
    background-color: #fff;
    padding: 25px;
    width: 100%;
}

.branch_government {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.branch_government li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 18%;
    text-align: center;
    min-height: 120px;
    padding: 15px 8px;
    margin-bottom: 30px;
}

.branch_government li a {
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 120%;
}

.branch_government li.gray a {
    color: #fff;
}

.brown {
    background-color: #927974;
}

.gray {
    background: #c39367;
}

.gray-light {
    background: rgba(195, 147, 103, 0.5);
}

.red_light {
    background: rgba(224, 79, 57, 0.9);
}

.regional li a {
    color: #c39367;
}

.municipal li a {
    color: #623B2A;
}

li.margin_n {
    margin-bottom: 0;
}

@media (max-width: 1800px) {
    .branch_government li {
        width: 23%;
    }
}

@media (max-width: 1440px) {
    .branch_government li {
        width: 30%;
    }
}

@media (max-width: 1440px) {
    .branch_government li {
        width: 45%;
    }
}

@media (max-width: 650px) {
    .branch_government li {
        width: 100%;
    }
}


/* ===== Подвал ===== */

/* Подвал адаптив */

footer {
    background-color: var(--main-color);
    color: var(--text_color);
}

@media (max-width: 576px) {
    .h3 {
        font-size: 18px;
    }
}

/* Подвал полная версия */

.footer_content {
    padding: 35px 25px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer_left_block,
.footer_middle-block,
.footer_right_block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer_left_block {
    width: 30%;
}

.footer_middle-block,
.footer_right_block {
    width: 25%;
}

.maxW225 {
    max-width: 225px;
}

.maxW300 {
    max-width: 300px;
}

.h3 {
    font-family: 'PT Sans', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 130%;
}

.h3:nth-last-child(n+2) {
    margin-bottom: 20px;
}

.director {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.surname:nth-last-child(n+2) {
    margin-bottom: 4px;
}

.footer-phone {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.footer-contacts-item-wrap {
    display: flex;
}
.footer-contacts-item-wrap svg{
    margin-right: 15px;
}
svg.mail{
    margin-right: 24px;
}

.footer-contacts-item {
    margin-left: 25px;
}

.footer__content_adaptive {
    padding: 35px 25px;
    font-size: 18px;
    font-family: 'PT Sans', sans-serif;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
}

.footer_left_block_adaptive {
    width: 55%;
}

.footer_right_block_adaptive {
    width: 30%;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}


/*  Конфиденциальность */

#cookie_note {
    display: none;
    position: fixed;
    bottom: 15px;
    left: 50%;
    max-width: 90%;
    transform: translateX(-50%);
    padding: 20px;
    background-color: #e0c8b2;
    border-radius: 4px;
    box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
}

#cookie_note p {
    margin: 0;
    font-size: 0.7rem;
    text-align: left;
    color: black;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#cookie_note p a {
    color: #fff;
}

.cookie_accept {
    width: 20%;
    padding: 5px 10px;
}

button.cookie_accept {
    background-color: #623b2a;
    color: #fff;
}

#cookie_note.show {
    justify-content: space-between;
    width: 36%;
}

@media (min-width: 576px) {
    #cookie_note.show {
        display: flex;
    }
}

@media (max-width: 575px) {
    #cookie_note.show {
        display: block;
        text-align: left;
    }
}


/* Переопределение стилей аккордеона бутстрап*/

/*Стрелка в закрытом состоянии */
.accordion-button::after {
    filter: brightness(0) saturate(100%) invert(100%);
}

/* Стрелка в открытом состоянии */
.accordion-button:not(.collapsed)::after {
    filter: brightness(0) saturate(100%) invert(100%);
}


/* ============ Меню  ===================*/
/* Левое меню min 1400*/

@media (max-width: 768px) {
    li {
        font-size: 18px;
        margin-bottom: 5px;
    }
}

@media (min-width: 1400px) {
    #left_menu li, #right_menu li {
        background-color: var(--main-color);
        display: flex;
        justify-content: right;
        padding-right: 20px;
        margin-bottom: 3px;
        min-height: 40px;
        width: 100%;
        align-items: center;
        font-size: 18px;
    }

    #right_menu li {
        justify-content: left;
        padding-left: 20px;
    }
}


/* Полное отключение обводки при фокусе */
.accordion-button:focus {
    box-shadow: none !important;
    outline: none !important;
    border-color: transparent !important;
}

/* Убираем закругления у всего аккордеона */
.accordion,
.accordion-item:first-of-type,
.accordion-item:first-of-type .accordion-button,
.accordion-item:last-of-type,
.accordion-item:last-of-type .accordion-button.collapsed {
    border-radius: 0 !important;
}

/* Убираем закругления у кнопки аккордеона */
.accordion-button {
    border-radius: 0 !important;
}

/* Убираем закругления у содержимого аккордеона */
.accordion-collapse {
    border-radius: 0 !important;
}

/* Убираем закругления у активной кнопки */
.accordion-button:not(.collapsed) {
    border-radius: 0 !important;
}

@media (max-width: 1399.98px) {
    #left_menu a, #right_menu a {
        color: var(--main-color);
        font-weight: 600;
        font-size: 20px;
    }

    #left_menu li, #right_menu li {
        margin-bottom: 10px;
    }
}


/* SVG */
/* Защита от Bootstrap */
.custom-icon {
    overflow: visible !important;
    display: inline-block;
    vertical-align: middle;
}

.logo svg {
    display: block; /* Переопределяет display:inline у SVG */
    max-width: 100%; /* Для адаптивности */
    height: auto; /* Сохраняет пропорции */
    fill: currentColor; /* Наследует цвет текста */
}

/* Явное указание стилей для иконки */
.custom-icon use {
    fill: #F4EBE0; /* Или currentColor для управления через CSS */
}

/* Новый брейкпоинт бутсрап на 1500px*/
/* Кастомный брейкпоинт 1500px */
/*@media (min-width: 1500px) {*/
/*    !* Сетка *!*/
/*    .col-xxxl-1 { flex: 0 0 auto; width: 8.33333333%; }*/
/*    .col-xxxl-2 { flex: 0 0 auto; width: 20%; }*/
/*    .col-xxxl-3 { flex: 0 0 auto; width: 25%; }*/
/*    !* ... продолжайте по аналогии до col-xxxl-12 *!*/

/*    !* Утилиты видимости *!*/
/*    .d-xxxl-none { display: none !important; }*/
/*    .d-xxxl-block { display: block !important; }*/
/*    .d-xxxl-flex { display: flex !important; }*/
/*    !* ... другие утилиты по необходимости *!*/

/*    !* Контейнер *!*/
/*    .container-xxxl {*/
/*        width: 100%;*/
/*        max-width: 1470px; !* 1500px - 15px отступы с каждой стороны *!*/
/*        margin-right: auto;*/
/*        margin-left: auto;*/
/*    }*/
/*}*/

/* Баннер реддиректа */
.banner_redirect {
    background-color: #ecdacc;
    padding: 20px 11px;
    text-align: center;
    margin-bottom: 40px;
    color: #623b2a;
    border: 1px solid #d9cbc5;
    margin-top: 40px;
}


/* Страница всех новостей */
.all_news_card_content {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 60%;
}

.all_news-cards {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.all_news-card {
    display: flex;
    width: 100%;
    margin-bottom: 40px;
}

.all_news_card_img {
    max-height: 180px;
    overflow: hidden;
    width: 34%;
    border: 1px solid #dad1d0;
}

.all_news_card_img img {
    width: 100%;
    height: 100%;
}

.all_news_card_title a {
    font: 20px "PTSans-Bold";
    font-style: normal;
    font-weight: 900;
    line-height: 120%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    color: #704D3E;
}

.all_news_card_date span {
    font-size: 14px;
    color: #68391b;
    margin-bottom: 18px;
}

/* Стили пагинации */
.news-pagination {
    margin: 40px 0;
    text-align: center;
}

.news-pagination ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
}

.news-pagination li {
    margin: 0 5px;
}

.news-pagination a,
.news-pagination span {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #333;
}

.news-pagination .current {
    background: var(--main-color);
    color: white;
}

.news-pagination a:hover {
    background: #f1f1f1;
}

/* Одна новость */
.one_new_title {
    color: #623b2a;
    font-size: 24px;
    /*font-style: normal;*/
    font-weight: 700;
    letter-spacing: .015em;
    line-height: 105%;
    margin: 25px 0;
    max-width: 710px;
    width: 100%;
}

.news_cards_short_body span {
    color: #623b2a;
    display: block;
    font-size: 16px;
}

.one_news_card_content {
    margin-top: 20px;
    display: block;
    font-size: 16px;
}

.one_news_card_content p {
    color: var(--main-color);
    font-size: 19px;
}


/* Поиск */

.search-results-list {
    margin: 30px 0;
}

.search-result-item {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.entry-title {
    margin: 0 0 10px;
    font-size: 18px;
    color: var(--main-color);
}

.entry-title a {
    text-decoration: none;
    color: inherit;
}

.entry-title a:hover {
    color: #0073aa;
}

.entry-meta {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.entry-meta span {
    margin-right: 15px;
}

.entry-summary {
    line-height: 1.6;
    margin-top: 10px;
}

.no-results {
    text-align: center;
    padding: 50px 20px;
    color: #666;
}

.results-count {
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
}

.page-title {
    font-size: 20px;
    color: var(--main-color);
    font-weight: 600;
}

/* ===== Офисы =====*/
.num {
    color: var(--main-color);
    font-size: 22px;
    font-weight: 600;
}

.num_short {
    color: #652b06;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
}

.offices_info {
    margin-bottom: 20px;
}

.ofices_info_content {
    color: var(--main-color);
}

.ofices_info_text {
    display: flex;
    align-items: flex-end !important; /* Выравнивание по нижнему краю */
}

/* Подложка под ссылки*/

.link_pad label {
    color: var(--main-color);
    font-weight: 500;
    cursor: pointer;
    background: rgba(195, 147, 103, 0.4);
    padding: 15px 20px;
    width: 100%;
    font-size: 18px;
    margin: 0 0 5px;
    line-height: 26px;
    transition: all 0.4s;
}

.link_pad label:hover {
    transform: scale(1.02);
}

.link_pad label:before {
    content: '\276F';
    float: right;
}

.link_pad input:checked + label:before {
    transition: transform .35s;
    transform: rotate(90deg);
}

/* ===== Руководство =====*/

.managements_card {
    box-shadow: 0 4px 18px rgba(0, 0, 0, .15);
    margin-bottom: 40px;
    padding: 25px;
}

.managements_card_photo {
    width: 50%;
}

.managements_card_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--main-color);
    padding-left: 30px;
    font-weight: 700;
    width: 100%;
}

.managements_card_job-title {
    margin-bottom: 15px;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
}

.managements_card_fio {
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    margin-bottom: 20px;
}

.card_reception, .card_mail {
    margin: 20px 0;
    font-weight: 700;
    line-height: 130%;
}

.card_reception p {
    margin: 0;
}

.header-managements_h2 {
    align-items: center;
    color: #623b2a;
    display: flex;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 23px;
    margin: 15px 0 40px;
    text-transform: uppercase;
}

.card {
    display: flex;
    flex-direction: row;
}

.card_mail {
    margin: 0;
}

.card_responsibilities {
    line-height: 130%;
    font-size: 18px;
}


/* Услуги регламенты */


.acor-container {
    max-width: 910px;
}

.acor-container .acor-body {
    width: calc(100% - 40px);
    margin: 0 auto;
    height: 0;
    color: transparent;
    background: rgba(195, 147, 103, 0.2);
    line-height: 18px;
    padding: 0 30px;
    box-sizing: border-box;
    transition: color 0.5s, padding 0.5s;
    overflow: hidden;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 10px 16px rgba(0, 0, 0, 0.2);
}

.acor-container .acor-body p {
    margin: 0 0 10px;
}

.acor-container label {
    cursor: pointer;
    background: rgba(195, 147, 103, 0.4);
    display: block;
    padding: 15px 20px;
    width: 100%;
    font-weight: 300;
    box-sizing: border-box;
    z-index: 100;
    font-family: Verdana, sans-serif;
    font-size: 18px;
    margin: 0 0 5px;
    transition: color .35s;
    line-height: 26px;
    transition: all 0.4s;
    color: var(--main-color)
}

.acor-container label:hover {
    transform: scale(1.02);
}

.acor-container input {
    display: none;
}

.acor-container label:before {
    content: '\276F';
    float: right;
}

.acor-container input:checked + label {
    background-color: var(--main-color);
    color: #FFF;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4), 0 28px 30px rgba(0, 0, 0, 0.3);
}

.acor-container input:checked + label:before {
    transition: transform .35s;
    transform: rotate(90deg);
}

.acor-container input:checked + label + .acor-body {
    height: auto;
    margin-top: -5px;
    color: #000;
    padding: 20px 30px 10px;
}

.document-info {
    display: flex;
}

/*.acor-body span.document-info{*/
/*    display: block;*/
/*}*/
.service-link {
    color: #623b2a;
}

/* Checkmark*/
.arrow-icon {
    width: 24px;
    height: 30px;
}

/* НПА */
.npa-documents-list .content-document {
    margin-bottom: 10px;
}

.npa-documents-list .content-document .document-title {
    line-height: 1.2;
}

/* Вакансии */
.vacancy-list {
    display: flex;
    flex-direction: column;
}

.vacancy {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    border: 1px solid #eceeef;
}

.vacancy_text {
    max-width: 29em;
}

/* ---------------- */
.entry-content a {
    color: blue;
}

.reglaments-text {
    font-size: 14pt;
}

.reglaments-text li {
    padding-bottom: 10px;
}

.omsu {
    padding-bottom: 10px;
}

.omsu {
    color: #aa6c34;
    text-decoration: underline;
}

.ofices_map {
    padding: 10px 0;
}


/************************ ЕПГУ ************************/
.epgu_link_container {
    text-align: center;
    margin-bottom: 15px;
}

.epgu_link_container img {
    max-width: 100px;
}

.epgu_video_content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.epgu_video_container_title {
    text-align: center;
    margin-bottom: 10px;
    font: 18px "PT Sans";
    color: #623b2a;
}

.epgu_mb {
    margin-bottom: 20px;
}

.epgu_img_container {
    margin-bottom: 15px;
}

.epgu_qr {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.epgu_video_container {
    max-width: 50%;
    margin-bottom: 20px;
}

/************************ РПГУ ************************/

.rpgu_svg {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.rpgu_bottom-container {
    display: flex;
    justify-content: space-around;
}

.rpgu_qr {
    max-width: 300px;
}

.rpgu_text {
    font-size: 18px;
    color: #000000;
    margin-bottom: 25px;
    margin-top: 15px;
    display: inline-block;
}

/* Цвет акцентной кнопки "Запись в МФЦ"*/
#right_menu .accent {
    background-color: var(--record_red);
}

.submenu .right_submenu{
    right: 218px;
}

/**********************  Форма ******************************/



label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

button {
    border-radius: 0;
}

input,
button,
select,
optgroup,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

select {
    word-wrap: normal;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button:not(:disabled),
[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled) {
    cursor: pointer;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    padding: 0;
    border-style: none;
}

input[type="radio"],
input[type="checkbox"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
    -webkit-appearance: listbox;
}

textarea {
    overflow: auto;
    resize: vertical;
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 560px;
}

/*h1 {*/
/*    margin-top: 0;*/
/*    margin-bottom: 1rem;*/
/*    font-size: 1.5rem;*/
/*    font-weight: 500;*/
/*    line-height: 1.2;*/
/*    text-align: center;*/
/*}*/

.form__wrapper {
    position: relative;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 4px;
    margin-bottom: 2rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

@media (min-width: 576px) {
    .form-row > .form-group {
        flex: 0 0 50%;
        max-width: 50%;
        padding-right: 5px;
        padding-left: 5px;
    }
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

label {
    display: inline-block;
    margin-bottom: .5rem;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}

input[type=checkbox],
input[type=radio] {
    box-sizing: border-box;
    padding: 0;
}

textarea.form-control {
    overflow: auto;
    resize: vertical;
    height: auto;
}

/* Стили для секции, с помощью которой можно добавить к форме файлы */
.form-attach__label {
    margin-bottom: 0.5rem;
    display: inline-block;
}

.form-attach__wrapper {
    position: relative;
    border: 2px dashed #e0e0e0;
    border-radius: 0.375rem;
    min-height: 50px;
}

.is-invalid .form-attach__wrapper {
    border-color: #dc3545;
}

.form-attach__wrapper input {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    cursor: pointer;
    display: block;
}

.form-attach__description {
    text-align: center;
    padding: 1rem 0.5rem;
    color: #757575;
}

.form-attach__items {
    display: flex;
    flex-wrap: wrap;
}

.form-attach__item {
    flex: 0 0 25%;
    overflow: hidden;
    flex: 0 1 calc((100% / 4) - 0.5rem);
    margin: 0.25rem;
    font-size: 0.75rem;
    border: 1px solid #eee;
    padding: 1.625rem 0.25rem;
    border-radius: 0.25rem;
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-attach__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #eee;
}

.form-attach__name {
    margin-top: auto;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    color: #757575;
    text-align: center;
}

.form-attach__size {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3px 6px;
    font-weight: bold;
    text-align: right;
}

.form-attach__link {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 .375rem 0.5rem;
    color: inherit;
    cursor: pointer;
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

.form-attach__item.is-valid {
    border-color: #28a745;
}

.form-attach__item.is-invalid {
    border-color: #dc3545;
}

.text-sm {
    font-size: 0.75rem;
}

/* Стили секции, в которой выводится капча */
.form-captcha {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.form-captcha__image {
    border-radius: 4px;
    margin-right: 0.5rem;
}

.form-captcha__refresh {
    padding: 0.5rem 0.75rem;
    line-height: 1;
    border: 1px solid #ced4da;
    margin-right: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
}

.form-captcha__refresh:hover {
    background-color: #eee;
}

.form-captcha__input {
    flex-grow: 1;
    position: relative;
    margin-bottom: 0;
}

@media (max-width: 400px) {
    .form-captcha {
        flex-wrap: wrap;
    }

    .form-captcha__input {
        min-width: 200px;
        margin-top: 0.5rem;
    }
}

.form-captcha__input .invalid-feedback {
    position: absolute;
    bottom: -1.5rem;
}

/* CSS для секции "Пользовтельское соглашение" */
.form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5em;
}

.form-check-input.is-invalid,
.was-validated .form-check-input:invalid {
    border-color: #dc3545;
}

.form-check-input {
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0, 0, 0, .25);
    border-radius: 0.25em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
}

.form-check .form-check-input {
    float: left;
    margin-left: -1.5em;
}

.form-check-input.is-invalid ~ .form-check-label,
.was-validated .form-check-input:invalid ~ .form-check-label {
    color: #dc3545;
}

.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.form-check-input:checked {
    border-color: #9e9e9e;
    background-color: #9e9e9e;
}

.form-check-label {
    margin-bottom: 0;
}

.is-invalid ~ .invalid-feedback,
.is-invalid ~ .invalid-tooltip,
.was-validated :invalid ~ .invalid-feedback,
.was-validated :invalid ~ .invalid-tooltip {
    display: block;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: .875em;
    color: #dc3545;
}


.custom-control {
    position: relative;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem;
}

.custom-control-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
}

.custom-checkbox .custom-control-label::before {
    border-radius: .25rem;
}

.custom-control-label::before {
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.custom-control-label::before {
    position: absolute;
    top: .25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    background-color: #fff;
    border: #adb5bd solid 1px;
}

.custom-control-label::after {
    position: absolute;
    top: .25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: no-repeat 50%/50% 50%;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

.custom-control-label::after {
    position: absolute;
    top: .25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: no-repeat 50%/50% 50%;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #007bff;
    background-color: #007bff;
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #80bdff;
}

.custom-control-input:active ~ .custom-control-label::before {
    color: #fff;
    background-color: #b3d7ff;
    border-color: #b3d7ff;
}

.form-agreement label {
    font-size: 0.875rem;
}

/* CSS для индикации полей форме при их валидности */
.form-control.is-valid {
    border-color: #28a745;
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center right calc(.375em + .1875rem);
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

textarea.form-control.is-valid {
    padding-right: calc(1.5em + .75rem);
    background-position: top calc(.375em + .1875rem) right calc(.375em + .1875rem);
}

.form-control.is-valid:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, .25);
}

/* CSS для индикации полей форме при их не валидности */
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
    background-repeat: no-repeat;
    background-position: center right calc(.375em + .1875rem);
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

textarea.form-control.is-invalid {
    padding-right: calc(1.5em + .75rem);
    background-position: top calc(.375em + .1875rem) right calc(.375em + .1875rem);
}


.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, .25);
}

.form-control.is-invalid ~ .invalid-feedback,
.is-invalid .invalid-feedback {
    display: block;
}

.form-submit {
    text-align: right;
}

/* CSS для кнопки submit */
button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    color: #fff;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #623b2a;
    border: 1px solid #623b2a;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    position: relative;
}

button[type="submit"]:disabled {
    opacity: 0.65;
}

button[type="submit"]:not(:disabled)::before {
    content: "";
    width: 1rem;
    height: 1rem;
    margin-right: .5rem;
    background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512.333 512'%3E%3Cpath fill='%23fff' d='M476 3.2L12.5 270.6c-18.1 10.4-15.8 35.6 2.2 43.2L121 358.4l287.3-253.2c5.5-4.9 13.3 2.6 8.6 8.3L176 407v80.5c0 23.6 28.5 32.9 42.5 15.8L282 426l124.6 52.2c14.2 6 30.4-2.9 33-18.2l72-432C515 7.8 493.3-6.8 476 3.2z'/%3E%3C/svg%3E") transparent no-repeat center center;
    background-size: 100% 100%;
}

@keyframes spinner-border {
    100% {
        transform: rotate(360deg);
    }
}

button[type="submit"]:disabled::before {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: -0.125em;
    border: 0.2em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: .75s linear infinite spinner-border;
    animation: .75s linear infinite spinner-border;
}

button[type="submit"]:not(:disabled):hover {
    color: #fff;
    background-color: #ecdacc;
    border-color: #ecdacc;
}

button[type="submit"]:not(:disabled):focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(236,218,204, 0.5);
}

/* Стили для сообщения об ошибках */
.form-error {
    position: relative;
    padding: .5rem 1rem 0.6rem;
    margin-bottom: 1rem;
    border-radius: .25rem;
    color: #dc3545;
    background-color: #dc35450d;
    border: 1px solid #dc3545;
}

.form-error_hide {
    display: none;
}


/* сообщение об успешной отправки формы */
.form-success {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    text-align: center;
    align-items: center;
    background: rgba(0, 0, 0, .7);
    font-size: 1.25rem;
    border-radius: 0.25rem;
}

.form-success_hide {
    display: none;
}

.form-success__message {
    position: relative;
    padding: 1rem;
    background-color: #fafafa;
}

.form-success__btn {
    font-weight: 400;
    color: #0d6efd;
    text-decoration: underline;
    border: none;
    background-color: transparent;
    display: inline;
    padding: 0;
}

/**/

.form_container {
    color: #652b06;
}

.form_info {
    font-size: 18px;
}

.form_info-title {
    text-align: left;
    font-size: 22px;
}

.star {
    color: red;
    display: inline-block;
}

.form {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
}

.form_fild {
    display: flex;
    margin-bottom: 20px;
}

.form_fild label {
    min-width: 200px;
}

.form_fild input,
.form_fild textarea,
.form_fild button {
    margin-left: 80px;
    width: 100%;
    max-width: 400px;
}

.downolad {
    background-color: #e04e39;
    color: #f4ebe0;
    height: 40px;
}

.form__btn {
    background-color: #623b2a;
    color: #f4ebe0;
    height: 40px;
    min-width: 300px;
}

.form_fild-btn {
    text-align: center;
}


/* Для кнопки Офисы */
.office-link{
    color: white;
    cursor: pointer;
}

.register-text a{
    color: #e04e39;
}











