/*
.left-side-menu {
width: 350px !important;
z-index: 100;
}
{% comment %} .content-page {
margin-left: 350px !important;
padding: 0;
} {% endcomment %}

.content-page {
position: absolute;
padding: 0;
margin: 0;
width: 100vw;
height: 100vh;
z-index: 10;
}

#map {
position: relative;
width: 100%;
height: 100%;
}*/
html,
body {
    min-height: 100%;
    padding: 0;
    margin: 0;
}

#wrapper {
    padding-top: 70px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.navbar-custom {
    margin-top: -70px;
    height: 70px;
}

.left-side-menu {
    display: none;
    width: 400px !important;
    left: 0 !important;
    z-index: 100;
    /* background-color: rgba(0, 104, 159, 0.25) !important; */
    background-color: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(8.5px);
    pointer-events: all;
    padding: 0;
    cursor: default;
}

.sdg-header h2 {
    font-size: 1.2rem;
    font-weight: 100;
    text-shadow: 1px 1px 2px #666;
}

body[data-sidebar-size="condensed"] .left-side-menu {
    left: -420px !important;
    position: fixed !important;
    padding-top: 0 !important;
    width: 400px !important;
}
body[data-sidebar-size="condensed"] .logo span.logo-sm {
    display: none !important;
}
body[data-sidebar-size="condensed"] .logo span.logo-lg {
    display: block !important;
}
body[data-sidebar-size="condensed"]:not([data-layout="compact"]) {
    min-height: 0px;
}
body[data-sidebar-size="condensed"] .content-page {
    margin-left: 0 !important;
}

.content-page {
    height: 100%;
    padding: 0;
    margin: 0;
    z-index: 0;
}

#map {
    position: relative;
    width: 100%;
    height: 100%;
}

.mapboxgl-ctrl-logo {
    display: none !important;
}

.sidebar-collapse {
    display: none;
    position: fixed;
    width: 11px;
    top: 70px;
    left: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 32px 0 rgba(137, 137, 137, 0.37);
    backdrop-filter: blur(8.5px);
    transition: all .1s ease-out;
    z-index: 50;
}

.sidebar-collapse.hide {
    left: -15px;
}

.slider {
    position: fixed;
    top: 0;
    right: 0;
    width: 11px;
    height: 100%;
    cursor: pointer;
}

.slider:hover .silder-button {
    color: rgba(0, 0, 0, 0.8) !important;
}
.sidebar-collapse:hover {
    box-shadow: 0 0 15px 0 rgb(154, 161, 171);
}

.menu-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}
.menu-container .slider {
    pointer-events: auto;
    box-shadow: 0 0 15px 0 rgb(154, 161, 171);
    clip-path: inset(0px -15px 0px 1px);
}
/* .menu-container .slider:hover {
    box-shadow: 0 0 15px 0 rgb(154, 161, 171);
    clip-path: inset(0px -15px 0px 1px);
} */

.silder-button {
    border: none;
    color: rgba(0, 0, 0, 0.3) !important;
    /* color: #333 !important; */
    display: inline-block;
    height: 100%;
    width: 100%;
    background-color: transparent;
    text-align: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    transition: all .1s ease-out;
}

.silder-button i {
    position: absolute;
    padding: 0;
    left: 50%;
    transform: translateX(-50%);
}

.menu-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 339px;
    height: 100%;
}

.menu-content:hover {
    box-shadow: none;
}

.menu-wrapper {
    display: none;
    position: fixed;
    z-index: 120;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: transparent;
}

.pop-menu {
    position: absolute;
    color: #272e37;
    background-color: rgba(255, 255, 255, 0.65);
    /* background-color: rgba(255, 255, 255, 0.45); */
    box-shadow: 0 8px 32px 0 rgba(137, 137, 137, 0.37);
    backdrop-filter: blur(8.5px);
    border-radius: 0.25rem;
    z-index: 150;
}

#layer-menu {
    top: 72px;
    right: 2px;
    width: 160px;
    height: 180px;
    animation: layerIn .2s alternate ease-in;
}
#layer-menu.pop-hide {
    opacity: 0;
    right: -170px;
    animation: layerOut .2s alternate ease-out;
}

