.map-layout .header {
    position: relative;
    z-index: 100
}

.map-layout .header__inner {
    padding: 0 6px
}

.map-layout .header .container {
    max-width: 100% !important;
    padding: 0 !important
}

.map-layout .header .logo img {
    max-height: 30px
}

.map-layout .header-actions .btn {
    height: 32px;
    padding: 5px 20px;
    border-width: 1px;
    font-size: 13px
}

.map-layout .main-menu__link {
    font-size: 14px
}

.map-layout .main-menu__item--mega .main-menu__dropdown {
    max-width: 1200px
}

.map-layout .header-search__group {
    padding: 10px
}

.map-layout .header-search__btn {
    padding: 8px 26px
}

.main-map {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    display: flex;
    padding-top: 40px
}

@media screen and (max-width:767px) {
    .main-map {
        padding-bottom: 50px
    }
}

.main-map__aside {
    position: relative;
    width: 80px;
    height: 100%;
    background-color: #f7f7f7
}

@media screen and (max-width:767px) {
    .main-map__aside {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        width: 100%;
        height: 50px
    }
}

.main-map__menus {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 91;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #f7f7f7
}

@media screen and (max-width:767px) {
    .main-map__menus {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        z-index: 99
    }
}

.main-map__menus::before {
    content: "";
    pointer-events: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: 1px;
    background-color: #e5e5df
}

.main-map__content {
    position: relative;
    width: calc(100% - 80px);
    height: 100%
}

@media screen and (max-width:767px) {
    .main-map__content {
        width: 100%
    }
}

.main-map__container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top: 1px solid #ebebeb;
    background-color: #9cbbec
}

.main-map__container>iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.main-map__container .leaflet-popup-content-wrapper {
    border-radius: 5px
}

.main-map__container .leaflet-popup-content {
    padding: 15px
}

.main-map__container .leaflet-popup-content .analyze-track__tab-content {
    padding: 0 !important
}

.main-map__container .leaflet-popup-content .btn {
    padding: 6px 20px;
    font-size: 13px
}

.map-menu {
    margin: 0;
    padding: 0;
    list-style: none
}

@media screen and (max-width:767px) {
    .map-menu {
        display: none
    }

    .map-menu--mobile {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between
    }
}

.map-menu__button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 80px;
    padding: 5px;
    color: #4a4a4a;
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid rgba(0, 0, 0, 0);
    border-left: 0;
    transition: all .3s ease
}

@media screen and (max-width:767px) {
    .map-menu__button {
        height: 50px;
        min-height: 50px;
        padding: 0
    }
}

.map-menu__button:hover {
    color: var(--color-primary, #fa9d24);
    background-color: #fff;
    border-color: #fff
}

.map-menu__button.active {
    position: relative;
    z-index: 1;
    color: var(--color-secondary, #9ca11f);
    background-color: #fff;
    border-top-color: #e5e5df;
    border-bottom-color: #e5e5df
}

.map-menu__button-icon {
    display: block;
    width: 30px;
    height: 30px;
    margin-bottom: 6px;
    -o-object-fit: cover;
    object-fit: cover
}

@media screen and (max-width:767px) {
    .map-menu__button-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 3px
    }
}

.map-menu__button-label {
    display: block;
    width: 100%;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase
}

@media screen and (max-width:767px) {
    .map-menu__item {
        display: none
    }

    .map-menu__item--mobile {
        display: block;
        width: 100%
    }
}

.map-menu__item--only-mobile {
    display: none
}

@media screen and (max-width:767px) {
    .map-menu__item--only-mobile {
        display: block;
        width: 100%
    }
}

.map-drawer {
    position: absolute;
    top: 0;
    left: 100%;
    bottom: 0;
    z-index: -1;
    width: 300px;
    background-color: #fff;
    border: 1px solid #ebebeb;
    border-left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
    transition: all .3s ease
}

@media screen and (max-width:767px) {
    .map-drawer {
        top: auto;
        left: 0;
        right: 0;
        bottom: 100%;
        width: 100%;
        transform: translateY(100%)
    }
}

.map-drawer.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    z-index: 90
}

