#sidebar,
#sidebar-right {
    position: absolute;
    top: 0;
    background-color: #161616;
    z-index: 1000;
    display: flex
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    font-family: Poppins, sans-serif;
    font-size: 100%;
    overflow: hidden
}

.leaflet-pane .leaflet-popup-content {
    font-size: .3rem
}

a,
a:active,
a:visited {
    color: #fff;
    text-decoration: none
}

#map {
    width: 100%;
    height: 100vh
}

#sidebar {
    height: 100vh;
    left: -350px;
    width: 350px;
    flex-direction: column;
    transition: left .5s ease-in-out
}

#sidebar-right {
    height: 450px;
    right: -150px;
    width: 150px;
    flex-direction: column;
    transition: right .5s ease-in-out;
    border-radius: 0 0 0 5px
}

#sidebar-toggle,
#sidebar-toggle-right {
    width: 25px;
    background: #161616;
    top: 20px;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    height: 50px;
    color: #fff;
    display: flex
}

#sidebar.active {
    left: 0
}

#sidebar-right.active {
    right: 0
}

#sidebar-toggle {
    left: 100%;
    align-items: center;
    border-radius: 0 4px 4px 0
}

#sidebar-toggle-right {
    right: 100%;
    align-items: center;
    border-radius: 4px 0 0 4px
}

#sidebar-toggle i,
#sidebar-toggle-right i,
.rotate {
    transition: transform .5s
}

.sidebar-header {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid rgba(255, 255, 255, .1)
}

.sidebar-header .logo {
    width: 70%;
    padding: 20px 0;
    user-select: none
}

.sidebar-content,
.sidebar-content-right {
    flex: 1;
    overflow: hidden
}

#categories {
    overflow-y: scroll;
    height: 100%;
    color: #fff;
    -ms-overflow-style: none;
    scrollbar-width: none
}

#categories p.goldrushes,
#categories p.hideall,
#categories p.sieges {
    text-align: center;
    display: inline-block;
    padding: 6px 9px;
    border: 2px solid transparent; /* Always has border */
    box-sizing: border-box;
}

#categories p.sieges.live-state,
#categories p.goldrushes.live-state {
  border-color: red;
  /* display: inline-block; */
  /* padding: 2px; */
}

#categories p.jurisdiction,
#categories p.playerblips,
#categories p.properties {
    text-align: center;
    display: inline-block;
    margin: 0;
    padding: 0 10px 10px 13px
}

#categories .legend p.collapse,
#categories .missions p.collapse,
#categories .others p.collapse,
#categories .robberies p.collapse,
#categories .services p.collapse,
#categories .stores p.collapse {
    font-size: 1rem;
    color: grey
}

#categories2 {
    height: 100%;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}

.thumb-wrap {
    text-align: center
}

.thumb-wrap img {
    width: 75%;
    border-radius: 5px
}

#categories2 p {
    padding: 10px;
    font-size: 1.2rem
}

#categories::-webkit-scrollbar {
    display: none
}

#categories p {
    padding: 3px 10px 3px 15.5px;
    font-size: 1.2rem;
    cursor: pointer
}

.sidebar-footer {
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: .8rem;
    border-top: 2px solid rgba(255, 255, 255, .1)
}

.leaflet-container {
    background-color: #384950;
    outline: 0
}

.leaflet-control-layers-base label,
[type=radio]+img {
    cursor: pointer
}

.leaflet-control-layers-base input {
    display: none
}

.leaflet-control-layers-base span {
    display: block;
    padding: 8px 10px;
    color: #fff;
    font-size: .9rem;
    text-transform: uppercase
}

.leaflet-control-layers-base input:checked+span {
    background-color: rgba(248, 248, 248, .1)
}

.leaflet-popup-content-wrapper {
    border-radius: 4px
}

.leaflet-control-layers-expanded {
    padding: 0
}

.leaflet-retina .leaflet-control-layers-toggle {
    background-image: url(./img/icons/layer-group-solid.svg)
}

.leaflet-control-layers {
    background: #161616
}

.leaflet-touch .leaflet-bar,
.leaflet-touch .leaflet-control-layers {
    border: 0
}

.PoliceGarage,
.pd {
    filter: invert(14%) sepia(99%) saturate(1588%) hue-rotate(197deg) brightness(92%) contrast(97%)
}

.orange {
    filter: invert(84%) sepia(42%) saturate(5595%) hue-rotate(342deg) brightness(105%) contrast(106%)
}

.localbank {
    filter: invert(33%) sepia(95%) saturate(1861%) hue-rotate(114deg) brightness(95%) contrast(98%)
}

.Hospital {
    filter: invert(16%) sepia(52%) saturate(2292%) hue-rotate(337deg) brightness(87%) contrast(104%)
}

.red {
    filter: invert(23%) sepia(77%) saturate(5045%) hue-rotate(352deg) brightness(97%) contrast(133%)
}

.grey {
    opacity: .6
}

.goldrushes,
.hideall,
.sieges,
.toggle {
    color: #fff;
    cursor: pointer
}

.untoggle,
hr {
    color: grey
}

hr {
    opacity: .2
}

.leaflet-marker-icon,
.leaflet-marker-shadow {
    -webkit-animation: 1s fadein;
    -moz-animation: 1s fadein;
    -ms-animation: fadein 1s;
    -o-animation: 1s fadein;
    animation: 1s fadein
}

@keyframes fadein {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@-moz-keyframes fadein {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@-webkit-keyframes fadein {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@-ms-keyframes fadein {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@-o-keyframes fadein {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

[type=radio] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0
}

[type=radio]:checked+img {
    outline: #f00 solid 3px
}

.leaflet-touch .leaflet-bar a {
    width: 50px;
    height: 50px;
    line-height: 50px;
    color: #fff;
    background-color: transparent
}

.bw {
    filter: grayscale(100%);
    opacity: .5
}

.fa-chevron-down {
    margin-right: 16.5px
}

.leaflet-marker-pane>* {
    -webkit-transition: transform 1.5s linear;
    -moz-transition: transform 1.5s linear;
    -o-transition: transform 1.5s linear;
    -ms-transition: transform 1.5s linear;
    transition: transform 1.5s linear
}

.animate-popup {
    -webkit-transition: transform 1.5s linear !important;
    -moz-transition: transform 1.5s linear !important;
    -o-transition: transform 1.5s linear !important;
    -ms-transition: transform 1.5s linear !important;
    transition: transform 1.5s linear !important
}

.image-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin: 3px 0 0 6px
}

.image-row img {
    width: 32px
}

.vl {
    border-left: 6px solid #424242;
    height: 30px
}