.list-group { padding: 0; .list-group-item { border: 0; } .form-check { padding-right: 1.25rem; padding-left: 0; } .form-check-input { margin-right: -1.25rem; margin-left: 0; visibility: hidden; -moz-appearance: initial; -webkit-appearance: initial; -o-appearance: initial; &::before { content: ''; background: url("../../common/img/unchecked.svg"); background-position: center center; background-size: contain; position: absolute; right: -5px; top: -5px; width: 1.5em; height: 1.5em; visibility: visible; } &:checked::before { background: url("../../common/img/checked.svg"); } } //img { // position: absolute; // width: 1.2em; // right: 0; // top: 0; // bottom: 0; // margin: auto; //} .checked { visibility: hidden; z-index: 1; } }