﻿
:root {
    --text-color: #abb2b9;
    --title-color: #ffffff;
    --bg-color: #151a2e;
    --bg-color-Grad: #151a2e7D;
    --bg-color-alt: #212949;
    --bg-color-hglt: #212949;
    --red: #e9494d;
    --green: #19cc92;
    --date-bg: #212949;
    --date-bg-border: #343467;
    --date-bg-active: #7059f1;
}
.fullscreen #Layer_Signal {
   /* position: fixed;
    top: 0;
    bottom: 0;
    margin: auto;*/
}
.fullscreen {
    width: 100% !important;
    height: 100% !important;
}
    .fullscreen #mySignals {
        padding-top: 4vw;
    }
    #chart .accordList {
    width: 60vw;
    height: calc(100vh - 19.5rem);
    position: absolute;
    top: 12%;
    left: 0;
    margin: auto;
    right: 0;
    margin: auto;
    max-height: 700px;
}
.riskSelectSignalBG {
    margin-bottom: 2rem;
}

    .riskSelectSignalBG .container-fill {
      
    }

#Layer_Signal {
    width: 100%;
    max-height: 80vh;
    overflow: visible;
    z-index: 1;
    height: 100%;
}

.top-showall {
    color: var(--title-color);
    font-family: var(--ff-medium);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    width: 4rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.accordion-showall-btn {
    font-size: 0.8rem;
    text-align: left;
    background-color: transparent;
    color: var(--title-color) !important;
    width: 2.25rem;
    display: flex;
    border-radius: 10rem;
    text-align: center;
    margin-bottom: 0.2rem;
    border: 1px solid var(--title-color);
    height: 2.25rem;
    align-items: center;
    justify-content: center;
}

.accordion1 {
    /* transition: 0.2s;*/
    transition: transform 0.6s cubic-bezier(0.25, 1.5, 0.5, 1);
    will-change: transform;
}

.accordion-nav-btn {
    padding: 0.4rem 0.2rem;
    font-size: 0.8rem;
    text-align: left;
    background-color: var(--naa-cards-bg-alt);
    color: var(--title-color) !important;
    width: 4rem;
    display: block;
    border-radius: 0.5rem;
    text-align: center;
    cursor: pointer;
    position: relative;
}

    .accordion-nav-btn.disable {
        opacity: 0.25;
        cursor: auto;
    }

#topBtnAccord:not(.disable):before {
    position: absolute;
    content: "";
    width: 100%;
    height: 1.75rem;
    left: 0;
    bottom: -86%;
    background: linear-gradient(#293347, #29334796);
    z-index: 9;
}

#btmBtnAccord:not(.disable):before {
    position: absolute;
    content: "";
    width: 100%;
    height: 1.75rem;
    left: 0;
    top: -86%;
    background: linear-gradient(#293347, #29334796);
    z-index: 9;
}

.accordion {
    width: 100%;
    background: transparent;
    margin: 1rem 0;
    max-height: 73%;
    overflow: hidden;
}

.accordion-item {
    background: transparent !important;
    border: transparent !important;
    margin-bottom: 0.5rem;
    width: 4rem;
}

.accordion-body {
    padding: 0.5rem 0.85rem !important;
}

.accordion-item.current .accordion-header {
    font-family: var(--ff-medium);
    background-color: var(--naa-highlight-text);
    color: var(--naa-ash) !important;
    border: 1px solid var(--naa-highlight-text);
}

.accordion-header {
    width: 100%;
    padding: 0.3rem 0.2rem;
    font-size: 0.75rem;
    text-align: left;
    background-color: var(--naa-cards-bg);
    color: var(--title-color) !important;
    border: none;
    outline: none;
    cursor: pointer;
    display: block;
    text-align: center;
    border-radius: 10rem;
    border: 1px solid var(--date-bg-border);
    border: 1px solid #00ebef;
    line-height: 1;
    position: relative;
}

    .accordion-header.collapsed {
        border: 1px solid var(--date-bg-border);
    }

.accordion-item.active .accordion-header {
    background: var(--title-color) !important;
    color: #21303f !important;
    font-family: var(--ff-medium);
}

.accordion-content {
    background-color: transparent;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out, opacity 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    opacity: 1;
    overflow: visible;
    max-height: 20rem; /* Enough space for your content */
}

.accordion-body p.dates {
    cursor: pointer;
    position: relative;
    margin: 0;
    padding: 5px 0;
}

    .accordion-body p.dates .hov_rect {
        background: transparent;
        display: block;
        width: auto;
        height: 8px;
        margin-bottom: 0px;
        cursor: pointer;
        position: relative;
    }

        .accordion-body p.dates .hov_rect .no_fed, .accordion-body p.dates .hov_rect .fed {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            border: 1px solid transparent;
            padding: 0.2rem 0.4rem;
            border-radius: 50px;
        }

        .accordion-body p.dates .hov_rect .fed {
            background: #242c3b !important;
            border: 1px solid #697492;
            padding: 0.2rem 0.4rem;
            border-radius: 50px;
        }
    /*.accordion-body p.dates:first-child {
            margin-top:1rem !important
	    }
        .accordion-body p.dates:last-child {
            margin-bottom:1rem !important
	    }*/

    .accordion-body p.dates .hov_dates {
        position: absolute;
        top: 0.2rem;
        font-size: 0.8rem;
        color: var(--text-color);
        transform: translateX(80%);
        display: none;
    }

        .accordion-body p.dates .hov_dates i {
            position: absolute;
            left: -0.55rem;
            color: var(--naa-highlight-text);
            font-size: 1rem;
            visibility: hidden;
        }

    .accordion-body p.dates:hover .hov_rect {
        /*background: var(--title-color);*/
    }

.accordion-collapse.collapse.show .accordion-body p.dates:hover .hov_dates {
    display: flex;
}

.accordion-body p.dates.active .hov_rect {
    /*background: var(--title-color);*/
}

.accordion-body p.dates.active .hov_dates {
    display: flex;
    color: #fff;
    align-items: center;
}

    .accordion-body p.dates.active .hov_dates i {
        visibility: visible;
    }


.rect {
    fill: #34495e;
    stroke: #ecf0f1;
    stroke-width: 2;
}

.rect3 {
    stroke: #ecf0f1;
    stroke-width: 2;
}

.rect2 {
    fill: var(--naa-cards-bg-alt);
    /* stroke: #ecf0f1;
    stroke-width: 2; */
}

.circle {
    fill: none;
    stroke: #ecf0f1;
    stroke-width: 2;
}

.circle-green {
    fill: var(--green);
}

.circle-red {
    fill: var(--red);
}

.text {
    fill: #ecf0f1;
    font-size: 12px;
}

.line {
    stroke: #ecf0f1;
    stroke-width: 2;
    fill: none;
}

.arrow {
    fill: #ecf0f1;
}

.selectDate {
    position: relative;
}

.form-label {
    color: #eee;
    font-size: 1rem;
}

.min-h-100 {
    min-height: 100vh
}

.form-select {
    width: 15%;
    background-color: var(--bg-color-alt);
    color: #eee;
    border: 1px solid #2b3948;
    outline: none !important;
    box-shadow: none !important;
    margin-left: 1rem;
}

.selectYear ul.parentSec {
    padding: 0rem;
    background: var(--bg-color-alt);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 0.265rem;
    margin: 0 !important;
    margin-left: 0.5rem !important;
    position: relative;
    z-index: 9;
}

    .selectYear ul.parentSec li {
        list-style-type: none;
        color: #b6bdc4;
        font-size: 0.72rem;
        padding: 0.1rem 1rem;
        width: 100%;
        text-align: center;
        transition: all .0s;
        cursor: pointer;
        position: relative;
        z-index: 9;
    }

        .selectYear ul.parentSec li .title_yr {
            position: relative;
            z-index: 11;
        }

        .selectYear ul.parentSec li.showAllBtn.active {
            color: var(--title-color);
        }

        .selectYear ul.parentSec li.year_Clk.active {
            color: var(--title-color);
        }

        .selectYear ul.parentSec li.active .rebalanceDates {
            /* background: #ecf0f1;
    color: #222e3b;*/
            display: block;
        }

        .selectYear ul.parentSec li.year_Clk.active:before, .selectYear ul.parentSec li.year_Clk:hover:before {
            content: "";
            background: var(--bg-color);
            width: 113%;
            height: 100%;
            display: block;
            top: 0;
            left: 0%;
            position: absolute;
            z-index: 10;
            border: 1.6px solid rgb(211 211 212 / 85%);
            border-right: 2px solid var(--bg-color);
            border-radius: 0.4rem 0 0 0.4rem;
        }

        .selectYear ul.parentSec li.year_Clk:hover {
            color: var(--title-color);
        }

        .selectYear ul.parentSec li:hover {
            /*background: #ecf0f1;
    color: #222e3b;*/
        }

            .selectYear ul.parentSec li:hover .rebalanceDates {
                display: block;
            }

.rebalanceDates {
    position: absolute;
    z-index: 9;
    color: #b6bdc4;
    top: 0rem;
    transform: translateY(-40%);
    width: max-content;
    background: var(--bg-color);
    border-radius: 0.7rem;
    font-size: 0.7rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    display: none;
    left: 110%;
    text-align: left;
    border: 1px solid #ecf0f1;
}

    .rebalanceDates.invert {
        top: auto;
        bottom: 0;
        transform: translateY(5%);
    }

    .rebalanceDates.invert_top {
        top: 0;
        bottom: auto;
        transform: translateY(-20%);
    }

    .rebalanceDates ul {
        padding: 0rem;
        margin: 0 !important;
    }

        .rebalanceDates ul li {
            list-style-type: none;
            width: 100%;
            padding: 0.25rem 0.75rem !important;
            padding-right: 1rem !important;
            text-align: left !important;
            font-size: 0.70rem !important;
            color: #a8b1b9 !important;
            background: transparent !important;
        }

            .rebalanceDates ul li.active {
                color: var(--title-color) !important
            }

    .rebalanceDates h5 {
        font-size: 0.7rem;
        color: var(--title-color);
        padding: 0.5rem 0.75rem;
        margin-bottom: 0;
        border-bottom: 1px dashed #5c7590;
    }

.p-rel {
    position: relative;
}

.showAllBtn.active {
    background-color: var(--naa-highlight-text);
    border-color: var(--naa-highlight-text);
}

    .showAllBtn.active svg path {
        stroke: var(--naa-body-bg);
    }

.rotate {
    animation: rotation 1.2s infinite linear;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

.green_bg {
    background: #27ffb9;
    width: 5px;
    height: 5px;
    display: block;
    border-radius: 50%;
    margin-right: 0px;
}

.red_bg {
    background: #ff454a;
    width: 5px;
    height: 5px;
    display: block;
    border-radius: 50%;
    margin-right: 0px;
}
