.cost-accounting-cars-edit {

}
.cost-accounting-cars-edit__img-value {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.cost-accounting-cars-edit__left-side {
    max-width: 224px;
}
.cost-accounting-cars-edit__img {
    position: relative;
    width: 200px;
    height: 145px;
    background-color: #eee;
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url('../img/default/default-auto.jpg');
}
.cost-accounting-cars-edit__img.burden::before{
    content: '';
    position: absolute;
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(255 97 97 / 40%);
}
.cost-accounting-cars-edit__chars-description {
    font-size: 14px;
}
.cost-accounting-cars-edit__label-file {
    position: absolute;
    left: 15px;
    top: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,.6);
    cursor: pointer;
}
.cost-accounting-cars-edit__label-file-svg {
    transform: translateY(-1px);
}

.cost-accounting-cars-edit__price-row {
    margin-bottom: 25px;
}

.cost-accounting-cars-edit__price {
    position: relative;
    padding: 7px 30px 7px 15px;
    background-color: #edf7f6;
    margin-bottom: 5px;
    border-radius: 6px;
}
.cost-accounting-cars-edit__price:last-child {
    margin-bottom: 0;
}

.cost-accounting-cars-edit__price-title {
    font-size: 12px;
    line-height: 16px;
    color: #737373;
}
.cost-accounting-cars-edit__price-value {
    font-size: 17px;
    line-height: 22px;
    font-weight: 700;
    color: #151515;
}
.cost-accounting-cars-edit__price-btn {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 15px;
    cursor: pointer;
    transform: translateY(-50%);
}

.cost-accounting-cars-edit__price-btn-ok {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 1;    
    background-color: #19B28D;
    border-radius: 4px;
    transition: opacity .3s ease-in-out;
}
.cost-accounting-cars-edit__price:not(.selected) .cost-accounting-cars-edit__price-btn-ok {
    display: none;
}
.cost-accounting-cars-edit__price-btn-ok-svg-checked{
    width: 13px;
    height: 11px;
    fill: #fff;
}

.cost-accounting-cars-edit__price-input {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.cost-accounting-cars-edit__price-input .field-wrapper,
.cost-accounting-cars-edit__price-input input{
    height: 100% !important;
}
.cost-accounting-cars-edit__price:not(.selected) .cost-accounting-cars-edit__price-input {
    display: none;
}
.cost-accounting-cars-edit__price-info-row {
    margin-bottom: 30px;
}
.cost-accounting-cars-edit__price-info{
    flex-wrap: nowrap;
    margin-bottom: 8px;
}
.cost-accounting-cars-edit__price-info:last-child{
    margin-bottom: 0;
}

.cost-accounting-cars-edit__price-info-name {
    padding-right: 0;
    font-size: 14px;
    color: #828282;
    display: flex;
    align-items: center;
}
.cost-accounting-cars-edit__profit-row-mob .cost-accounting-cars-edit__profit-value,
.cost-accounting-cars-edit__price-info-value {
    padding-left: 0;
    font-size: 14px;
    color: #151515;
}
.cost-accounting-cars-edit__price-info-dotts {
    border-bottom: 1px dotted #828282;
    margin: 0 4px;
    transform: translateY(-3px);
    padding: 0;
}

.cost-accounting-cars-edit__profit-title {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: 700;
    color: #292929;
}
.cost-accounting-cars-edit__profit-title-tooltip {
    font-weight: 400;
    margin-left: 4px;
    transform: translateY(1px);
}
.cost-accounting-cars-edit__profit-value{
    display: flex;
    font-weight: 700;
    font-size: 21px;
    line-height: 24px;
}
.cost-accounting-cars-edit__profit-value::before {
    content: '';
    margin-right: 3px;
    font-weight: 700;
    font-size: 21px;
    line-height: 24px;
}
.cost-accounting-cars-edit__profit-value.profit {
    color: #1bb057;
}
.cost-accounting-cars-edit__profit-value.profit::before {
    content: '+';

}
.cost-accounting-cars-edit__profit-value.lost {
    color: red;
}


.cost-accounting-cars-edit__right-side {
    padding-left: 40px;
}
.cost-accounting-cars-edit__section-header {
    margin-bottom: 15px;
}
.cost-accounting-cars-edit__section-header--border {
    padding-bottom: 15px;
    border-bottom: 1px solid #e9eaea;
}

.cost-accounting-cars-edit__title {
    font-size: 19px;
    line-height: 22px;
    font-weight: 500;
    display: flex;
    color: #151515;
    align-items: center;
}
.cost-accounting-cars-edit__section-row .cost-accounting-cars-edit__title{
    color: #a5a5a5;
    transition: color .3s ease-in-out;
}
.js-crm-section-drop.selected .cost-accounting-cars-edit__title {
    color: #151515;
}
.js-crm-section-drop.selected .crm-section-header__svg {
    fill: #151515;
}
.cost-accounting-cars-edit__section-header-description {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 20px;
    color: #919191;
}
.cost-accounting-cars-edit__section-header-description-tooltip {
    margin-left: 4px;
}
.cost-accounting-cars-edit__section {
    margin-bottom: 40px;
}
.cost-accounting-cars-edit__radio-list {
    margin: 0 -5px;
}
.cost-accounting-cars-edit__radio-item {
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 10px;
}
.cost-accounting-cars-edit__radio-label {
    position: relative;
    cursor: pointer;
}
.cost-accounting-cars-edit__radio-input {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    z-index: -1;
}
.cost-accounting-cars-edit__radio-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #6b6b6b;
    border-radius: 6px;
    padding: 10px 15px;
    background-color: #fff;
    
    font-size: 15px;
    line-height: 20px;
    color: #6b6b6b;
    
    transition: background-color .3s ease-in-out, color .3s ease-in-out;
}
.cost-accounting-cars-edit__radio-input:checked + .cost-accounting-cars-edit__radio-content {
    border-color: transparent;
    color: #ffffff;
}
.cost-accounting-cars-edit__radio-input:checked + .cost-accounting-cars-edit__radio-content.presale{
    background-color: #FED500;
}
.cost-accounting-cars-edit__radio-input:checked + .cost-accounting-cars-edit__radio-content.sale{
    background-color: #33c3e2;
}
.cost-accounting-cars-edit__radio-input:checked + .cost-accounting-cars-edit__radio-content.sold{
    background-color: #008E7D;
}

