﻿.assignee-dropdown {
    width: 100%;
    background: #fff;
    border-radius: 4px;
}

    .assignee-dropdown.isOnlyGroupsMode {
        width: 270px;
    }

        .assignee-dropdown.isOnlyGroupsMode .dropdown-content .section.groups-section {
            border-right: none;
            width: 270px;
        }

        .assignee-dropdown.isOnlyGroupsMode .dropdown-content {
            width: 270px;
        }
/* Input */
    .assignee-dropdown .dropdown-header {
        width: 100%;
        text-align: left;
        cursor: pointer !important;
        position: relative;
        display: inline-block;
        vertical-align: middle;
        font-size: 14px;
        font-family: GlowRegular;
        zoom: 1;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        border: solid 1px #dcdcdc;
        border-radius: 4px;
        outline: none;
        background: url('../../images/shared/downArrow.png') no-repeat;
        background-position: right 10px center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        height: 28px;
        color: #4a4a4a;
        padding-left: 10px;
        margin-top: 0px !important;
    }
        /*Remove cross icon in IE*/
        .assignee-dropdown .dropdown-header::-ms-clear {
            display: none;
        }

        .assignee-dropdown .dropdown-header.focused {
            border: solid 1px #5774e7;
            background: url('../../images/shared/upArrow-blue.png') no-repeat;
            background-position: right 10px center;
        }

        .assignee-dropdown .dropdown-header::-webkit-input-placeholder {
            font-size: 13px;
            color: #b6b6b6;
            font-family: GlowRegular;
        }

        .assignee-dropdown .dropdown-header::-moz-placeholder {
            font-size: 13px;
            color: #b6b6b6;
            font-family: GlowRegular;
        }

        .assignee-dropdown .dropdown-header:-ms-input-placeholder {
            font-size: 13px;
            color: #b6b6b6;
            font-family: GlowRegular;
        }

        .assignee-dropdown .dropdown-header:-moz-placeholder {
            font-size: 13px;
            color: #b6b6b6;
            font-family: GlowRegular;
        }

    .assignee-dropdown .dropdown-content {
        overflow-x: hidden !important;
        overflow-y: hidden;
        border-radius: 4px;
        background-color: #ffffff;
        box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);
        height: 150px;
        /*position: absolute;*/
        width: 86%;
        z-index: 1000;
    }

        .assignee-dropdown .dropdown-content .section {
            padding: 10px 0;
            width: 50%;
            height: 100%;
            display: none;
        }

            .assignee-dropdown .dropdown-content .section.shown {
                display: block;
            }

            .assignee-dropdown .dropdown-content .section.groups-section {
                border-right: 1px solid #d8d7d7;
            }

            .assignee-dropdown .dropdown-content .section.users-section {
                background-color: #fbfbfb;
            }

            .assignee-dropdown .dropdown-content .section .scrollable {
                height: 100%;
                position: relative;
            }

            .assignee-dropdown .dropdown-content .section .section-title {
                padding-left: 20px;
                font-family: GlowSemibold;
                font-size: 14px;
                color: #4a4a4a;
                margin-top: 11px;
                margin-bottom: 7px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

                .assignee-dropdown .dropdown-content .section .section-title .ui-btn-link {
                    height: 20px;
                }

                .assignee-dropdown .dropdown-content .section .section-title .selectedGroupName {
                    display: inline-block;
                    font-size: 13px;
                    color: #808080;
                    font-family: GlowRegular;
                }

                .assignee-dropdown .dropdown-content .section .section-title.all-users-title {
                    margin-top: 5px;
                    border-top: 1px solid #d8d7d7;
                    padding-top: 10px;
                }

                    .assignee-dropdown .dropdown-content .section .section-title.all-users-title.withoutUsersInGroup {
                        margin-top: 0;
                        border-top: none;
                    }

            .assignee-dropdown .dropdown-content .section .resourceRow {
                padding: 3px 0;
                display: table;
                width: 100%;
                cursor: pointer;
            }

                .assignee-dropdown .dropdown-content .section .resourceRow.specificGroup {
                    cursor: default;
                }

                .assignee-dropdown .dropdown-content .section .resourceRow.hovered,
                .assignee-dropdown .dropdown-content .section.users-section .resourceRow:hover {
                    background: #F6F7FE;
                }

                .assignee-dropdown .dropdown-content .section .resourceRow .selectedMarkContainer {
                    display: table-cell;
                    width: 20px;
                }

                    .assignee-dropdown .dropdown-content .section .resourceRow .selectedMarkContainer .selectedMarkIcon {
                        height: 100%;
                        width: 2px;
                        background-color: #5774e7;
                        display: none;
                    }

                .assignee-dropdown .dropdown-content .section .resourceRow.selected .selectedMarkContainer .selectedMarkIcon {
                    display: block;
                }

                .assignee-dropdown .dropdown-content .section .resourceRow .resourceItemNameContainer {
                    display: flex;
                    vertical-align: middle;
                    flex: 1 1 auto;
                }

                    .assignee-dropdown .dropdown-content .section .resourceRow .resourceItemNameContainer .resourceItemText {
                        position: relative;
                        font-size: 14px;
                        font-family: GlowRegular;
                        word-break: break-word;
                        color: #4a4a4a;
                        margin-right: auto;
                    }

                    .assignee-dropdown .dropdown-content .section .resourceRow .resourceItemNameContainer .resourceItemText .groupNameForSubuser {
                        position: relative;
                        font-size: 13px;
                        font-family: GlowRegular;
                        word-break: break-word;
                        color:gray;
                        margin-right: auto;
                    }

                    .assignee-dropdown .dropdown-content .section .resourceRow .resourceItemNameContainer .iconsContainer {
                        display: flex;
                        justify-content: flex-end;
                        padding-top: 2px;
                        height: 100%;
                        margin-right: 20px;
                    }

                        .assignee-dropdown .dropdown-content .section .resourceRow .resourceItemNameContainer .iconsContainer img:not(:last-child) {
                            margin-right: 1px;
                        }

                        .assignee-dropdown .dropdown-content .section .resourceRow .resourceItemNameContainer .iconsContainer img:last-child {
                            margin-right: -1px;
                        }

                    /*As Mozilla and Edge do not support break-word - override style browser specifically*/
                    @supports ((-moz-appearance:none) or (-ms-ime-align:auto)) {
                        .assignee-dropdown .dropdown-content .section .resourceRow .resourceItemNameContainer .resourceItemText {
                            word-break: break-all;
                        }
                    }

                    @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
                        .assignee-dropdown .dropdown-content .section .resourceRow .resourceItemNameContainer .resourceItemText {
                            word-break: break-all;
                        }
                    }

                .assignee-dropdown .dropdown-content .section .resourceRow.selected .resourceItemNameContainer .resourceItemText {
                    color: #5774e7;
                }

                .assignee-dropdown .dropdown-content .section .resourceRow .iconsContainer {
                    display: table-cell;
                    vertical-align: middle;
                    padding-top: 3px;
                    padding-right: 4px;
                    height: 100%;
                }

                    .assignee-dropdown .dropdown-content .section .resourceRow .iconsContainer img:not(:last-child) {
                        margin-right: 1px;
                    }

                    .assignee-dropdown .dropdown-content .section .resourceRow .iconsContainer img:last-child {
                    }

                .assignee-dropdown .dropdown-content .section .resourceRow .rightArrowContainer {
                    display: table-cell;
                    vertical-align: top;
                    width: 25px;
                }

                    .assignee-dropdown .dropdown-content .section .resourceRow .rightArrowContainer .rightArrowIcon {
                        width: 6px;
                        height: 10px;
                        background: url(/images/graphs/enter_resource_arrow_button.png);
                        margin-top: 6px;
                    }

                .assignee-dropdown .dropdown-content .section .resourceRow.hovered .rightArrowContainer .rightArrowIcon {
                    background: url(/images/graphs/enter_resource_arrow_button_hovered.png);
                }

                .assignee-dropdown .dropdown-content .section .resourceRow.isLastDefaultGroup {
                    border-bottom: solid 1px #dcdcdc;
                }

            .assignee-dropdown .dropdown-content .section .multigroupMembersContainer {
                height: 100%;
                width: 100%;
                text-align: center;
                display: table;
            }

                .assignee-dropdown .dropdown-content .section .multigroupMembersContainer .multigroupMembersInfo {
                    display: table-cell;
                    vertical-align: middle;
                }

                .assignee-dropdown .dropdown-content .section .multigroupMembersContainer .title {
                    margin-top: 20px;
                    font-family: GlowSemibold;
                    font-size: 14px;
                    color: #808080;
                }

                .assignee-dropdown .dropdown-content .section .multigroupMembersContainer .subgroupsNames {
                    font-family: GlowRegular;
                    font-size: 13px;
                    color: #b6b6b6;
                    width: 180px;
                    margin-left: 45px;
                    word-break: break-word;
                    padding-right: 52px;
                    overflow: hidden;
                }

                /*As Mozilla and Edge do not support break-word - override style browser specifically*/
                @supports ((-moz-appearance:none) or (-ms-ime-align:auto)) {
                    .assignee-dropdown .dropdown-content .section .multigroupMembersContainer .subgroupsNames {
                        word-break: break-all;
                    }
                }

                @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
                    .assignee-dropdown .dropdown-content .section .multigroupMembersContainer .subgroupsNames {
                        word-break: break-all;
                    }
                }

            .assignee-dropdown .dropdown-content .section .topBlur {
                position: absolute;
                height: 12px;
                width: 50%;
                pointer-events: none;
                /* Go from completely solid white on the top to completely transparent on the bottom */
                background-image: linear-gradient(rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 0) 100%);
                top: 10px;
            }

            .assignee-dropdown .dropdown-content .section .bottomBlur {
                position: absolute;
                height: 12px;
                width: 50%;
                pointer-events: none;
                /* Go from completely transparent on the top to completely solid white on the bottom */
                background-image: linear-gradient(rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 1) 100%);
                bottom: 10px;
            }

            .assignee-dropdown .dropdown-content .section.groups-section .topBlur {
                width: 49%;
            }

            .assignee-dropdown .dropdown-content .section.groups-section .bottomBlur {
                width: 49%;
            }

            .assignee-dropdown .dropdown-content .section.users-section .topBlur {
                /* Go from completely solid white on the top to completely transparent on the bottom */
                background-image: linear-gradient(#fbfbfb 10%, rgba(255, 255, 255, 0) 100%);
            }

            .assignee-dropdown .dropdown-content .section.users-section .bottomBlur {
                /* Go from completely transparent on the top to completely solid white on the bottom */
                background-image: linear-gradient(rgba(255, 255, 255, 0) 10%, #fbfbfb 100%);
            }

                /* Top blur */
                .assignee-dropdown .dropdown-content .section.users-section perfect-scrollbar.ps-show-active > .ps.ps--active-y > .ps-overlay:not(.ps-at-top) .ps-indicator-top {
                    background: linear-gradient(to bottom,#fbfbfb 0,rgba(255,255,255,0) 100%) !important;
                }

                /* Bottom blur */
                .assignee-dropdown .dropdown-content .section.users-section perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-bottom) .ps-indicator-bottom {
                    background: linear-gradient(to top,#fbfbfb 0,rgba(255,255,255,0) 100%) !important;
                }

        .assignee-dropdown .dropdown-content .noGroupsMessageContainer {
            font-family: GlowRegular;
            font-size: 14px;
            text-align: center;
            color: #b6b6b6;
            height: 100%;
            width: 100%;
            display: none;
        }

            .assignee-dropdown .dropdown-content .noGroupsMessageContainer.shown {
                display: table;
            }

            .assignee-dropdown .dropdown-content .noGroupsMessageContainer .noGroupsMessageText {
                display: table-cell;
                vertical-align: middle;
            }
            
            
.clear-input {
    background: url(../../images/shared/close.png);
    width: 10px;
    height: 10px;
    position: absolute;
    top: 51px;
    right: 44px;
    z-index: 999;
    cursor: pointer;
}

.clear-input:hover {
    background: url(../../images/shared/close-hovered.png);
}

.no-groups {
    text-align: center;
    color: #B6B6B6;
    padding-top: 15px;
}
