body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #eee;
}

/*
    Log In form
*/

.login-container {
  height: 100vh;
  width: 100vw;
}

.form-control:focus {
  border-color: #0000ff;
  box-shadow: 0 0 0.2rem rgba(28, 5, 161, 0.25);
}

.forgot-pass {
  padding: 1.3rem;
}

.login-form {
  font-size: 1.5rem;
}

#errors {
  color: red;
}

.warning {
  border-color: red;
}

.clear {
  border-color: #228b22;
}

/*
  Footer 
*/
.footer {
  margin-top: auto;
  width: 100%;
  background-color: #f5f5f5;
  padding: 0.6rem;
}

/*
Leaflet map 
*/

#mapid {
  height: 88vh;
}

/*
  Edit_Vehicles Form and GPS
*/

.submitBtn {
  font-size: 1.5rem;
}

.editForm {
  background: white;
}

.fullHeight {
  height: 100vh;
}
/*
Routes 
*/
.modal {
  position: fixed;
  left: -5%;
}

.modal-content {
  height: 700px;
  width: 700px;
}

.modal-body {
  height: 550px;
  width: 100%;
}

#routes-map {
  min-height: 100%;
  min-width: 100%;
}

.loader {
  display: none;
  position: fixed;
  left: 50%;
  top: 45%;
  z-index: 1;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}
.select2 {
  width: 200px;
}

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  cursor: pointer;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*
Journey Form
*/

#journey-map {
  min-height: 100%;
  min-width: 100%;
}

/*
List Vehicle
*/

@media (max-width: 576px) {
  .editForm h1 {
    padding: 10px;
    margin-right: 3rem;
  }

  .submitBtn {
    margin-right: 3rem;
  }

  .inputsWidth {
    width: 190px;
  }

  .spacing-row {
    margin-left: 6rem;
  }

  .select {
    width: 190px;
  }
  .select2 {
    width: 190px;
  }
}
@media (max-width: 770px) {
  label[for="datepicker"] {
    margin-bottom: 2rem;
  }
}

@media (max-width: 850px) {
  .modal {
    top: 10%;
    left: 0%;
  }

  .modal-content {
    height: 650px;
    width: 100%;
  }

  .modal-body {
    height: 500px;
    width: 100%;
  }
}
