* {
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 300;
}

/* ====== Левое меню ====== */
.funnelMenu {
    position: fixed;
    top: 81px;
    left: 0;
    z-index: 101;
    display: block;
    width: 280px;
    height: calc(100vh - 180px);
    transform: translateX(-120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .25s ease, opacity .2s ease, visibility 0s linear .25s;
    will-change: transform;
    background: transparent;
}
body nav.funnelMenu.fixed {
    position: fixed;
    top: 81px;
    left: 0;
    right: auto;
    z-index: 100 !important;
    display: block;
    width: 290px;
    height: calc(100vh - 80px);
    padding-right: 20px;
    opacity: 1;
    visibility: visible;
    background: #fff;
    border-right: 1px solid #ddd;
    transform: none;
    will-change: unset;
    pointer-events: unset;
    overflow-x: visible !important;
}
nav.funnelMenu.fixed * {
    position: relative;
    z-index: 300;
}
.funnelMenu.menu-shown {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform .25s ease, opacity .2s ease, visibility 0s;
    z-index: 201;
}

/* Кнопки скрытия/открытия (для Show hint тоже) */
.buttons .button.hidden{ display:none !important; }

.funnelMenu .leftMenu.headerLine {
    display: block;
    width: calc(100% - 40px);
    height: 20px;
    margin: 0;
    padding: 15px 20px 0 20px;
}

.funnelMenu .leftMenu.headerLine h3 {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 300;
    color: #666;
    text-align: left;
}

.funnelMenu .funnel {
    margin: 10px 0;
    padding: 0 20px;
    list-style: none;
    overflow-x: visible;
}

.funnelMenu .funnel li {
    position: relative;
    z-index: 10;
    display: block;
    width: 100%;
    height: 30px;
    overflow: visible;
}

.funnelMenu .funnel li button,
.funnelMenu .funnel li a {
    margin: 0 0 8px 0;
    padding: 0;
    background: none;
    border: none;
    color: #111;
    font-size: 15px;
    font-weight: 400;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.funnelMenu .funnel li button.active,
.funnelMenu .funnel li button:hover,
.funnelMenu .funnel li button:target,
.buttons .hideMenu.bottomButton:hover,
.buttons .hideMenu.bottomButton:target,
.funnelMenu .funnel li a:hover,
.funnelMenu .funnel li a:target {
    color: #3399CC;
}

/* ====== Скрытые элементы ====== */
.openMenu.hidden,
.button.bottomButton.hidden {
    display: none;
}

/* ====== Подсказки (общие правила) ====== */
/* по умолчанию скрыты */
.funnelMenu .funnel li .hint {
    display: none;
}

/* показываем любую подсказку, когда есть .visible */
.funnelMenu .funnel li .hint.visible {
    --hint-bg: rgba(220,236,220,0.5);     /* цвет фона подсказки */
    --arrow-w: 10px;        /* длина носика */
    --arrow-h: 8px;         /* половина высоты стрелки */
    position: relative;
    display: block;
    width: 280px;
    padding: 10px 12px;
    background: var(--hint-bg);
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5em;
    border-radius: 8px;
    top: -60px;             /* подстройте, если нужно */
    left: 160px;            /* подстройте, если нужно */
    pointer-events: none;   /* чтобы подсказка не блокировала ховер по другим кнопкам */
}

/* стрелка с вершиной влево для любой подсказки */
.funnelMenu .funnel li .hint.visible::before {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(var(--arrow-w) * -1);
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: var(--arrow-h) solid transparent;
    border-bottom: var(--arrow-h) solid transparent;
    border-right: var(--arrow-w) solid var(--hint-bg);
    pointer-events: none;
}

/* ====== Кнопки управления ====== */
.buttons .button {
    display: inline-block;
    padding: 5px 0;
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 300;
    text-align: center;
}

.buttons .hideMenu.bottomButton {
    width: fit-content;
    margin: 0 20px;
    padding: 5px 0;
    text-align: left;
}

.buttons .showHint {
    float: right;
    text-align: right;
}

.buttons .showHint.active {
    color: #3399CC;
    text-decoration: none;
}

#getConsultation.hint.visible,
#pricingPlan.hint.visible,
#completeRegistration.hint.visible,
#registerApp.hint.visible,
#completeRegistration.hint.visible,
#loginToAccount.hint.visible,
#fullDocumentation.hint.visible,
#apiKey.hint.visible,
#apiPayment.hint.visible {
    top: -50px;
    left: 140px;
}
.buttons .button.button.showHint {
    padding: 3px 0 0 0;
}
.buttons .button.button.showHint:before {
    content: "";
    position: relative;
    top: 1px;
    left: -5px;    
    display: inline-block;
    width: 16px;
    height: 16px;
    border: none;
    //background-image: url('https://smartindexes.com/knowledge-base/img/hint-sprite.svg');
    //background-size: auto 16px;
    //background-position: 0px 2px;
    filter: grayscale(1);
}
.buttons .button.button.showHint:hover,
.buttons .button.button.showHint:target {
    color: #3399CC;
}
.buttons .button.button.showHint:hover:before {
    filter: grayscale(0);
}
.buttons .button.showHint.active:before {
    content: "";
    position: relative;
    top: 1px;
    left: -5px;
    display: inline-block;
    width: 16px;
    height: 16px;
    border: none;
    //background-image: url(https://smartindexes.com/knowledge-base/img/hint-sprite.svg);
    //background-size: auto 16px;
    //background-position: -20px 2px;
}
/* хелпер при желании использовать где-то ещё */
.is-hidden { display: none !important; }

/* СВЁРНУТОЕ СОСТОЯНИЕ: скрываем ТОЛЬКО список пунктов */
.funnelMenu.menu-collapsed .funnel {
  display: none !important;
}

/* кнопки остаются видимыми; можно чуть поджать отступы */
.funnelMenu.menu-collapsed .buttons {
  padding: 10px 20px;
}
.funnelMenu .buttons .button.hidden { 
  display: none !important; 
}
@media (max-width: 1200px) {
    .funnelMenu.menu-shown {
        display: none !important;
    }
}