.contacts-provider {
    padding: 40px 30px 30px 30px;
    max-width: 572px;
    font-family: "PT Serif", "Times New Roman", serif;
    font-weight: 300;
    /*max-height: 90vh;*/
    /*overflow-y: auto;*/
}

.contacts-provider .btn {
    width: 244px;
}

.contacts-provider .btn.btn-outlined {
    border-color: #7E0E2F;
    color: #7E0E2F;
}

.contacts-provider .btn.btn-disabled {
    border-color: #E5E5E5;
    color: #C4C4C4;
    pointer-events: none;
}

.contacts-provider h2 {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
}

.step-icons {
    display: flex;
    width: 100%;
    max-width: 310px;
    margin: 0 auto 20px;
    justify-content: space-between;
}

.step-icons span {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E5E5E5;
    border: 1px solid #E5E5E5;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    position: relative;
    cursor: pointer;
}

.step-icons span:before {
    content: '';
    position: absolute;
    width: calc(100% + 10px);
    left: -70px;
    height: 2px;
    background: #E5E5E5;
    cursor: default;
}

.step-icons span:first-child:before {
    content: none;
}

.step-icons span.active {
    background: #C71E3F;
    color: #ffffff
}

.step-icons span.active:before {
    background: #C71E3F;
}

.contacts-provider .form__label,
.contacts-provider .form__field,
.contacts-provider .input-text {
    width: 100%;
}

.contacts-provider .form__field {
    display: flex;
    flex-direction: column;
}

.contacts-provider .form__field label {
    margin-bottom: 10px;
}

.contacts-provider .input-radio + label + .input-radio + label {
    margin-left: 0;
}

.contacts-provider__bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 23px;
}

/*drag and drop zone*/
#drag-zone {
    display: block;
    background: #FCFCFC;
    border: 1px dashed #D4D4D4;
    color: #A6A6A6;
    font-style: italic;
    font-weight: normal;
    font-size: 16px;
    line-height: 25px;
    width: 100%;
    min-height: 90px;
    text-align: center;
    padding: 10px;
}

.file-list {
    text-align: left;
    color: #000;
}

.drag-zone .file {
    margin: 0 0 10px;
    border-bottom: 1px solid #D4D4D4;
    display: flex;
    justify-content: space-between;
    padding: 0 0 7px 0;

}

.drag-zone .file a {
    color: #000000;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
}

/*чекбоксы*/
.catalog-field-filter-values .value__label {
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.catalog-field-filter-values input {
    display: none;
}

.catalog-field-filter-values span {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    line-height: 1;
    margin-right: 10px;
}

.catalog-field-filter-values span:before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 2px;
    background-color: #ffffff;
    box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, .25);
    border: 1px solid #a6a6a6;
    position: absolute;
    top: 0;
    left: 0;
}

.catalog-field-filter-values input:checked + span:before {
    border-color: #7e0e2f;
    background-color: #ffffff;
}

.catalog-field-filter-values input:checked + span:after {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.catalog-field-filter-values span:after {
    content: '';
    width: 13px;
    height: 12px;
    opacity: 0;
    visibility: hidden;
    background-image: url(/local/components/adinadin/catalog.smart.filter.with.region/templates/vino/images/checkbox-mark-red.svg);
    display: block;
    position: absolute;
    top: 4px;
    left: 4px;
    transform: translateY(-50%);
}

/*попап успешной отправки*/
.popup.thanks {
    font-size: 16px;
    width: 400px;
    text-align: center;
    padding: 30px;
}

.thanks-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.popup.thanks .thanks-close {
    margin-top: 15px;
    position: static;
    opacity: 1;
    font-size: 16px;
    color: #ffffff;
    font-weight: bold;
}

/*error in form*/
.error-message {
    color: #c71d3e;
    display: none;
    font-size: 12px;
}

/*Кнопка удалить в upload*/
.delete {
    color: #3586D0;
    font-size: 14px;
    font-weight: bold;
    font-style: normal;
    cursor: pointer;
}

/*Кнопка загрузки*/
.button-upload {
    position: relative;
    height: 30px;
    width: 100px;
    margin: 15px auto 0;
    cursor: pointer;
    color: #C71E3F;
    font-weight: bold;
}

.button-upload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    width: 100%;
    cursor: pointer;
}

@media screen and (max-width: 600px) {
    .contacts-provider {
        max-width: 80vw;
        top: 15px !important;
    }

    /*Спорные стили*/
    /*.mfp-wrap {*/
    /*    -webkit-overflow-scrolling: touch;*/
    /*    -webkit-transform: translateZ(0);*/
    /*}*/
    /*html.mfp-helper {*/
    /*    height: 100%;*/
    /*}*/
    /*html.mfp-helper body {*/
    /*    overflow: hidden;*/
    /*    height: 100%;*/
    /*    -webkit-transform: translateZ(0);*/
    /*}*/
    /*Спорные стили*/
    .contacts-provider__bottom {
        flex-direction: column;
        align-content: center;
    }

    .contacts-provider__bottom .btn {
        margin: 0 auto 10px;
    }
}

@media screen and (max-width: 450px) {
    .step-icons span:before {
        width: 100%;
        left: -120%;
    }

    .contacts-provider .btn {
        width: 100%;
    }
}

@media screen and (max-width: 400px) {
    .step-icons span:before {
        width: 60%;
        left: -93%;
    }
}

@media screen and (max-width: 350px) {
    .step-icons span:before {
        left: -70%;
    }
}

#fileList ul li {
    overflow: hidden;
    text-overflow: ellipsis;
}