#bottombar {
    width: 185px;
    display: flex;
    padding-left: 0 !important;
    justify-content: end;
    overflow-y: scroll !important;
    transition: right 0.3s ease-in-out;
    top: 0;
}
#bottombar::-webkit-scrollbar {
    width: 8px; /* Define a largura do scroll-bar */
}

#bottombar::-webkit-scrollbar-track {
    background: #e7e7e7;
    margin: 5px; /* Margem entre o scroll-bar e o conteúdo */
}

#bottombar::-webkit-scrollbar-thumb {
    background-color: #ccc; /* Cor do thumb do scroll */
    border-radius: 10px; /* Opicional: arredondar as bordas do scroll */
}

#widgets .widgets-content{
    display: flex;
    flex-direction: column;
    background: none;
}
.widget {
    margin: 5px 0;
    border: none !important;
    margin-right: 4px;
    border-radius: 15px 15px 0 0;
}
#map-controls{
    right: 195px;
    top: 20px !important;
    transition: 0.3s ease-in-out;
}
#map-controls .btn {
    width: 25px;
    height: 25px;
    line-height: 25px;
}
#map-controls .btn {
    margin: 3px 0;
}

#widgets .widget>.widget-heading{
    /* background-color: #e7e7e7; */
}
.widget-body{
    /* background-color: white; */
    height: auto !important;
    padding: 5px !important;
    border-radius: 0 0 15px 15px;
    max-width: 100% !important;
}
.topo-widget{
    width: 100%;
    height: 18px;
    background-color: #37B24D;
    border-radius: 15px 15px 0 0;
}

#widgets .btn-collapse {
    top:50px;
    right: 100px;
}

.btn {
    border-radius: 10px !important;
}

#widgets .widgets-content {
    overflow-x:auto !important;
}

.widget-title i{
    margin-right: 3px;
    font-size: 1.2rem;
}

#widgets .widget-title .status-classe-veiculo{
    background-color: red;
    position: absolute;
    width: 99% !important;
    top: 0px;
    height: 10px !important;
    left: 1px;
    border-radius: 15px 15px 0 0;
    white-space: normal;    /* deixa quebrar */
    word-wrap: break-word;  /* quebra se for muito longo */
}

#ajax-items .status-classe-veiculo{
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 7px;
    height: 100%;
    border-radius: 10px 0 0 10px;
    opacity: 0.7;
    background-color: red;
}

#bottombar{
    padding-left: 0 !important;
}

#widgets .widget>.widget-heading {
    /* background-color: #EBECF0; */
    border-radius: 15px 15px 0 0;
}

#widgets .widget-title, .panel-title, .widget-title .icon{
   /* color: black !important; */
   font-weight: 550;
   white-space: normal;    /* deixa quebrar */
   word-wrap: break-word;  /* quebra se for muito longo */
}


@media (max-width: 500px) {

    #header.folded .navbar .navbar-nav{
        padding-left: 9px;
    }

    #bottombar{
        width: calc(100% - 57px);
        height: auto !important;
        max-height: 230px;
        bottom: 0;
        top: auto;
    }
    #widgets .widgets-content {
        height: 100%;
        display: block;
    }
    .bottombar-expanded {
        width: calc(100% - 217px) !important;
    }
    .navbar-nav > li {
        padding: 10px 10px !important;
    }
    #widgets .widget-body {
        height: 100% !important;
    }
    #map-controls {
        right: 10px;
    }
    .tab-pane-body{
        height: 460px !important;
    }
    #sidebar .nav-default {
        margin-top: 18px !important;
    }
    #widgets .widgets-content {
        overflow-y: hidden !important;
    }
}

@media (min-width: 500px) {
    .bottombar-expanded {
        max-width: calc(100% - 540px) !important;
    }
}

#widgets .widget-streetview .widget-body img {
    width:165px;
    height: 150px;
    margin: auto;
    display: flex;
}

@media (max-width: 370px) {
    .tab-pane-body {
        height: 365px !important;
    }
    #sidebar .nav-default {
        margin-top: 8px !important;
    }
    .item-menu-dashboard{
        height: 30px;
    }
}