.map-container {
    height: 100vh;
    transition: all 1s;
}

.sidebar-header {
    background-color: #d9d9d9;
    font-size: 18px;
    color: #363636;
}

.mapboxgl-popup{
    max-width: 450px !important; 
}

.sidenav {
    height: 100%;
    width: 335px;
    position: absolute;
    top: 0;
    left: -335px;
    background-color: rgb(255, 255, 255);
    transition: all 1s;
    z-index: 1;
}

.sidenav-right {
    height: 100%;
    width: 270px;
    position: absolute;
    top: 0;
    right: -270px;
    background-color: rgb(255, 255, 255);
    transition: all 1s;
    z-index: 1;
}

.open-nav-button {
    float: right;
    font-size: 20px;
    padding: 5px 5px 5px 5px;
    background-color: rgb(255, 255, 255);
    color: gray;
    margin: 0;
    margin-right: -21.6px;
    margin-top: 90px;
    cursor: pointer;
    box-shadow: 0px 0px 3px 2px rgba(209, 209, 209, 0.78);
    -webkit-box-shadow: 0px 0px 3px 2px rgba(209, 209, 209, 0.78);
    -moz-box-shadow: 0px 0px 3px 2px rgba(209, 209, 209, 0.78);
}

.open-nav-button-right {
    float: left;
    font-size: 22px;
    padding: 5px 5px 5px 5px;
    background-color: rgb(255, 255, 255);
    color: gray;
    margin: 0;
    margin-left: -35px;
    margin-top: 90px;
    cursor: pointer;
    box-shadow: 0px 0px 3px 2px rgba(209, 209, 209, 0.78);
    -webkit-box-shadow: 0px 0px 3px 2px rgba(209, 209, 209, 0.78);
    -moz-box-shadow: 0px 0px 3px 2px rgba(209, 209, 209, 0.78);
}

.nav-wrapper {
    display: flex;
    flex-direction: column;
}

.nav-header {
    height: 50px;
    width: 100%;
    padding: 5px 5px 5px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(235, 234, 234, 0.877);
}

.nav-footer {
    width: 100%;
    padding: 0px 15px;
    position: absolute;
    bottom: 15px;
}

.search-wrapper {
    border: 1px solid rgb(167, 167, 167);
    border-radius: 5px;
    padding: 5px 0px 5px 5px;
    width: 100%;
}

.search-wrapper span {
    padding-left: 5px;
}

.search-wrapper input {
    border: none;
    outline: none;
    padding-left: 10px;
}

.header-heading {
    display: inline-block;
    margin-left: 2px;
}

.header-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 5px;
}

.nav-body {
    /* padding-top: 10px; */
    /* overflow-y: auto; */
    /* height: 72vh; */
}

.nav-section {
    padding: 2px 8px;
}

.mapboxgl-ctrl-geocoder {
    min-width: 100% !important;
    border-radius: 21px !important;
}

.nav-section-heading,
.search-section-heading {
    font-size: 14px;
    color: gray;
}

.custom-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    font-size: 12px;
    font-weight: bold;
    background-color: rgb(238, 238, 238);
    margin-bottom: 2px;
}

.card-badge {
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 50%;
    height: 12px;
    width: 12px;
    margin: 5px;
    background-color: rgb(255, 255, 255);
}

.tools-wrapper {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
}

.tools-wrapper p {
    margin-bottom: 2px;
    font-size: 12px;
}

.tool-icon {
    background-color: rgba(240, 240, 240, 0.7);
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px 4px;
    border-radius: 3px;
}

.custom-card-open {
    display: flex;
    flex-direction: column;
    background-color: rgb(241 216 216);
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: bold;
}

.cch {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 2px;
    cursor: pointer;
}

.tags-list {
    padding: 2px 5px 5px 5px;
}

.tags-list ul {
    padding: 0;
}

