@charset "UTF-8";

.form_container{
    height: fit-content;
    margin: auto;
}

.form_block{
    margin: 1em auto;
}

.form_caption_block{
    display: flex;
    width: fit-content;
    margin: auto auto auto 0;
}

.form_badge-required{
    background-color: white;
    border-radius: 5px;
    border: 1px solid #e4007f;
    color: #e4007f;
    padding: 0px 1em;
}

.form_badge-any{
    background-color: rgb(121, 121, 121);
    border-radius: 5px;
    border: 1px solid rgb(121, 121, 121);
    color: white;
    padding: 0px 1em;
}

.form_caption_str{
    width: fit-content;
    white-space: nowrap;
    margin: auto auto auto 0.2em;
}

.form_radios{
    width: 100%;
    display: flex;
    margin: 0.2em 0 0.5em 0;
    flex-wrap: wrap;

}.form_radios label{
    display: inline-block;
}

.form_note{
    color: #e4007f;
}

.form_checkboxs{
    width: 100%;
    height: fit-content;
}

.form_input_text{
    margin-top: 5px;
    border: 1px solid #b5b5b6;
    padding: 5px 7px;
    width: 100%;    
}

.form_checkbox_elements{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0em 2em;
    margin: 0em 0 0.8em 0;
}

.form_others{
    width: 100%;
}.form_others label{
    width: 100%;
    padding: 0.3em 0 0.7em 0;
    border-top: 0.5px solid #727171;
    display: block;
    margin: 0.5em 0 0 0;
}.form_others label:last-of-type {
    border-bottom: 0.5px solid #727171;
    padding-bottom: 1.2em;
}

.form_personal_info_block{
    margin: 1em 0;
}

.form_send_element{
    max-width: 570px;
    width: 80%;
    background-color: red;
    color: white;
    padding: 1em 0;
    margin: auto auto 2em auto;
    border-radius: 60px;
    font-size: 2em;
    font-weight: bold;

}.form_send_element > div {
    width: fit-content;
    height: fit-content;
    margin: auto;
}

.form_container a{
  text-decoration: none;
  color: #f00;
}.form_container a:hover{
  text-decoration: underline;
}

@media (min-width: 768px) {
    .form_container{
        flex: 1;
    }

    .form_radio_elements{
        margin: auto
    }
}@media (max-width: 767px) {
    .form_container{
        width: 95%;
    }

    .form_radio_elements{
        margin: auto auto auto 0;
    }
}