body{
    padding: 0px;
    margin: 0;
}

* {
    padding: 0px;
}

.map-icon-label .map-icon {
    font-size: 24px;
    color: #FFFFFF;
    line-height: 48px;
    text-align: center;
    white-space: nowrap;
}

/* Header */
#loading-wrapper {
    display: inline-block;
    height: 40px;
    width: 100%;
}

.top-corner {
    position: absolute;
    top: 10px;
    right: 0px;
}

.username-logout {
    top: 0px;
    right: 0%;
    background-color: black;
    font-size: 20px;
}

.div-header {
    background-color: black;
    text-align: right;
    width: calc(100% - 32px);
    margin-left: 32px;
}

.navbar {
    margin: 0px;
    background-color: #962a32;
    padding: 4px;
    padding-left: 16px;
    min-height: 20px;
}

.logout-header {
    font-size: medium;
    color: #eeeeee;
    display: inline-block;
    padding: 2px;
    cursor: pointer;
    margin: 0px;
    padding-right: 10px;
}

.username-header {
    margin: 0px;
    display: inline-block;
    padding: 2px;
    font-size: medium;
}

.logout-header:hover {
    text-decoration: underline;
    color: #bbbbbb;
}

#loading {
    margin: 0 auto;
}

body {
  background-image: url('../images/background.jpg');
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

#content {
    width: 100%;
    min-height: 92vh;
    padding: 10px;
}

#map {
    z-index: 1;
    height: 92vh;
}

#mapContainer{
    padding: 0;
    overflow-x: hidden;
    min-height: 85vh;
}

    /* Sidebar*/
#sidebar .sidebar-header{
    padding: 10px;
}


.btn-sead {
    position: fixed;
    padding: 10px;
    bottom: 0px;
    z-index: 100;
    box-shadow: none;
    outline: none !important;
    border: none;
    background-color: #962a32;
    height: 100%;
}

.btn-sead:hover {
    background-color: #9e4047;
}

/* FOOTER */
.div-footer {
    position: fixed;
    bottom: 0px;
    width: 100%;
    height: 50px;
    background-color: #555555;
    text-align: center;
}

.text-footer {
    color: #bbbbbb;
}

.a-footer {
    color: #aaaaaa;
    text-decoration: underline;
}

/* FORM BASIC */
.gps-form {
    /*margin: 10px;*/
    margin-bottom: 5px;
    padding: 5px;
    border-top: solid #962a32 4px;
}

.gps-form-map {
    margin: 10px;
    padding: 5px;
}

/*
    FILTER MENU
*/
#filterContainter{
    padding: 0;
    color: #eeeeee;
}

#filter-form {
    z-index: 90;
}

#filter-wrapper {
    display: flex;
    position: sticky;
    top: 0px;
    background-color: rgba(255, 255, 255, 0);
    margin-left: 3px;
    margin-right: 3px;
}

#filter-menu {
    z-index: 89;
    border: 0px;
    float: left;
    position: sticky;
    top: 0px;
}

#not-found-div{
    text-align: center;
}

#login-div a, #not-found-div a {
    color: #962a32;
}

#map-table-info > p {
    color: #eeeeee;
}

#map-table-info-route > p {
    color: #eeeeee;
}

dl {
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 10px;
}

dt {
    float: left;
    width: 50%;
    /* adjust the width; make sure the total of both is 100% */
    padding: 0;
    margin: 0
}

dd {
    float: left;
    width: 50%;
    /* adjust the width; make sure the total of both is 100% */
    padding: 0;
    margin: 0
}

.half-rule {
    text-align: center;
    width: 50%;
}

.centerh > h6 {
    text-align: center;
}

.centerh > label {
    width: 100%;
    text-align: center;
}

#filter-text:hover {
    cursor: pointer;
}

.panel-filter {
    background-color: rgba(255, 255, 255, 0.0);
    margin: 0px;
}

.panel-filter > h6, dt, dd {
    color: white;
}

.btn-primary-speed {
    padding: 5px;
}

.filter-current-map {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px;
    /*height: 96vh;*/
    border-radius: 4px;
}

#vehicles-filter {
    /*overflow: scroll; 31.3.2021. SEAD*/
    overflow: auto;
    max-height: 40vh;
}

.statistic-panel {
    text-align: center;
    background-color: whitesmoke;
    margin: 20px;
}


.equal {
    display: -webkit-flex;
    display: flex;
}

