.selection { position: relative; width: 100%; } .custom-select { padding: 10px; border: 1px solid $grey; cursor: pointer; position: relative; border-radius: 2px; color: $black; background-image: url("../../assets/images/arrow-down.svg"); background-repeat: no-repeat; background-position: right 10px center; background-size: 8px; padding-right: 12px; span { color: $green; } } .custom-select-container { position: absolute; width: 99.3%; border: 1px solid $grey; z-index: 10; background: white; margin-top: 2px; border-radius: 2px; max-height: 200px; overflow-y: auto; span { color: $green; } } .custom-select-container.show { display: block; } .custom-select-item { padding: 8px 12px; cursor: pointer; position: relative; font-size: 13px; color: $black; } .custom-select-item:hover { background-color: $lightGrey; } .custom-select-item.selected { background-color: $lightGrey; } .custom-select-item.selected::after { content: ""; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; background-image: url("../images/check-icon.svg"); background-repeat: no-repeat; background-position: center; background-size: contain; } .caption-type-info { padding-right: 6.5em; color: $grey; font-size: 12px; }