.cost-accounting-cars-edit__radio-point{
    position: relative;
}
.cost-accounting-cars-edit__radio-input + .cost-accounting-cars-edit__radio-content::after{
    content: '';
    width: 20px;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #6b6b6b;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    transition: border-color .3s ease-in-out;
}
.cost-accounting-cars-edit__radio-input:checked + .cost-accounting-cars-edit__radio-content::after{
    border-color: transparent;
    background-image: url('../img/checkbox.svg');
}

.cost-accounting-cars-edit__chars-item {
    display: flex;
    margin-bottom: 3px;
}
.cost-accounting-cars-edit__chars-item-name {
    margin-right: 10px;
    font-size: 14px;
    line-height: 20px;
    color: rgba(43, 45, 51, 0.5);
    font-weight: 400;
}
.cost-accounting-cars-edit__chars-item-value{
    font-size: 14px;
    line-height: 20px;
    color: #55575C;
    font-weight: 400;
}

.cost-accounting-cars-edit__section-header-btn-add {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 16px;
    color: #7c7c7c;
    transition: opacity .3s ease-in-out;
}
.cost-accounting-cars-edit__section-header-btn-add::before {
    content: '+';
    width: 20px;
    height: 20px;
    display: block;
    padding: 2px;
    margin-right: 5px;
    font-size: 22px;
    line-height: 20px;
    color: #fff;
    border-radius: 50%;
    background-color: #46cb7c;
}

.cost-accounting-cars-edit__other-item-body {
    margin-top: 10px;
}

.cost-accounting-cars-edit__other-item-name {
    font-size: 17px;
    line-height: 22px;
    font-weight: 700;
    color: #2e2e2e;
}
.cost-accounting-cars-edit__other-item-date {
    font-size: 14px;
    line-height: 22px;
    color: #b0b0b0;
    white-space: nowrap;
}
.cost-accounting-cars-edit__other-item-price {
    font-size: 17px;
    line-height: 22px;
    font-weight: 700;
    text-align: right;
    padding-right: 40px;
}
.cost-accounting-cars-edit__other-item-price.profit {
    color: #1bb057;
}
.cost-accounting-cars-edit__other-item-price.lost {
    color: #e52424;
}

.cost-accounting-cars-edit__other-item-btns {
    margin-left: auto;
}

