.aa-dropdown-menu {
    font-family: inherit !important;
}

/* COOKIE 
 * ===============*/

.cookie_modal {
    position: fixed;
    bottom: 10px;
    left: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    pointer-events: none;
}

.cookie_modal__wrap {
    padding: 15px 25px;
    width: 800px;
    max-width: calc(100vw - 20px);
    margin: auto;
    font-size: 12px;
    pointer-events: auto;
    background: #1D2730;
    color: #fff;
    opacity: 0.9;
    border-radius: 2px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: 25px;
    align-items: center;
    text-align: right;
}

.cookie_modal__wrap p {
    margin: 0;
}

.cookie_modal__close {
    border: none;
    min-width: 100px;
    cursor: pointer;
}

.cookie_modal p a {
    color: inherit;
    text-decoration: underline;
}

@media (max-width: 550px) {
    .cookie_modal__wrap {
        font-size: 10px;
        grid-template-columns: 1fr;
        grid-gap: 15px;
        text-align: center;
    }
}

/* CF7 */
.cf__wrapper {
    display: grid;
    grid-gap: 1em;
}

#main [class*="cf__field--"] input,
[id*="pum"] [class*="cf__field--"] input,
[class*="cf__field--"] textarea {
    border-radius: 6px !important;
    min-height: 50px;
    line-height: 1 !important;
    border-color: transparent;
    color: #000;
    margin: 0 !important;
    font-size: 16px;
    background: #FAFAFA;
    padding: 15px;
}

.cf__field--input input,
.cf__field--select select {
    width: 100%;
}

.cf__field--select select {
    min-height: 45px;
    border-radius: 6px;
    border-color: #ccc;
}


[id*="pum"] [class*="cf__field--"] textarea {
    width: 100% !important;
    height: 120px;
}

