#test-drive-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 790px;
    padding: 0px 16px;
}
@media (max-width: 789px) {
    #test-drive-form{
        align-items: center;
    }
    #test-drive-form .content{
        justify-content: center;
    }
}


#test-drive-form .content {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    max-width: unset;
    padding: unset;
}
@media (max-width: 789px) {
    #test-drive-form .content{
        justify-content: center;
    }
}
#test-drive-form .content .block {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
@media (max-width: 789px) {
    #test-drive-form .content #check_block {
        width: 369px;
    }
}
#test-drive-form .content .block input, #test-drive-form .content .block select, button{
    width: 100% !important;
    border-radius: 3px !important;
    padding: .5rem 1rem !important;
    transition: all .3s !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    border: 1px solid transparent !important;
    color: black !important;
    outline: none;
    width: 369px !important;
    height: 42px;
}
button{
    background-color: #9494944a !important;
}
#test-drive-form .comment-test-drive{
    width: 100%;
    border-radius: 3px;
    padding: .5rem 1rem;
    transition: all .3s;
    font-size: 1rem;
    line-height: 1.5;
    border: 1px solid transparent !important;
    outline: none;
    resize: none;
}
@media (max-width: 789px) {
    #test-drive-form .comment-test-drive{
        width: 369px;
    }
}
#test-drive-form .content .block input[type='checkbox'] {
    width: unset !important;
    height: unset;
}
.error_text{
    color: red;
    font-size: 14px;
    display: none;
}
.active_error{
    display: block;
}
.checkbox_block{
    display: flex;
    flex-direction: row;
    gap: 7px;
    flex-wrap: nowrap;
    align-items: baseline;
    cursor: pointer;
}
.checkbox_block a{
    color: black;
    text-decoration: underline !important;
    cursor: pointer;
}