@keyframes layerIn {
    from {
        opacity: 0;
        right: -170px;
    }
    
    to {
        opacity: 1;
        right: 2px;
    }
}
@keyframes layerOut {
    from {
        opacity: 1;
        right: 2px;
    }

    to {
        opacity: 0;
        right: -170px;
    }
}

#map-menu {
    top: 72px;
    right: 2px;
    width: 160px;
    height: 172px;
    animation: mapIn .2s alternate ease-in;
}
#map-menu.pop-hide {
    opacity: 0;
    right: -170px;
    animation: mapOut .2s alternate ease-out;
}

@keyframes mapIn {
    from {
        opacity: 0;
        right: -170px;
    }
    
    to {
        opacity: 1;
        right: 2px;
    }
}
@keyframes mapOut {
    from {
        opacity: 1;
        right: 2px;
    }

    to {
        opacity: 0;
        right: -170px;
    }
}

.MuiList-root {
    margin: 0;
    padding: 0;
    position: relative;
    list-style: none;
}
.MuiList-padding {
    padding-top: 8px;
    padding-bottom: 8px;
}
.MuiMenu-list {
    outline: 0;
    pointer-events: all;
}

.MuiButtonBase-root {
    color: inherit;
    border: 0;
    cursor: pointer;
    margin: 0;
    display: inline-flex;
    outline: 0;
    padding: 0;
    position: relative;
    align-items: center;
    user-select: none;
    border-radius: 0;
    vertical-align: middle;
    justify-content: center;
    text-decoration: none;
    background-color: transparent;
    -webkit-tap-highlight-color: transparent;
}
.MuiListItem-root {
    width: 100%;
    display: flex;
    position: relative;
    box-sizing: border-box;
    text-align: left;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
    justify-content: flex-start;
    text-decoration: none;
}
.MuiListItem-gutters {
    padding-left: 16px;
    padding-right: 16px;
}
.MuiListItem-button {
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}
.MuiMenuItem-root {
    width: auto;
    overflow: hidden;
    font-size: 1rem;
    box-sizing: border-box;
    /* min-height: 48px; */
    /* font-family: "Roboto", "Helvetica", "Arial", sans-serif; */
    font-weight: 400;
    line-height: 1.5;
    padding-top: 6px;
    white-space: nowrap;
    letter-spacing: 0.00938em;
    padding-bottom: 6px;
}
.MuiListItem-root.Mui-selected, .MuiListItem-root.Mui-selected:hover {
    color: #fff;
    text-decoration: none;
    background-color: #acafb0;
    /* background-color: #272e37; */
}
.MuiListItem-root:hover {
    background-color: #f3f7f9;
}
.MuiListItemAvatar-root {
    margin-right: 6px;
}
.MuiAvatar-root {
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    color: #212529;
    background-color: #495057;
    width: 40px;
    height: 40px;
    display: flex;
    overflow: hidden;
    position: relative;
    font-size: 1.25rem;
    align-items: center;
    flex-shrink: 0;
    line-height: 1;
    user-select: none;
    justify-content: center;
    margin-right: 16px;
}
.MuiTypography-root {
    font-size: .875rem;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.00938em;
}
.MuiMenuHeader {
    text-align: center;
    vertical-align: middle;
    color: #343a40;
    position: relative;
    top: 4px;
    text-shadow: 1px 1px 2px #aaa;
}
.MuiListItem-disabled {
    opacity: .35;
    cursor: default;
}
.MuiListItem-disabled:hover {
    background-color: transparent;
}

.sdg-item-header {
    font-size: 1rem;
    font-weight: 100;
    color: #343a40;
    text-shadow: 1px 1px 2px #c6c6c6;
    margin: 0;
    height: 46px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sdg-item-header .item-name {
    cursor: pointer;
}
.sdg-item-header .item-tools button {
    border: none;
    background: transparent;
    margin: 0;
    padding: 0;
}
.sdg-page-header .sdg-item-header {
    font-size: 1.08rem;
    text-shadow: 1px 1px 2px #aaa;
}

.tool-arrow-down svg {
    transform: rotate(0deg);
    transition: transform .25s ease;
}
.tool-arrow-up svg {
    transform: rotate(-180deg);
    transition: transform .25s ease;
}

.sdg-header {
    margin: 1rem 12px;
    height: 21px;
}
.sdg-body {
    position: absolute;
    display: inline-flex;
    top: 60px;
    left: 0;
    bottom: 0;
    margin-left: 0;
    margin-right: 0;
}
.sdg-page {
    padding: 0 12px;
    width: 400px;
    overflow-y: auto;
}

.left-side-menu hr {
    margin-top: 0;
    margin-bottom: 0;
    border-top: 1px solid #ced2d6;
}
.sdg-header + hr {
    left: 0;
    height: 1px;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    border: none;
    backdrop-filter: blur(8.5px);
    margin: 6px 0;
}

.sdg-item-content {
    display: none;
    opacity: 0;
}
#sdg-page1 p.sdg-desc {
    width: 372px;
}
#sdg-page2 p.sdg-desc {
    width: 360px;
}

