:host {
    display: flex;

    &.external-trigerred-menu {
        width: 0;
        height: 0;
    }
}

.sc-menu {
    display: inline-block;

    &--container {
        overflow: auto;
        height: 100%;
        
        &__searchable {
            height: calc(100% - 40.58px);
        }
    }

    &--search {
        padding: 0;
        margin-top: calc(-8px - 0.75em);
        margin-bottom: calc(-1 * (1.3625em - 8px));
        // border-bottom: 1px solid;
    }

    &__item {
        &-empty {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            display: block;
            line-height: 48px;
            height: 48px;
            padding: 0 16px;
            text-align: left;
            text-decoration: none;
            max-width: 100%;
            position: relative;
        }
    }
}

.hidden-sc-menu-trigger {
    height: 0;
    width: 0;
    visibility: hidden;
    overflow: hidden;
}

::ng-deep{

    .sc-menu--panel {
        .mat-menu-content {
            height: 100%;
            overflow: hidden;
        }
    }

    .sc-menu .mat-menu-content {
        padding-top: 0px;
    }
    
    .sc-menu--search input {
        padding: 0 16px;
    }
}