.quiz__style .cf__field--input input,
.quiz__style .cf__field--textarea textarea {
    background: linear-gradient(270deg, #F0EFF5 0%, #FAFAFA 100%) !important;
    border: none;
}

.cf__field--input :is(input:focus, input.filled, textarea:focus),
.cf__field--textarea :is(textarea:focus, textarea.filled) {
    box-shadow: 0 0 0 1px #99ABF6;
}

.cf__wrapper input::-webkit-input-placeholder, .cf__wrapper textarea::-webkit-input-placeholder {
    font-weight: normal !important;
    font-size: 15px !important;
    color: #2d2d2d !important;
}

.cf__field--btn .btn {
    width: 100%;
    min-height: 65px;
    font-size: 15px;
}

.cf__field--submit {
    overflow: hidden;
    position: relative;
}

.cf__wrapper .cf__field--submit input {
    font-size: 15px !important;
    font-weight: bold;
    border: none !important;
    border-radius: 5px !important;
    outline: none !important;
    width: 100% !important;
    min-width: 215px;
    background: var(--color-accent) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    color: #fff !important;
}

.cf__wrapper .cf__field--submit input:hover {
    background: var(--color-btn-hover) !important;
}

.cf__wrapper .cf__field--submit input:active {
    color: var(--color-accent) !important;
    background: #9BB7F2 !important;
}

.cf__field--submit .ajax-loader,
.cf__field--submit .wpcf7-spinner {
    display: none;
}

.cf__wrapper.horizontal {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 15px;
}

.cf__field--btn .btn {
    white-space: normal;
}

.cf__field--btn .btn--icon {
    gap: 0.5em;
}

.cf__field--btn .btn--icon i {
    margin: 0;
}

/* сообщения */
.cf__popup__onSubmit~.wpcf7-response-output {
    display: none !important;
}

form.invalid .wpcf7-response-output {
    border: none;
    color: var(--color-error);
    font-weight: 500;
    text-align: center;
}

.wpcf7-not-valid-tip {
    color: var(--color-red);
    font-size: 13px;
    margin-top: 0.5em;
}

/* анимация при отправке */
.wpcf7-form.submitting .wpcf7-submit,
.quiz__btn--next.in_process {
    pointer-events: none;
    opacity: 0.5;
}

.wpcf7-form.submitting .cf__field--submit::after,
.quiz__btn--next.in_process::before {
    content: "";
    display: block;
    width: 20px;
    height: 300px;
    margin-left: -60px;
    background: #fff;
    opacity: 0.5;
    position: absolute;
    left: -40px;
    top: -150px;
    z-index: 1;
    transform: rotate(45deg);
    transition: all 0.1s;
    animation-name: blick;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}


@keyframes blick {
    0% {
        left: -30px;
        margin-left: 0px;
    }

    30% {
        left: 110%;
        margin-left: 80px;
    }

    100% {
        left: 110%;
        margin-left: 80px;
    }
}

@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    50% {
        -webkit-transform: scale3d(1.05, 1.05, 1.05);
        transform: scale3d(1.05, 1.05, 1.05);
    }

    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    50% {
        -webkit-transform: scale3d(1.05, 1.05, 1.05);
        transform: scale3d(1.05, 1.05, 1.05);
    }

    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

×

/* подзаголовки */
.cf__caption {
    font-size: 16px;
    margin-bottom: 0;
}

.cf__caption br {
    display: none;
}

/* политика */
.cf__policy {
    font-size: 12px;
    align-items: center;
    text-align: center;
    color: var(--color-txt-gray);
    font-weight: 300;
}

.cf__policy br {
    display: none;
}

.cf__policy a {
    color: inherit;
    font-weight: normal;
}

.cf__policy a:hover {
    color: inherit;
    text-decoration: underline;
}

.cf__field--policy {
    font-size: 12px;
    display: flex;
    align-items: center;
    min-height: 40px;
}

.cf__field--policy * {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.cf__field--policy a {
    color: var(--color-accent) !important;
    text-decoration: underline;
}

.cf__field--policy input {
    visibility: hidden;
}

.cf__field--policy input::before, .cf__field--policy input::after {
    visibility: visible;
}


/* поле файл */
.cf__files .cf__field--file:not(:last-of-type) {
    margin-bottom: 0.85em;
}

.cf__field--file>span[data-name*="file-attach"],
.quiz_attach__label span br,
.cf__field--file>br {
    display: none;
}

.quiz_attach__label {
    color: #BDBDBD;
    background: #fff;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 65px;
    padding: 5px;
    border-radius: 6px;
    border: 1px dashed #9BB7F2;
    cursor: pointer;
    margin: 0;
    position: relative;
}

.wpcf7-form[data-status="invalid"] .quiz_attach__label[data-req="true"]:not(.has_file) {
    border-color: #dc3232;
}

.quiz_attach__label::after {
    content: url(/wp-content/uploads/decor/form/file-upload.svg);
    margin-left: 1em;
}

.quiz_attach__label:hover,
.quiz_attach__label.has_file {
    color: #000;
}

.quiz_attach__label i.fas {
    margin-right: 0.8em;
}

.quiz_attach__label.has_file i.fas::before {
    content: '\f15b';
}

.cf__add_file_btn {
    text-align: center;
}

.cf__add_file_btn a {
    cursor: pointer;
    font-size: 14px;
}

/* колонки cf7 */
[class*="cf__row--"] {
    display: grid;
    grid-gap: 24px;
    align-items: center;
}

.cf__row--2 {
    grid-template-columns: repeat(2, 1fr);
}

.cf__row--2auto {
    grid-template-columns: auto 1fr;
}

.cf__row--3 {
    grid-template-columns: repeat(3, 1fr);
}

.cf__row--4 {
    grid-template-columns: repeat(4, 1fr);
}

.cf__row--submit {
    grid-template-columns: auto 1fr;
}

@media (max-width: 1439px) {

    [class*="cf__row--"] {
        grid-gap: 15px;
    }

    #main [class*="cf__field--"] input,
    [id*="pum"] [class*="cf__field--"] input,
    .quiz_attach__label,
    .cf__field--btn .btn {
        min-height: 50px;
    }

    [id*="pum"] [class*="cf__field--"] textarea {
        height: 100px;
    }

    .cf__wrapper .cf__field--submit input,
    .cf__field--btn .btn {
        font-size: 13px !important;
    }
}


@media (max-width: 768px) {

    .cf__wrapper .cf__field--submit input,
    .cf__field--btn .btn {
        font-size: 12px !important;
    }

    .cf__policy {
        font-size: 12px;
    }
}

@media (max-width: 650px) {
    [class*="cf__row--"] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
    .cf__wrapper.horizontal {
        grid-template-columns: 1fr;
    }
}

/* ИКОНКИ В ФОРМЫ */
[class*="cf__icon--"] input {
    padding-left: 60px !important;
}

[class*="cf__icon--"]>span {
    position: relative;
    display: inline-block;
    width: 100%;
}

[class*="cf__icon--"]>span::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    height: 16px;
    width: 30px;
    border-right: 1px solid #9BB7F2;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}

.cf__icon--name>span::after {
    background-image: url(/wp-content/uploads/decor/form/person.svg)
}

.cf__icon--phone>span::after {
    background-image: url(/wp-content/uploads/decor/form/phone.svg)
}

.cf__icon--email>span::after {
    background-image: url(/wp-content/uploads/decor/form/email.svg)
}


/* ПОПАПЫ (PUM) 
 * ============*/
[id*="popmake"].pum-container {
    padding: 30px;
    padding-top: 50px;
}

[id*="popmake"] .pum-content {
    font-family: inherit;
}

[id*="popmake"].pum-container form {
    margin-top: 30px;
}

[id*="popmake"] .pum-content+.pum-close {
    width: 30px;
    min-width: auto;
    height: 30px;
    font-size: 40px;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: GothamPro;
}

/* спасибо CF7 */
.cf7__success .modal__wrapper {
    width: 900px;
    text-align: center;
    font-size: 18px;
    line-height: 1.5;
    background-color: #F0EFF5;
}

.cf7__success .modal__wrapper::before {
    content: '';
    width: 25%;
    height: 80%;
    background-image: url(/wp-content/uploads/decor/success.svg);
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    right: 15px;
    bottom: 15px;
    pointer-events: none;
}

.cf7__success p {
    position: relative;
}

.cf7__success p:first-of-type {
    margin-top: 0;
}

.cf7__success__name,
.cf7__success strong {
    color: var(--color-accent);
}

.cf7__success .aci__btn__wrapper {
    margin-top: 1.5em;
}

@media (max-width: 600px) {
    [id*="popmake"].pum-container {
        padding: 30px 25px;
        background-image: none;
    }

    .cf7__success .modal__wrapper::before {
        display: none;
    }
}


/* ************
 * ВИДЖЕТ ЧАТА 
 * ************/

.chat__widjet {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 9999;
    right: 20px;
    bottom: 20px;
}

.chat__widjet__list {
    margin-bottom: 10px;
}

.chat__widjet.active .chat__start__btn i::before {
    content: '\f00d';
}

.chat__widjet__btn {
    width: 60px;
    height: 60px;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 4px;
    background: var(--color-accent);
    color: #fff !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    outline: none !important;
    cursor: pointer;
    position: relative;
    pointer-events: auto;
    opacity: 0.8;
}

.chat__widjet__btn:hover {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.chat__widjet__btn:hover i {
    transform: scale(0.9);
    transition: 0.2s;
}

.chat__top {
    height: auto;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    color: #fff;
}

.single-product .chat__top {
    padding-top: 5px;
}

.chat__top span {
    content: 'Заказать услугу';
    font-family: GothamPro;
    font-size: 8px;
    text-transform: uppercase;
    line-height: 1.2;
}

.chat__top i {
    font-size: 30px;
    line-height: 1em;
}


@media (max-width: 500px) {
    .chat__widjet__btn {
        width: 50px;
        height: 50px;
    }

    .chat__top span {
        font-size: 7px;
    }

    .single-product .chat__top i {
        font-size: 20px;
    }
}

/* CHATS (new) */
.chats {
    position: fixed;
    right: 1.5em;
    bottom: 1.5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
    z-index: 10;
}

.chat_item {
    display: flex;
}

.chat_item img {
    max-width: 2.4em;
    transition: 0.1s;
}

.chat_item:hover img {
    transform: scale(1.1);
}

@media (max-width: 767px) {
    .chats {
        font-size: 10px;
    }
}


/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 11;
}

.header ul {
    list-style: none;
}

.header__left, .header__right, .header__location {
    padding: 10px 1em;
}

.header__divider {
    display: block;
    width: 1px;
    height: 100%;
    height: 2em;
    background: #484F98;
}

.header__login__btn {
    padding: 1em 2em;
    min-height: 50px;
    box-sizing: border-box;
}

.header__login__btn:hover {
    color: #fff;
}

#header__search__toggle {
    position: absolute;
    z-index: 1;
    right: 1em;
    top: 50%;
    transform: translatey(-50%);
}

#header__search__clear {
    position: absolute;
    z-index: 1;
    left: 1em;
    top: 50%;
    transform: translatey(-50%);
    visibility: hidden;
}

