﻿.aa-athacs-cmp-groupselection {
    outline: none;
}

.aa-athacs-cmp-groupselection .form-control.focus {
    background-color: rgb(255, 255, 255);
    border-color: rgb(86, 209, 209);
    box-shadow: rgb(36 132 132 / 25%) 0px 0px 0px 0.2rem;
    color: rgb(73, 80, 87);
    outline: 0px;
}

.aa-athacs-cmp-groupselection .root-group {
    background: white;
    border: solid 1px rgb(206, 212, 218);
    border-radius: 0.25rem;
    max-height: 400px;
    min-width: 100%;
    overflow-y: auto;
    padding: 0;
    position: absolute;
    user-select: none;
    white-space: nowrap;
    z-index: 10;
}

.aa-athacs-cmp-groupselection .root-group.group > ul {
    padding-left: 0;
}

.aa-athacs-cmp-groupselection .group ul {
    padding-left: 0.75rem;
}

.aa-athacs-cmp-groupselection ul {
    margin-bottom: 0;
}

.aa-athacs-cmp-groupselection ul,
.aa-athacs-cmp-groupselection li {
    list-style: none;
}

.aa-athacs-cmp-groupselection li div.active {
    background-color: #555;
    color: white;
}

.aa-athacs-cmp-groupselection .group li > .group-item {
    align-items: stretch;
    display: flex;
    min-height: 2.25rem;
    padding-left: 0.25rem;
}

.aa-athacs-cmp-groupselection .group li > .group-item > .group-opener::before {
    color: hsl(180, 58%, 33%);
    font-family: "Font Awesome 5 Free";
    font-size: 1.5rem;
    font-weight: 900;
    margin-right: 0.25rem;
}

.aa-athacs-cmp-groupselection
    .group
    li
    > .group-item
    > .group-opener.hide::before {
    visibility: hidden;
}

.aa-athacs-cmp-groupselection
    .group
    li
    > .group-item
    > .group-opener.opened::before {
    content: "\f0d7";
    cursor: pointer;
}

.aa-athacs-cmp-groupselection
    .group
    li
    > .group-item
    > .group-opener.closed::before {
    content: "\f0da";
    cursor: pointer;
    padding-left: 0.18rem;
    padding-right: 0.19rem;
}

.aa-athacs-cmp-groupselection .group li > .group-item > .group-label {
    align-items: center;
    cursor: pointer;
    display: flex;
    flex-grow: 1;
    flex-direction: row;
    margin-left: 0.25rem;
}

.aa-athacs-cmp-userselection1 .selected-users ul,
.aa-athacs-cmp-userselection1 .selected-users li,
.aa-athacs-cmp-userselection1 .selection-users ul,
.aa-athacs-cmp-userselection1 .selection-users li,
.aa-athacs-cmp-userselection2 .selected-users ul,
.aa-athacs-cmp-userselection2 .selected-users li,
.aa-athacs-cmp-userselection2 .selection-users ul,
.aa-athacs-cmp-userselection2 .selection-users li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.aa-athacs-cmp-userselection1:not(.readonly) .selected-users li:hover,
.aa-athacs-cmp-userselection1 .selection-users li:hover,
.aa-athacs-cmp-userselection2:not(.readonly) .selected-users li:hover,
.aa-athacs-cmp-userselection2 .selection-users li:hover {
    background-color: #555;
    color: white;
    cursor: pointer;
}

.aa-athacs-cmp-userselection1:not(.readonly) .selected-users li:hover > div > div,
.aa-athacs-cmp-userselection1 .selection-users li:hover > div > div,
.aa-athacs-cmp-userselection2:not(.readonly) .selected-users li:hover > div > div,
.aa-athacs-cmp-userselection2 .selection-users li:hover > div > div {
    color: white;
}

.aa-athacs-cmp-userselection1 input[type="checkbox"],
.aa-athacs-cmp-userselection2 input[type="checkbox"] {
        display: none;
}

.aa-athacs-cmp-userselection1:not(.readonly) .selected-users-header,
.aa-athacs-cmp-userselection1 .selection-users-header,
.aa-athacs-cmp-userselection2:not(.readonly) .selected-users-header,
.aa-athacs-cmp-userselection2 .selection-users-header {
    height: 75px;
}

.aa-athacs-cmp-userselection1 .selected-users-header,
.aa-athacs-cmp-userselection1 .selection-users-header,
.aa-athacs-cmp-userselection2 .selected-users-header,
.aa-athacs-cmp-userselection2 .selection-users-header {
    margin-bottom: 1rem;
}

