.main.container {
    margin-top: 2em;
}

* {
    outline: none !important;
}

.ui.attached.segment, .ui.attached.menu {
    margin: 0em -2px;
}

.ui[class*="top left attached"].label {
    border-radius: 0em 0em 0.28571429rem 0em;
}

.ui.footer.segment {
    padding: 5em 0em;
}

.ui.modal > .close {
    top: 10px;
    right: 10px;
    color: #000;
}

.ui.grid {
    margin: 0;
    width: 100%;
}

/*.ui.segment {*/
/*    -webkit-box-shadow: none;*/
/*    box-shadow: none;*/
/*    border: none !important;*/
/*}*/

.mapboxgl-map {
    font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-size: 0.78571429rem;
    color: rgba(0, 0, 0, 0.87);
    line-height: 1.4285em;
    white-space: normal;
}

.popup-title {
    font-weight: 700;
}

#map .mapboxgl-popup-content {
    font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
    line-height: 1.4285em;
    width: 180px;
}

@media screen and (max-width: 600px) {
    #map {
        height: 530px;
    }

    #mainMapTitle {
        display: none;
    }
}

.map {
    width: 100%;
    height: 450px;
}

.mapa {
    width: 100%;
    height: 250px;
}

#map-count {
    position: absolute;
    left: 10px;
    bottom: 0;
    z-index: 2;
}

#map-text {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
    color: #FFFFFF;
    text-shadow: 1.5px 1.5px 0.5px hsl(0, 0%, 18%);
}

.totals {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    color: #FFFFFF;
}

.map-text {
    position: absolute;
    left: 0;
    top: 10px;
    z-index: 2;
    color: #1B1C1D;
}

.map-text-2 {
    color: #767676;
    font-size: 11px;
}

#heatmap-bar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-right: 3px;
    margin-left: 3px;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    border-radius: 3px;
    width: 145px;
    height: 25px;
    background: rgb(90,24,70);
    background: linear-gradient(90deg, rgba(90,24,70,1) 10%, rgba(131,26,61,1) 30%, rgba(172,28,23,1) 50%, rgba(213,93,14,1) 70%, rgba(255,195,0,1) 100%);
}

#heatmap-bar i.icon {
    margin: 0;
    height: 1.65em;
}

#map-legend {
    position: absolute;
    z-index: 2;
    left: 310px;
    bottom: 10px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
}

#map-legend div {
    flex-direction: row;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

#map-legend div:last-child {
    margin-bottom: 0 !important;
}

#legend {
    display: flex;
    flex-direction: column !important;
    align-items: flex-start !important;
}

#legend div {
    flex-direction: row;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

#legend-a {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 0;
    color: #1B1C1D;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
}

#legend-a div {
    flex-direction: row;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

#legend-b div {
    flex-direction: row;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

#legend-c div {
    flex-direction: row;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

#legend-d div {
    flex-direction: row;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

#legend-b {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 0;
    color: #1B1C1D;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
}

#legend-c {
     position: absolute;
     z-index: 2;
     left: 0;
     bottom: 0;
     color: #1B1C1D;
     font-size: 12px;
     font-weight: 600;
     display: flex;
     flex-direction: column;
 }

#legend-d {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 0;
    color: #1B1C1D;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
}

#legend-b .legend-key, #legend-a .legend-key, #legend-c .legend-key, #legend-d .legend-key   {
    border: 2px solid rgba(0, 0, 0, 0.1);
}

#rate_layer {
    margin-right: 0;
}

#legend div {
    flex-direction: row;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

#legend div:last-child {
    margin-bottom: 0;
}

#polygons-legend .legend-key {
    border-radius: 3px !important
}

.legend-key {
    display: inline-block;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.chartsLegend ul {
    list-style: none;
    margin:0;
    padding: 0;
    font-size: 12px;
}

.chartsLegend li {
    display: inline-block;
    margin-right: 10px;
}

a.mapboxgl-ctrl-logo {
    display: none;
}

.ui.inverted.segment, .ui.inverted.menu {
    background: #231f20;
}

#contact {
    background: #f3f4f5;
    color: rgba(0,0,0,.6);
    padding-bottom: 30px;
    padding-top: 30px;
}

#toolbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f2f2f2;
    background-color: rgba(0,0,0,0.025);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

#sidebar-indicadores {
    padding-left: 10px;
    padding-right: 10px;
}

#sidebar {
    position: absolute;
    z-index: 1;
    height: 100%;
    width: 300px;
    overflow: auto;
    background-color: #ffffff;
}

#mapMenu {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    background-color: #f2f2f2;
    font-size: 11px;
    color: #4a4a4a;
}

#mapMenu a {
    color: #4a4a4a;
    border-bottom: 0;
}

#mapMenu a:hover {
    color: #4a4a4a;
    background: #FFFFFF;
}

.ui.vertical.menu .active.item{
    background: #FFFFFF;
}

.item .active , .ui.menu .active.item:hover, .ui.vertical.menu .active.item:hover {
    background-color: #FFFFFF;
}

#mapMenu.ui.vertical.menu .item:before {
    width: 0;
    height: 0;
    background: transparent;
}

#mapMenu.ui.vertical.menu {
    background-color: #f2f2f2;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#mapMenu.ui.menu {
    background: #f2f2f2;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0;
}

.ui.search > .results {
    font-size: 11px;
}

#charts .ui.toggle.checkbox input ~ label {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 12px;
}


#charts .ui.toggle.checkbox input:focus:checked ~ label {
    color: rgba(255, 255, 255, 0.9) !important;
}

#charts .ui.toggle.checkbox input:checked ~ label:before {
    background-color: #4a4a4a !important;
}


.ui.toggle.checkbox .box:before,
.ui.toggle.checkbox label:before {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 500rem;
}

.ui.search .prompt {
    border-radius: .28571429rem;
}

#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
}

.ui.dropdown > .text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}