/* .header__search:has(.header__search__inp:focus) #header__search__clear, */
/* .header__search:has(.header__search__inp:placeholder-shown) #header__search__clear {
    visibility: hidden;
} */

.header__search:has(.header__search__inp:focus) #header__search__clear,
.header__search:not(:has(.header__search__inp:placeholder-shown)) #header__search__clear {
    visibility: visible;
}

.header__search {
    min-height: 50px;
    margin-top: -10px;
    margin-bottom: -10px;
    margin-left: -1em;
    position: relative;
}

.header__search #header_search_inp {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-width: 2px;
    border-radius: 0;
    border: none;
    background: #2F4CA5;
    color: #fff;
    padding: 0.5em calc(22px + 2em);
    padding-left: 2em;
    transition: 0.1s;;
}

.header__search #header_search_inp:focus,
.header__search #header_search_inp:not(:placeholder-shown) {
    background: var(--color-accent-light);
    padding-left: calc(22px + 2em);
}

.header__search #searchsubmit {
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%);
}

.header__search #header_search_inp::placeholder {
    color: #ebebeb;
}

:is(#header_search_inp, .dfi_field__inp)::-webkit-search-decoration,
:is(#header_search_inp, .dfi_field__inp)::-webkit-search-cancel-button,
:is(#header_search_inp, .dfi_field__inp)::-webkit-search-results-button,
:is(#header_search_inp, .dfi_field__inp)::-webkit-search-results-decoration {
    display: none;
}

#header__search__toggle.active~*:not(pre) {
    visibility: visible !important;
}

#header__search__toggle.active:has(~#searchform) {
    visibility: hidden;
}

#header_search_inp:not(:focus) {
    border-color: #eaeaee;
}

#header_search_inp:focus,
#header_search_inp.filled {
    border-color: var(--color-accent-light);
}

.jud_toggle_nav__menu__item {
    margin-top: 0.5em;
}