.cost-accounting-cars-edit__other-item-btn {
    width: 20px;
    height: 20px;
}
.cost-accounting-cars-edit__other-item-btn-left {
    margin-right: 10px;
    transition: opacity .3s ease-in-out;
}
.cost-accounting-cars-edit__other-item-btn-left-svg-edit {
    width: 16px;
    height: 16px;
    fill: #a5a5a5;
    transition: fill .3s ease-in-out;
}
.cost-accounting-cars-edit__other-item-btn-right-svg-bin {
    width: 16px;
    height: 16px;
    transform: translate(0, 2px);
    fill: #a5a5a5;
}

.cost-accounting-cars-edit__other-item-text{
    font-size: 15px;
    line-height: 20px;
    font-style: italic;
    color: #2e2e2e;
}

.cost-accounting-cars-edit__other-item {
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #d6d6d6;
    margin-bottom: 15px;
}
.cost-accounting-cars-edit__other-item:last-child {
    margin-bottom: 0;
}
.cost-accounting-cars-edit__other-item > *:last-child {
    margin-bottom: 0;
}

.cost-accounting-cars-edit__other-modal {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding-top: 150px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.cost-accounting-cars-edit__other-modal-shadow {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0,0,0, .5);
    cursor: pointer;
}
.cost-accounting-cars-edit__other-modal-inner {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    overflow: auto;
    width: 600px;
    max-width: 90%;
    max-height: calc(100% - 30px);
    padding: 34px 40px;
    border-radius: 6px;
    border: 1px solid #d6d6d6;
    background-color: #fff;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity .3s ease-in-out, transform .3s ease-in-out;
}
.cost-accounting-cars-edit__other-modal.show .cost-accounting-cars-edit__other-modal-inner {
    opacity: 1;
    transform: translateY(0);
}
.cost-accounting-cars-edit__other-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    width: 20px;
    height: 20px;
}
.cost-accounting-cars-edit__other-modal-close svg {
    width: 100%;
    height: 100%;
}
/* .cost-accounting-cars-edit__other-modal .select-list-wrapper {
    max-height: 125px;
} */
.cost-accounting-cars-edit__other-modal-radio-list {
    display: flex;
    flex-wrap: wrap;
}
.cost-accounting-cars-edit__other-modal-radio-item {
    margin-right: 25px;
    margin-bottom: 5px;
}
.cost-accounting-cars-edit__other-modal-radio-item:last-child {
    margin-right: 0;
}
.cost-accounting-cars-edit__other-modal-radio-label {
    cursor: pointer;
    position: relative;
}
.cost-accounting-cars-edit__other-modal-radio-input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
.cost-accounting-cars-edit__other-modal-radio-content {
    display: flex;
    align-items: center;
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    color: #6b6b6b;
}
.cost-accounting-cars-edit__other-modal-radio-content::before {
    content: '';
    margin-right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #6b6b6b;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.cost-accounting-cars-edit__other-modal-radio-input:checked + .cost-accounting-cars-edit__other-modal-radio-content::before {
    background-image: url('../img/checkbox.svg');
}

.cost-accounting-cars-edit__other-modal-section {
    margin-bottom: 20px;
}
.cost-accounting-cars-edit__other-modal-date-calendar-svg-calendar {
    width: 36px;
    height: 36px;
}

.cost-accounting-cars-edit__other-modal-files .field-filearea__zone{
    min-height: 70px;
}
.cost-accounting-cars-edit__section-body {
    position: relative;
}
.cost-accounting-cars-edit__section-body > * {
    margin-bottom: 10px;
}
.cost-accounting-cars-edit__section-body > *:last-child {
    margin-bottom: 0;
}


.cost-accounting-cars-edit__chars-file-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.cost-accounting-cars-edit__chars-file-item-img {
    margin-right: 10px;
    width: 25px;
    height: 34px;
    flex: 0 0 20px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../img/default/docs-file.png);
}
.cost-accounting-cars-edit__chars-file-item-link {
    font-size: 12px;
    line-height: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    white-space: nowrap;
}

.cost-accounting-cars-edit__other-item-files {
    margin-top: 10px;
}


.cost-accounting-cars-edit__other-item-link{
    display: block;
    width: 25px;
    height: 34px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('../img/default/docs-file.png');
}

