/* Let the document follow its content instead of forcing a full iframe height.
   Contain the heading's margin so it cannot push a full-height body downward. */
html,
body {
    height: auto;
}

body {
    display: flow-root;
}

/* Include heading margins in the height reported to the parent iframe. */
#embed-content {
    display: flow-root;
}

.CAS2024-chart-heatmap .CAS2024-chart__title {
    margin-bottom: 20px;
    display: block;
}


.CAS2024-chart__buttons_container {
    margin-bottom: 10px;
}

.CAS2024-chart__button_group {
    display: flex;
    flex-wrap: wrap;
}

.CAS2024-chart__nav-button {
    box-sizing: content-box;
    position: relative;
    display: inline-block;
    border-radius: 0;
    padding: 6px 10px 5px;
    margin: 2px 5px 2px 0;
    background: #fff;
    min-width: 45px;
    border: 1px solid #bdbbbc;
    line-height: 1;
    color: #bdbbbc;
    vertical-align: middle;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
}

.CAS2024-chart__nav-button:hover {
    color: #000;
}

.CAS2024-chart__nav-button:active,
.CAS2024-chart__nav-button--active {
    color: #000;
    border: 1px solid #000;
}


.CAS2024-chart__nav-button--lvl1 {
    background-color: #fff;
    color: #333;
    font-size: 1em;
    margin-right: 0;
    margin-bottom: 4px;
    width: 165px;
    min-width: 165px;
}

.CAS2024-chart__nav-button--lvl1:hover,
.CAS2024-chart__nav-button--lvl1:active,
.CAS2024-chart__nav-button--lvl1.CAS2024-chart__nav-button--active {
    background-color: #222222;
    color: #fff;
    border: 1px solid #333;
}

.CAS2024-chart__nav-button--lvl2 {
    text-align: center;
    width: 67px;
}

.CAS2024-chart__nav-button--lvl2:hover,
.CAS2024-chart__nav-button--lvl2:active,
.CAS2024-chart__nav-button--lvl2.CAS2024-chart__nav-button--active {
    background-color: #636363;
    color: #fff;
}


.CAS2024-chart__iframe-container iframe {
    height: 100%;
}

.CAS2024-chart-heatmap .CAS2024-chart__iframe-container {
    height: 750px;
}

.CAS2024-chart-heatmap.CAS2024-chart--Density .CAS2024-chart__iframe-container {
    height: 300px;
}

.CAS2024-chart-heatmap.CAS2024-chart--Generation .CAS2024-chart__iframe-container {
    height: 350px;
}




@media (max-width: 768px) {
    .CAS2024-chart__nav-button {
            padding-top: 8px;
        }
    
        .CAS2024-chart__nav-button--lvl1 {
            width: 154px;
            min-width: 154px;
        }
    
        .CAS2024-chart__nav-button--lvl2 {
            width: 80px;
        }
    .CAS2024-chart-heatmap iframe {
        width: 93%;

    }

    .CAS2024-chart-heatmap .CAS2024-chart__iframe-container {
        height: 780px;
    }

    .CAS2024-chart-heatmap .CAS2024-chart--Density .CAS2024-chart__iframe-container {
        height: 300px;
    }

    .CAS2024-chart-heatmap .CAS2024-chart--Generation .CAS2024-chart__iframe-container {
        height: 350px;
    }
}
@media (max-width: 500px) {
    .CAS2024-chart-heatmap iframe {
        width: 93%;

    }

    .CAS2024-chart-heatmap .CAS2024-chart__iframe-container {
        height: 750px;
    }

    .CAS2024-chart-heatmap .CAS2024-chart--Density .CAS2024-chart__iframe-container {
        height: 300px;
    }

    .CAS2024-chart-heatmap .CAS2024-chart--Generation .CAS2024-chart__iframe-container {
        height: 350px;
    }
}

.CAS2024-dropdown {
    position: relative;
    z-index: 1000;
    width: 220px;
    max-width: 100%;
    margin-bottom: 10px;
}

.CAS2024-dropdown .dropbtn {
    background: #fff;
    color: #000;
    border: 0;
    border-bottom: 2px solid currentcolor;
    box-sizing: border-box;
    width: 100%;
    font-size: 13px;
    padding: 5px 10px;
    cursor: pointer;
    position: relative;
    user-select: none;
}



/* Display CSS arrow to the right of the dropdown text */
.CAS2024-dropdown .dropbtn:after {
    content: '';
    height: 0;
    position: absolute;
    width: 0;
    border: 6px solid transparent;
    border-top-color: #000;
    top: 50%;
    right: 10px;
    margin-top: -3px;
}

.CAS2024-dropdown .dropbtn.is-active:after {
    border-bottom-color: #000;
    border-top-color: #fff;
    margin-top: -9px;
}

.CAS2024-dropdown .dropbtn:hover,
.CAS2024-dropdown .dropbtn:focus,
.CAS2024-dropdown .btn:hover,
.CAS2024-dropdown .btn:focus {
    /* background-color: #ddd; */
}



.CAS2024-dropdown .dropdown {
    position: relative;
    display: inline-block;
}

.CAS2024-dropdown .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f6f6f6;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    overflow: auto;
    border: 1px solid #ddd;
    z-index: 1001;
    margin-top: 7px;
    margin-left: 0;
}



.CAS2024-dropdown .dropdown a:hover {
    background-color: #ddd;
}

.CAS2024-dropdown .show {
    display: block;
}

#dropdown-menu ul {
    list-style: none;
    min-width: 160px;
    padding: 3px 0 10px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;

}

#dropdown-menu ul li{
    display:block;
    padding: 2px 5px;
    padding-bottom: 0;
    margin-bottom: 5px;
}

#dropdown-menu ul li.on {
    font-Weight: bold;
}

.CAS2024-dropdown .btn {
    border: 1px solid #999;
    margin: 2px 3px;
    font-size: 12px;
    padding: 2px 10px;
    padding-top: 5px;
    border-radius: 0;
}

.CAS2024-dropdown .bs-apply {
    background-color: #3498DB;
    color: #fff;
    padding: 2px 20px;
    padding-top: 5px;
}

.CAS2024-dropdown .bs-apply:hover,
.CAS2024-dropdown .bs-apply:focus {
    background-color: #05558a;
    color: #fff;
}

.CAS2024-dropdown .listcheckbox {
    width: 15px;
    margin: 0;
    margin-left: 5px;
}

.CAS2024-dropdown label {
    display: block;
    font-weight: inherit;
    cursor: pointer;
}
