.teams {
    padding: 16px 20px 0 20px;
}

.teams__name {
    color: #B6B6B6;
    display: flex;
    column-gap: 8px;
}

.teamName-wrapper {
    display: flex;
    padding: 4px 0;
}

.teams__name .addIcon {
    cursor: pointer;
}

.teams__name .clearIcon,
.teams__name .recoverIcon {
    display: none;
    cursor: pointer;
}

.teams.teams--compact-view:hover .clearIcon,
.teams.teams--compact-view:hover .recoverIcon {
    display: initial;
}

.teams__content {
    margin-top: 4px;
}

.team-container {
    border-radius: 4px;
    margin: 0 -10px;
}

.teams__body {
    margin: 0 -10px;
    padding: 0 10px;
    border-radius: 4px;
}

.teams.editable.teams--compact-view .teams__body:hover,
.teams.editable:not(.teams--compact-view) .teams__body .team-container:hover,
.teams.editable .add-new-team:hover {
    background: #F5F5F5;
    cursor: pointer;
}

.team-container:hover .lock .fill {
    fill: var(--link-blue);
}

.team-container:hover .lock .stroke {
    stroke: var(--link-blue);
}

.team-container .avatarAndMembers-container .avatar {
    background-color: rgb(79, 195, 222);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    text-align: center;
}

.team-container .avatarAndMembers-container {
    width: 47px;
    position: relative;
    flex-shrink: 0;
}

.summaryCard .team-container .teamNameAndBudgetContainer.isBudget {
    vertical-align: top;
}

.team-container .avatarAndMembers-container .avatar .initials{
    height: 100%;
    width: 100%;
    text-align: center;
    padding-top: 7px;
    font-family: GlowSemibold;
    font-size: 16px;
    color: #ffffff;
    text-transform: uppercase;
}

.team-container .avatarAndMembers-container .teamMembers {
    width: 20px;
    height: 20px;
    background-color: #f4f5fc;
    border: solid 2px #ffffff;
    border-radius: 100%;
    font-family: GlowSemibold;
    font-size: 10px;
    text-align: center;
    color: #4a4a4a;
    position: absolute;
    top: 21px;
    left: 21px;
}

.teamNameAndBudgetContainer .teamName {
    display: flex;
    overflow: hidden;
    text-overflow: ellipsis;
}

.teamNameAndBudgetContainer .teamName > img:not(:first-child) {
    margin-left: 4px;
}

.teamNameAndBudgetContainer .teamName > img:first-child {
    margin-right: 4px;
}

.teamNameAndBudgetContainer .teamName .name {
    font-family: GlowRegular;
    font-size: 14px;
    color: #4a4a4a;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 0;
    flex-grow: 1;
}

.teamWrapper {
    display: flex;
    width: 100%;
    cursor: pointer;
    padding: 6px 8px;
}

.teamValue.step {
    display: block;
    width: 100%;
	color: #4a4a4a;
	padding: 4px 20px;
    cursor: pointer;
}

.teamValue.step.selected {
	color: var(--link-blue);
}

.teamValue.step:hover {
	background-color: #f6f7fe;
}

.budgetInfo > div {
    font-family: GlowRegular;
    font-size: 13px;
    color: #808080;
    word-break: break-word;
}

.budgetInfo > div > span:not(.overrun) {
    color: #8197ED;
}

.teams.stepComponent .none {
    font-family: GlowRegular;
    font-size: 14px;
    color: #808080;
    padding-left: 20px;
    padding-top: 5px;
}

.overrun {
    color: #EC4A43;
}

.team-container .lock {
    margin-top: 8px;
    padding-left: 10px;
}

.budgetInfo .overrun.warning, .budgetInfo .unplanned.warning {
    color: #FF7C10;
}

.budgetInfo .overrun, .budgetInfo .unplanned {
    margin-right: 2px;
}

.budgetInfo .planned {
    margin-right: -2px;
}

.budgetInfo .infoGrey {
    padding-bottom: 2px;
}


.teams-list {
    display:flex; 
    flex-direction:column;
}

.teams-list__title {
    padding-top: 12px;
    padding-bottom: 8px;
}

.teams-list__title h1 {
    font-family: 'GlowSemiBold';
    font-size: 14px;
    font-style: normal;
    line-height: 20px;
    margin: 0;
    color: var(--main-text-color);
    padding-left: 20px;
}

.teams-list__search {
    height: 28px; 
    margin-bottom: 4px;
}

.teams-list__input {
    width: 100%; 
    height: 100%;
    border-radius:4px; 
    outline: 0; 
    border-width: 1px;
    border-style: solid;
    border-color: #DCDCDC;
    background: #FFFFFF; 
    color: #4A4A4A;
    padding: 6px 12px;
}

.teams-list__input::placeholder {
    color: #B6B6B6;
}

.teams-list__input:focus {
    border-color: var(--link-blue);
}

.teams-list__container {
    display: flex;
}

.teams-list__option {
    padding: 4px 0;
}

.teams-list__option-text{
    flex-grow: 1;
    word-break: break-word;
}

.teams-list__option-images {
    flex-shrink: 0;
}

.teams-list__option:hover {
    background-color: #F6F7FE;
    cursor: pointer;
}

.teams-list__options-container {
    height: 100%;
}

.teams-list__no-options-found {
    display: flex;
    justify-content: center;
    padding: 4px 0;
    color: #b6b6b6;
    font-size: 13px;
}

.teams-list .cdk-virtual-scroll-viewport {
    max-height: 400px;
}

.teams .add-new-team {
    display: flex;
    margin: 2px -10px 0 -10px;
    padding: 6px 10px;
}

.teams .add-new-team__content {
    display: flex;
    column-gap: 8px;
}

.teams .add-new-team__img {
    display: flex;
    align-items: center;       
}

.teams .add-new-team__img img{
    display: block;
}

.teams .add-new-team__text {
    font-size: 13px;
    color: var(--link-blue);
}

.teamNameAndBudgetContainer {
    flex: 1 0 0;
}

.assign_to_me {
    display: none;
}

.assign_to_me--show {
    display: block;
}

.teams-list__content {
    position: relative;
}

.teams-list__content.bottom-smoke::before,
.teams-list__content.top-smoke::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 30px;
    z-index: 1;
    pointer-events: none;
}

.teams-list__content.bottom-smoke::before {
    bottom: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.001), white);
}

.teams-list__content.top-smoke::after{
    top: 0;
    background: linear-gradient(white, rgba(255, 255, 255, 0.001));
}

.budgetDistributionComponent-popup {
    width: 600px;
}

.teamName-container {
    display: flex;
    align-items: center;
    column-gap: 4px;
}

.teams .teamName-container {
    column-gap: initial;
    display: initial;
    align-items: initial;
    column-gap: initial;
    flex-grow: 1;
}

.teamNames .teamAssignmentName::after {
    content: ',';
}

.teamNames .teamAssignmentName:last-child::after {
    content: none;
}

.teamName ~ .teamName::before {
    content: ", ";
}

.teamName-content {
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;   
}

.teamName-icon {
    margin-left: 4px;
}

.teams-dropdown__container .td__search__container {
    padding: 0 20px;
}

.teams-dropdown__container .td__search__container .ui-input-search {
    width: 100%;
}

.teams-dropdown__container .td__search__container .ui-input-search-close {
    top: 25px;
    right: 30px;
    cursor: pointer;
}