#sdg-page1 .pie-chart {
    width: 388px;
}
#sdg-page2 .pie-chart {
    width: 382px;
}
#sdg-page1 .bar-chart {
    width: 376px;
}
#sdg-page2 .pie-chart {
    width: 370px;
}

.sdg-item-content p {
    margin-top: 2px;
    margin-bottom: 10px;
}
.sdg-item-content p.sdg-desc {
    text-indent: 2em;
}
.sdg-item-content p.sdg-desc span {
    margin: 0;
}

.sdg-item-content p.sdg-nocontent {
    display: none;
}

span.sdg-value {
    margin-left: 3px !important;
    margin-right: 3px !important;
}
span.sdg-bold {
    font-weight: 700;
}
span.sdg-large {
    font-size: 1.1rem;
}
span.sdg-primary {
    color: #3283f6;
}
span.sdg-increase {
    color: #19b65d;
}
span.sdg-decrease {
    color: #f86262;
}

.sdg-body ul {
    list-style-type: none; /* Remove bullets */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margins */
}

.sdg-item-content ul {
    margin: 0 6px;
}

.sdg-item-content hr {
    margin-bottom: 9px;
}

hr.subitem-divider {
    margin-left: 20px;
}

.sdg-subitem-header {
    height: 32px;
    font-size: 0.95rem;
    font-weight: 100;
    color: #343a40;
    text-shadow: 1px 1px 2px #aaa;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sdg-subitem-header .subitem-names {
    display: flex;
}
.sdg-subitem-header .subitem-tools button {
    border: none;
    background: transparent;
    margin: 0;
    padding: 0;
}
.sdg-subitem-header .subitem-icon {
    display: inline-block;
    transform: translateY(-1px);
}
.subitem-icon svg {
    color: #343a40;
    filter: drop-shadow(1px 1px 2px #aaa);
}

.item-tools .tool-max {
    display: none;
}
.item-tools .tool-x {
    display: none;
}

.tool-disabled {
    cursor: default !important;
}
.tool-disabled svg {
    color: #dee4e7;
}

.sdg-header .header-tools {
    position: absolute;
    top: 18px;
    right: 12px;
}
.sdg-header .header-tools button {
    border: none;
    background: transparent;
    margin: 0;
    padding: 0;
}

#map-legend {
    display: none;
    height: 120px;
    width: 320px;
    bottom: 0;
    left: 0;
    margin-left: 10px;
    margin-bottom: 10px;
    /* background-color: #fff;
    box-shadow: 0 0 0 2px rgb(0 0 0 / 10%); */
    /* color: #fff;
    background-color: rgba(0, 0, 0, 0.75);
    box-shadow: 0 8px 32px 0 rgba(255, 255, 255, 0.37); */
    animation: legendIn .2s alternate ease-in;
}
#map-legend.left-show {
    left: 400px;
    transition: all .2s alternate ease-in;
}
#map-legend.left-collapse {
    left: 12px;
    transition: all .2s alternate ease-in;
}
#map-legend.pop-hide {
    opacity: 0;
    bottom: -150px;
    animation: legendOut .2s alternate ease-out;
}

@keyframes legendIn {
    from {
        opacity: 0;
        bottom: -150px;
    }
    
    to {
        opacity: 1;
        bottom: 0;
    }
}
@keyframes legendOut {
    from {
        opacity: 1;
        bottom: 0;
    }

    to {
        opacity: 0;
        bottom: -150px;
    }
}

.sdg-header .tool-lock {
    display: none;
}

