.mapToolbox {
    position: absolute;
    transform: translateX(-50%);
    height: 62px;

    bottom: 10%;
    left: 50%;

    z-index: 1;

    display: flex;
    background-color: #fff;
    border-radius: 0 15px 15px 0;
}

.mapToolbox__button {
    cursor: pointer;
    border: 0;
    background-color: transparent;
    width: 62px;
    background-repeat: no-repeat;
    background-position: center;

    position: relative;

    /* height: 62px; */
}

.mapToolbox__item.mapToolbox__button_active:last-child {
    border-radius: 0;
}
.mapToolbox__item.mapToolbox__button_active:first-child {
    border-radius: 15px 15px 0 0;
}

.mapToolbox__button_active:last-child {
    border-radius: 0 15px 15px 0;
}

.mapToolbox__button_active {
    background-color: #5f5f5f;
}

.mapToolbox__button_measure {
    background-image: url("../../images/measure_mode_logo.svg");
}
.mapToolbox__button_area {
    background-image: url("../../images/area_icon.svg");
    background-size: 30px;
}

.mapToolbox__button_line {
    background-image: url("../../images/line_icon.svg");
    background-size: 30px;
}

.mapToolbox__button_table {
    background-image: url("../../images/table_icon.svg");
    background-size: 50px;
}
.mapToolbox__button_active.mapToolbox__button_table {
    background-image: url("../../images/table_icon_black.svg");
}

.mapToolbox__button_add {
    background-image: url("../../images/add_point_logo.svg");
}

.mapToolbox__button_geolocation {
    background-image: url("../../images/geolocation_mode_logo.svg");
}

.mapToolbox__button_active.mapToolbox__button_area {
    background-image: url("../../images/area_icon_black.svg");
}

.mapToolbox__button_active.mapToolbox__button_line {
    background-image: url("../../images/line_icon_black.svg");
}

.mapToolbox__button_active.mapToolbox__button_measure {
    background-image: url("../../images/measure_mode_logo_black.svg");
}

.mapToolbox__button_active.mapToolbox__button_add {
    background-image: url("../../images/add_point_logo_black.svg");
}

.mapToolbox__button_active.mapToolbox__button_geolocation {
    background-image: url("../../images/geolocation_mode_logo_black.svg");
}

.mapToolbox__dropdown {
    display: none;
    flex-direction: column;
    width: 62px;
    position: absolute;
    top: 0;
    left: 0;

    transform: translateY(-100%);

    background-color: #fff;

    border-radius: 15px 15px 0 0;
}

.mapToolbox__button:hover > .mapToolbox__dropdown {
    display: flex;
}

.mapToolbox__item {
    height: 62px;
}