@media screen and (max-width:767px) {
    .map-drawer.show {
        transform: translateY(0)
    }
}

.map-drawer__header {
    display: none
}

@media screen and (max-width:767px) {
    .map-drawer__header {
        display: block;
        border-bottom: 1px solid #ebebeb
    }
}

.map-drawer__header-btn {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase
}

.map-drawer__header-btn svg {
    display: block;
    width: 14px;
    height: 14px;
    margin-top: 4px
}

.map-drawer__content {
    overflow-x: hidden;
    overflow-y: auto
}

@media screen and (min-width:768px) {
    .map-drawer__content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0
    }
}

@media screen and (max-width:767px) {
    .map-drawer__content {
        max-height: 60vh
    }
}

.dataset {
    position: relative;
    padding: 20px
}

.dataset::after {
    content: "";
    pointer-events: none;
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    display: block;
    height: 1px;
    background-color: rgba(158, 158, 158, .3)
}

.dataset:last-child::after {
    display: none
}

.dataset__header {
    margin: 0 0 20px;
    color: #4a4a4a;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.1;
    text-transform: uppercase
}

.dataset__toggle {
    margin-bottom: 20px;
    display: flex;
    flex-direction: row
}

.dataset__toggle:last-child {
    margin-bottom: 0
}

.dataset__switch {
    width: 22px
}

.dataset__content {
    width: calc(100% - 22px)
}

.dataset__content-heading {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between
}

.dataset__content-name {
    cursor: pointer;
    margin-top: -2px;
    padding: 0 6px;
    color: #555;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: -0.3px
}

.dataset__content-info {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    margin: 0;
    padding: 0;
    color: #fff;
    background-color: #999;
    border: 0;
    border-radius: 50%
}

.dataset__content-info svg {
    display: block;
    width: 8px;
    height: 8px
}

.dataset__content-summary {
    padding: 3px 6px 0;
    padding-right: 20px;
    color: #9e9e9e;
    font-size: 12px;
    letter-spacing: -0.3px;
    line-height: 1.5;
    word-break: break-word
}

.dataset__region {
    display: flex;
    flex-flow: row wrap
}

.dataset__region-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 20px;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 0 4px 0 8px;
    border-radius: 15px;
    color: #fff;
    background-color: #d4d4d4;
    font-size: 12px
}

.dataset__region-item svg {
    display: block;
    margin-left: 2px
}

.dataset__region-select select {
    display: block;
    height: 20px;
    margin: 0;
    padding: 0 8px;
    color: #aaa;
    background-color: #fff;
    border: 1px solid #d4d4d4;
    border-radius: 20px;
    font-size: 12px
}

.map-analysis {
    position: absolute;
    top: 20px;
    left: 100%;
    z-index: 1;
    width: 290px;
    margin-left: 20px;
    background-color: #fff;
    border: 1px solid #e5e5df;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .25);
    transition: all .3s ease
}

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

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

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

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgb(114, 114, 114);
}


@media screen and (max-width:767px) {
    .map-analysis {
        display: none
    }
}

.map-analysis.increase-width {
    width: 600px
}

.map-analysis.compact {
    top: auto;
    bottom: 10px;
    margin-left: 10px;
    width: auto
}

.map-analysis.compact .map-analysis__content {
    display: none
}

.map-analysis.compact .map-analysis__bottom .btn {
    display: none
}

.map-analysis.compact .map-analysis__bottom .btn[data-value=compact] {
    display: flex
}

@media screen and (min-width:768px) {
    .map-analysis.active {
        transform: translateX(300px)
    }
}

.map-analysis__content {
    display: block
}

.map-analysis__nav {
    display: flex;
    flex-flow: row wrap;
    border-bottom: 1px solid #e5e5df
}

.map-analysis__nav-item {
    width: 50%
}

.map-analysis__nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    color: #4a4a4a;
    background-color: #f1f1f1;
    border: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all .3s ease
}

