.js-moreded {
    overflow: hidden;
    margin-bottom: 100px;
}
.js-moreded .hidden {
    display: none;
    transition: .3s;
}
.js-moreded h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.js-moreded p{
    font-size: 21px;
    line-height: 24px;
    color: #8E8E8E;
    font-weight: normal;
    margin-bottom: 10px;
}
.js-moreded .all-link {
    cursor: pointer;
    float: right;
}
.js-moreded-hide {
    margin: 0 !important;
    display: none;
}
.js-moreded.showed .hidden {
    display: block;
    transition: .3s;
}
.js-moreded.showed li.hidden {
    display: list-item;
    transition: .3s;
}
.js-moreded.showed .js-moreded-hide {
    display: block;
}
.js-moreded.showed .js-moreded-show {
    visibility: hidden;
    position: relative;
}
.js-moreded.showed .js-moreded-show:after {
    content:'Скрыть';
    visibility: visible;
    display: block;
    position: absolute;
    top:0;
    right: 0;
    text-decoration: underline;
}

.expanded-block {
    background: #DFEEFB;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 16px;
    cursor: pointer;
}
.expanded-block {
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    color: #2F3E74;
}
.expanded-block h4 {
    font-weight: normal;
    font-size: 20px;
    line-height: 23px;
    color: #000000;
    margin: 0;
    padding: 0;
}
.expanded-block ul {
    display: none;
    margin-top: 15px;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 10px;
    font-weight: normal;
    margin-bottom: 0;
}
.expanded-block ul li {
    margin: 0;
    list-style: none;
    display: flex;
    align-items: center;
}
.expanded-block ul li::before {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    margin-right: 10px;
    border-radius: 50%;
    background: #2F3E74;
}

.expanded-block.showed ul {
    display: block;
}
.how-submit {
    margin-bottom: 100px;
}

.service-form {
    background: linear-gradient(270deg, #132743 0%, #405174 100%);
    /* Тень ровно вниз ПО БК */

    box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    padding: 50px 32px;
}
.service-form h3 {
    font-weight: bold;
    font-size: 40px;
    line-height: 130%;
    /* or 52px */
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 30px;
}
.service-form .row {
    margin-bottom: 20px;
}
.service-form .fields > div {
    margin-bottom: 20px;
}
.service-form label {
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    color: #FFFFFF;
    margin-bottom: 8px;
    display: block;
}
.service-form input[type=text] {
    background: #FFFFFF;
    border-radius: 4px;
    padding: 12px;
    height: 40px;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    color: #222222;
    border: none;
    width: 100%;
}
.service-form textarea {
    background: #FFFFFF;
    border-radius: 4px;
    padding: 12px;
    height: 82px;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    color: #222222;
    width: 100%;
    border: none;
}
.service-form hr {
    background: #F4F8FF;
    margin-bottom: 20px;
}
.service-form .files {
    display: flex;
    margin-left: -25px;
    justify-content: space-between;
    flex-wrap: wrap;
}
.service-form  label.custom-file-upload {
    background: #FFFFFF;
    border-radius: 4px;
    padding: 12px;
    margin-left: 25px;
    width: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
    cursor: pointer;
}
.custom-file-upload input {
    display: none;
}
.custom-file-upload span {
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    color: #222222;
    margin-bottom: 20px;
}
.custom-file-upload span.link {
    margin-top: auto;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    text-decoration-line: underline;
    color: #222222;
    white-space: nowrap; /* Текст не переносится */
    overflow: hidden; /* Обрезаем всё за пределами блока */
    text-overflow: ellipsis; /* Добавляем многоточие */
}

label.main-checkbox {
    align-items: center;
    display: flex;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
    color: #FFFFFF;
    margin: 0;
}
label.main-checkbox input {
    display: none;
}
label.main-checkbox input ~ span {
    display: block;
    width: 30px;
    height: 30px;
    background: #FFFFFF;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;

}
label.main-checkbox input:checked ~ span:before {
    content: "";
    background: #2F3E74;
    position: absolute;
    width: 12px;
    height: 12px;
    top: 50%;
    left: 50%;
    margin-top: -6px;
    margin-left: -6px;
    border-radius: 50%;
}
.service-form .js-total {
    font-weight: 500;
    font-size: 21px;
    line-height: 24px;
    color: #FFFFFF;
}
.service-form .meta {
    font-weight: normal;
    font-size: 14px;
    line-height: 160%;
    color: #8DA8CF;
    margin-top: 6px;
}
.service-form .btn {
    width: 590px;
    max-width: 90%;
    min-width: 150px;
    margin-top: 45px;
}
.service-form  label.form-policy {
    display: flex;
    align-items: center;
    width: 590px;
    max-width: 90%;
    margin: 12px auto 0;
}

.service-form input[type=text].error,.service-form textarea.error {
    background: #F9C9C6;
}
.service-form label.custom-file-upload {
    position: relative;
}
.service-form label.custom-file-upload.error {
    background: #F9C9C6;
}
.service-form label.custom-file-upload.success {
    background: #82DEAA;
}
.service-form label.custom-file-upload a.clear {
    width: 10px;
    height: 10px;
    font-size: 15px;
    line-height: 1;
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    text-decoration: none;
    background: url("/local/templates/b-kvartal/img/svg/close.svg") no-repeat center;
    display: none;
}
.service-form label.custom-file-upload.success a.clear {
    display: block;
}
label.main-checkbox input.error ~ span {
    background: #F9C9C6;
}