﻿.ks-cboxtags label {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(139, 139, 139, 0.3);
    color: #adadad;
    border-radius: 1rem;
    white-space: nowrap;
    margin: 3px 0px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.2s;
}

.ks-cboxtags label {
    padding: 6px 2rem;
    cursor: pointer;
}

    .ks-cboxtags label::before {
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 12px;
        padding: 2px 6px 2px 2px;
        content: "\f067";
        transition: transform 0.3s ease-in-out;
    }

.ks-cboxtags input[type="checkbox"]:checked + label::before {
    content: "\f00c";
    transform: rotate(-360deg);
    transition: transform 0.3s ease-in-out;
}

.ks-cboxtags input[type="checkbox"]:checked + label {
    border: 2px solid #ff2970;
    background-color: #e91e63;
    color: #fff;
    transition: all 0.2s;
}

.ks-cboxtags input[type="checkbox"] {
    display: absolute;
}

.ks-cboxtags input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

    .ks-cboxtags input[type="checkbox"]:focus + label {
        border: 2px solid #e9a1ff;
    }