.legend-content {
    width: 100%;
    height: 100%;
}
ul.legend-list {
    width: 100%;
    height: 100%;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
li.legend-item {
    width: 100%;
    height: 100%;
}
.legend-item-container {
    padding: 10px 16px;
    width: 100%;
    height: 100%;
}
.legend-item-header {
    -webkit-box-align: start;
    -webkit-box-pack: justify;
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
}
.legend-item-header > button {
    position: absolute;
    border: none;
    background: transparent;
    margin: 0;
    padding: 0;
    cursor: default;
}
.legend-item-header > h3 {
    margin: 0 0 0 20px;
    color: #343a40;
    text-shadow: 1px 1px 2px #aaa;
    font-size: 0.875rem;
    font-weight: 100;
    line-height: 1.57;
}
.item-toolbar button {
    border: none;
    background: transparent;
    margin: 0;
    padding: 0;
}
.legend-item-subitems {
    margin: 8px 0 6px 0;
}
.legend-item-subitems > select {
    padding: 4px 8px;
    height: auto;
    background-color: transparent;
    border: 1px solid #b3bac0;
}

.legend-gradient-icon {
    display: flex;
}
.icon-gradient {
    display: block;
    width: 100%;
    height: 6px;
    border: 1px solid #b3bac0;
}
.legend-item-content {
    margin-top: 10px;
}

#gradient-sdg6 {
    background-image: linear-gradient(to right, rgb(255, 255, 255), rgb(39, 189, 227));
}
#gradient-sdg611 {
    background-image: linear-gradient(to right, rgb(255, 255, 255), rgb(91, 184, 106));
}
#gradient-sdg631 {
    background-image: linear-gradient(to right, rgb(255, 255, 255), rgb(227, 174, 39));
}
#gradient-sdg632 {
    background-image: linear-gradient(to right, rgb(255, 255, 255), rgb(39, 189, 227));
}
#gradient-sdg641 {
    background-image: linear-gradient(to right, rgb(255, 255, 255), rgb(204, 54, 41));
}
#gradient-sdg642 {
    background-image: linear-gradient(to right, rgb(255, 255, 255), rgb(204, 54, 41));
}
#gradient-sdg65 {
    background-image: linear-gradient(to right, rgb(255, 255, 255), rgb(144, 41, 204));
}
#gradient-sdg661 {
    background-image: linear-gradient(to right, rgb(255, 255, 255), rgb(106, 148, 248));
}
#gradient-sdg632-tlr {
    background-image: linear-gradient(to right, rgb(255, 255, 255), rgb(39, 189, 227));
}
#gradient-sdg642-gap {
    background-image: linear-gradient(to right, rgb(182, 237, 240), rgb(31, 131, 224));
}
#gradient-sdg661-gw {
    background-image: linear-gradient(to right, rgb(204, 54, 41), rgb(255, 255, 255), rgb(122, 182, 245));
}

ul.legend-tags {
    display: flex;
    font-size: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.legend-tags li {
    flex: auto;
    margin: 0;
    padding: 0;
    text-align: center;
}
ul.legend-tags li span {
    font-size: 12px;
    letter-spacing: 0px;
    text-transform: none;
}
ul.legend-tags li:first-child {
    text-align: left;
}
ul.legend-tags li:last-child {
    text-align: right;
}

.item-toolbar .legend-hide {
    display: none;
}

.legend-segments-icon {
    display: flex;
    width: 100%;
    height: 6px;
    border: 1px solid #b3bac0;
}

.sdg-chart-item {
    margin-bottom: 10px;
}
.sdg-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 28px;
}
.sdg-chart-header .subitem-name {
    font-size: 0.95rem;
    font-weight: 100;
    color: #343a40;
    text-shadow: 1px 1px 2px #aaa;
    margin-left: 5px;
}

.mt-n20 {
    margin-top: -20px !important;
}

.item-disabled {
    color: #999d9f;
}

.tip-modal-body {
    margin: 12px 12px 12px 6em;
}
.tip-modal-content {
    color: #bbb;
    font-size: 0.9rem;
    font-weight: 100;
    text-indent: -5em;
}

#sdg-page1 .sdg-item-content, 
#sdg-page3 .sdg-item-content {
    display: block;
    opacity: 1;
}

.sdg-page ul {
    margin-left: 6px;
}

.sdg-last-item {
    margin-bottom: 10px;
}

#sdg-page3 .sdg-group {
    display: none;
}