.b24-form .b24-form-content {
    padding-top: 20px;
}
.b24-form .b24-form-btn {
    font-family: 'MikroBold';
    border-radius: 62px;
    background-color: #F6E26D;
    padding: 20px 32px 19px;
    text-transform: uppercase;
    color: #008066;
    font-weight: 700;
    font-size: 18px;
    line-height: 135%;
}
.b24-form .b24-form-btn:hover {
    background-color: #008066;
    color: #F6E26D;
}
.b24-form .b24-window-close {
    border: 1px solid #D1D3D4;
    background-color: #fff;
    opacity: 1;
    top: 0px;
    right: -60px;
    width: 44px;
    height: 44px;
    border-radius: 22px;
}
.b24-form .b24-window-close::before,  .b24-form .b24-window-close::after{
    background-color: rgba(147, 149, 152, 1);
}
.b24-form input[name="email"]::before {
    content: "Электронная почта";
    color: #1A1A1A;
}
.b24-form .b24-form-control-not-empty+.b24-form-control-label {
    top: -5px;
}
.b24-form input::placeholder, .b24-form .b24-form-control-label {
    color: #949494;
    line-height: 125%;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'MikroBold';
    padding-left: 0px !important;
}
.b24-form .b24-form-control-text {
    width: 80%;
}
.b24-form  input.b24-form-control {
    padding: 12px 0px;
    border-left: none;
    border-top: none;
    border-right: none;
    border-bottom: 1px solid #E8E9E9;
    height: 52px;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 125%;
    text-transform: uppercase;
    color: #1A1A1A;
    border-radius: 0px;
    -webkit-box-shadow: none;
    box-shadow: none;
    margin-bottom: 20px;
    width: 80%;
}
.b24-form input.b24-form-control:focus, .b24-form input.b24-form-control:active {
    border-color: #7CBEB1;
    box-shadow: none !important;
}
.b24-form  .b24-form-header {
    border-bottom: 0px;
    padding-top: 50px;
}
.b24-form .b24-form-header-title {
    text-transform: uppercase;
    color: #1A1A1A;
    text-align: left;
    font-family: 'MikroBold';
    font-weight: 800;
    width: 50%;
}

.b24-form .b24-window-scrollable {
    padding-bottom: 50px !important;
}

.become-a-partner .b24-form .b24-form-header-title {
    width: 100%;
}
.become-a-partner .b24-form .b24-form-header {
    padding-top: 30px;
}
.become-a-partner .b24-window-popup-wrapper .b24-window-scrollable {
    max-height: unset;
}
.become-a-partner .b24-form .b24-window-scrollable {
    padding-bottom: 30px !important;
}
.b24-form .b24-form-control-select-label, .b24-form .b24-form-control:focus+.b24-form-control-label, .b24-form-control-not-empty+.b24-form-control-label {
    top: -5px;
}

/******* checkbox leaf *******/
.b24-form .b24-form-control-agreement label {
    line-height: 172%;
    letter-spacing: -.1px;
	position: relative;
    display: block;
    padding-left: 35px;
	text-transform: none;
	font-size: 18px;
}

.b24-form .b24-form-control-agreement input {
	position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip: rect(0 0 0 0);
}
.b24-form .b24-form-control-agreement label:after, 
.b24-form .b24-form-control-agreement label:before {
    position: absolute;
    display: block;
    content: "";
}
.b24-form .b24-form-control-agreement label:before {
    left: 3px;
    top: 8px;
    width: 20px;
    height: 20px;
    border: 2px solid #d1d3d4;
    border-radius: 7px 0 7px 0;
    -webkit-transition: background-color .2s ease-in-out,border-color .2s ease-in-out;
    -moz-transition: background-color .2s ease-in-out,border-color .2s ease-in-out;
    transition: background-color .2s ease-in-out,border-color .2s ease-in-out;
}
.b24-form .b24-form-control-agreement label:after {
    top: 16px;
    left: 9px;
    width: 10px;
    height: 5px;
    border-bottom: 0px;
    border-left: 0px;
    -webkit-transform: translateY(-25%) rotate(-45deg);
    -moz-transform: translateY(-25%) rotate(-45deg);
    transform: translateY(-25%) rotate(-45deg);
    opacity: 0;
    -webkit-transition: opacity .2s ease-in-out;
    -moz-transition: opacity .2s ease-in-out;
    transition: opacity .2s ease-in-out;
}
.b24-form .b24-form-control-agreement label:has(input:checked):after {
    opacity: 1;
	border-bottom: 2px solid #fff;
    border-left: 2px solid  #fff;
}
.b24-form .b24-form-control-agreement label:has(input:checked)::before {
    background-color: #008066;
    border-color: #008066;
}
.b24-form .b24-form-field-agreement .b24-form-field-agreement-link {
    font-size: 14px;
}
.b24-form .b24-window-scroll-anchor {
    height: 0;
}
.b24-form .b24-form-state-container .b24-form-success {
    background-color: #fff;
}
.b24-form .b24-form-success-icon {
    background-image: url(https://askbonus.ru/include/images/pechenka350.png);
    background-size: cover;
}
.b24-form .b24-form-state-text {
    margin-bottom: 0;
}




@media (max-width: 512px) {
    .b24-form  .b24-form-header {
        padding-top: 12px;
    }
    .b24-form .b24-form-header-title {
        font-size: 20px;
        line-height: 22px;
        width: 80%;
    }
    .b24-form .b24-window-close {
        border: 1px solid #D1D3D4;
        background-color: #fff;
        opacity: 1;
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
        border-radius: 22px;
    }
    .b24-form  input.b24-form-control, .b24-form .b24-form-control-text {
        width: 100%;
    }

    .b24-form .b24-window-scrollable {
        padding-bottom: 35px !important;
    }
    .become-a-partner .b24-form .b24-form-header-title {
        width: 80%;
    }
    .become-a-partner .b24-window-popup-wrapper .b24-window-scrollable {
        max-height: 90vh;
    }
}

