/* Scrollbar, Works on Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.65) rgba(0, 0, 0, 0.65);
  }
  
/* Scrollvar, Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 2px;
}

*::-webkit-scrollbar-track {

}

*::-webkit-scrollbar-thumb {
    background-color: rgba(4, 7, 10, 0.65);
}
  
.card-body {
    padding-bottom: 0.75rem;
}

.sidebar .nav-item .collapse {
    z-index: 100;
}

.form-control-incorrect {
    color: #a21212 !important;
    background-color: #fff !important;
    border-color: #f3baba !important;
    outline: 0 !important;
    box-shadow: 0 0 0 .2rem rgba(223, 78, 78, 0.25) !important;
}

.form-text-danger {
    color: #dc3545; /* Red color for error text */
    font-size: 0.65rem !important; /* Adjust the font size as needed */
    display: none; /* Initially hide the error message */
}

.procedure_message {
	position: relative;
	top: -1rem;
}

.fa-mr {
    margin-right: 0.5em;
}

.status-circle {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.13);
	display: inline-block;
	position: relative;
	top: 3px;
	left: 5px;
	float: right;
}

.online {
	background-color: #4be64b;
	box-shadow: 0 0 10px rgba(0, 255, 0, 0.8); /* green glow */
	animation: pulse 1.5s infinite; /* pulse animation */
}

.offline {
	background-color: #e87171;
}

.unknown {
    background-color: #848484;
}

.main-status-circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-left: 1rem;
  margin-right: 10px;
  display: inline-block;
  position: relative;
  top: -3px;
}

.warnings-list-item {
    margin-left: -20px;
}

@keyframes pulse {
    0% {
      box-shadow: 0 0 10px rgba(86, 191, 64, 0.51);
    }
    50% {
      box-shadow: 0 0 6px rgb(7, 72, 17);
    }
    100% {
      box-shadow: 0 0 10px rgba(86, 191, 64, 0.51);
    }
}

.float-right {
	float: right;
}

.float-left {
	float: left;
}

#temp_warnings {
    display: none; /* default */
}

@media (min-width:576px) {
    .main-status-circle {
        width: 15px;
        height: 15px;
        position: initial;
        top: 0px;
      }
}

.remoteButtons {
    padding-bottom: 5px;
}

.canvasContainer {
    height: calc(75% - 18px);
    padding-bottom: 10px;
    box-sizing: content-box;
}

.canvasRegular,
.canvasThin {
    display: inline-block;
}

.canvasRegular {
    width: 70%;
    height: calc(100% - 4px); /* Adjusted height considering 2px border on top and bottom */
    margin-right: 8px;
    border: 2px solid #0003;
    box-shadow: 2px 2px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
}

.canvasThin {
    width: 18%;
    height: calc(100% - 4px); /* Adjusted height considering 2px border on top and bottom */
    border: 2px solid #0003;
    box-shadow: 2px 2px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
}

.datePickerButton {
    margin: 0.5rem 0.5rem;
    padding: 0.2rem 0.4rem;
    border-radius: 0.2rem;
}

.invisible {
    visibility: hidden;
}

.listTableAccordion {
    margin-bottom: 1rem;
}

span.legend {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

a.nolinkstyle {
    text-decoration: none;
    color: inherit;
}

.other-link:hover {
    cursor: pointer;
}

.card-header-thin-vertical {
    padding-top: 0.6rem;
    padding-bottom: 0.5rem;
}

.card-body-thin-vertical {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.no-padding {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.no-margins {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.inline-block {
    display: inline-block; 
}

.minimize {
    font-size: 1.5rem;
    position: relative;
    top: 3px;
}

.middle-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 2px 0;
    padding: 0 5px;
    width: 100%; /* Ensure the element takes up the full width */
}

.middle-lines:before,
.middle-lines:after {
    content: "";
    flex-grow: 1;
    min-width: 0;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.2);
}

.middle-lines:before {
    margin-right: 10px;
}

.middle-lines:after {
    margin-left: 10px;
}

.middle-line {
    position: relative;
    margin: 2px 0;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.2);
}

.middle-line:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}

.no-highlight, .no-highlight * {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Standard syntax */
}

.blur-mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(7px);
    border-radius: 20px;
    z-index: 2;
}

.blur-anchor-filter {
    filter: blur(7px);
}

/* Loading */
.lds-dual-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
  }
  .lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #000;
    border-color: #000 transparent #000 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
  }
  @keyframes lds-dual-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
/* /Loading */