.map-analysis__nav-link svg {
    display: block;
    margin-right: 5px;
    margin-top: -2px
}

.map-analysis__nav-link.active {
    background-color: #fff
}

.map-analysis__tab-content {
    max-height: calc(100vh - 160px);
    overflow-x: hidden;
    overflow-y: auto
}

.map-analysis__tab-panel {
    display: none
}

.map-analysis__tab-panel.active {
    display: block
}

.map-analysis__bottom {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: #f1f1f1
}

.map-analysis__bottom .btn {
    display: flex;
    justify-content: center;
    width: 50px;
    height: 40px;
    padding: 5px;
    color: #0c1724;
    background-color: rgba(0, 0, 0, 0);
    border: 0;
    border-radius: 0;
    font-size: 13px;
    font-weight: normal;
    text-transform: uppercase
}

.map-analysis__bottom .btn svg {
    margin: 0;
    transition: none
}

.map-analysis__bottom .btn>.open {
    display: none
}

.map-analysis__bottom .btn:hover {
    background-color: rgba(255, 255, 255, .6)
}

.map-analysis__bottom .btn:hover svg {
    transform: translateX(0)
}

.map-analysis__bottom .btn.active {
    background-color: rgba(255, 255, 255, .9)
}

.map-analysis__bottom .btn.active>.open {
    display: block
}

.map-analysis__bottom .btn.active>.close {
    display: none
}

.no-layers {
    padding: 100px 30px;
    opacity: .5;
    text-align: center
}

.analysis {
    position: relative;
    padding: 20px;
    border-bottom: 1px solid #e5e5df
}

.analysis:last-child {
    border-bottom: 0
}

.analysis__header {
    display: flex;
    justify-content: space-between
}

.analysis__header-func {
    display: flex;
    align-items: center;
    padding-top: 3px
}

.analysis__header-func .dataset__content-info {
    margin-left: 10px;
    background-color: #999;
    transition: all .3s ease
}

.analysis__header-func .dataset__content-info:hover {
    background-color: #676867
}

.analysis__heading {
    margin: 0;
    padding-right: 20px;
    color: #393f44;
    font-size: 14px;
    font-weight: 500
}

.analysis__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    padding: 0;
    color: #999;
    background-color: rgba(0, 0, 0, 0);
    border: 0;
    transition: all .3s ease
}

.analysis__remove:hover {
    color: #676867
}

.analysis__vizzuality {
    padding: 8px 0
}

.analysis__vizzuality-item {
    display: flex;
    flex-flow: row wrap;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: normal
}

.analysis__vizzuality-item--text {
    display: block;
    margin-top: 20px
}

.analysis__vizzuality-item select {
    display: inline-block;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0 18px 0 8px;
    font-size: .75rem;
    line-height: 18px;
    border: 1px solid #ebebeb;
    border-radius: 20px;
    background-image: url("../img/icon/chevron-down.svg");
    background-repeat: no-repeat;
    background-position: right 5px center;
    background-size: 10px
}

.analysis__vizzuality-item select:hover,
.analysis__vizzuality-item select:focus {
    outline: 0
}

.analysis__vizzuality-item [data-toggle=tooltip] {
    cursor: help;
    border-bottom: 1px dashed #ebebeb;
    padding-bottom: 1px
}

.analysis__vizzuality-square {
    display: block;
    width: 12px;
    height: 12px;
    margin: 2px 5px 0 0;
    border-radius: 12px;
    background-color: var(--square-bg, #fa9d24)
}

.analysis__vizzuality-name {
    width: calc(100% - 17px);
    overflow-x: hidden;
    overflow-y: auto
}

.analysis-opacity {
    position: relative
}

.analysis-opacity__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    padding: 0;
    color: #999;
    transition: all .3s ease
}

.analysis-opacity__btn:hover {
    color: #676867
}

.analysis-opacity__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 2;
    width: 150px;
    padding: 8px;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .1);
    border: 1px solid #ebebeb;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all .1s ease
}

.analysis-opacity__heading {
    margin: 0 0 5px;
    font-size: 13px;
    font-weight: 500
}