.panel-blue-top {
    border-top: solid #4286f4 4px;
}

.panel-red-top {
    border-top: solid #962a32 4px;
}

.panel-blue {
    border: solid #4286f4 4px;
}

.panel-red {
    border: solid #962a32 4px;
}

.panel-header-view {

}

.panel-body-view > h1,h2,h3,h4,h5,h6 {
    text-align: center;
}

.panel-view > hr {
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: auto;
    margin-right: auto;
    border-style: solid;
    border-width: 2px;
}

.compact-table > * {
    padding: 0px;
    font-size: small;
}

.small-ul > * {
    padding: 2px;
    font-size: small;
}

.gps-form-table {
    overflow: scroll;
}

.gps-form {
    overflow: auto;
}

.gps-form-orverflow {

}

.row{
    margin-right: 0;
    margin-left: 0;
}

#filter-menu{
    width: 100%;
}

#filter-menu{
    /*background-color: rgba(255, 255, 255, 0.2); */
    border-radius: 5px;
}

/*theNew-filterOnButton*/
.btnFilter {
    background-color: #962a32;
    border-radius: 5px;
    border: none;
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    position: absolute;
    bottom: 1vh;
    left: 0px;
    z-index: 10;
    width: 38vw;
    height: 5vh;
    text-align-all: center;
    margin-left: 1vw;
}

.btnFilter:hover {
    background-color: #7c0811;
}

#popUPfilter{
    background-color: #555555;
    color: #eeeeee;
    width: 90%;
    /*display: block;*/
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 2vh;
    margin-left: 5vw;
    box-sizing: border-box;
    padding: 5%;
    border: none;
}

.list-group-item{
    background: rgba(0, 0, 0, 0);
}

#current-map-filter{
    margin-left: 3px;
    /*border: solid 3px rgba(124, 8, 17, 1);*/
    overflow: hidden;
}

.light-text {
    color: whitesmoke;
}

.input-group{
    color: #5e5e5e;
}

.form-group.required .control-label:after {
    content:"*";color:red;
}

.compact-table.table-bordered {
    padding: 0px;
}


/*Bootstrap smaller form */
/*
input[type=text]{
    background-color: red;
    padding:0px;
    margin-bottom:0px;
    margin-top:0px;
}
*/

/*
 Uklanjanje starog searcha
 TODO Ukloniti skroz filter polja za search nakon uvođenja nove tabele
 */
.myInput-group {
    display: none;
}

#myTable td {
    max-width:100%;
    white-space:nowrap;
}

#myVehicleTable td {
    white-space:normal;
}

#myTable .bold {
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.1);
}

#myTable .row-green {
    background-color: rgba(0, 255, 0, 0.3);
}

#myTable .row-organge {
    background-color: rgba(255, 165, 0, 0.3);
}

#myTable .row-red {
    background-color: rgba(255, 0, 0, 0.2);
}

#myTable .row-dark-red {
    background-color: rgba(255, 0, 0, 0.5);
}

.legend {
    padding: 5px;
    margin: 5px;
}
.legend-dark-red {
    background-color: rgba(255, 0, 0, 0.5);
}
.legend-red {
    background-color: rgba(255, 0, 0, 0.2);
}
.legend-orange {
    background-color: rgba(255, 165, 0, 0.3);
}
.legend-green {
    background-color: rgba(0, 255, 0, 0.3);
}

td {
    max-width:100%;
    white-space:nowrap;
}

.mapTitle {
    text-align: left;
    color: whitesmoke;
}

.mapTitle > h2 {
    text-align: left;
}

th {
    color: #962a32;
}


/*
#content {
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}
*/


input[pattern]:invalid{
    color:red;
}

input[pattern]:valid{
    color:black;
}

/*
.content-header-visible {
    padding-top: 15px  !important;
}
*/

a[aria-expanded="true"]::before {
    content: '';
}

a[aria-expanded="false"]::before {
    content: '';
}

#limitation-div {
    overflow: auto;
}

#blocked-div {
    overflow: auto;
}

#depot-div {
    overflow: auto;
}


#vehicle-div {
    overflow: auto;
}

#customers-div {
    overflow: auto;
}

/*Scrollbar */

::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0);
}


#filter-dl  dt {
    width: 30%;
    margin-right: 5%;
}

#filter-dl  dd {
    width: 65%;
}

/* SLIDER INDEX MAP */

.slidecontainer {
    width: 100%;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #e00f00;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #e00f00;
    cursor: pointer;
}