
message.debug {
  color: #8d8d8d;
}
message.info {
  color: #238a17;
}
message.warning {
  color: #8f8b17;
}
message.error {
  color: #9c0500;
}
message.success {
  color: #238a17;
}

#data_table_render{
   zoom: 80%
}

summary:after {
  background: #d40000;
  border-radius: 5px;
  content: "+";
  color: #fff;
  float: left;
  font-size: 1em;
  font-weight: bold;
  margin: 0px 10px 0 0;
  padding: 0px;
  text-align: center;
  width: 20px;
}

details[open] summary:after {
  content: "-";
}

details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}


.server {
position: relative;
display: inline-block;
margin: 10px;
}

.server .fa-server {
font-size: 30px;
}

.server .fa-circle {
position: absolute;
bottom: 0;
right: 0;
margin: -3px -6px;
}

.status {
display: inline-block;
}

@media screen {
  #printSection {
      display: none;
  }
}

@media print {
  body * {
    visibility:hidden;
  }
  #printSection, #printSection * {
    visibility:visible;
    overflow: visible !important;
  }
  #printSection {
    position:absolute;
    left:0;
    top:0;
  }
}

a.dropdown-item:link {
  color: #000000;
}

a.dropdown-item:active {
  color: #000000;
}

a.dropdown-item:visited {
  color: #000000;
}

a.dropdown-item:hover {
  color: #000000;
}

a:link {
  color: #C50D29;
}

a:hover {
  color: #5A0F14;
}

a:active {
  color: #5A0F14;
}

a:visited {
  color: #C50D29;
}

.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #000000;
  margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.dot-grey {
  height: 27px;
  width: 27px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}
.dot-red {
  height: 27px;
  width: 27px;
  background-color: #bb2120;
  border-radius: 50%;
  display: inline-block;
}
.dot-green {
  height: 27px;
  width: 27px;
  background-color: #47bb35;
  border-radius: 50%;
  display: inline-block;
}

.spinner-grey {
  height: 27px;
  width: 27px;
  border: 3px solid #bbb;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
}

.spinner-yellow {
  height: 27px;
  width: 27px;
  border: 3px solid #47bb35;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
}


@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}




/* Busy / archiving - yellowish with animated stripes */
@keyframes busy-stripes {
    0% { background-position: 0 0; }
    100% { background-position: 40px 0; }
}

/* If a tr has a td with class row-busy, style the whole row */
tr.odd:has(td.row-busy) {
    background-color: rgba(255, 255, 255, 0.09);
    background-image: repeating-linear-gradient(
        90deg,
        rgba(255, 220, 150, 0.4) 0px,
        rgba(255, 220, 150, 0.4) 10px,
        rgba(255, 243, 200, 0.22) 10px,
        rgba(255, 243, 200, 0.22) 20px
    );
    background-size: 75%; /* important: must match the loop distance */
    animation: busy-stripes 2s linear infinite; /* adjust duration to taste */
}

tr.even:has(td.row-busy) {
    background-color: rgba(255, 232, 0, 0.11);
    background-image: repeating-linear-gradient(
        90deg,
        rgba(255, 220, 150, 0.3) 0px,
        rgba(255, 220, 150, 0.3) 10px,
        rgba(255, 243, 200, 0.15) 10px,
        rgba(255, 243, 200, 0.15) 20px
    );
    background-size: 75%; /* important: must match the loop distance */
    animation: busy-stripes 2s linear infinite; /* adjust duration to taste */
}

/* Archived - green */
tr.odd td.row-archived {
    background-color: rgba(217, 255, 217, 0.8);
}
tr.even td.row-archived {
    background-color: rgba(197, 255, 197, 0.9);
}

/* Row - selected */
tr.row-selected.odd td {
    background-color: rgba(218, 255, 206, 0.8);
}

tr.row-selected.even td {
    background-color: rgba(214, 255, 194, 0.9);
}


.project-list-scroll {
    max-height: 400px;
    overflow-y: auto;
}

.storage-list-scroll {
    max-height: 800px;
    overflow-y: auto;
}

td {
  font-size: 18px;
}

.exclamation-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: red;
    color: white;
    font-weight: bold;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
    animation: pulse 1.2s infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
    70%  { box-shadow: 0 0 0 8px rgba(255, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

.btn-exclamation{
  background: rgba(255, 30, 30, 0.46);
}

.progress {
    background-color: #dde2ff; /* empty part */
}

.progress-bar {
    background-color: #28a745; /* filled part */
}

tr.even {
    background-color: #ffffff;
}

tr.odd {
    background-color: #fafafa;
}