/* .cost-page-add__body-section-image .field-filearea__zone {
    border: 1px dashed #e0e0e0;
    min-height: 40px;
    border-radius: 12px;
} */

.cost-accounting-cars-edit__section-row {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9eaea;
}
.crm-section-header {
    margin-bottom: 0;
}
.crm-section-header__svg {
    display: inline-block;
    margin-left: 7px;
    transform: translateY(1px);
    width: 15px;
    height: 8px;
    fill:#a5a5a5;
    transition: fill .3s ease-in-out;
}

.js-crm-section-drop__btn {
    cursor: pointer;
}
.crm-body-about {
    margin-top: 15px;
}


.crm-statusblock-mob {
    display: none;
    width: 49%;
}
.cost-accounting-cars-edit__profit-row-mob {
    display: none;
}
.cost-accounting-cars-edit__profit-row-mob .cost-accounting-cars-edit__price-info-name{
    color: #151515;
}
.crm-header-date-mob {
    display: none;
    margin-bottom: 15px;
}

.crm-add-other-operation {
    display: none;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    padding: 2px;
    margin-left: 5px;
    font-size: 21px;
    color: #fff;
    border-radius: 50%;
    background-color: #46cb7c;
}


.cost-accounting-cars-edit__title .svg-achtung {
    margin-right: 5px;
    transform: translateY(-1px);
}

.crm-section-header-link__svg {
    fill: #a5a5a5;
    display: inline-block;
    transition: fill .3s ease-in-out;
}

.crm-body-about {
    display: none;
}
.js-crm-section-drop.selected .crm-section-header__svg {
    transform: translateY(1px) rotate(180deg);
}
.js-crm-section-drop.selected .crm-body-about {
    display: block;
}

.crm-car-detail-delete-btn {
    font-size: 15px;
    margin-top: 50px;
    color: #828282;
    transition: color .3s ease-in-out;
}
.crm-car-detail-delete-btn .svg-bin {
    transform: translate(0, 2px);
}
.crm-car-detail-delete-btn-mob {
    display: none;
    position: absolute;
    top: 10px;
    right: 0;
}
.crm-car-detail-header {
    position: relative;
    padding-right: 30px;
}


.crm-checkbox-row label.label-checkbox,
.crm-checkbox-row .input-block label{
    line-height: 18px;
}

.crm-car-marginality {
    font-size: 15px;
    margin-top: 20px;
}

.crm-car-marginality-mob {
    display: none;
}

.car-labels {
    position: absolute;
    display: inline-block;
    top: 10px;
    left: 0;
}
.car-label {
    white-space: nowrap;
    border-radius: 0 6px 6px 0;
    margin-bottom: 4px;
    font-size: 12px;
    line-height: 16px;
    padding: 2px 7px 3px;
}
.car-label-sale {
    background-color: #FED500;
}
.car-label-burden {
    color: #fff;
    background-color: #a72728;
}

.cost-accounting-cars-edit__img:not(.burden) .crm-car-detail__car-labels {
    display: none;
}
.crm-car-detail__car-labels.car-labels{
    left: auto;
    right: 0;
}
.crm-car-detail__car-labels .car-label{
    border-radius: 6px 0 0 6px;
}

