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

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

/* Handle */
::-webkit-scrollbar-thumb {
    background: #1367a5;
    border-radius: 20px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.6);
}
main{
    position: relative;
}
#map{
    min-height: 100vh;
    position: relative;
}
#basemaps,
#legend,
#config,
#routes,
#wages,
#swi {
    padding: 10px;
    background: transparent;
    font-size: 13px;
}
#basemaps,
#routes {
    max-width: 370px;
}

#config {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    font-size: 12px;
}
li.columns {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}
input[type="text"],
input[type="email"],
input[type="password"],
select {
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
    padding: 2px 5px;
    border-radius: 3px;
    max-width: 100%;
}
input[type="text"]:focus {
    outline: none;
}
li.columns input[type="text"] {
    width: 90px;
}
.sidepanel {
    position: absolute;
    left: 10px;
    top: 45px;
    max-height: 80%;
    overflow: auto;
    background: rgba(245, 245, 245, 0.75);
    z-index: 1;
    width: fit-content;
    padding: 10px;
    box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.2);
    font-size: 12px;
    min-height: 150px;
    display: none;
}
#laterlistdata li {
    padding: 5px;
    border-bottom: 1px solid #eee;
    position: relative;
}
#laterlistdata li input[type="checkbox"] {
    position: relative;
    top: 2px;
}
#basemapGallery div[dojoattachpoint="flowContainer"] {
    display: flex;
    flex-wrap: wrap;
}
#basemapGallery div[dojoattachpoint="flowContainer"] .esriBasemapGalleryNode {
    margin: 1.5%;
    font-size: 10px;
    flex-basis: 30%;
    float: none;
    width: auto;
}
.esriBasemapGalleryThumbnail {
    box-shadow: 1px 1px 2px #000;
}
.esriBasemapGalleryLabelContainer {
    display: none;
}
.esriPopup .contentPane,
.esriPopup .actionsPane {
    background-color: rgba(245, 245, 245, 0.75);
}
.morecta {
    right: 0;
    top: 10px;
}
.more {
    right: 10px;
    top: 10px;
}
.more ul {
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
#load {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 99999;
    visibility: hidden;
    background: url("/media/spinner.svg") no-repeat center center
        rgba(0, 0, 0, 0.5);
}
.menu-trigger {
    position: absolute;
    z-index: 1;
    background: white;
    padding: 0px 10px;
    font-size: 20px;
    top: 10px;
    left: 10px;
    border: 1px solid #333;
    border-radius: 3px;
}
.bg-image {
    background-image: url(/media/Fundal-aplicatie.png);
    background-position: bottom 30% center;
    background-size: cover;
    background-repeat: no-repeat;
}
@media (max-width: 768px) {
    .sidepanel {
        width: 320px;
    }
}