.button-tag {
    padding: 5px 15px;
    border-radius: 25px;
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(233, 233, 233);
    margin: 2px 5px;
    color: black;
    display: inline;
}

.tags-list .active {
    background-color: rgb(247, 47, 47);
    border: 1px solid rgba(243, 29, 29, 0.829);
    color: rgb(255, 255, 255);
}

.right-top-panel {
    position: absolute;
    top: 15px;
    right: 55px;
    width: 250px;
    z-index: 1;

}

.panel-wrapper {
    -moz-box-shadow: 0px 5px 30px 5px rgba(112, 112, 112, 0.9);
    -webkit-box-shadow: 0px 5px 30px 5px rgba(112, 112, 112, 0.9);
    box-shadow: 0px 5px 30px 5px rgba(112, 112, 112, 0.9);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.mt-10 {
    margin-top: 10px;
}

.ppw-header {
    padding: 7px;
    font-size: 12px;
    background-color: rgb(245, 243, 243);
}

.ppw-body {
    padding: 7px;
    background-color: white;
    display: flex;
    align-items: stretch;
}

.ppw-item {
    position: relative;
    font-size: 10px;
    height: 50px;
    flex-grow: 1;
    padding: 5px;
}

.ppw-item-d {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 12px;
}

.button {
    float: left;
    margin: 0 5px 0 0;
    width: 100%;
    height: 26px;
    position: relative;
    background-color: white;
    border-radius: 50px;
}

.button label,
.button input {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.button input[type="radio"] {
    opacity: 0.011;
    z-index: 100;
}

.button:hover {
    background-color: #c7224e;
    border-radius: 50px;
    color: white !important;
}

.button input[type="radio"]:checked+label {
    background: #c7224e;
    border-radius: 50px;
    color: white;
}

.button label {
    cursor: pointer;
    z-index: 90;
    line-height: 1em;
    padding-bottom: 0em;
    font-size: 13px !important;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.mapboxgl-ctrl-logo {
    display: none !important;
}

.infoBox {
    background-color: #ffffff;
    z-index: 1;
    position: absolute;
    top: 45px;
    left: 45%;
    font-size: 12px;
    font-weight: bold;
    padding: 20px 40px;
    border-radius: 2px;
    -moz-box-shadow: 0px 5px 30px 5px rgba(112, 112, 112, 0.9);
    -webkit-box-shadow: 0px 5px 30px 5px rgba(112, 112, 112, 0.9);
    box-shadow: 0px 5px 30px 5px rgba(112, 112, 112, 0.9);
}

.countyLayers,
.cityLayers {
    display: none;
}

#d-building-layer,
#filter-color,
#filter-parcel,
#filter-power-plants,
#filter-building-layer-2,
#retail-service,
#control-area,
#service-area-legend,
#control-area-legend,
#egrid-nerc,
#egrid-nerc-legend,
#state-wise-egrid,
#state-wise-egrid-legend,
#county-layers-accordion,
#city-layers-accordion,
#filters,
#back-to-state,
#back-to-county
{
    display: none;
}

#parcel-layer-property {
    position: fixed;
    top: 30;
    margin-top: 4em;
    right: -521px;
    width: 420px !important;
    height: 700px;
    background: #ffffff;
    color: #000000;
    margin-right: 20px;
    font-family: Arial, sans-serif;
    z-index: 10;
    border-radius: 7px;
    width: 500px;
    overflow-y: scroll;
    z-index: 10;
}

#block-layer-properties {
    position: fixed;
    top: 30;
    margin-top: 4em;
    right: -521px;
    width: 420px !important;
    height: 700px;
    background: #ffffff;
    color: #000000;
    margin-right: 20px;
    font-family: Arial, sans-serif;
    z-index: 10;
    border-radius: 7px;
    width: 500px;
    overflow-y: scroll;
    z-index: 10;
}

#county-layer-properties {
    position: fixed;
    top: 30;
    margin-top: 4em;
    right: -521px;
    width: 420px !important;
    height: 700px;
    background: #ffffff;
    color: #000000;
    margin-right: 20px;
    font-family: Arial, sans-serif;
    z-index: 10;
    border-radius: 7px;
    width: 500px;
    overflow-y: scroll;
    z-index: 10;
}

