/*
* Custom CSS for additional styles
*/

:root {
    --check-icon: url(/themes/status-cfa/assets/images/svg/circle-check.svg);
}

html * {
    font-feature-settings: "liga" 0;
}

.v-enter-active,
.v-leave-active {
    transition: all 0.3s ease;
}

.v-enter-from,
.v-leave-to {
    opacity: 0;
}

.waiting {
    color: #fbd283;
}

.qual-info__status--waiting {
    color: #f8c54f;
}

.qual-info__status--rejected::after {
    content: "";
    width: 24px;
    height: 24px;
    position: relative;
    top: -2px;
    margin-left: 12px;
    display: -ms-inline-flexbox;
    display: inline-flex;
    background-image: url(../images/icon-error.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.qual-info__status--waiting::after {
    content: "";
    width: 24px;
    height: 24px;
    position: relative;
    top: -2px;
    margin-left: 12px;
    display: -ms-inline-flexbox;
    display: inline-flex;
    background-image: url(../images/icon-wait.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

span.menu__link {
    cursor: pointer;
}

.form__check:has(input:disabled),
.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.form__control {
    transition: all 0.3s;
}

.form__item:has(.form__control-name) .form__control-symbol {
    top: 50%;
}

.form__item--active .form__control {
    border-color: #9b9c9e;
}

.form__item--active.active .form__control {
    box-shadow: 0 0 0 2px rgba(54, 58, 61, 0.24);
}

.form__item--success .form__control {
    border-color: #2ba527;
}

.form__item--success:not(:has(.vs__selected)) span {
    color: #2ba527;
}

.form__item--success.active .form__control {
    box-shadow: 0 0 0 2px rgba(74, 201, 126, 0.24);
}

.form__item--error .form__control {
    border-color: #f85a54;
}

.form__item--error.active .form__control {
    box-shadow: 0 0 0 2px rgba(208, 48, 47, 0.24);
}

.form__control-alert {
    background-color: #fff;
    width: 100%;
}

.form__item--active .form__control-alert {
    opacity: 1;
}

.form__item--active .form__control-name,
.form__item--active .form__control-alert,
.form__item--active .form__file-text {
    color: #9b9c9e;
}

.form__item--active .form__control-alert svg path {
    fill: #9b9c9e;
}

.section--form .section__btn-control,
.main__section-wrapper .section__btn-control {
    width: 1444px;
    max-width: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -ms-flex-align: center;
    align-items: center;
    text-align: right;
    margin: 24px 0;
}

.section--form .section__row {
    border-bottom: 1px solid #cdcecf;
}

.form__group--double-mod .form__item:last-child {
    width: calc(66.6666% - 8px);

    @media (max-width: 680px) {
        width: 100%;
    }
}

.section__col--form {
    margin-left: auto;
}

/*.form__textarea.form__item--active textarea.form__control--large {*/
/*    height: 360px;*/
/*}*/

.form__control-alert {
    top: calc(100% + 2px);
    bottom: auto;
    line-height: 1;
}

.form__control-alert svg {
    margin-right: 5px;
}

.simple-table--scroll {
    overflow-y: auto;
}

.add-files__dad-window {
    border: 2px solid #cdcecf;
}

.add-files--mod {
    padding: 24px 33px;
}

@media (max-width: 575px) {
    .add-files--mod {
        padding: 0;
    }
}

@media (max-width: 475px) {
    .add-files__dad {
        width: 100%;
        margin: 0;
    }

    .add-files__dad .btn {
        width: 100%;
    }
}

.form__file .represent__title-control {
    width: 40px;
}

.form__file-input {
    cursor: pointer;
}

.form__item--error.form__control-name,
.form__item--error.inform {
    color: #f85a54;
}

.passport__image img {
    object-fit: contain;
    border-radius: 5px;
}

.form__item.form__item--disable {
    opacity: 1;
}

.form__item--disable:has(textarea) {
    pointer-events: all;
}

.form__item.form__item--disable
    *:not(label, .form__control-alert, svg, path, stroke) {
    opacity: 0.8;
}

.menu {
    width: 270px;
}

.form__group--triple-mod1 {
    justify-content: start;
    gap: 15px;

    @media (max-width: 423px) {
        gap: 0;
        flex-direction: column;
        align-items: flex-start;
    }
}

.form__group--triple-mod1 .form__item:has(.btn) {
    width: max-content;
}

.profile__user-img--stub {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.profile__user-img--stub-big {
    font-size: 28px;
}

.profile__user-logo {
    background-color: #e8fce5;
}

.profile__user-logo--lk .profile__user-logo-img {
    background-image: none;
    background-color: inherit;
}

.profile__user-logo--lk .profile__user-img--stub {
    font-size: 60px;
}

.footer__inner:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
}

.header__inner-part:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
}

@media (max-width: 992px) {
    .header__inner-part:first-child:before {
        display: block;
    }
}

.header__inner-part:before,
.footer__inner:before {
    width: 100%;
    height: 1px;
    background-color: #f1f2f2;
    pointer-events: none;
}

.profile__user-name {
    padding-left: 10px;
}

.back-button {
    cursor: pointer;
}

.noselect {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.modal-footer--block-p-0 {
    padding: 0;
}

@media (min-height: 980px) {
    .main__inner {
        min-height: 85vh;
    }
}

@media (min-height: 980px) and (min-width: 681px) {
    .main__inner {
        min-height: 87vh;
    }
}

.section__files .form__control-name {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.7em;
}

.form__file-text > a {
    color: #2ba527;
}

/* TODO - спросить Сашу почему тут было none */
.form__file-item {
    pointer-events: all;
}

.section__row--accordion .section__col--title .title:before {
    background-image: url("../images/svg/arrow-down.svg");
}

.homeview .title--main h1 {
    font-size: 32px;
}

.modal.header-two-thirds .modal-header__title {
    max-width: 60%;
}

.invest-offer__header-close {
    top: 34px;
    right: 32px;
}

.modal-dialog--secret-keys-first-show .modal-header__subtitle p {
    color: #34393e;
    font-size: 14px;
}

/* Чтобы карточка предложения могла вмещать миллиард рублей */
.card--offer-mod3 .card-offer__data {
    max-width: 146px;
}

/* @media (min-width: 768px) and (min-height: 700px) {
    body.single-screen {
        overflow: hidden;
    }
} */

.modal-footer__buttons.flex-column a:not(:last-child) {
    margin-right: 0;
}

.maw-280 {
    max-width: 280px;
}

.maw-300 {
    max-width: 300px;
}

.maw-320 {
    max-width: 320px;
}

hr.menu-divider {
    display: block;
    width: 80%;
    height: 0.5px;
    background: #b2b5b5;
    margin: auto;
    margin-top: 5px;
    margin-bottom: 4px;
}

.menu__item.menu__item--faded {
    opacity: 0.75;
}

.tooltip--disable-slot-content {
    filter: grayscale(0.85);
}

.tooltip--disable-slot-content.dropdown-inside {
    position: relative;
    z-index: 1;
}

.mr--10 {
    margin-right: -10px;
}

.mr-8 {
    margin-right: 8px;
}

.mr-10 {
    margin-right: 10px;
}

.mr-16 {
    margin-right: 16px;
}

.mr-20 {
    margin-right: 20px;
}

.nav-tabs--issuer {
    scrollbar-width: thin;
}

.p0 {
    padding: 0;
}

.profile__user-issuer span {
    font-weight: 500;
}

.inform.inform--warning {
    color: #e68b00;
}

.inform.inform--warning svg path {
    fill: #e68b00;
}

.semibold {
    font-weight: 500;
}

.main.main--no-aside {
    padding-left: 0;
}

@media (min-width: 992.98px) {
    .form--filter .form__col--mod1.form__col--mod4 .form__group:nth-child(2) {
        width: 40%;
    }
}

@media (max-width: 425px) {
    .empty .nav-tabs-sharer__item {
        margin-right: auto;
        margin-left: auto;
    }
}

.form__item.has-label .form__control-agenda {
    bottom: auto;
    top: 38px;
}

.form__item:not(.has-label) .form__control-agenda {
    bottom: auto;
    top: 12px;
}

.header {
    min-height: 80px;
}

.footer {
    height: 90px;
}

.main__inner {
    min-height: calc(100vh - 171px);
}

.disabled {
    cursor: pointer;
    pointer-events: none;
}

.form__group--stretch {
    align-items: stretch;
}

.flex {
    display: flex;
}

.notify__content .notify__content-row p,
.notify__content .notify__content-row p span {
    display: inherit;
}

.menu-user .profile__user-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-dialog.modal-dialog--qr {
    width: 512px;
}

.btn--warning {
    color: #e26f20;
    transition: 0.5s all ease-in-out;
}
.btn--warning:hover > svg path {
    transition: 0.5s all ease-in-out;
}

.btn--warning:hover {
    background-color: #e26f20;
    color: #fff;
}

.btn--warning:hover > svg path {
    stroke: #fff;
}

.card--offer-mod3 .card-offer__issuer-name h3 {
    padding-right: 30px;
}

.modal-dialog.modal-dialog--appeal--4-tabs {
    width: 700px;
}

.btn-outline-hover,
.btn-outline-hover .btn__svg > path {
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out,
        stroke 0.3s ease-in-out;
}

.btn-outline-hover:hover {
    background-color: #2ba527;
    color: #fff;
}

.btn-outline-hover:hover .btn__svg > path {
    stroke: #fff;
}

.btn--menu.btn.btn--menu-same-width.active {
    width: inherit;
}

/* .section__form .form__group{
    -ms-flex-align: start;
    align-items: flex-start;

    transition: height 0.3s ease-in-out;
} */

/* .section__form .form__group .form__control-alert{
    position: relative;
    top: 3px;
    bottom: auto;
} */

.flex-stretch {
    align-self: stretch;
}

.form--static-alerts .form__control-alert {
    position: static;
}
.form--static-alerts .input-container,
.form--static-alerts .v-select {
    margin-bottom: 5px;
}

.form--static-alerts .form__group {
    -ms-flex-align: start;
    align-items: flex-start;
}

.table--history-operations .table__row--reserved .table-sum {
    color: #cf9100;
}

/* перенос всей строки если имя эмитента/НД не влазит в 1 строку с заголовком*/
.profile .profile__user-issuer span {
    margin-left: 0;
    text-wrap-mode: nowrap;
}

@media (min-width: 768.98px) {
    .table--briefcase.table--portfolio {
        width: 1290px;
    }
    .table--briefcase.table--portfolio .table__item.percentage {
        width: 100px;
    }
}

@media (min-width: 1200.98px) {
    .accordion-issuer--lk.accordion-issuer--breafcase
        .accordion-issuer__item-body {
        padding-right: 2px;
    }
    .accordion-issuer__table {
        overflow-x: auto;
        padding-right: 0;
        /* padding-right: 45px; */
    }
}

.modal-content--success .modal-body.p0 {
    padding: 0;
}

.accordion-issuer--portfolio .accordion-issuer__item-name {
    flex-direction: column;
    -ms-flex-align: start;
    align-items: flex-start;
}

.accordion-issuer--portfolio .accordion-issuer__item-release {
    font-size: 14px;
    color: #6f7474;
    font-weight: 400;
}

.menu__item.notify--active .notify__icon-counter {
    left: 10px;
    top: 15px;
    right: auto;
    padding: 1px 5px 1px 6px;
}

.contains-looped-pagination .card--showcase__pagination {
    font-size: 1.2em;
    text-align: center;
}

.contains-looped-pagination .card--showcase__pagination .prev {
    transform: rotate(90deg);
    cursor: pointer;
    margin-bottom: 2px;
}

.contains-looped-pagination .card--showcase__pagination .next {
    transform: rotate(-90deg);
    cursor: pointer;
    margin-bottom: 2px;
}

.tab-content-sharer--qual div.tab-content-sharer__pane {
    width: auto;
}

.accordion-issuer--lk .accordion-issuer__item-date li {
    flex: 1;
}

.btn-outline-hover.btn-outline-hover-dark-green:hover .btn__svg > path {
    stroke: #248317;
}

.btn.btn--disabled .btn__svg path {
    stroke: white;
}
.button-select.button-select--disabled {
    pointer-events: none;
    background-color: #dbdbdb;
    border-color: #dbdbdb;
}

.menu-user__link.menu-user__link--disabled {
    color: #dbdbdb;
    pointer-events: none;
}
.menu-user__link.menu-user__link--disabled svg path {
    stroke: #dbdbdb;
    pointer-events: none;
}
.notify__icon-counter.notify__icon-counter--disabled {
    background: #a3a3a3;
}
.btn--step.btn--disabled {
    color: #a3a3a3;
}
.inform--warning-bordered {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #e26f20;
    box-shadow: 0 2px 8px 0 #e26f2085;
    color: #e26f20;
}
.inform--warning__header {
    display: flex;
    font-weight: bold;
    margin-top: 12px;
}
.mb-5 {
    margin-bottom: 5px;
}

.tooltip-medium {
    min-width: 280px;
}

.inline-flex {
    display: inline-flex;
}

.table__item.table__item-header.operations {
    padding: 8px 16px;
}

.modal-dialog--no-overflow .modal-body {
    overflow: initial;
}

.modal-pledge-transfer .card-offer__issuer--owner {
    border-radius: 12px;
    width: 100%;
}

.accordion__table--repayments {
    overflow-x: auto;
}

.accordion__table--repayments .table .table__header {
    border: none;
}

.accordion__table--repayments .table {
    @media (min-width: 768.98px) {
         width: 933px;
    }
}

.accordion__table--repayments .table .table__row.table__row--header {
    background: transparent;
}

@media (min-width: 768.98px) {
    .accordion__table--repayments .table .table__item:nth-child(1) {
        width: 240px;
    }
    .accordion__table--repayments .table .table__item:nth-child(2) {
        width: 150px;
    }
    .accordion__table--repayments .table .table__item:nth-child(3) {
        width: 120px;
    }
    .accordion__table--repayments .table .table__item:nth-child(4) {
        width: 150px;
    }
    .accordion__table--repayments .table .table__item:nth-child(5) {
        width: 150px;
    }
}

.cookie-block {
    position: fixed;
    right: 50px;
    bottom: 37px;
    z-index: 999;
    width: 652px;
    max-width: 100%;
    height: auto;
    padding: 15px 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 32px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: #fff;
}

@media (max-width: 768px) {
    .cookie-block {
        width: calc(100% - 30px);
        left: 50%;
        right: auto;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        bottom: 20px;
    }
}

@media (max-width: 575px) {
    .cookie-block {
        text-align: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 16px;
    }
}

.cookie-block:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 0;
    pointer-events: none;
    background: #fff;
    backdrop-filter: blur(16px);
    border-radius: 8px;
}

.cookie-block button, .cookie-block p {
    position: relative;
    margin: 0;
    z-index: 5;
}

.cookie-block p {
    font-size: 14px;
    line-height: 125%;
}

.cookie-block button {
    height: auto;
    font-size: 14px;
    line-height: 125%;
    padding: 12px 30px;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    color: #FFFFFF;
    border-color: #2ba527;
    background: #2ba527;
}

.cookie-block button:hover {
    color: #FFFFFF;
    border-color: #248317;
    background: #248317;
}
