

/* Start:/local/components/therapy.school/region.chart/templates/.default/style.css?17606880274752*/
.rg-chart-widget {
    display: inline-block;
}

/* Overlay для мобилки */
.rg-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rg-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Кнопка закрытия */
.rg-close-btn {
    display: none;
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 10;
    padding: 0;
}

.rg-close-btn:hover {
    background: #e5e7eb;
}

.rg-close-btn svg {
    width: 18px;
    height: 18px;
    color: #374151;
}

.rg-tooltip {
    position: absolute;
    top: 10px;
    left: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 16px 20px 20px 20px;
    width: 360px;
    max-height: 500px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.rg-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 14px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.03);
}

/* Мобильная версия */
@media (max-width: 768px) {
    .rg-overlay {
        display: block;
    }

    .rg-close-btn {
        display: flex;
    }

    .rg-tooltip {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 500px;
        max-height: 90vh;
        overflow-y: auto;
        padding: 16px 20px 20px 20px;
        border-radius: 20px;
    }

    .rg-tooltip::before {
        display: none;
    }

    .rg-tooltip.active {
        opacity: 1;
        visibility: visible;
    }

    .rg-chart-container {
        height: 250px;
    }

    .rg-list-wrapper {
        max-height: 200px;
    }
}

.rg-tooltip h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.rg-tooltip p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.4;
    margin-top: 0;
}

.rg-chart-container {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 16px;
    background: #f9fafb;
    border-radius: 12px;
    padding: 16px;
}

.rg-list-wrapper {
    max-height: 140px;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0 -4px;
    padding: 0 4px;
    position: relative;
}


.rg-scroll-hint {
    position: sticky;
    bottom: 5px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-top: -30px;
}

.rg-scroll-hint svg {
    animation: rg-bounce 2s infinite;
}

@keyframes rg-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

.rg-list-wrapper.has-scroll .rg-scroll-hint {
    opacity: 1;
}

.rg-list-wrapper::-webkit-scrollbar {
    width: 4px;
}

.rg-list-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.rg-list-wrapper::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.rg-list-wrapper::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.rg-region-list {
    list-style: none;
    font-size: 12px;
    margin: 0;
    padding: 0;
}

.rg-region-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    margin-bottom: 4px !important;
    transition: background 0.15s ease;
}

.rg-region-item:hover {
    background: #f9fafb;
}

.rg-region-item:last-child {
    margin-bottom: 0;
}

.rg-region-name {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #374151;
    font-weight: 500;
}

.rg-region-color {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rg-region-percentage {
    color: #6b7280;
    font-weight: 600;
    font-size: 11px;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 6px;
}

/* End */


/* Start:/local/templates/main/components/wexpert/includer/doctor-warning/action.min.css?1755614930286*/
.popup.popup-doctor-warning{display:block}.popup.popup-doctor-warning .overlay-warning{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.5)}.popup-doctor-warning .check_block{display:table;margin:0 auto}.popup-doctor-warning .check_block .but-all{display:inline-block}
/* End */


/* Start:/local/templates/main/template_styles.css?17582967522587*/
form .events_filters .checkbox_field {
    margin-bottom: 0;
}

#bx-panel,
#bx-panel.bx-panel-fixed{
    z-index: 99999!important;
}

.js_add_comment .error,
.popup .error_list{
    color: red;
    padding: 0 0 15px 0;
}

.js_isLive{
    display: none !important;
}

.js_isLive.active{
    display: inline-block !important;
}



a.favorite.js_isHide,
span.like.js_isHide{
    display: none !important;
}

span.like.active{
    background-image: url(/_v/_i/_icons/like_icon_active.png);
    transition: all .4s;
}

.ui-hint.ui-hint-themed{opacity: 1;}
.ui-hint-icon.ui-hint-icon-themed{background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMyAxMyI+Cgk8ZyBmaWxsPSJub25lIiBvcGFjaXR5PSIuNyI+CgkJPHBhdGggZmlsbD0iIzAwRThCRiIKCQkgICAgICBkPSJNMTIuNDggNi40OUMxMi40OCAzLjE4MyA5LjguNSA2LjQ5LjUgMy4xODMuNS41IDMuMTgyLjUgNi40OWMwIDMuMzEgMi42ODIgNS45OSA1Ljk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yNjctLjE4Ny0uNDE2em0yLjM3MiA1LjMzYy0uMTk3IDAtLjM3LS4wNjQtLjUxOC0uMTkyLS4xNDctLjEyOC0uMjItLjMwNy0uMjItLjUzNyAwLS4yMDUuMDctLjM3Ni4yMTMtLjUxNnMuMzE4LS4yMS41MjUtLjIxYy4yMDUgMCAuMzc2LjA3LjUxNi4yMS4xNC4xNC4yMS4zMS4yMS41MTYgMCAuMjI3LS4wNzQuNDA1LS4yMi41MzUtLjE0Ni4xMy0uMzE0LjE5NC0uNTA2LjE5NHoiIC8+Cgk8L2c+Cjwvc3ZnPg=="); width: 22px; height: 22px; margin-top: 0; vertical-align: top;}
.popup-window.register-popup-content, .popup-window.register-popup-content .popup-window-content{background: #394a96;}

.custom_select.js_select > p{font-size: 15px;font-weight: 400;line-height: 26px;color: #000;text-align: left;margin: 10px 0;}
/* End */
/* /local/components/therapy.school/region.chart/templates/.default/style.css?17606880274752 */
/* /local/templates/main/components/wexpert/includer/doctor-warning/action.min.css?1755614930286 */
/* /local/templates/main/template_styles.css?17582967522587 */