.support__menu {
    right: 0;
    top: calc(100% + 6px);
    width: max-content;
    max-width: calc(100vw - 70px);
}

.support__menu.top_poly::after {
    right: 5px;
}

.support__menu__contact__item {
    margin-top: 0.5em;
}

.support__menu__contact__item a {
    text-decoration: underline;
}

.support__menu__soc__item {
    flex-grow: 10;
    flex-basis: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em 2em;
    position: relative;
}

.support__menu__soc__item:hover {
    background: var(--color-bg);
}

.support__menu__soc__item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 30%;
    bottom: 30%;
    width: 1px;
    background: var(--color-bg);
}

.support__menu__soc__item:hover::after {
    display: none;
}

@media (min-width: 768px) {
    .header__right {
        padding-right: 0;
    }

    .header__location {
        align-self: stretch;
        padding: 0;
    }

    .header__location .header_account {
        height: 100%;
    }

    .header__location .btn {
        border-radius: 0 !important;
        border: none;
        border-left: 1px solid #fff;
        height: 100%;
    }
}

@media (max-width: 767px) {
    .support__menu__soc__item img {
        width: 22px;
    }

    .support__menu__qr__item .btn {
        font-size: 12px;
    }

    .header__location {
        padding: 5px;
        padding-right: 14px;
    }
}

/* HEADER-BAR */
.header__bar__left {
    padding: 10px 1em;
}

.header__bar__right__actions {
    padding: 0 10px;
}

.header__bar__name {
    padding-left: 1em;
}

.header__bar__name span {
    font-size: 12px;
}

.header__bar__name::before {
    content: '';
    width: 1px;
    background: #B2C3D9;
    position: absolute;
    left: 0;
    top: -10px;
    bottom: -10px;
}

.header__bar__right .btn_icon {
    width: 50px;
    aspect-ratio: 1;
    position: relative;
}

.header__bar__right .btn_icon:hover {
    background: var(--color-bg);
}

.header__bar__nav_dropdown {
    left: -1em;
    top: calc(100% + 1em);
    width: max-content;
    max-width: 100vw;
    padding: 1em 0;
}

.header__bar__nav_dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header__bar__nav_dropdown li {
    margin: 0;
}

.header__bar__nav_dropdown li a {
    display: flex;
    padding: 0.5em 2em;
    align-items: center;
    gap: 0.5em;
}

.header__bar__nav_dropdown li a:not(:hover) {
    color: inherit;
    text-decoration: none;
}

.jud_toggle_nav__wrap {
    top: calc(100% + 6px);
    width: max-content;
    max-width: 100vw;
}

.jud_toggle_nav__wrap.top_poly::after {
    left: 5px;
}

.header__bar__add_nav {
    top: 100%;
    width: max-content;
    max-width: 100vw;
    right: 0;
}

button.header__bar__add_nav__item:hover {
    background-color: var(--color-bg);
    width: 100%;
}

.font_size_opt__btn, .font_size_opt__output {
    border: 1px solid var(--color-border);
    width: 2.2em;
    aspect-ratio: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
}

.font_size_opt__btn:hover {
    background-color: var(--color-bg);
}

.header__bar__right ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.header__bar__right li {
    margin: 0;
    position: relative;
}

.header__bar__right__menu a {
    display: flex;
    gap: 0.5em;
    align-items: center;
    justify-content: center;
    padding: 1em 1.5em;
    color: inherit;
    text-decoration: none;
    min-height: 50px;
    color: inherit !important;
}

.header__bar__right__menu a:hover {
    background: var(--color-bg);
}

.header__bar__right__submenu {
    top: 100%;
    right: 0;
    width: max-content;
    max-width: 100vw;
    background: #fff;
    box-shadow: var(--shadow);
}

.header__bar__right__submenu a {
    justify-content: flex-end;
    text-align: right;
}

.has_submenu:hover .header__bar__right__submenu {
    visibility: visible;
}

.has_submenu .icon_mask--chevron {
    width: 1em;
}

.header__bar__right .header__bar__actions {
    padding: 5px 10px;
}

.header__bar__actions a[href*="tel"] {
    white-space: nowrap;
}

@media (max-width: 1260px) {
    .header__bar__left {
        padding: 5px 1em;
    }

    .header__bar__name img {
        display: none;
    }

    .header__bar__name span {
        font-weight: normal;
        font-size: 10px;
    }

    .header__bar__name::before {
        top: 0;
        bottom: 0;
    }

    .header__bar__logo img {
        max-width: 100px;
    }

    .header__bar__logo__icon {
        width: 22px;
    }

    .header__bar__logo__txt {
        display: none;
    }

    .header__bar__right .btn_icon {
        width: 40px;
    }

    .header__bar__right .btn_icon img {
        width: 20px;
    }

    .header__bar__right__menu {
        font-size: 10px;
    }

    .header__bar__right__menu a {
        min-height: 32px;
    }

    .header__location {
        font-size: 12px;
        max-width: 30vw;
    }

}

@media (max-width: 1023px) {
    .header__bar__actions a[href*="tel"] span {
        display: none;
    }

    .header__bar__right__menu a {
        padding: 0.5em 1em;
    }
}

