.distribyutorov_page .row {
    display: flex;
}

.form-group.horses span input[type="checkbox"] {
    filter: sepia(100%) brightness(100%) hue-rotate(-430deg) saturate(70%) contrast(300%);
    top: 2px;
    position: relative;
}

.personal input[type="checkbox"] {
    top: 2px;
    position: relative;
}

.personal input[type="checkbox"]:checked {
    filter: sepia(100%) brightness(100%) hue-rotate(-430deg) saturate(70%) contrast(300%);
}

.price_form input[type="checkbox"] {
    top: 2px;
    position: relative;
    max-width: fit-content !important;
}

.price_form input[type="checkbox"]:checked {
    filter: sepia(100%) brightness(100%) hue-rotate(-430deg) saturate(70%) contrast(300%);
}

.checkbox_group {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: start;
    align-items: start;
}

.checkbox_group label {
    margin-left: 5px;
}

.distribyutorov_page .col-lg-6 {
    width: 50%;
    max-width: 50%;
}

section.section1 .col-lg-6.img {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

section.section1 .col-lg-6.text .btn {
    border-color: #86506c;
    background-color: #86506c;
    color: #fff;
    border-radius: 10px !important;
    padding: 19px 14px;
    display: block;
    max-width: max-content;
    font-weight: 600;
    text-decoration: none;
}

section.section1 .col-lg-6.text .btn:hover {
    opacity: 0.8;
}

section.section1 .col-lg-6.text p {
    line-height: 180%;
    max-width: 590px;
}

.distribyutorov_page h1#pagetitle {
    margin-top: 30px;
}

.distribyutorov_page h2 {
    margin-top: 0px;
}

section.section1 h2 {
    max-width: 670px;
    margin-top: 15px;
}

.intec-template .intec-template-title h1 {
    margin-top: 15px;
}

section.section2 {
    padding-top: 60px;
    padding-bottom: 60px;
}

section.section2 .text {
    margin: 30px 0px;
}

section.section2 .item span {
    background: #ECECEC;
    display: flex;
    padding: 10px 30px;
    text-align: center;
    min-height: 70px;
    align-items: center;
    justify-content: center;
}

section.section2 .item a {
    display: block;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

section.section2 a.btn {
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border: 2px solid #81516D;
    font-size: 23px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
}

section.section2 .item a img {
    max-height: 90px;
    max-width: 200px;
    margin: 0 auto;
    object-fit: contain;
}

section.section2 .col-lg-3 {
    max-width: 100%;
    width: 33%;
    padding: 0 5px;
    margin-bottom: 30px;
}

section.section2 h2 {
    text-transform: uppercase;
}

section.section2 .item {
    border: 1px solid #ebebeb;
    padding-top: 15px;
}

section.section3 .item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

section.section3 .item img {
    margin-right: 15px;
}

section.section3 .item b {
    margin-bottom: 5px;
    display: block;
}

section.section3 h2 {
    text-transform: uppercase;
    margin-bottom: 60px;
}

section.section3 {
    padding: 30px 0px;
}

section.section3 .item p {
    line-height: 200%;
}

section.section3.section4 .item {
    margin-bottom: 50px;
}

section.section5.distribyutorov_page {
    background: #ECECEC;
    padding: 60px 0px;
}

.intec-template-layout-page-wrapper {
    margin-bottom: 0px !important;
}

section.section5.distribyutorov_page h2 {
    color: rgb(129, 81, 109);
    font-family: Montserrat;
    font-size: 32px;
    font-weight: 500;
    line-height: 35px;
    letter-spacing: 0%;
    text-align: left;
    margin-bottom: 80px;
    padding: 0 15px;
}

section.section5.distribyutorov_page span {
    color: rgba(119, 119, 119, 0.4);
    font-family: Montserrat;
    font-size: 96px;
    font-weight: 700;
    line-height: 35px;
    text-align: left;
    display: block;
    margin-bottom: 40px;
    position: relative;
}

section.section5.distribyutorov_page .col-lg-3 {
    padding: 0px 15px;
    width: 33.33333%;
}

section.section5.distribyutorov_page .item p {
    color: rgb(0, 0, 0);
    font-size: 20px;
    font-weight: 400;
    line-height: 35px;
    letter-spacing: 0%;
    text-align: left;
}

section.section5.distribyutorov_page .widget-call.intec-cl-text.widget-call-custom {
    border-color: #86506c;
    background-color: #86506c;
    color: #fff;
    border-radius: 10px !important;
    padding: 19px 55px;
    display: block;
    max-width: max-content;
    text-decoration: none;
    color: #fff !important;
    !i;
    !;
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 700;
    line-height: 25px;
    letter-spacing: 0%;
    text-align: left;
    text-transform: uppercase;
    margin-top: 50px;
    cursor: pointer;
}

section.section5.distribyutorov_page .widget-call.intec-cl-text.widget-call-custom:hover {
    opacity: 0.8;
}

.popup-window,
.popup-window.popup-window-with-titlebar {
    height: max-content;
    overflow: hidden;
}

section.section5.distribyutorov_page span:before {
    content: "";
    width: 32px;
    height: 32px;
    display: block;
    position: absolute;
    right: 30%;
    top: 10%;
    background: url(/include/distribyutor/Group6.svg);
}

section.section5.distribyutorov_page .row .col-lg-3:last-child span:before {
    display: none !important;
}

form.fb.formg {
    box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.1);
    padding: 35px 35px;
    margin-bottom: 80px;
    margin-top: 0px;
}

