.bg-spintly-navbar-color {
  background-color: #85929E !important;
}

.nav {
  cursor: pointer;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  /* Set the fixed height of the footer here */
  line-height: 20px;
  /* Vertically center the text there */
}

.footer .col {
  color: black;
  font-weight: 400px;
}

#moduleDropdown {
  margin-left: 1px;
  /* Adjust the value as needed */
}

.link-right {
  float: right;
  padding: 8px;
}


.divScroll {
  overflow: scroll;
  height: 400px;
  width: 750px;
}

.labelEnd {
  align-items: left;
  vertical-align: left;
}

.switch {
  width: 60px;
  padding-top: 5px;
  margin-left: 5px;
  margin-right: 5px;
}

/* Button */
.toggle {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}

.toggle+label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  user-select: none;
  padding: 2px;
  width: 60px;
  height: 25px;
  background-color: #dddddd;
  border-radius: 25px;
}

.toggle+label:before,
.toggle+label:after {
  display: block;
  position: absolute;
  top: 1px;
  left: 1px;
  bottom: 1px;
  content: "";
}

.toggle+label:before {
  right: 1px;
  background-color: #f1f1f1;
  border-radius: 25px;
  transition: background 0.4s;
}

.toggle+label:after {
  width: 25px;
  background-color: #fff;
  border-radius: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: margin 0.4s;
}

.toggle:checked+label:before {
  background-color: #8ce196;
}

.toggle:checked+label:after {
  margin-left: 32px;
}

th,
td {
  word-wrap: break-word;
  text-align: center;
}

input:checked+.slider {
  background-color: #2196F3;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

#sdk {
  margin: 10px;
}

#infraResourceButton,
#acaasResourceButton {
  margin-right: 10px;
  margin-left: 10px;
}

#iotResourceButton,
#saamsResourceButton {
  margin-right: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

#usm_show_history {
  margin-right: 5px;
  margin-left: 10px;
}

#usm_clear_history {
  margin-right: 5px;
  margin-left: 5px;
}

#usm_switch_version {
  margin-right: 5px;
  margin-left: 5px;
}

#organisationIntegratorSelection {
  margin-right: 5px;
  margin-left: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
}

@keyframes fadeInUpBig {
  from {
    opacity: 0;
    transform: translateY(200px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-modal {
  border-radius: 15px;
  animation: fadeInUpBig 0.5s ease-out;
}

.custom-modal-content {
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.custom-modal-header {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.custom-modal-body {
  padding: 20px;
}

.custom-paragraph {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.custom-modal-footer {
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.custom-btn {
  border-radius: 8px;
  /* Add more custom styles as needed */
}

.form-check-inline {
  margin-right: 10px;
}

.form-check-input {
  margin-top: 2px;
}

.form-check-label {
  font-weight: 500;
}

.chartBox {
  padding: 20px;
  border-radius: 20px;
  border: solid 3px rgb(54, 162, 235);
  background: white;
}

.io-control-timeline-wrapper {
  position: relative;
  height: 320px;
  width: 100%;
  padding: 12px;
  border: 1px solid #d9dee3;
  border-radius: 8px;
  background: #ffffff;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.io-control-timeline-canvas-holder {
  position: relative;
  height: 100%;
  min-width: 100%;
}

.io-control-timeline-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.io-control-timeline-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #1f2937;
}

.io-control-timeline-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #111827;
}

.io-control-timeline-legend-line {
  width: 14px;
  height: 0;
  border-top: 3px dotted #111827;
}

.modal-content {
  width: auto;
  height: auto;
}

.loading-spinner {
  width: 30px;
  height: 30px;
  border: 2px solid grey;
  border-radius: 50%;
  border-top-color: #0001;
  display: inline-block;
  animation: loadingspinner .7s linear infinite;
}

@keyframes loadingspinner {
  0% {
    transform: rotate(0deg)
  }

  100% {
    transform: rotate(360deg)
  }
}

textarea.form-control {
  height: 4rem;

}

.modal-content {
  width: auto;
}

.my-auto {
  margin-top: auto;
  margin-bottom: auto;
}

a.btn,
a.btn:hover {
  color: white;
}

input::placeholder {
  font: 0.8rem/3 sans-serif;
}

.whatsnew {
  font-size: 12px;
}

.fr-3 {
  flex-direction: row;
  padding-left: 65%;
}

.form-outline {
  padding-right: 1%;
}

.container {
  max-width: 100%;
}

.container#login_container {
  max-width: 50%;
}

.table-responsive {
  table-layout: auto;
  /* Fixed layout to prevent cell content from expanding the table */
  max-height: 60vh;
  font-size: 13px;
}

a.btn {
  font-size: 0.85rem;
}

#userDetailsBody {
  margin-top: 20px;
  margin-bottom: 20px;
}

#resourceDetailsBody {
  overflow-y: scroll;
  max-height: 60vh;
  font-size: 13px;
}

.btn.dropdown-toggle {
  background-color: rgb(255, 255, 255);
  border-color: black;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-container h4 {
  margin: 0;
}

.header-container span {
  margin-left: auto;
}

.table-responsive thead {
  position: sticky;
  top: 0;
  background-color: #f2f2f2;
  z-index: 1;
}

.table-responsive thead th {
  border-top: 0;
  border-bottom: 0;
}

th {
  position: relative;
}

th input {
  width: 100%;
  padding: 6px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-top: 5px;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

th input:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

th input::placeholder {
  color: #aaa;
}

.scrollable-menu {
  height: auto;
  max-height: 300px;
  overflow-x: hidden;
  overflow-y: auto;
}

/* For webkit browsers (Chrome, Safari) */
.scrollable-menu::-webkit-scrollbar {
  width: 8px;
}

.scrollable-menu::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.scrollable-menu::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.scrollable-menu::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.search-box {
  position: sticky;
  top: 0;
  background-color: white;
  padding: 8px;
  z-index: 1000;
  border-bottom: 1px solid #dee2e6;
}

.search-box input {
  width: 100%;
  padding: 6px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
}

.search-box input:focus {
  outline: none;
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.no-results {
  padding: 10px;
  color: #6c757d;
  text-align: center;
}

.dropdown-menu {
  max-width: 100vw !important;
  /* limit width to viewport */
  overflow-x: auto;
  /* add scroll if still overflows */
  word-wrap: break-word;
}

.html-dialog {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.html-dialog.hidden {
  display: none;
}

.html-dialog iframe {
  flex: 1;
  border: none;
}

.html-dialog .close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10000;
  background: #000;
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 4px;
}