﻿

.bankprogramDD:before {
    content: ' ';
    height: 0;
    position: absolute;
    width: 0;
    left: 32px;
    top: -8px;
    border-left: 10px solid white;
    border-right: 10px solid white;
    border-bottom: 8px solid #e5e5e5;
}

.bankprogramDD:after {
    content: ' ';
    height: 0;
    position: absolute;
    width: 0;
    left: 33px;
    top: -7px;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 7px solid white;
}

.cab-menu:before {
    content: ' ';
    height: 0;
    position: absolute;
    width: 0;
    left: 120px;
    top: -8px;
    border-left: 10px solid white;
    border-right: 10px solid white;
    border-bottom: 8px solid #e5e5e5;
}

.cab-menu:after {
    content: ' ';
    height: 0;
    position: absolute;
    width: 0;
    left: 121px;
    top: -7px;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 7px solid white;
}

header.menu .menu-label.menu-label--item:hover {
    color: #008b8a;
    text-decoration: underline;
    margin-bottom: 0px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content li {
        color: black;
        text-decoration: none;
        display: block;
        height: 32px;
        margin: 0 0 9px;
        border-radius: 4px;
    }

        .dropdown-content li:hover {
            background-color: #ddd;
        }

.dropdown .dropdown-content {
    display: block;
    left: -19px;
    margin-top: 12px;
    background: #FFFFFF;
    border: 0.747664px solid #E5E5E5;
    box-sizing: border-box;
    border-radius: 8px;
    height: 262px;
    width: 215px;
    padding: 13px 15px 25px;
    box-shadow: 0px 16px 20px rgb(0 0 0 / 12%);
}

.dropdown-content--hover-arrow {
    color: #E5E5E5;
    font-size: 24px;
    position: absolute;
    margin-top: -30px;
    padding-left: 73px;
    width: 100%;
}

.dropdown-content--items a {
    text-decoration: none;
    display: block;
    font-family: Ubuntu-bold;
    font-style: normal;
    font-size: 16px;
    line-height: 18px;
    color: #2C3537;
    height: 32px;
    padding: 7px 10px;
}

.dropdown-content li:hover {
    background: none;
}

.dropdown-content li.dropdown-content--items:hover {
    background: #EFEFEF;
    box-sizing: border-box;
}

[data-tooltip] {
    position: relative;
    z-index: 10;
}

    /* Positioning and visibility settings of the tooltip */
    [data-tooltip]:before, [data-tooltip]:after {
        position: absolute;
        visibility: hidden;
        opacity: 0;
        left: 50%;
        bottom: calc(100% + 5px);
        pointer-events: none;
        transition: 0.2s;
        will-change: transform;
    }

    /* The actual tooltip with a dynamic width */
    [data-tooltip]:before {
        content: attr(data-tooltip);
        padding: 10px 18px;
        min-width: 50px;
        max-width: 300px;
        width: max-content;
        width: -moz-max-content;
        border-radius: 6px;
        font-size: 14px;
        background-color: rgba(59, 72, 80, 0.9);
        background-image: linear-gradient(30deg, rgba(59, 72, 80, 0.44), rgba(59, 68, 75, 0.44), rgba(60, 82, 88, 0.44));
        box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.2);
        color: #fff;
        white-space: pre-wrap;
        transform: translate(-50%, -5px) scale(0.5);
    }

    /* Tooltip arrow */
    [data-tooltip]:after {
        content: '';
        border-style: solid;
        border-width: 5px 5px 0px 5px;
        border-color: rgba(55, 64, 70, 0.9) transparent transparent transparent;
        transition-duration: 0s; 
        transform-origin: top; 
        transform: translateX(-50%) scaleY(0);
    }

    /* Tooltip becomes visible at hover */
    [data-tooltip]:hover:before,
    [data-tooltip]:hover:after {
        visibility: visible;
        opacity: 1;
    }
    /* Scales from 0.5 to 1 -> grow effect */
    [data-tooltip]:hover:before {
        transition-delay: 0.3s;
        transform: translate(-50%, -5px) scale(1);
    }
    /* Slide down effect only on mouseenter (NOT on mouseleave) */
    [data-tooltip]:hover:after {
        transition-delay: 0.5s;
        transition-duration: 0.2s;
        transform: translateX(-50%) scaleY(1);
    }