.analysis-opacity__range {
    margin: 0 0 2px
}

.analysis-opacity__range input {
    display: block;
    width: 100%
}

.analysis-opacity__range-text {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 12px
}

.analysis-opacity.active .analysis-opacity__btn {
    color: #676867
}

.analysis-opacity.active>.analysis-opacity__dropdown {
    opacity: 1;
    visibility: visible
}

.analyze-track {
    padding: 20px
}

.analyze-track__heading {
    margin: 0 0 18px;
    font-size: 14px;
    font-weight: 500;
    color: #4a4a4a;
    text-align: center;
    text-transform: uppercase
}

.analyze-track__nav {
    display: flex;
    flex-flow: row wrap;
    justify-content: center
}

.analyze-track__nav-item {
    width: 50%
}

.analyze-track__nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 10px 15px;
    color: #7f7f7f;
    background-color: rgba(0, 0, 0, 0);
    border: 0;
    border-bottom: 2px solid rgba(0, 0, 0, 0);
    font-size: 11px;
    line-height: 1.18;
    transition: all .3s ease
}

.analyze-track__nav-link svg {
    display: block;
    margin-bottom: 10px
}

.analyze-track__nav-link.active {
    color: var(--color-primary, #fa9d24);
    border-bottom-color: var(--color-primary, #fa9d24)
}

.analyze-track__tab-content {
    padding: 20px 0 0;
    color: #555;
    font-size: 12px
}

.analyze-track__tab-content p {
    margin: 0 0 20px
}

.analyze-track__tab-content p:last-child {
    margin-bottom: 0
}

.analyze-track__tab-content a {
    color: var(--color-primary, #fa9d24);
    text-decoration: none
}

.analyze-track__tab-content a:hover {
    text-decoration: underline
}

.analyze-track__tab-content .form-select {
    cursor: pointer;
    display: block;
    width: 100%;
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 30px;
    border: 1px solid var(--color-primary, #fa9d24)
}

.analyze-track__tab-content .form-select:focus {
    outline: 0
}

.analyze-track__tab-content .btn {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 6px 20px;
    font-size: 13px;
    line-height: 20px;
    border-radius: 40px;
    text-transform: uppercase;
    text-decoration: none
}

.analyze-track__tab-content .btn--secondary {
    color: #fa9d24;
    background-color: #fff !important;
    border-color: #fa9d24 !important
}

.analyze-track__tab-content .btn--secondary:hover {
    color: #fff;
    background-color: #fa9d24 !important;
    border-color: #fa9d24 !important
}

.analysis-timeline {
    margin: 15px 0
}

.analysis-timeline__player-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    padding: 0
}

.analysis-timeline__player-btn .icon-pause {
    display: none
}

.analysis-timeline__player-btn.active .icon-play {
    display: none
}

.analysis-timeline__player-btn.active .icon-pause {
    display: block
}

.analysis-timeline__container {
    display: flex;
    align-items: center
}

.analysis-timeline__container .vue-slider-mark-label {
    font-size: 11px
}

.analysis-timeline__container .vue-slider-process {
    background-color: var(--progress-color, #3498db)
}

.analysis-timeline__player {
    width: calc(100% - 16px);
    padding-left: 15px
}

.analysis-timeline__bar {
    position: relative;
    width: 100%;
    height: 5px;
    background-color: var(--bar-color, #eda4c3);
    border-radius: 5px
}

.analysis-timeline__bar::before,
.analysis-timeline__bar::after {
    content: "";
    position: absolute;
    display: block
}

.analysis-timeline__bar::before {
    top: 50%;
    left: var(--percent, 0);
    z-index: 2;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    margin-left: -5px;
    border-radius: 10px;
    background-color: var(--circle-color, #b235cc)
}

.analysis-timeline__bar::after {
    top: 0;
    left: 0;
    z-index: 1;
    width: var(--percent, 0);
    height: 100%;
    background-color: var(--bar-played, #d6d6d6)
}

.analysis-timeline__text {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin-top: 5px;
    color: #666;
    font-size: 12px
}