.text-input-wrapper {
    display: block;
    width: 100%;
}

.text-input-wrapper .errors {
    display: none;
    margin: 0;
    color: red;
    font-size: 16px;
}
.text-input {
    display: flex;
    width: 100%;
    padding: 20px;
}
.text-input .label {
    width: 50%;
    font-weight: 400; /*because IE11 does not support var()*/
    display: flex;
    margin: 0;  
    padding: 0;
    font-size: 18px;
    color: #333;
    align-items: center;
}
.text-input .input{
    width: 50%;
}
.text-input .input input {
    width: 100%;
    padding: 5px;
    border-radius: 7px;
    border-color: lightgray;
    border-width: 1px;
    font-weight: 300; /*because IE11 does not support var()*/
    max-height: 40px;
}
.text-input input.error {
    border-color: red;
    color: red;
}
.text-input div {
    width: 40%;
}
.text-input .error-message {
    display: none;
}
@media screen and (max-width: 767px) {
    .text-input .label {
        font-size: 14px;
    }
    .text-input {
        display: block;
        padding: 10px 0;
    }
    .text-input .label,
    .text-input .input {
        width: 100%;
    }
    .text-input .label{
        margin: 10px 0;
    }
    .material-checkbox-wrapper .errors {
        margin: 0;
        font-size: 14px;
    }
}