form.fb.formg input.form-control {
    padding: 9px 10px;
    border-radius: 3px;
    border: 1px solid #f2f2f2;
    background-color: #fbfcfd;
    color: #5f5f5f;
    text-align: left;
    margin-bottom: 15px;
    width: 100%;
    outline: none;
}

form.fb.formg select.form-control {
    padding: 9px 10px;
    border-radius: 3px;
    border: 1px solid #f2f2f2;
    background-color: #fbfcfd;
    color: #5f5f5f;
    text-align: left;
    width: 100%;
    outline: none;
    margin-bottom: 15px;
}

.form-group.horses span {
    display: inline-block;
    width: 49%;
    margin-bottom: 15px;
    vertical-align: top;
}

.form-group.horses {
    padding-top: 15px;
}

form.fb.formg button {
    margin-top: 30px;
    border-color: #86506c;
    background-color: #86506c;
    color: #fff;
    border: 0;
    cursor: pointer;
    padding: 15px 70px;
    border-radius: 10px;
}

form.fb.formg .form-group.personal_group {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: space-between;
}

form.fb.formg .personal {
    height: 100%;
    margin-top: 30px;
    max-width: 80%;
}







@media all and (max-width: 991px) {
    .distribyutorov_page .col-lg-6 {
        width: 100%;
        max-width: 100%;
    }

    .form-group.horses span {
        display: inline-block;
        width: 100%;
        margin-bottom: 15px;
        vertical-align: top;
    }

    .distribyutorov_page .row {
        display: flex;
        flex-wrap: wrap;
    }

    section.section1 .col-lg-6.text {
        order: 2;
    }

    section.section1 h2 {
        max-width: 100%;
        font-size: 18px;
    }

    section.section2 .col-lg-3 {
        width: 100%;
    }

    section.section2 a.btn {
        font-size: 12px;
        text-align: center;
    }

    section.section1 .col-lg-6.img {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    section.section3 h2 {
        font-size: 18px;
        line-height: 150%;
    }

    form.fb.formg .form-group.personal_group {
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: space-between;
        flex-direction: column;
    }

    section.section5.distribyutorov_page .col-lg-3 {
        padding: 0px 15px;
        width: 50%;
        margin-bottom: 30px;
    }

    section.section5.distribyutorov_page h2 {
        font-size: 18px;
        line-height: 150%;
        text-align: center;
    }
}

@media all and (max-width: 576px) {
    section.section5.distribyutorov_page .col-lg-3 {
        padding: 0px 15px;
        width: 50%;
        margin-bottom: 60px;
    }

    section.section5.distribyutorov_page span:before {
        display: none;
    }

    .form-group.horses span {
        display: inline-block;
        width: 100%;
        margin-bottom: 15px;
        vertical-align: top;
    }

    section.section5.distribyutorov_page .widget-call.intec-cl-text.widget-call-custom {
        margin: 0 auto;
    }

    section.section3.section4 .item {
        display: flex;
        flex-direction: column;
        margin-bottom: 15px;
    }

    section.section3 .item img {
        margin-bottom: 15px;
    }

    section.section5.distribyutorov_page span {
        text-align: center;
    }

    section.section5.distribyutorov_page .item p {
        text-align: center;
        font-size: 16px;
        line-height: 150%;
    }

    section.section5.distribyutorov_page {
        padding: 30px 0px;
    }

    section.section2 {
        padding-top: 15px;
        padding-bottom: 15px;
    }
}


/* Кастомный input file */
.custom-file {
    position: relative;
    display: block;
    padding: 10px;
    border: 1px dashed #aaa;
    border-radius: 6px;
    background-color: #fafafa;
    cursor: pointer;
}

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

.custom-file .file-btn {
    display: inline-block;
    padding: 6px 12px;
    background-color: #86506c;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 10px;
}

.custom-file .file-names {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    white-space: pre-line;
    word-break: break-word;
}
.radio-group {
display: flex;
  gap: 15px;
  flex-direction: row;
  margin-bottom: 15px;
}
.radio-group input[type="radio"] {
    display: none;
}


.radio-group label {
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    padding: 8px 14px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* При наведении */
.radio-group label:hover {
    background-color: #eaeaea;
}

/* Цвет текста и иконки */
.radio-group span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
    font-size: 14px;
    transition: color 0.2s ease;
}


.radio-group input[type="radio"]:checked ~ span {
    color: #fff;
}
.radio-group input[type="radio"]:checked ~ span svg path {
    fill: #fff;
}


.radio-group input[type="radio"]:checked + span {
    color: #fff;
}

.radio-group input[type="radio"]:checked + span::before {
    content: '';
}


.radio-group label.checked {
    background-color: #86506c;
    color: #fff;
}
.radio-group label.checked span svg path {
    fill: #fff;
}

