body,
html {
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f8f8f8;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

a {
  text-decoration: none;
}

.animation {
  animation-name: color;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

@keyframes color {
  0% {
    background-color: #f8f8f8;
  }

  50% {
    background-color: rgba(255, 0, 0, 0.250);
  }

  100% {
    background-color: #f8f8f8;
  }
}

.bg-emotivo {
  background-color: #F28E16;
}

.text-emotivo {
  color: #F28E16;
}

.btn-emotivo {
  background-color: #F28E16 !important;
  color: white !important;
}

#iframe {
  width: 100%;
  height: 3500px;
}

.iframediv {
  height: 220px;
  overflow: scroll;
}

.alarm {
  transform: scaleY(-1);
  position: absolute;
  top: -20px;
  right: 70px;
}

#alerts-container {
  background-color: rgba(255, 255, 255, 0.75);
}

.phperrors {
  background-color: rgba(255, 255, 255, 0.75);
}

::-webkit-scrollbar {
  width: 4px;
  background-color: rgba(0, 0, 0, 0);
  -webkit-border-radius: 100px;
  transition: opacity 0.3s;
}

::-webkit-scrollbar:hover {
  background-color: rgba(0, 0, 0, 0.09);
}

::-webkit-scrollbar-thumb:vertical {
  background: rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 100px;
}

::-webkit-scrollbar-thumb:vertical:active {
  background: rgba(0, 0, 0, 0.5);
  -webkit-border-radius: 100px;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

.hidden-scrollbar::-webkit-scrollbar {
  opacity: 0;
}

.gridbox {
  min-height: 300px;
  height: 100%;
}

.line {
  width: 90%;
  margin: auto;
}

.serverName {
  text-decoration: underline rgba(0, 0, 0, 0);
  transition: text-decoration-color .2s;
}

.serverName:hover {
  text-decoration-color: rgba(0, 0, 0, 1);
}

.collapseButton {
  position: absolute;
  bottom: 0px;
  left: 0px;
  padding: 18px;
}

.info {
  position: absolute;
  bottom: 0px;
  right: 0px;
  font-size: 32px;
  margin: 18px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.infoIcon {
  color: rgb(125, 186, 192);
}

.info:hover .infobox {
  visibility: visible !important;
  opacity: 100;
}

.infobox {
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease, visibility .2s ease;
  z-index: 10;
  position: absolute;
  min-width: 400px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  top: 0px;
  border-radius: 0.5rem;
  margin-top: 40px;
  font-size: 22px;
}

.mb-6 {
  margin-bottom: 85px;
}

.source {
  font-size: 0.85rem;
  font-weight: 600;
}

.closedServer {
  font-size: 1.2rem;
}

.closedText {
  font-size: 1.1rem;
}

.php-tooltip {
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease, visibility .2s ease;
  display: block;
  z-index: 10;
  position: fixed;
  background-color: white;
  color: black;
  padding: 20px;
  width: 60vw;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  top: 10vh;
  left: 5vw;
  border-radius: 0.5rem;
  font-size: 22px;
}

.phperror:hover .php-tooltip {
  visibility: visible !important;
  opacity: 100;
}

.user-select-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-self: center;
  justify-self: center;
  z-index: 1000;
  width: 50px;
  height: 50px;
  font-size: 20px;
}


@media (max-width: 1399px) {
  .mainRow {
    height: auto !important;
  }

  .php-tooltip {
    width: 90vw;
  }

  #alerts-container {
    margin-right: 0 !important;
    height: fit-content;
  }

  .iframediv {
    height: fit-content;
  }
}

@media (max-width: 991px) {
  .alarm {
    display: none;
  }

  .icon {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .php-tooltip {
    top: 5vw;
    font-size: 18px;
  }

  #logo img {
    width: 70% !important;
  }

  .serverName {
    font-size: 1rem !important;
  }

  .text1 {
    font-size: 16px !important;
  }

  .text2 {
    font-size: 14px !important;
  }

  .btn {
    font-size: 16px !important;
  }

  .closedServer {
    font-size: 1rem !important;
  }

  .closedText {
    font-size: .9rem;
  }
}