.aa-athacs-cmp-userselection1:not(.readonly) .selected-users li > div,
.aa-athacs-cmp-userselection1 .selection-users li > div,
.aa-athacs-cmp-userselection2:not(.readonly) .selected-users li > div,
.aa-athacs-cmp-userselection2 .selection-users li > div {
    cursor: pointer;
}

.aa-athacs-cmp-userselection1 .selected-users li > div,
.aa-athacs-cmp-userselection1 .selection-users li > div,
.aa-athacs-cmp-userselection2 .selected-users li > div,
.aa-athacs-cmp-userselection2 .selection-users li > div {
    align-items: center;
    margin-left: 0.5rem;
    padding-bottom: 0.25rem;
    padding-right: 10px;
    padding-top: 0.25rem;
    position: relative;
}

.aa-athacs-cmp-userselection1 .selected-users li > div {
    padding-left: 0;
}

.aa-athacs-cmp-userselection1 .selection-users li > div,
.aa-athacs-cmp-userselection2 .selection-users li > div,
.aa-athacs-cmp-userselection2 .selected-users li > div {
    padding-left: 25px;
}

.aa-athacs-cmp-userselection1 .selection-users,
.aa-athacs-cmp-userselection1 .selected-users,
.aa-athacs-cmp-userselection2 .selection-users,
.aa-athacs-cmp-userselection2 .selected-users {
    border: solid 1px rgb(206, 212, 218);
    border-radius: 0.25rem;
    height: 300px;
    overflow-y: auto;
}

.aa-athacs-cmp-userselection1.readonly .selected-users,
.aa-athacs-cmp-userselection2.readonly .selected-users {
    background: #e9ecef;
}

.aa-athacs-cmp-userselection1 .selection-users input[type="checkbox"] + div::before,
.aa-athacs-cmp-userselection2 .selection-users input[type="checkbox"] + div::before,
.aa-athacs-cmp-userselection2 .selected-users input[type="checkbox"] + div::before {
    border: 1px solid hsl(180, 58%, 33%);
    border-radius: 50%;
    box-sizing: border-box;
    content: "";
    display: block;
    height: 20px;
    left: 0;
    margin-top: 0;
    position: absolute;
    top: 5px;
    width: 20px;
}

.aa-athacs-cmp-userselection1 .selection-users input[type="checkbox"]:checked + div::before,
.aa-athacs-cmp-userselection2 .selection-users input[type="checkbox"]:checked + div::before,
.aa-athacs-cmp-userselection2 .selected-users input[type="checkbox"]:checked + div::before {
    background-color: hsl(180, 58%, 33%);
    border: 1px solid hsl(180, 58%, 33%);
    border-radius: 50%;
    box-sizing: border-box;
    content: "";
    display: block;
    height: 20px;
    left: 0;
    margin-top: 0;
    position: absolute;
    top: 5px;
    width: 20px;
}

.aa-athacs-cmp-userselection1 .selection-users input[type="checkbox"]:checked + div::after,
.aa-athacs-cmp-userselection2 .selection-users input[type="checkbox"]:checked + div::after,
.aa-athacs-cmp-userselection2 .selected-users input[type="checkbox"]:checked + div::after {
    border-bottom: 3px solid white;
    border-left: 3px solid white;
    box-sizing: border-box;
    content: "";
    display: block;
    height: 8px;
    left: 5px;
    margin-top: 0;
    position: absolute;
    top: 9px;
    transform: rotate(-45deg);
    width: 11px;
}

.aa-athacs-cmp-userselection1 .search-button,
.aa-athacs-cmp-userselection2 .search-button {
    color: hsl(180, 58%, 33%);
    position: absolute;
    right: 23px;
    top: 19px;
    transform: translateY(-50%);
}

.aa-athacs-cmp-userselection2 .add-button::before {
    content: "\f100";
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    margin-right: 0.4rem;
}

.aa-athacs-cmp-userselection2 .remove-button::after {
    content: "\f101";
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    margin-left: 0.4rem;
}

@media (max-width: 767.98px) {
    .aa-athacs-cmp-userselection1:not(.readonly) .selected-users-header {
        height: auto;
        margin-top: 1rem;
    }

    .aa-athacs-cmp-userselection2 .add-button::before {
        content: "\f103";
    }

    .aa-athacs-cmp-userselection2 .remove-button::after {
        content: "\f102";
    }
}

@media (max-width: 991.98px) {
    .aa-athacs-cmp-userselection2:not(.readonly) .selected-users-header {
        height: auto;
    }

    .aa-athacs-cmp-userselection2 .add-button::before {
        content: "\f103";
    }

    .aa-athacs-cmp-userselection2 .remove-button::after {
        content: "\f102";
    }
}
