form .field {
    margin: 6px 0 18px 0;
}

form .field-wrapper {
    position: relative;
    display: table;
    table-layout: fixed;
    width: 100%;
}

form .field-wrapper .field {
    position: relative;
    display: table-cell;
    vertical-align: top;
    padding: 0 10px 20px 0;
}

form .field-wrapper .field:last-child {
    padding-right: 0;
}

.search-filter-block .field-wrapper .filter-block {
    height: 100%;
}

.search-filter-block field-wrapper .filter-block-content {
    height: 100%;
}

form .field label > span > i {
    font-style: normal;
    color: red;
    margin-left: 1px;
}

[data-type='validator-error'] {
    font-size: 11px;
    position: absolute;
    z-index: 10;
    margin-top: 2px;
    color: #ffffff;
    background: rgb(200, 53, 53);
    box-shadow: 0 8px 9px -2px rgba(187, 74, 74, 0.51);
    padding: 4px;
    opacity: .8;
    pointer-events: none;
}

[data-type='validator-error']:before {
    content: '';
    width: 0;
    height: 0;
    top: -5px;
    position: absolute;
    left: 6px;
    border-left: 5px solid rgba(0, 0, 0, 0);
    border-right: 5px solid rgba(0, 0, 0, 0);
    border-bottom: 5px solid #d35d5d;
}

select {
    opacity: 0;
}

select:hover {
    cursor: pointer;
}

select:focus {
    outline: none;
}

.select-box {
    font-size: 14px;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding: 0;
    color: #1b1b1b;
    border: 1px solid #a8a8a8;
    border-top-color: #cac9c9;
    border-bottom-color: #4d4d4d;
    border-radius: 3px;
    background-color: #fff;
    box-shadow: inset 0 -10px 18px -10px #c2bebe;
}

.select-box select {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    padding: 5px 30px 5px 8px;
    border: none;
    background: rgba(255, 36, 36, 0);
    background-image: none;
    box-shadow: none;
    opacity: 1;
    appearance: none;
}

.select-box select[disabled] {
    cursor: default;
    background-color: #e8e8e8;
}

.select-box.multiple select {
    height: 146px;
}

.select-box:after {
    font-family: FontAwesome;
    font-size: 16px;
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    padding: 2px 8px;
    content: '\f078';
    color: #000;
}

.select-box select:focus {
    outline: none;
}

.select-box.multiple:after {
    display: none;
}

.select-box.disabled:before {
    color: #c7c7c7;
}

form input[type='text'], form input[type='password'], form textarea, .select-box {
    font-weight: 400;
    cursor: auto;
    text-align: left;
    color: #1b1b1b;
    background: #fff;
    text-shadow: none;
    margin: 4px 0;
    font-size: 14px;
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #642382;
    border-radius: 10px;
    outline: none;
    resize: none;
}

form input[type='text']:focus, form input[type='password']:focus, form textarea:focus {
    box-shadow: 0 2px 6px -1px rgba(103, 58, 183, 0.51);
}

form input[type='text'][disabled], form input[type='password'][disabled], form textarea[disabled] {
    background-color: #e8e8e8;
}

[type='checkbox']:not(:checked), [type='checkbox']:checked {
    position: absolute;
    opacity: 0;
}

[type='checkbox']:not(:checked) + label, [type='checkbox']:checked + label {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
}



[type='checkbox']:not(:checked) + label:before, [type='checkbox']:checked + label:before {
    font-family: 'Material Icons';
    font-size: 18px;
    position: absolute;
    top: 0px;
    left: -1px;
    content: 'check_box';
    color: #642382;
    transition: all .2s;
}

[type='checkbox']:not(:checked) + label:before {
    content: 'check_box_outline_blank';
    color: inherit;
}


[type='checkbox']:disabled:not(:checked) + label:before, 
[type='checkbox']:disabled:checked + label:before {
    color: #9a9a9a;
}

[type='checkbox']:disabled + label {
    color: #9a9a9a;
}

[type='radio']:not(:checked), [type='radio']:checked {
    position: absolute;
    opacity: 0;
}

[type='radio']:not(:checked) + label, [type='radio']:checked + label {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
}



[type='radio']:not(:checked) + label:before, [type='radio']:checked + label:before {
    font-family: 'Material Icons';
    font-size: 18px;
    position: absolute;
    top: 0;
    left: -1px;
    content: 'radio_button_checked';
    color: #642382;
    transition: all .2s;
}

[type='radio']:not(:checked) + label:before {
    content: 'radio_button_unchecked';
    color: inherit;
}


[type='radio']:disabled:not(:checked) + label:before, 
[type='radio']:disabled:checked + label:before {
    color: #9a9a9a;
}

[type='radio']:disabled + label {
    color: #9a9a9a;
}

.file-input-wrapper {
    line-height: 1;
    position: relative;
    overflow: hidden;
    width: 200px;
    margin-bottom: 20px;
    text-align: center;
}

input[type='file'] {
    font-size: 200px;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    opacity: 0;
}

.file-input-fake-button {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

input[type='submit'], input[type='reset'], button, a.button {
    font-size: 14px;
    box-sizing: border-box;
    border: 0;
    outline: none;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    background: #642382;
    color: #FFF;
    border: 1px solid #642382;
    padding: 14px 18px;
    display: inline-block;
    border-radius: 36px;
    box-shadow: 0 5px 16px -2px rgb(199, 199, 199);
    transition: all 240ms ease-out;
    text-align: center;
}

input[type='submit']:hover, input[type='reset']:hover, button:hover, a.button:hover {
    background: #551e73;
    color: #FFF;
}

input[type='submit']:active, input[type='reset']:active, button:active, a.button:active {
    background: #551e73;
    box-shadow: inset 0 3px 3px rgba(0, 0, 0, 0.41), rgba(0, 0, 0, 0.12) 0px 1px 6px, rgba(0, 0, 0, 0.12) 0px 1px 4px;
}

input[type='submit'][disabled], input[type='reset'][disabled], button[disabled], a.button[disabled], button[disabled]:hover, a.button[disabled]:hover, button[disabled]:active, a.button[disabled]:active button[disabled]:visited, a.button[disabled]:visited {
    cursor: not-allowed;
    background: #9c9c9c;
    color: #cbcbcb;
}

input[type='text'], input[type='password'], textarea {
    box-sizing: border-box;
    width: 100%;
    margin: 5px 0;
    padding: 9px 5px;
    resize: none;
    color: #1d1d1d;
    border: 1px solid #a2a2a2;
    transition: 300ms ease-out;
    border-radius: 1px;
    background: #ffffff;
}
