/* label color */
.input-field label {
    color: #000;
}
/* label focus color */
.input-field input[type=text]:focus + label {
    color: #000;
}
/* label underline focus color */
.input-field input[type=text]:focus {
    border-bottom: 1px solid #000;
    box-shadow: 0 1px 0 0 #000;
}
/* valid color */
.input-field input[type=text].valid {
    border-bottom: 1px solid #000;
    box-shadow: 0 1px 0 0 #000;
}
/* invalid color */
.input-field input[type=text].invalid {
    border-bottom: 1px solid #f00;
    box-shadow: 0 1px 0 0 #f00;
    color: #f00;
}
/* icon prefix focus color */
.input-field .prefix.active {
    color: #000;
}
.form-error{color: #D8000C;}
.error {
    color: #f00;
    /*font-weight: bold;*/
    font-size :10px;
    /*padding: 3px 0 5px;
    /*border: solid 2px #ff0000;*/
}
/*input.error {
    background-color: #ebebeb;
    border: thin solid #ff0000;
}
select.error {
    background-color: #ebebeb;
    border: thin solid #ff0000;
}*/
/*form*/
input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=time],
input[type=date],
input[type=datetime-local],
input[type=tel],
input[type=number],
input[type=search],
textarea.materialize-textarea {
    &.valid + label:after,
        &.invalid + label:after,
        &:focus.valid + label:after,
        &:focus.invalid + label:after {
        white-space: pre;
    }
    &.empty {
        &:not(:focus).valid + label:after,
            &:not(:focus).invalid + label:after {
            top: 2.8rem;

        }
    }
}
select[required]:focus{
    outline: none !important;
}
select[required]{
    display: block;
    padding: 0;
    position: absolute;
    background: transparent;
    color: transparent;
    border: none;
    top: 0;
}
label {
    width: 100%;
}