/* attributehelp - front.css */
.attributehelp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    margin-top: -2px;
    border-radius: 50%;
    background-color: #7a7a7a;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    cursor: help;
    position: relative;
    vertical-align: middle;
}

.attributehelp-icon:hover,
.attributehelp-icon:focus {
    background-color: #333;
    outline: none;
}

.attributehelp-icon:hover:after,
.attributehelp-icon:focus:after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: #2c2c2c;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: normal;
    white-space: normal;
    width: max-content;
    max-width: 220px;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

.attributehelp-icon:hover:before,
.attributehelp-icon:focus:before {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #2c2c2c;
    z-index: 100;
}
