.dhx_diagram_template_b {
    position: relative;
    width: 100%;
    height: 100%;
    border: var(--dhx-border);
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;

    font-family: var(--dhx-font-family);
    font-weight: var(--dhx-font-weight-medium);
    font-size: var(--dhx-font-size-normal);
    color: var(--dhx-font-color-contrast);
}
.dhx_diagram_template_b__lable {
    position: absolute;
    left: -4px;
    top: -4px;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 2px;
    background: var(--dhx-color-danger);
}
.dhx_diagram_template_b__cover {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(32, 161, 241, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
}
.dhx_diagram_template_b__cover--visibility {
    display: none;
}
.dhx_diagram_item--selected .dhx_diagram_template_b__cover--visibility {
    display: flex;
}
.dhx_diagram_item--selected .dhx_diagram_template_b {
    cursor: default;
}
.dhx_diagram_template_b__info {
    display: flex;
}
.dhx_diagram_template_b__item {
    margin: 4px 6px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: normal;
}
.dhx_diagram_template_b__value, .dhx_diagram_template_b__title {
    margin-left: 4px;
    line-height: var(--dhx-line-height-large);
}
.dhx_diagram_template_b__control {
    display: flex;
    position: absolute;
    right: -10px;
    bottom: 0;
    transform: translate(0, 25%);
}
.dhx_diagram_template_b__button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--dhx-background-primary);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1), 0px 2px 16px rgba(0, 0, 0, 0.12);
    margin: 0 4px;
}
.dhx_diagram_template_b__icon {
    color: #0094EF;
    font-size: 20px;
}
.dhx_diagram_template_b__button:hover .dhx_diagram_template_b__icon,
.dhx_diagram_template_b__button:active .dhx_diagram_template_b__icon {
    color: #3db5ff;
}
.dhx_diagram_template_b__link {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}