@media (min-width: 1200px) {
    .cost-accounting-cars-edit__price-btn,
    .cost-accounting-cars-edit__label-file{
        opacity: 0;
        transition: opacity .3s ease-in-out;
    }
    .cost-accounting-cars-edit__price:hover .cost-accounting-cars-edit__price-btn,
    .cost-accounting-cars-edit__img:hover .cost-accounting-cars-edit__label-file{
        opacity: .7;
    }
    .cost-accounting-cars-edit__price-btn:hover,
    .cost-accounting-cars-edit__label-file:hover {
        opacity: 1 !important;
    }
    .cost-accounting-cars-edit__price-btn-ok:hover,
    .cost-accounting-cars-edit__section-header-btn-add:hover {
        opacity: .7;
    }

    .cost-accounting-cars-edit__other-item-name {
        max-width: 255px;
    }

    .alert-block-crm .alert-block__content{
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .crm-car-detail-delete-btn:hover {
        color: red;
    }
    .cost-accounting-cars-edit__section-row .cost-accounting-cars-edit__title:hover {
        color: #151515;
    }
    .cost-accounting-cars-edit__title:hover .crm-section-header__svg {
        fill: #151515;
    }
    
    .cost-accounting-cars-edit__other-item-btn-left:hover .cost-accounting-cars-edit__other-item-btn-left-svg-edit,
    .crm-section-header-link__svg:hover {
        fill: #747474;
    }
}

@media (max-width: 1399.98px) {}

@media (max-width: 1199.98px) {
    .cost-accounting-cars-edit__other-item-price {
        padding-right: calc(var(--bs-gutter-x) * .5);
    }
    .cost-accounting-cars-edit__other-item-date {
        text-align: right;
    }
    .cost-accounting-cars-edit__other-item-price {
        text-align: left;
    }
    .cost-accounting-cars-edit__other-item-date,
    .cost-accounting-cars-edit__other-item-name {
        margin-bottom: 10px;
    }
}

@media (max-width: 991.98px) {
    .cost-accounting-cars-edit__radio-content {
        font-size: 14px;
    }
}

@media (max-width: 767.98px) {
    .cost-accounting-cars-edit__left-side {
        max-width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    .cost-accounting-cars-edit__right-side {
        padding-left: calc(var(--bs-gutter-x) * .5);
    }

    .cost-accounting-cars-edit__row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 15px;
    }
    .cost-accounting-cars-edit__img {
        width: 49%;
        height: 100%;
        margin-right: 0;
        margin-bottom: 0;
        aspect-ratio: 16/9;
    }
    .cost-accounting-cars-edit__radio-item:last-child {
        margin-bottom: 0;
    }
    .cost-accounting-cars-edit__price-row {
        width: 100%;
        margin-right: 0;
        order: 3;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .cost-accounting-cars-edit__price {
        width: 49%;
        margin-bottom: 0;
    }
    .cost-accounting-cars-edit__price-info-row {
        width: 100%;
        order: 4;
    }
    .cost-accounting-cars-edit__profit-row {
        display: none;
    }
    .cost-accounting-cars-edit__profit-row-mob {
        display: flex;
    }

    .crm-car-marginality {
        display: none;
        margin-top: 0;
    }
    .crm-car-marginality-mob {
        display: flex;
    }

    .crm-section-statusblock,
    .crm-statusblock {
        display: none;
    }
    .crm-header-date-mob,
    .crm-statusblock-mob {
        display: block;
    }
    
    .profile__content-header.crm-car-detail-header {
        margin-bottom: 10px;
    }

    .crm-add-other-operation {
        display: inline-flex;
    }

    .crm-car-detail-delete-btn {
        margin-top: 0;
        display: none;
    }
    .crm-car-detail-delete-btn-mob {
        display: block;
    }
    .cost-accounting-cars-edit__other-item-btn-left-svg-edit,
    .cost-accounting-cars-edit__other-item-btn-right-svg-bin {
        width: 17px;
        height: 17px;
    }
}

@media (max-width: 575.98px) {
    .cost-accounting-cars-edit__other-modal-section-btns {
        text-align: center;
    }
    
    .cost-accounting-cars-edit__profit-row {
        order: 2;
        margin-bottom: 10px;
    }
    
    .cost-accounting-cars-edit__label-file {
        left: 5px;
        top: 5px;
    }
    .cost-accounting-cars-edit__title {
        font-size: 17px;
    }
    .cost-accounting-cars-edit__section-header-btn-change {
        font-size: 0;
        line-height: 0;
        width: 16px;
        width: 16px;
        border: 0;
    }
    
    .crm-section-header .cost-accounting-cars-edit__section-header-left-col {
        margin-bottom: 0;
    }

    .cost-accounting-cars-edit__section-header-btn-add::before {
        width: 15px;
        height: 15px;
        font-size: 14px;
        line-height: 14px;
    }

    .cost-accounting-cars-edit__other-modal-inner {
        padding: 16px 20px;
    }
    .cost-accounting-cars-edit__other-item {
        padding: 10px 12px;
    }

    .cost-accounting-cars-edit__profit-row-mob .cost-accounting-cars-edit__profit-value, .cost-accounting-cars-edit__price-info-value,
    .cost-accounting-cars-edit__price-info-name {
        font-size: 16px;
    }
    .cost-accounting-cars-edit__section-row {
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .cost-accounting-cars-edit__price-info {
        margin-bottom: 14px;
    }
    .crm-car-detail-delete-btn-mob {
        top: 4px;
    }
    .crm-checkbox-row {
        margin-top: 30px;
    }
}