.toolbar-container {
    display: flex;
    position: relative;
    height: 100%;
    /* width: 74px; */
    width: 64px;
    padding: 0;
    margin: 0;
    /* transform: translateX(-60px); */

    border-right: 1px solid #4F4F4F;
    background: #333333;
    box-sizing: border-box;    
}

.toolbar-field {
    width: 60px;
    background: #333333;
    padding: 14px 15px;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.toolbar-field-part {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toolbar-button-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toolbar-button-container-border-line {
    width: 100%;
    height: 1px;
    background-color: #4F4F4F;
}

.toolbar-open-button {
    z-index: 0;
    position: absolute;
    top: calc((100% - 128px) / 2);
    left: calc(100% - 4px);
    
    display: flex;
    justify-content: center;
    align-items: center;

    width: 24px;
    height: 128px;
    border: none;
    background: url('openToolbarBackIcon.svg') 50% 50% no-repeat;
    background-size: 100% 100%;

    cursor: pointer;
}

.toolbar-open-button-icon {
    width: 24px;
    height: 24px;
    background: url('pointerIcon.svg') 50% 50% no-repeat;
    background-size: 24px 24px;
}

.toolbar-container.opened .toolbar-open-button-icon {
    background: url('closeToolbarIcon.svg') 50% 50% no-repeat;
}

.toolbar-button-area-container {
    position: relative;
}

.toolbar-button-area {
    position: relative;
    display: flex;
    /* background-color: #333333; */
    /* border-top-left-radius: 50px solid #4f4f4f; */
}

.toolbar-button-area.hidden {
    visibility: hidden;
}

.toolbar-button {
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50px;
    background-size: 100% 100%;
    background-color: #4F4F4F;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 1;
    display: flex;
    gap: 10px;
    align-items: center;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
}



.toolbar-button:hover {
    opacity: .7;    
}

.toolbar-open-add-button-container {
    visibility: hidden;
    position: absolute;
    left: -8px;
    top: -9px;
    display: flex;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 50px;
    background: #333333;
    border: 1px solid #4F4F4F;
    gap: 8px;
}

.toolbar-open-add-button-container.show {
    visibility: visible;
}

.toolbar-button-add-buttons {
    background-color: #333333;
    position: absolute;    
    top: 0;
    left: 100%;
    display: flex;
}

.toolbar-button-description-container {
    margin-left: 2px;
    opacity: 0;
    position: absolute;
    left: 100%;
    height: 24px;
    top: calc(50% - 12px);
    /* background-color: #27AE60; */
    transition: .3s;
    pointer-events: none;
    display: flex;
    align-items: center;
    /* width: auto; */
    box-sizing: content-box;
}

.toolbar-button-area:hover .toolbar-button-description-container {
    opacity: 1;
    transition: .3s;
}

.toolbar-button-description-rectangle {
    /* display: inline-block; */
    white-space: nowrap;
    /* flex-shrink: 0; */
    background-color: #333333;
    height: 24px;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    border: 1px solid #4F4F4F;
    border-left: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px 0 8px;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
}

.toolbar-button-description-triangle {
    display: flex;
    width: 18px;
    height: 26px;
    background-color: #EB5757;
    background: url('icons/newCaptTriangleIcon.svg');
}

.toolbar-button.notification::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50px;
    background-color: #F2994A;
}

.toolbar-button.fullscreen.on {
    background: url('./icons/openFullscreenIcon.svg') 50% 50% no-repeat;
    background-color: #4F4F4F;
}

.toolbar-button.fullscreen {
    background: url('./icons/closeFullscreenIcon.svg') 50% 50% no-repeat;
    background-color: #4F4F4F;
}

.toolbar-button.user {
    background: url('icons/userIcon.svg') 50% 50% no-repeat;
}

.toolbar-button.admin {
    background-color: #2F80ED;
}

.toolbar-button.self {
    background-color: #27AE60;
}

.toolbar-button.guest {
    background-color: #9B51E0;
}

.toolbar-button.users {
    background: url('./icons/usersIcon.svg') 50% 50% no-repeat;
    background-color: #4F4F4F;
}

.toolbar-button.micro {
    background: url('./icons/microOffIcon.svg') 50% 50% no-repeat;
    background-color: #4F4F4F;
}

.toolbar-button.micro.on {
    background: url('./icons/microOnIcon.svg') 50% 50% no-repeat;
    background-color: #4F4F4F;
}

.toolbar-button.control {
    background: url('./icons/constrolOffIcon.svg') 50% 50% no-repeat;
    background-color: #4F4F4F;
}

.toolbar-button.control.on {
    background: url('./icons/constrolOnIcon.svg') 50% 50% no-repeat;
    background-color: #4F4F4F;
}

.toolbar-button.other {
    background: url('./icons/othertIcon.svg') 50% 50% no-repeat;
    background-color: #4F4F4F;    
}

.toolbar-button.sound {
    background: url('./icons/soundOffIcon.svg') 50% 50% no-repeat;
    background-color: #4F4F4F;
}

.toolbar-button.sound.on {
    background: url('./icons/soundOnIcon.svg') 50% 50% no-repeat;
    background-color: #4F4F4F;
}

.toolbar-button.exit {
    background: url('./icons/exitIcon.svg') 50% 50% no-repeat;
    background-color: #EB5757;
}

.toolbar-button.copy {
    background: url('./icons/copyIcon.svg') 50% 50% no-repeat;
    background-color: #4F4F4F;
}

.toolbar-button.share {
    background: url('./icons/shareIcon.svg') 50% 50% no-repeat;
    background-color: #4F4F4F;
}

.toolbar-button.language {
    background-color: #4F4F4F;
}

.toolbar-button.language.ru {
    background: url('./icons/ruIcon.svg') 50% 50% no-repeat;
    background-color: #4F4F4F;
}

.toolbar-button.language.en {
    background: url('./icons/enIcon.svg') 50% 50% no-repeat;
    background-color: #4F4F4F;
}

.toolbar-button.selected.selected {
    background-color: #CE56C2;
}

.toolbar-button.large,
.toolbar-button.control.large {
    width: 196px;    
    background-image: none;
}

.toolbar-button.medium {
    width: 94px;
    background-image: none;
}

.toolbar-button-large-view,
.toolbar-button-medium-view {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
}

.toolbar-button.large.control .toolbar-button-large-view-icon {
    width: 24px;
    height: 24px;
    background: url('icons/constrolOffIcon.svg') 50% 50% no-repeat;
    background-size: 100% 100%;
}

.toolbar-button.large.control.on .toolbar-button-large-view-icon {
    width: 24px;
    height: 24px;
    background: url('icons/constrolOnIcon.svg') 50% 50% no-repeat;
    background-size: 100% 100%;
}

.toolbar-button-large-view-title,
.toolbar-button-medium-view-title {
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #FFFFFF;
}

.toolbar-button.yes {
    padding-left: 24.5px;
}

.toolbar-button.yes .toolbar-button-medium-view {
    width: 100%;
    justify-content: flex-start;
}

.toolbar-button.no {
    padding-left: 16px;
}

.toolbar-button.no .toolbar-button-medium-view {
    width: 100%;
    justify-content: flex-start;
}

.toolbar-button.yes .toolbar-button-medium-view-icon {
    width: 24px;
    height: 24px;
    background: url('icons/constrolOnIcon.svg') 50% 50% no-repeat;
    background-size: 100% 100%;
}

.toolbar-button.yes {
    background-color: #219653;
}

.toolbar-button.yes:hover {
    opacity: 1;
    background-color: #2AC06A;
}

.toolbar-button.no .toolbar-button-medium-view-icon {
    width: 24px;
    height: 24px;
    background: url('icons/constrolOffIcon.svg') 50% 50% no-repeat;
    background-size: 100% 100%;
}

.toolbar-button.no {
    background-color: #EB5757;
}

.toolbar-button.no:hover {
    opacity: 1;
    background-color: #F08484;
}

.control-button {
    box-sizing: border-box;
    display: flex;
    width: 196px;
    height: 40px;
    border-radius: 50px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background: #4F4F4F;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    cursor: pointer;
    user-select: none;
}

.control-button.waiting {
    background: #F2994A;
}

.control-button:hover {
    opacity: .7;
}


.control-button-icon {
    width: 24px;
    height: 24px;
}













.show-toolbar-enter {
    transform: translateX(-60px);
}

.show-toolbar-enter-done {
    transform: translateX(0px);
}

.show-toolbar-enter-active {
    transform: translateX(0px);
    transition: .3s;
}

.show-toolbar-exit {
    transform: translateX(0);
}

.show-toolbar-exit-active {
    transform: translateX(-60px);
    transition: .3s;
}

.show-toolbar-exit-done {
    transform: translateX(-60px);
}

@media screen and (max-height: 700px) {
    .toolbar-field {
        padding: 20px 14px;
    }

    .toolbar-button {
        width: 44px;
        height: 44px;
    }

    .toolbar-button:hover {
        opacity: 1;
    }

    .toolbar-button:active {
        opacity: .7;
    }

    .control-button {
        height: 44px;
    }
}