.crm-car-edit {    
    height: 100%;
}
.crm-car-edit__container {
    position: relative;
}

.crm-car-edit--short .crm-car-edit__container {
    padding: 30px;
    overflow: auto;
    max-height: 100%;
}

.crm-car-edit__section {
    display: flex;
    flex-direction: column;
    border: 1px solid #0000000f;
    border-radius: 8px;
    padding: 35px;
    margin-bottom: 24px;
    background-color: #fff;
    box-shadow: inset 0 -1px 0 rgb(221 225 227);
}
.crm-car-edit__section-header {
    margin-bottom: 16px;
}
.crm-car-edit__section:last-child,
.crm-car-edit__section-row:last-child,
.crm-car-edit__section-header > *:last-child,
.crm-car-edit__section > *:last-child,
.crm-car-edit__section-row > *:last-child {
    margin-bottom: 0 !important;
}
.crm-car-edit__section-title {
    font-size: 23px;
    font-weight: 700;
    line-height: 28px;
}
.crm-car-edit__section-row {
    margin-bottom: 15px;
}

.crm-car-edit__photo .field-filearea__zone, 
.crm-car-edit__files .field-filearea__zone {
    min-height: 70px;
}
.crm-car-edit__section-row-title {
    font-size: 18px;
    line-height: 21px;
    margin-bottom: 16px;
}
.crm-car-edit__dropdown-title {
    flex: 0 0 auto;
    max-width: 70%;
    font-size: 15px;
    line-height: 20px;
    color: grey;
}
.section-dropdown--show .crm-car-edit__dropdown-header{
    margin-bottom: 16px;
}
.crm-car-edit__section-line-top{
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
    margin-bottom: 25px;
}
.crm-car-edit__section-row .crm-car-edit__section-line-top{
    margin-bottom: 10px !important;
}

.crm-car-edit__dropdown-header {
    position: relative;
    display: flex;
    justify-content: space-between;
}
.crm-car-edit__dropdown-value{
    flex: 1 0 auto;
    max-width: 60%;
    font-size: 15px;
    line-height: 20px;
    text-align: right;
    padding-right: 20px;
}
.crm-car-edit__dropdown-value::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../img/shevron.svg);
    transition: transform .3s ease-in-out;
}
.section-dropdown--show .crm-car-edit__dropdown-value::after {
    transform: translateY(-45%) rotate(-180deg);
}

.crm-car-edit__back-link {
    font-size: 14px;
    width: auto;
    display: inline-flex;
}
.crm-car-edit__back-link::before {
    content: '←';
    position: relative;
    top: -2px;
    margin-right: 8px;
}
.crm-car-edit__btns {
    display: flex;
    flex-direction: column;
}
.panel .crm-car-edit__btns {
    top: 0;
}
.crm-car-edit__balance-block {
    display: none;
}
.crm-car-edit.balance-error .crm-car-edit__balance-block {
    display: flex;
}
.crm-car-edit__error-message-text {
    color: red;
    font-size: 14px;
}
.crm-car-edit__error-message-checkbox .span-checkbox{
    font-size: 15px;
}
.crm-car-edit__error-message-checkbox .span-checkbox:before, 
.crm-car-edit__error-message-checkbox .field-checkbox:checked+span:after {
    top: 0;
}


@media (min-width: 1200px) {
    
}

@media (max-width: 1199.98px) {
    
}
@media (max-width: 991.98px) {

}
@media (max-width: 767.98px) {
    .crm-car-edit--short .crm-car-edit__container {
        padding: 10px 10px 80px 10px;
    }
    .crm-car-edit__btns {
        position: fixed;
        top: auto;
        bottom: 5px;
        left: 15px;
        right: 15px;
        flex-direction: row;
        z-index: 8;
        justify-content: space-between;
    }

    .panel .crm-car-edit__btns {
        top: auto;
        left: 10px;
        right: 10px;
    }

    .crm-car-edit__section {
        padding: 12px 20px;
        margin-bottom: 10px;
    }
    .crm-car-edit__section-title {
        font-size: 19px;
    }
    .crm-car__burden .span-checkbox {
        font-size: 14px;
    }
    
}