.fancy-radio > label {
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 58px;
}

.fancy-radio > input[type="radio"] {
    display: none;
}

.fancy-radio input[type="radio"] + label {
    background-image: url('../images/radiobutton_notselected.svg');
}

.fancy-radio input[type="radio"]:checked + label {
    background-image: url('../images/radiobutton_selected.svg');
}
/*Checkboxes*/
.fancy-checkbox > label {
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 50px;
    background-size: 50px;
}

.fancy-checkbox > input[type="checkbox"] {
    display: none;
}

.fancy-checkbox input[type="checkbox"] + label {
    background-image: url('../images/checkbox_unselected.svg');
}

.fancy-checkbox input[type="checkbox"]:checked + label {
    background-image: url('../images/checkbox_selected.svg');
}

.fancy-checkbox.checkbox-sm > label {
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 25px;
    background-size: 25px;
}

.fancy-checkbox.checkbox-sm > input[type="checkbox"] {
    display: none;
}

.fancy-checkbox.checkbox-sm input[type="checkbox"] + label {
    background-image: url('../images/checkbox_unselected.svg');
}

.fancy-checkbox.checkbox-sm input[type="checkbox"]:checked + label {
    background-image: url('../images/checkbox_selected.svg');
}

.fancy-checkbox.checkbox-sm.black-checkbox input[type="checkbox"] + label {
    background-image: url(../images/checkbox_unselected_black.svg);
}

.fancy-checkbox.checkbox-sm.black-checkbox.mixed-checkbox input[type="checkbox"] + label {
    background-image: url(../images/checkbox_unselected_black_mixed.svg);
}

.fancy-checkbox.checkbox-sm.black-checkbox input[type="checkbox"]:checked + label {
    background-image: url(../images/checkbox_selected_black.svg);
}

.permission-table .fancy-checkbox > input[type="checkbox"] {
    display: block;
}

.permission-table .fancy-checkbox > label{
    padding-left: 0;
}