/* Material specific css
.material-form   = all material forms
materialize-form = only for complete materialize framework (without Bootstrap)*/
.checkbox-inline,
.radio-inline,
.checkbox-label-vertical,
.radio-label-vertical {
    position: static !important;
}

.checkbox-inline:not(.lcs_label_wrap):not(.icheck-label) span:not(.no-padding),
.radio-inline:not(.lcs_label_wrap):not(.icheck-label) span:not(.no-padding) {
    padding-left: 30px !important;
    padding-right: 35px;
}

.input-field .checkbox .lcs_wrap~span,
.input-field .checkbox-inline .lcs_wrap~span,
.input-field .radio .lcs_wrap~span,
.input-field .radio-inline .lcs_wrap~span {
    padding-left: .75rem !important;
    padding-right: 2rem;
    margin-bottom: .75rem;
}

label[data-has-switch="true"]~.input-field>.checkbox,
label[data-has-switch="true"]~.input-field>.radio,
label[data-has-switch="true"]~.input-field .checkbox-inline,
label[data-has-switch="true"]~.input-field .radio-inline {
    display: inline-block;
    margin-bottom: .75rem;
}

.checkbox-inline.icheck-label span,
.radio-inline.icheck-label span {
    padding-left: 0 !important;
    padding-right: 70px;
}

.icheck-label {
    display: inline-flex;
    margin-bottom: 1.5rem;
}

.fv-plugins-materialize .fv-valid-row .select-wrapper .fv-plugins-icon {
    right: 1rem;
}

.input-field>i.prefix:not(.icon-after)~.fv-plugins-message-container,
.input-field>i.addon-before~.fv-plugins-message-container,
.input-field>.input-group-text.addon-before~.fv-plugins-message-container {
    padding-left: 3rem;
}

.input-field>button.addon-before~.fv-plugins-message-container {
    padding-left: 4.5rem;
}

.ladda-label {
    display: inline-flex !important;
}

.main-label {
    width: 100%;
}

.material-form .addon-after {
    right: 0.75rem;
}

.material-form .addon-before {
    left: 0.75rem;
}

.material-form .addon-before,
.addon-after {
    position: absolute !important;
    z-index: 1;
    top: 0.25rem;
}

.material-form .col>.fileinput-label {
    top: -2rem !important;
}

.material-form .has-icon-after {
    width: calc(100% - 3rem);
}

.material-form .icon-after {
    right: 0.75rem;
    text-align: right;
}

.material-form .input-field .tag-editor~label {
    top: -0.5rem !important;
    transform: translateY(-14px) scale(0.8);
    transform-origin: 0 0;
}

.material-form .input-field label.main-label {
    padding-left: 0;
}

.material-form .input-group-text.addon-before,
.material-form .input-group-text.addon-after {
    height: 36px;
    line-height: 36px;
    top: 0.5rem;
}

.material-form .prefix.icon-after:not(.icon-before)~label {
    margin-left: 0;
}

.material-form .row {
    display: block;
}

.material-form .tag-editor {
    line-height: 1.5;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #9e9e9e;
    border-radius: 0;
    outline: none;
    height: 3rem;
    width: 100%;
    font-size: 16px;
    margin: 0 0 8px;
    padding: 0;
    box-shadow: none;
    box-sizing: content-box;
    transition: box-shadow 0.3s, border 0.3s;
}

.material-form a.dropdown-item {
    color: inherit;
}

.material-form label.main-label {
    font-size: 1rem;
    display: block;
    padding: 0 0.75rem;
    position: static !important;
}

.material-form label[class*='col'] {
    font-size: 1rem;
    margin-top: 1.75rem;
    margin-bottom: 0;
}

.material-form:not(.materialize-form) .main-label~.input-field.col>.radio:first-child {
    margin-top: 0.75rem !important;
}

.materialize-form .row>label:not(.col) {
    font-size: 1rem;
    padding: 0 0.75rem;
    position: static !important;
}

.materialize-form label.main-label:not([data-has-switch="true"]) {
    margin-top: 1rem;
}

.material-form label.main-label.main-label-inline:not([data-has-switch="true"]) {
    margin-bottom: 2rem;
}

.material-form .pretty {
    margin-bottom: .85rem;
}

.material-form .pretty label {
    font-size: 1rem;
}

.pretty~.fv-plugins-icon {
    top: 0 !important;
}

.material-form .pretty [type=radio]:checked,
.material-form .pretty [type=radio]:not(:checked),
.material-form .pretty [type=checkbox]:checked,
.material-form .pretty [type=checkbox]:not(:checked) {
    pointer-events: auto !important;
}

.select2-container--material~label {
    top: -2rem !important;
}

.selectpicker~.fv-plugins-icon--valid~.dropdown-toggle:after,
.selectpicker~.fv-plugins-icon--invalid~.dropdown-toggle:after {
    display: none;
}

.material-form .input-field .prefix:not(.icon-after)~.autocomplete-content,
.material-form .input-field .prefix:not(.icon-after)~.helper-text,
.material-form .input-field .prefix:not(.icon-after)~.validate~label,
.material-form .input-field .prefix:not(.icon-after)~input,
.material-form .input-field .prefix:not(.icon-after)~label,
.material-form .input-field .prefix:not(.icon-after)~textarea,
.material-form .input-field .prefix:not(.icon-after)~.form-text {
    margin-left: 3rem !important;
    width: 92% !important;
    width: calc(100% - 3rem) !important;
}

.input-field>input:first-child~.icon-after~.form-text,
.input-field>input:first-child~.addon-after~.form-text {
    margin-left: 0rem !important;
    display: block;
}

.material-form .input-field .prefix {
    z-index: 1;
}

.material-form .icon-before~.bootstrap-select {
    padding-left: 2.5rem;
}
