﻿:root {
    --cwTopNotificationsHeight: 50px;
    --cwdynRulesToggleBtnHeight: 52px;
    --cwdynRulesLeftMenuTitleHeight: 60px;
    --cwMobHeaderHeight: var(--cwHeaderHeight);
}

.dynRules {
    flex-direction: column;
    padding: 16px 16px 24px;
    padding-top: 0;
    gap: 16px;
    flex-grow: 1;
}

.dynRules_content {
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
}

.dynRules_title {
    font-size: 16px;
    line-height: 20px;
    margin: 0 0 16px;
}

.dynRules_header {
    padding: 8px 16px;
    background: var(--bg-level-2, var(--cwDominantBg));
    position: fixed;
    width: 100%;
    top: var(--cwMobHeaderHeight);
    inset-inline-start: 0;
    z-index: calc(var(--cwHeader-zIndex) - 1);
    height: var(--cwdynRulesToggleBtnHeight);
    transition: top 0.314s;
}

.hide_header_navbar .dynRules_header{
    top: 0;
}

.dynRules_header_wrapper {
    height: var(--cwdynRulesToggleBtnHeight);
}

.notification_static_content ~ .dynRules .dynRules_header {
    top: calc(var(--cwMobHeaderHeight) + 50px);
}

.dynRules_toggle_btn {
    border-radius: 8px;
    background: var(--bg-level-3, var(--cwDominantBg2Hover));
    padding: 10px 16px;
    color: var(--text-level-high, var(--cwDominantTxt));
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    gap: 8px;
}

.dynRules_toggle_icon {
    width: 16px;
    height: 16px;
    --icoSize: 12px;
    color: var(--icon-level-high, var(--cwDominantTxt2));
    flex-shrink: 0;
}

.dynRules_toggle_title{
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cw-rtl-global .dynRules_toggle_icon i {
    transform: rotate(180deg);
}

.dynRules_left_sidebar {
    position: fixed;
    z-index: calc(var(--cwZIndexFooter) + 1);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transform: translateX(-100%);
    transition: all .314s;
    width: 100%;
    height: initial;
    flex: 0 0 100%;
    border-radius: 0;
    border: 0;
}

.cw-rtl-global .dynRules_left_sidebar {
    transform: translateX(100%);
}

.dynRules_left_sidebar_opened .dynRules_left_sidebar {
    transform: translateX(0);
}

.dynRules_left_sidebar_inner {
    max-height: calc(100% - var(--cwdynRulesLeftMenuTitleHeight));
    overflow-y: auto;
}

.dynRules_left_sidebar_heading {
    color: var(--text-level-high, var(--DominantTxt));
    padding: 12px 0;
    padding-inline-start: 16px;
    padding-inline-end: 8px;
    border-bottom: 1px solid var(--bg-level-3, var(--cwDominantBgHover));
    height: var(--cwdynRulesLeftMenuTitleHeight);
}

.dynRules_left_sidebar_heading span {
    font-size: 16px;
    font-weight: 700;
}

.dynRules_left_sidebar_heading button {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-level-medium, var(--DominantTxt3));
    padding: 8px;
}

.dynRules_header button,
.dynRules_left_sidebar_heading button {
    cursor: pointer;
}

.dynRules_lmenu_item_inner {
    padding: 12px 0;
    height: 48px;
}

.dynRules_content_inner {
    padding: 16px;
    border-radius: 8px;
}

.dynRules_content_inner table {
    border-collapse: collapse;
    border-spacing: 0;
}

.dynRules_logo {
    padding: 2px 16px;
    height: 52px;
    border: 1px solid var(--bg-level-3, var(--cwSubHeaderBg3Hover));
}

.dynRules_logo ~ .dynRules {
    --cwMobHeaderHeight: 52px;
    padding-top: 52px;
    margin-top: 0;
}
.alignment_Left .dynRules_content {
    max-width: 100%;
}