#building-layer-properties {
    position: fixed;
    top: 30;
    margin-top: 4em;
    right: -521px;
    width: 420px !important;
    height: 700px;
    background: #ffffff;
    color: #000000;
    margin-right: 20px;
    font-family: Arial, sans-serif;
    z-index: 10;
    border-radius: 7px;
    width: 500px;
    overflow-y: scroll;
    z-index: 10;
}

#tract-layer-properties {
    position: fixed;
    top: 30;
    margin-top: 4em;
    right: -521px;
    width: 420px !important;
    height: 700px;
    background: #ffffff;
    color: #000000;
    margin-right: 20px;
    font-family: Arial, sans-serif;
    z-index: 10;
    border-radius: 7px;
    width: 500px;
    overflow-y: scroll;
    z-index: 10;
}

#zipcode-layer-properties {
    position: fixed;
    top: 30;
    margin-top: 4em;
    right: -521px;
    width: 420px !important;
    height: 700px;
    background: #ffffff;
    color: #000000;
    margin-right: 20px;
    font-family: Arial, sans-serif;
    z-index: 10;
    border-radius: 7px;
    width: 500px;
    overflow-y: scroll;
    z-index: 10;
}

#block-group-properties {
    position: fixed;
    top: 30;
    margin-top: 4em;
    right: -521px;
    width: 420px !important;
    height: 700px;
    background: #ffffff;
    color: #000000;
    margin-right: 20px;
    font-family: Arial, sans-serif;
    z-index: 10;
    border-radius: 7px;
    width: 500px;
    overflow-y: scroll;
    z-index: 10;
}

#electric-power-properties {
    position: fixed;
    top: 30;
    margin-top: 4em;
    right: -521px;
    width: 420px !important;
    height: 700px;
    background: #ffffff;
    color: #000000;
    margin-right: 20px;
    font-family: Arial, sans-serif;
    z-index: 10;
    border-radius: 7px;
    width: 500px;
    overflow-y: scroll;
    z-index: 10;
}

#us-power-region-properties {
    position: fixed;
    top: 30;
    margin-top: 4em;
    right: -521px;
    width: 420px !important;
    height: 700px;
    background: #ffffff;
    color: #000000;
    margin-right: 20px;
    font-family: Arial, sans-serif;
    z-index: 10;
    border-radius: 7px;
    width: 500px;
    overflow-y: scroll;
    z-index: 10;
}

#control-area-properties {
    position: fixed;
    top: 30;
    margin-top: 4em;
    right: -521px;
    width: 420px !important;
    height: 700px;
    background: #ffffff;
    color: #000000;
    margin-right: 20px;
    font-family: Arial, sans-serif;
    z-index: 10;
    border-radius: 7px;
    width: 500px;
    overflow-y: scroll;
    z-index: 10;
}

#egrid-nerc-properties {
    position: fixed;
    top: 30;
    margin-top: 4em;
    right: -521px;
    width: 420px !important;
    height: 700px;
    background: #ffffff;
    color: #000000;
    margin-right: 20px;
    font-family: Arial, sans-serif;
    z-index: 10;
    border-radius: 7px;
    width: 500px;
    overflow-y: scroll;
    z-index: 10;
}

#egrid-subregion-properties {
    position: fixed;
    top: 30;
    margin-top: 4em;
    right: -521px;
    width: 420px !important;
    height: 700px;
    background: #ffffff;
    color: #000000;
    margin-right: 20px;
    font-family: Arial, sans-serif;
    z-index: 10;
    border-radius: 7px;
    width: 500px;
    overflow-y: scroll;
    z-index: 10;
}