/* RIGHT */
[data-tooltip-location="right"]:before,
[data-tooltip-location="right"]:after {
    left: calc(100% + 5px);
    bottom: 50%;
}

[data-tooltip-location="right"]:before {
    transform: translate(5px, 50%) scale(0.5);
}

[data-tooltip-location="right"]:hover:before {
    transform: translate(5px, 81%) scale(1)
}

[data-tooltip-location="right"]:after {
    border-width: 5px 5px 5px 0px;
    border-color: transparent rgba(55, 64, 70, 0.9) transparent transparent;
    transform-origin: right;
    transform: translateY(50%) scaleX(0);
}

[data-tooltip-location="right"]:hover:after {
    transform: translateY(50%) scaleX(1);
}

.badge-danger {
    background-color: #fe7100eb;
}


.menu-label--item_hover p {
    color: #008b8a !important;
    border-bottom: 1px solid #008b8a !important;
    margin-bottom: -1px !important;
}

.ui-tooltip {
    width: 20%;
    border: 0px;
    background-color: hsla(207,100%,43%,0.8);
    box-shadow: none;
    color: white;
    font-size: 12px;
    z-index: 99999;
    position: absolute;
}

    .ui-tooltip .ui-widget .ui-corner-all .ui-widget-content {
        top: 40%;
        left: 25%;
        position: absolute;
        z-index: 9999999;
    }

#ClientName {
    font-family: Ubuntu;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    text-align: right;
    color: #008F91;
}

.arrows:after {
    border-bottom-color: #f8f9fa !important;
    border-width: 6px !important;
    margin-left: -15px;
    margin-top: 16px;
}

.arrows:after, .arrow:before {
    content: "";
    border: solid transparent;
    position: absolute;
}


.arrows:before {
    border-bottom-color: blue;
    border-width: 9px;
    margin-left: -1px;
}

.header-container {
    border-bottom: 0.747664px solid #D2D4D5;
}

.dropdown .dropdown-content {
    display: block;
    left: -19px;
    margin-top: 12px;
    background: #FFFFFF;
    border: 0.747664px solid #E5E5E5;
    box-sizing: border-box;
    border-radius: 8px;
    height: max-content;
    width: max-content;
    padding: 13px 15px 4px;
    box-shadow: 0px 16px 20px rgb(0 0 0 / 12%);
}

.icon-3-1-0 {
    display: inline-block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    line-height: 16px;
    overflow: hidden;
}

.tpln-navItem-icon--1-7-4 {
    transition: color .3s ease-in-out;
}

.tpln-navItem-item--1-7-4 .tpln-navItem-icon--1-7-4 {
    color: var(--dc-color-grey-400,#a7a8a9);
}

.tpln-navItem-item--1-7-4 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 16px;
    cursor: pointer;
    color: var(--dc-color-grey-640,#737476);
    text-decoration: none;
    text-overflow: ellipsis;
    transition: background-color .3s ease-in-out,color .3s ease-in-out;
}

.tpln-navItem-root--1-7-4 {
    box-sizing: border-box;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    position: relative;
    text-decoration: none;
}

.tpln-navItem-mod-is-child-of-header--1-7-4 {
    height: 100%;
}

.tpln-header-header--1-7-4 {
    box-sizing: content-box;
    margin: 0 auto;
    min-width: 320px;
    max-width: 1216px;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    position: relative;
    align-items: center;
    height: 40px;
}

.tpln-header-mod-mobile--1-7-4 {
    height: 52px;
}

.tpln-header-root--1-7-4 {
    background-color: var(--dc-color-white,#fff);
    box-shadow: inset 0 -1px 0 #e5e5e5;
}

header.tpln-main-topline--1-7-4 {
    font-family: SeroPro,Arial,sans-serif;
    font-size: 14px;
    line-height: 19px;
    background: #f2f4f6;
    min-width: 320px;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.tpln-main-topline--1-7-4 {
    position: relative;
    z-index: 1200;
}

span.badge.badge-warning {
    border: none;
    opacity: 0;
}

header.menu .menu-box .menu-item[title="Оставить обращение"], p.menu-label.menu-label--item.pb {
    white-space: normal;
    text-align: center;
}