﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
a.navbar-brand {
  color: white;
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #75b549;
  border-color: #69a342;
}

.btn-primary:disabled {
  background-color: #8fc16d;
  border-color: #69a342;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary {
  color: #fff;
  background-color: #5d903a;
  border-color: #517e33;
}

.bg-primary {
  background-color: #75b549 !important;
  color: #fff !important;
}

.navbar {
  z-index: 10;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #75b549;
  border-color: #69a342;
}

.navbar-nav .nav-item .nav-link {
  color: #fff;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
.border-top {
  border-top: 1px solid #e5e5e5;
}

.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

#devices-table {
  table-layout: fixed;
  word-wrap: break-word;
}

.table-edit-buttons {
  width: 135px;
  min-width: 135px;
}

.fullscreen-map {
  height: calc(100vh - 58px);
  width: 100vw;
  position: absolute;
  left: 0;
}

.dashboard-map {
  height: 530px;
  width: 100%;
}

.gm-style-cc {
  display: none;
}

.marker-info-window {
  color: black;
}

#forgot-password {
  text-align: center;
}

/* This is needed to make floating labels for Select2 with Bootstrap */
.form-floating .select2-container--default .select2-selection {
  height: calc(3.5rem + 2px);
  padding: 1rem 0rem;
}

.form-floating .select2-container--default .select2-selection > .select2-selection__rendered {
  margin-top: 0.6rem;
}

.simulation-machine td {
  background-color: rgba(255, 143, 0, 0.2196078431) !important;
}

#toggle-sidebar-button {
  position: absolute;
  z-index: 1;
  left: 10px;
  top: 59px;
}

.filter-sidebar {
  top: 49px !important;
}

@media (min-width: 768px) {
  .filter-sidebar {
    top: 56px !important;
  }
  #toggle-sidebar-button {
    top: 66px;
  }
}
@media (min-width: 992px) {
  .filter-sidebar {
    top: 58px !important;
  }
  #toggle-sidebar-button {
    top: 68px;
  }
}
.filter-option .filter-header[data-bs-toggle=collapse] {
  text-decoration: none;
  position: relative;
  padding: 0.75rem 3.25rem 0rem 1.25rem;
}
.filter-option .filter-header[data-bs-toggle=collapse]::after {
  position: absolute;
  left: 0;
  top: 13px;
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  color: #d1d3e2;
}
.filter-option .filter-header[data-bs-toggle=collapse].collapsed {
  border-radius: 0.35rem;
}
.filter-option .filter-header[data-bs-toggle=collapse].collapsed::after {
  content: "\f105";
}

.filter-option ul {
  clear: both;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Define the bounce animation configuration here */
.bounce {
  animation: bounce 1s infinite;
  -webkit-animation: bounce 1s infinite;
}

@-webkit-keyframes bounce {
  0%, 100% {
    -webkit-transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-20px);
  }
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
#company-filter {
  height: 168px;
  overflow-y: scroll;
}

div.dataTables_filter {
  text-align: right !important;
}

/* Modals */
.modal-header {
  display: block;
  position: sticky;
  top: 0;
  background: white;
  z-index: 3;
}

.modal-width-m {
  max-width: 600px;
}

.modal-width-l {
  max-width: 750px;
}

.modal-width-xl {
  max-width: 1000px;
}

.modal-width-xxl {
  max-width: 1275px;
}

.form-table-label {
  font-size: 21px;
}

.form-table td, .form-table th {
  padding-left: 15px;
  padding-right: 15px;
}
.form-table td:last-of-type, .form-table td:first-of-type, .form-table th:last-of-type, .form-table th:first-of-type {
  padding-left: 0px;
  padding-right: 0px;
}

.SplitInputs div.col {
  padding-left: 5px;
  padding-right: 5px;
}
.SplitInputs div.col:first-child {
  padding-left: 12px;
}
.SplitInputs div.col:last-child {
  padding-right: 12px;
}

.card-header:has(a i.btn) {
  padding-top: 11px;
  padding-bottom: 10.189px;
}
.card-header:not(:has(a i.btn)) {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

table td.allow-whitelines {
  white-space: break-spaces;
}