#state-wise-egrid-properties {
    position: fixed;
    top: 30;
    margin-top: 4em;
    right: -521px;
    width: 420px !important;
    height: 700px;
    background: #ffffff;
    color: #000000;
    font-family: Arial, sans-serif;
    z-index: 10;
    border-radius: 7px;
    width: 500px;
    overflow-y: scroll;
    z-index: 10;
}

#egrid-layer-properties {
    height: 175px;
    overflow-y: scroll;
    margin: 10px 0px 0px 10px;
    display: none;
    z-index: 10;
    position: relative;
    top: 50;
    margin-top: 4em;
    background: #ffffff;
    color: #000000;
    margin-right: 20px;
    font-family: Arial, sans-serif;
    overflow: auto;
    border-radius: 7px;
    z-index: 10;
    width: 228px;
    transition: transform .5s ease-in-out;
}

#holding-company-properties {
    /* top: 0;
    height: 700px;
    margin-top: 2px;
    overflow-y: scroll;
    display: none;
    z-index: 10; */
    position: fixed;
    top: 31 !important;
    margin-top: 4em;
    right: -521px;
    width: 420px !important;
    height: 700px;
    background: #ffffff;
    color: #000000;
    margin-right: 20px;
    font-family: Arial, sans-serif;
    z-index: 10;
    border-radius: 7px;
    width: 500px;
    overflow-y: scroll;
    /* display: none; */
    z-index: 10;
}

#area-service-properties {
    position: fixed;
    top: 30;
    margin-top: 4em;
    right: -521px;
    width: 420px !important;
    height: 700px;
    background: #ffffff;
    color: #000000;
    margin-right: 20px;
    font-family: Arial, sans-serif;
    z-index: 10;
    border-radius: 7px;
    width: 500px;
    overflow-y: scroll;
    z-index: 10;
}

#power-plants-properties {
    position: fixed;
    top: 87 !important;
    margin-top: 4em;
    right: -521px;
    width: 420px !important;
    height: 700px;
    background: #ffffff;
    color: #000000;
    margin-right: 20px;
    font-family: Arial, sans-serif;
    z-index: 10;
    border-radius: 7px;
    width: 500px;
    overflow-y: scroll;
    z-index: 10;
}

#state-legend,
#building-layer-2-legend {
    display: none;
}

#building-layer-2-legend {
    bottom: 70px;
}

/* width */
::-webkit-scrollbar {
    height: 8px;
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.legend {
    width: 52%;
    position: absolute !important;
    left: 48%;
    z-index: 1;
    top: 0px;
    box-shadow:
        0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
}

.zero {
    background-color: #fff6cf;
}

.zero-full {
    background-color: #ffeda0;
    height: 15px;
}

.one {
    background-color: rgb(255, 200, 200);
}

.one-full {
    background-color: rgb(255, 131, 131);
    height: 15px;
}

.two {
    background-color: #ffd49b;
}

.two-full {
    background-color: #feb24c;
    height: 15px;
}

.three {
    background-color: #ffc195;
}

.three-full {
    background-color: #fd8d3c;
    height: 15px;
}

.four {
    background-color: #ffa795;
}

.four-full {
    background-color: #fc4e2a;
    height: 15px;
}

.fifth {
    background-color: #ff8e8f;
}

.fifth-full {
    background-color: #e31a1c;
    height: 15px;
}

.six {
    background-color: hsl(348, 89%, 71%);
}

.six-full {
    background-color: hsl(348, 100%, 37%);
    height: 15px;
}

.seven {
    background-color: #f3768f;
}

.seven-full {
    background-color: #bd0026;
    height: 15px;
}

.search{
    padding: 20px;
    background-color: #d9d9d9;
}

.accordion-button:not(.collapsed){
    background-color: #fcc5c5 !important;
    color: #000000 !important;
}
.show{
    background-color: #ffeaea !important;
}

.show-popop{
    background-color: #fcc5c5 !important;
}