@media (min-width: 768px) {
    .header__bar__right .btn_icon:hover::before {
        content: attr(data-title);
        color: var(--color-accent-light);
        font-size: 12px;
        padding: 1em;
        border-radius: 4px;
        position: absolute;
        top: calc(100% + 15px);
        width: max-content;
        background: var(--color-accent);
        color: #fff;
    }

    .header__bar__right .btn_icon:hover::after {
        content: '';
        width: 16px;
        height: 14px;
        background-image: url(/wp-content/uploads/decor/pandectum/poly.svg);
        background-size: contain;
        background-position: top;
        background-repeat: no-repeat;
        position: absolute;
        top: calc(100% + 3px);
    }

    .header__login img {
        display: none;
    }
}

@media (max-width: 767px) {
    .logo_citadel {
        max-width: 85px;
    }

    .header__login span {
        display: none;
    }

    .header__bar__nav_dropdown__wrap {
        order: 10;
    }

    .header__bar__nav_dropdown {
        left: auto;
        right: -1em;
        top: calc(100% + 0.5em);
    }

    .header__bar--doc .header__bar__right {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--color-bg);
    }

    .header__bar--doc .header__bar__right .btn_icon {
        height: 55px;
        width: auto;
        aspect-ratio: initial;
        flex-grow: 10;
        flex-direction: column;
        justify-content: flex-start;
        gap: 5px;
        padding: 1em;
        font-size: 10px;
        flex-basis: 100%;
    }

    .header__bar--doc .header__bar__right .btn_icon img {
        width: 16px;
        aspect-ratio: 1;
        object-fit: contain;
    }

    .header__bar--doc .header__bar__right .btn_icon:not(:last-child)::before {
        content: '';
        position: absolute;
        right: 0;
        width: 1px;
        top: 10%;
        bottom: 10%;
        background: #fff;
        z-index: 1;
        pointer-events: none;
    }

    .header__bar--doc .header__bar__right .btn_icon::after {
        content: attr(data-title);
        color: var(--color-accent-light);
        font-size: 9px;
    }

    .header__bar__add_nav {
        top: auto;
        bottom: 100%;
    }

    .header__bar--search .header__bar__right {
        display: none;
    }
}

@media (max-width: 575px) {
    .header__top, .header__search, .header__bar, .header__filter {
        min-height: 40px;
    }

    .header__left, .header__right {
        gap: 0.5em;
    }

    .header__left, .header__right, .header__login__btn {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .jud_toggle_nav__wrap.top_poly::after {
        left: 2px;
    }

    #header_search_inp {
        font-size: 12px;
    }

    .header__divider {
        height: 1em;
    }

    .header__login__btn {
        padding-left: 0.75em;
        padding-right: 0.75em;
    }

    .btn_icon:is([data-title="Карточка суда"],
        [data-title="Экспорт документа"]),
    [data-title="Печать документа"] {
        display: none;
    }

    .support__menu.top_poly::after {
        right: 2px;
    }

    .header__left .logo_citadel img {
        aspect-ratio: 1;
        object-fit: cover;
        object-position: 50px;
        width: 30px;
        background-image: url(/wp-content/uploads/decor/logo_p.svg);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
}

/* HEADER-BOTTOM (search page) */
.header__filter__right {
    padding: 5px 10px;
}

.header__filter__right .btn {
    white-space: nowrap;
}

body:has(.dapp:not(.filtered)) .reset_filters_btn {
    visibility: hidden;
}

.follow_btn {
    --color-accent: #369d0b;
    --color-btn-hover: #47a720;
    border-radius: 2em;
    padding-left: 1.5em;
    padding-right: 1.5em;
}

.follow_btn img {
    max-width: 1em;
}

.reset_filters_btn {
    --color-accent: #d72700;
    --color-btn-hover: #ec2f04;
}

.header__filter__title {
    background: #B8C5FD;
    border-radius: 0 1.5em 1.5em 0;
    white-space: nowrap;
}

.header__filter__active {
    padding-top: 5px;
    padding-bottom: 5px;
}

.header__filter__active__item {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.5em;
    row-gap: 0;
    line-height: 1.2;
    font-size: 12px;
    background: #f5f5f5;
    padding: 0.2em 0.7em;
    border-radius: 2em;
    min-height: 2em;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.header__filter__active__item:hover {
    background: var(--color-bg);
}

.header__filter__active__item::after {
    content: '';
    width: 0.7em;
    height: 0.7em;
    position: absolute;
    right: -0.3em;
    top: -0.3em;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-image: url(/wp-content/uploads/decor/pandectum/close.svg);
    mask-image: url(/wp-content/uploads/decor/pandectum/close.svg);
    background-color: var(--color-red);
}

.header__filter__active__item span {
    max-height: 1.2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.header__filter__active__item span::after {
    content: ':';
}

.header__filter__active__item b {
    color: var(--color-accent-lighter);
    max-height: 1.2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.header__filter__active__item:hover b {
    color: var(--color-red);
}

@media (max-width: 1260px) {
    .header__filter, .header__bar__actions {
        font-size: 12px;
    }
}

@media (max-width: 1023px) {
    .header__filter, .header__bar__actions, .header__filter__active {
        font-size: 10px;
    }

    .header__filter__active__item {
        font-size: inherit;
    }

    .header__filter__right {
        margin-left: auto;
    }
}


/* MODAL */
.modal {
    display: none;
    position: relative;
}

.modal.showed {
    display: flex;
}

.modal--center {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    /* bottom: 0; */
    height: 100vh;
    z-index: 100;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
}

.modal__overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.modal__wrap {
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.modal--center .modal__wrap {
    max-height: calc(100vh - 20px);
    max-width: calc(100vw - 20px);
}

/* MODAL: export */
.export_docs__btn {
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
    padding: 2em;
    font-weight: normal;
    box-shadow: var(--shadow);
    flex-basis: 100%;
}

.export_docs__btn:hover {
    box-shadow: var(--shadow-hover);
}

.export_docs__btn img {
    height: 50px;
    object-fit: contain;
    margin-bottom: 0.5em;
}

@media (max-width: 767px) {
    .export_docs {
        gap: 0.5em
    }

    .export_docs__btn {
        padding: 2em 1em;
        font-size: 10px;
    }

    .export_docs__btn img {
        height: 30px;
    }
}


/* PRELOADER */
._process {
    position: relative;
}

._process>div {
    opacity: 0.2;
}

._process::after {
    content: '';
    position: absolute;
    width: 5em;
    height: 5em;
    background-color: rgba(255, 255, 255, 0.5);
    background-image: url(/wp-content/uploads/decor/pandectum/preloader.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 5em;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}


/* SEACH-RESULT */
.docs_app {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1em
}

.docs_app .awesome_scroll {
    padding-right: 5px;
    margin-right: -5px;
}

.docs_app .awesome_scroll::-webkit-scrollbar-thumb {
    background-color: var(--color-accent-light);
    border-radius: 2px;
    border: 0 solid #f1f1f1;
}

.dapp__result__wrap {
    max-width: 1230px;
    margin: auto;
    padding: 0 15px;
}

.dapp__result {
    padding-bottom: 15px;
}


/* SEACH-RESULT: BAR */
.dapp__bar__grid {
    display: grid;
    grid-template-columns: repeat(3, auto);
    grid-gap: 1.5em;
    align-items: center;
    justify-content: space-between;
    padding: 1.5em 0;
}

.dapp__bar__param select {
    background: #fff;
    border-radius: 0;
    border: none;
    border-right: 2px solid #fff !important;
}

.dapp__bar__nav {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 1em;
    justify-content: center;
    text-align: center;
}

.dapp__bar__nav__btn {
    border: none;
    width: 3em;
    height: 3em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
}

.dapp__bar__nav__btn:not([disabled]):hover {
    color: var(--color-accent-light);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.dapp__bar__nav__btn[disabled] i {
    opacity: 0.3;
}

.dapp__bar__nav__nums {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.dapp__bar__nav__nums input[type="number"] {
    margin: 0;
    padding: 0;
    border: none;
    border-bottom: 2px solid var(--color-accent);
    border-radius: 0;
    text-align: center;
    padding: 0.3em;
    margin-right: 0.5em;
    font-weight: bold;
    width: 4em;
}

.dapp__bar__nav__nums input[type="number"]::-webkit-inner-spin-button,
.dapp__bar__nav__nums input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.dapp__bar__nav__nums input[type="number"]:focus {
    background: #fff;
}

.dapp__bar__count .btn {
    padding: 0;
}

.dapp__btn__copy_link .icon_mask {
    width: 12px;
}

.dapp__bar__filter_toggler {
    width: 2.7em;
    transform: none;
    color: var(--color-accent);
}

.dapp__bar__filter_toggler:hover {
    color: var(--color-accent-light);
}

@media (min-width: 992px) {
    .dapp__bar__grid {
        grid-template-columns: 26em auto 26em;
    }
}

@media (max-width: 1260px) {
    .dapp__bar__grid {
        font-size: 12px;
    }
}

@media (max-width:1023px) {
    .dapp__bar__grid {
        font-size: 10px;
    }
}

@media(max-width: 767px) {
    .docs_app {
        gap: 0;
    }

    .dapp__bar__grid {
        display: flex;
        flex-wrap: wrap;
    }
}

@media(max-width: 575px) {
    .dapp__bar__param__list {
        display: none;
    }
}




/* FILTER */
.dapp__filter {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: 0.1s;
    transform: translateX(-50px);
}

.dapp__filter[style*="height"] {
    opacity: 1;
    transform: translateX(0);
}

.dapp__filter[style*="height"] .dapp__filter__open img {
    -webkit-animation-name: pulse;
    animation-name: pulse;
    animation-delay: 1s;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    animation-iteration-count: 5;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;

}

.dapp__filter.opened {
    width: 355px;
}

.dapp__filter__open {
    padding: 1em 1em;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.dapp__filter__open img {
    max-width: 1.3em;
}

.dapp__filter__open:hover,
.dapp__filter__close:hover {
    background: #D9E1EC;
}

.dapp__filter__close {
    min-height: 50px;
    display: flex;
    padding: 0.5em 1em;
    cursor: pointer;
}

.dapp__filter__close .icon_mask {
    -webkit-mask-image: url(/wp-content/uploads/decor/pandectum/chevron-double-left.svg);
    mask-image: url(/wp-content/uploads/decor/pandectum/chevron-double-left.svg);
}

.dapp__filter.opened .dapp__filter__open {
    display: none;
}

.dapp__filter:not(.opened) :is(.dapp__filter__close, .dapp__filter__wrap) {
    display: none;
}

.dapp__filter__wrap {
    flex-grow: 10;
    max-height: calc(100% - 50px);
}

.dapp__filter__header {
    padding: 1em 2em;
}

.dfi__title, .dfi__subtitle {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 1em 2em;
}

.dfi__title:hover {
    cursor: pointer;
    background-color: #F3F5F8;
}

.dfi__subtitle {
    padding-right: 1em;
}

.dfi__subtitle:hover {
    cursor: pointer;
    background-color: #E7ECF2;
}

.dapp__filter__item.opened {
    background-color: #F3F5F8;
}

.dapp__filter__item.opened .dfi__title i {
    transform: scaleY(-1);
}

.dapp__filter__item:not(.opened) .dfi__wrap {
    display: none;
}

.dfi__subtitle:not(.opened)~ :is(.dfi_inpts, .quick_search) {
    display: none;
}

.dfi__subtitle i {
    background-color: var(--color-accent-lighter);
    margin-left: auto;
}

.dfi__subtitle.opened i {
    transform: scaleY(-1);
}

.dfi_chbx:has(.pseuo_inp) .dfi_chbx__inp {
    display: none;
}

.pseuo_inp {
    width: 1.1em;
    aspect-ratio: 1;
    border: 1px solid var(--color-accent);
    flex-shrink: 0;
}

.pseuo_inp--chbx {
    border-radius: 3px;
}

.pseuo_inp--radio {
    border-radius: 50%;
}

.pseuo_inp:hover {
    border-color: var(--color-accent-light);
}

.dfi__wrap:has(.dfi_chbx--parent .dfi_chbx__inp.active) .dfi__subtitle__chbx,
.dfi_chbx__inp.active+.pseuo_inp {
    background: var(--color-accent);
    box-shadow: 0 0 0 2px inset #F3F5F8;
}

.dfi_inpts.awesome_scroll {
    max-height: 15.5em;
    margin-right: 0;
    padding-right: 0;
}

.dfi_inpts.awesome_scroll::-webkit-scrollbar-thumb {
    background-color: var(--color-accent-lighter);
}

.dfi_chbx {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 0.75em;
    padding-left: 3em;
}

.dfi_chbx:hover {
    cursor: pointer;
    background-color: #E7ECF2;
}

.dfi_chbx input {
    flex-shrink: 0;
}

.dfi_chbx__name {
    flex-grow: 10;
    line-height: 1.2;
}

.dfi_chbx__count {
    font-size: 0.8em;
    color: var(--color-txt-gray);
    white-space: nowrap;
}

.dfi_field {
    position: relative;
    padding: 1em;
}

#docs-app .dfi_field__inp {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--color-bg);
}

#docs-app .dfi_field__inp[type="date"]:not(:focus):not(.filled) {
    color: transparent;
}

#docs-app .dfi_field__inp:focus, #docs-app .dfi_field__inp.filled {
    border-color: var(--color-accent);
}

.dfi_field__label {
    position: absolute;
    left: 2em;
    top: 50%;
    transform: translatey(-50%);
    pointer-events: none;
    transition: 0.2s;
    color: var(--color-txt-gray);
}

.dfi_field__label span {
    font-size: 0.9em;
}

.dfi_field__inp:is(:focus, .filled)~.dfi_field__label {
    top: 3px;
    left: 1em;
    color: var(--color-accent);
}

.dfi_field__inp:is(:focus, .filled)~.dfi_field__label span {
    font-size: 0.8em;
}

.dapp__filter__promo {
    padding: 3em 2em;
}


@media(max-width: 1260px) {
    .dapp__filter {
        font-size: 12px;
    }

    .dapp__filter.opened {
        width: 280px;
    }

    .dapp__filter__close {
        min-height: 35px;
    }

    .dapp__filter__wrap {
        max-height: calc(100% - 35px);
    }
}

@media(max-width: 575px) {
    .dapp__filter__open {
        min-width: 35px;
        padding: 1em 0.5em;
    }

    .dapp__filter.opened {
        position: fixed;
        z-index: 100;
        left: 0;
        right: 0;
        bottom: 0;
        width: auto;
    }

    .dapp__filter.opened~.dapp__result {
        margin-left: 35px;
    }
}


/* COPY URL BTN */
.save_url_btn.copying span {
    visibility: hidden;
    position: relative;
}

.save_url_btn.copying span::after {
    content: 'Скопировано';
    color: var(--color-green-dark);
    position: absolute;
    left: 0;
    top: 0;
    visibility: visible;
}


/* КАРТОЧКИ ПОСТОВ */
.link__overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.aci__post__item {
    border-radius: 6px;
    background: #fff;
    box-sizing: border-box;
    position: relative;
}

.aci__post__item:hover {
    background-color: #f5f5f5;
}

.dapp__list .aci__post__item:not(:first-child) {
    margin-top: 1em;
}

.aci__post__img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.aci__post__info__wrapper {
    padding: 1.5em 1em;
}

.aci__post__title {
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 0.85em;
    color: var(--color-accent);
}

.aci__post__title a:visited:not(:hover) {
    color: #551a8b;
}

.aci__post__info__wrapper {
    z-index: 10;
    position: relative;
    pointer-events: none;
}

.aci__post__desc {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aci__post__cat {
    color: inherit;
    margin: 0.3em 0;
    padding: 5px 0;
}

.aci__post__cat img {
    margin-right: 5px;
    max-width: 0.875em;
}

.aci__post__cat a {
    display: inline;
    color: var(--color-accent-light);
    position: relative;
    transition: 0.1s;
    pointer-events: auto;
    margin-left: 5px;
}

.aci__post__cat a:not(:last-child)::after {
    content: ',';
}

.aci__post__footer {
    font-size: var(--font-size-p-min);
}

.aci__post__item .tegi {
    margin: 0;
    font-size: inherit;
}

.aci__post__footer a {
    color: var(--color-accent-light);
    text-decoration: none;
    position: relative;
    pointer-events: auto;
}

.aci__post__item :is(.aci__post__cat a, .tegi a, .post__meta--date a):hover {
    color: var(--color-accent);
}

.aci__post__dates {
    white-space: nowrap;
}

@media (max-width: 767px) {
    .aci__post__footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    .aci__post__desc, .aci__post__cat {
        font-size: 12px;
    }

    .aci__post__footer .aci__post__dates {
        font-size: 10px;
        flex-wrap: wrap;
    }

    .aci__post__cat.dis_flex {
        flex-direction: column;
    }
}


/* ВИД ДЛЯ ПЕЧАТИ */
@media print {
    .header, .dapp__filter, .dapp__btn__print, .dapp__bar__nav, .dapp__bar__param__list, .chats, .chat__widjet {
        display: none;
    }

    .dapp__list {
        height: auto !important;
    }
}


/* СТР.ИНФОРМАЦИИ */
.pi_wrap {
    max-width: 1570px;
    margin: 0 auto;
    padding: 20px 25px;
}

.pi_inner {
    grid-template-columns: auto minmax(0, 1fr);
    padding-left: 7em;
}

.pi_content {
    padding: 4em 7em;
    word-wrap: break-word;
}

.pi_side {
    padding: 4em 0;
}

.pi_side__action {
    display: flex;
    flex-direction: column;
}

.pi_side__action .btn_icon {
    padding: 0.5em;
    width: 8em;
    aspect-ratio: 1;
}

.pi_side__action .btn_icon img {
    max-height: 70%;
}

.pi_side__action .btn_icon:not(:last-child) {
    border-bottom: 1px solid var(--color-accent-light);
}

.pi_side__action .btn_icon:is(:hover, .active) {
    background-color: var(--color-accent-light);
}

.pi_content__footer {
    padding: 8em 0;
}

.pi_content__footer__left {
    max-width: 40%;
}

.pi_content__footer__right {
    max-width: 50%;
}


@media(min-width: 1261px) {
    .pi_content__item {
        font-size: 18px;
    }

    .pi_content__item h1 {
        text-transform: uppercase;
    }
}

@media(max-width: 1260px) {
    .pi_inner {
        padding-left: 0;
    }

    .pi_side {
        padding: 2em 0;
    }

    .pi_side__action .btn_icon {
        width: 5em;
    }

    .pi_content {
        padding: 2em;
    }

    .pi_content__footer {
        padding: 5em 0;
    }

    .pi_content__footer__left img {
        width: 180px;
    }

    .pi_content__footer__right img {
        width: 280px;
    }
}

@media(max-width: 575px) {
    .pi_wrap {
        padding: 0;
    }

    .pi_content__header .vert_logo {
        max-width: 70px;
    }

    .pi_side__action .btn_icon {
        width: 3em;
    }

    .pi_content {
        padding: 20px;
    }

    .pi_side {
        padding: 20px 0;
    }

    .pi_content__footer__right div {
        font-size: 0.8em;
    }

    .pi_content__footer__left img {
        width: 130px;
    }

    .pi_content__footer__right img {
        width: 180px;
    }
}


/* ARI FANCYNOX */
@media(max-width: 575px) {
    body .fancybox-slide--iframe .fancybox-content {
        width: 100%;
        max-width: calc(100% - 20px);
        height: 100%;
        max-height: calc(100% - 86px);
    }
}
