
html {
  height: 100% !important;
  width: 100% !important;
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
.font-1{
  font-size: 100% !important;
  font-family: 'Montserrat', sans-serif !important;
}
.font-2{
  font-size: 60% !important;
  font-family: 'Oswald', sans-serif;
}
.font-3{
  font-size: 100% !important;
  font-family: 'Nunito Sans', sans-serif;
}
.bg-primary{
  background-color: #000 !important;
}
.bg-black{
  background-color: #343a40 !important;
}
.border-style-bottom{
  border-bottom-width: 1px !important;
  border-color: rgba(255, 255, 255, 0.3) !important;

}
.border-style-left{
  border-left-width: 1px !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
.text-primary{
  color: #f0ad3d !important;
}
.text-primary-light{
  color: #F5CB84 !important;
}
.text-5xl{
  font-weight: 700 !important;
}
.text-2xl{
  font-weight: 700 !important;
  font-size: 2rem !important;
}
.logo {
  max-width: 170px;
  height: auto;
}
.logo-system{
  max-width: 170px;
  height: auto;
}
.logo-weather{
  max-width: 80px;
  height: auto;
}
.logo-priority{
  max-width: 40px;
  height: auto;
}
.title{
  font-size:4rem;
  line-height:1.2;
  font-weight: 700;
}
.next-next-text{
  font-size: 1.1rem !important;
  font-weight: 500;
  line-height: normal !important;
  padding-top: 25px;
}
.next-next-text-0{
  font-size: 1.1rem !important;
  font-weight: 500;
  line-height: normal !important;
  padding-top: 8px;
}
.next-text{
  font-size: 2.5rem;
  font-weight: 700;
  line-height: normal;
}
.next-text-0{
  font-size: 2.5rem;
  font-weight: 700;
  line-height: inherit;
}
.atrasado {
  color: #f01b48;
  font-size: 2rem;
  font-weight: 700;
}
.delay{
  width: 25px;
}
.bus-arrive{
  width: 45px;
}
.minutes-text{
  font-size: 1rem;
  font-weight: 600;
}
.minutes-next-text{
  font-size: 0.7rem;
  font-weight: 400;
}
.tempos-text{
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5rem;
}
.tempos-text-2{
  font-size: 50% !important;
  font-weight: 700;
  line-height: 1.5rem;
}
.font-small{
  font-size: 55% !important;
}
.text-operador{
  font-size: 1.5rem;
}
.w-18rem{
  width: 18rem;
}
.w-17rem{
  width: 17rem;
}
.destination{
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: left;
  padding: 0.75rem;
  width: 100%;
  vertical-align: middle;
}
/* ------ Guimaraes ------ */
.font-gui{
  font-size: 1.7rem !important;
  font-family: 'Nunito Sans', sans-serif;
}
.header-font{
  font-size: 1.5rem !important;
  text-transform: uppercase;
  font-weight: 800;
}
.filters-font{
  margin-top: 15px;
  font-size: 1.5rem !important;
  text-transform: uppercase;
  font-weight: 800;
  color: #000;
}
.time-text{
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 2.2rem;
}
.header-bg-departures{
  background-color: #F1C40F;
}
.header-bg-arrivals{
  background-color: #EF9411;
}
.logo-system-gui{
  height: 78px;
}
h2{
  font-size:4rem;
  color: #000000;
  line-height:1.2;
  font-weight: 1000;
}
.line{
  font-size:2.5rem;
  color: #FFFFFF;
}
.weather{
  font-size: 2.5rem;
  font-weight: 900;
  color: #000000;
  line-height: normal;
}
.clock{
  font-size: 2.8rem;
  font-weight: 900;
  color: #000000;
  text-align: right;
  line-height: normal;
}
.date{
  font-size: 2rem;
  text-align: right;
  font-weight: 400;
  color: #000000;
  line-height: normal;
}
.color-black{
  color: #000000;
}
.color-white{
  color: #ffffff;
}
.info-departure{
  color: #60BF79;
  font-weight: 700;
  margin-left: .5rem;
  margin-top: 2px;
}
.announcements-text{
  font-size: 1.4rem;
  color: #000000;
  line-height: 2.5rem;
}
.color-info-time{
  color: #ffe7ca;
}
.font-bold-2{
  font-weight: 900;
}
.w-100{
  width:50%
}
.h-custom{
  height:3.7rem
}
.h-custom-group{
  height:6.5rem
}
.bg-2{
  background-color: #000000;
}
.bg-departures-1{
  background-color: #4B687F;
}
.bg-departures-0{
  background-color: #2C3E50;
}
.bg-arrivals-1{
  background-color: #445D48;
}
.bg-arrivals-0{
  background-color: #3E443F;
}
.mt-7px{
  margin-top: 7px;
}
.mt-2px{
  margin-top: 2px;
}
.mt-9px{
  margin-top: 9px;
}
.ml-10px{
  margin-left: 10px;
}
.fade-text {
  animation: fadeInOut 1700ms ease-in-out infinite;
}
@keyframes fadeInOut {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}
.bounce-effect-small {
  transform: scale(1);
  animation: bounce-small 2200ms ease-in-out infinite;
}
@keyframes bounce-small {
  0% {
    transform: scale(0.98);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.98);
  }
}
.bounce-effect {
  transform: scale(1);
  animation: bounceInOut 1400ms ease-in-out infinite;
}
@keyframes bounceInOut {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0.7;
    transform: scale(0.95);
  }
}

.tooltip {
  white-space: nowrap;
  position: relative;
  padding-top: 0.35rem;
  cursor: progress;
}

#tooltip {
  position: absolute;
  bottom: 100%;
  right: 0.78rem;
  transform: translate(50%, 0);
  padding: 0.2rem 0.35rem;
  background: hsl(0, 0%, 20%);
  color: hsl(0, 0%, 98%);
  font-size: 0.95em;
  border-radius: 0.25rem;
  filter: drop-shadow(0 1px 2px hsla(0, 0%, 0%, 0.2));
  width: max-content;
}

select {
  color: #4A4A4A; /* text color */
  background-color: #FFFFFF; /* background color for select */
  font-size: 36px;
}

option {
  color: #4A4A4A; /* text color for options */
  background-color: #FFFFFF; /* background color for options */
  font-size: 36px;
}

.modal-text-size {
  font-size: 36px;
}

.badge {
  display: inline-block;
  color: black;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 1.5rem;
}

.overlay {
  position: fixed;
  margin: 0 !important;
  padding: 0;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.3); /* optional: darkens background */
  z-index: 10;
}

.filter-wait{
  background-color: #FFFFFF;
}

.filter-active{
  background-color: #FF0000;
}
/* From Uiverse.io by Gautammsharma */
.button-effect {
  display: inline-block;
  padding: 20px 30px;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: #000;
  background-color: #fff;
  border: 3px solid #000;
  border-radius: 20px;
  box-shadow: 5px 5px 0px #000;
  transition: all 0.3s ease;
  cursor: pointer;
}

.button-effect:hover {
  background-color: #b4b2b2;
  color: #000;
}

.button-effect:active {
  background-color: #313131;
  border: 3px solid #000;
  color: #fff;
  box-shadow: none;
  transform: translateY(4px);
}

.button-effect-black {
  display: inline-block;
  padding: 20px 30px;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background-color: #4c4c4c;
  border: 3px solid #000;
  border-radius: 20px;
  box-shadow: 5px 5px 0px #000;
  transition: all 0.3s ease;
  cursor: pointer;
}

.button-effect-black:hover {
  background-color: #383838;
  color: #fff;
}

.button-effect-black:active {
  background-color: #000000;
  border: 3px solid #000;
  color: #fff;
  box-shadow: none;
  transform: translateY(4px);
}

.button-trash {
    display: inline-block;
    padding: 5px 10px;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    color: #000;
    background-color: #fff;
    border: 3px solid #000;
    border-radius: 20px;
    box-shadow: 5px 5px 0px #000;
    transition: all 0.3s ease;
    cursor: pointer;
  }

.button-trash:hover {
    background-color: #e8e8e8;
    color: #000;
  }

.button-trash:active {
    background-color: #313131;
    border: 3px solid #000;
    color: #fff;
    box-shadow: none;
    transform: translateY(4px);
}

.select-departure-board-style-wgs{
  appearance: none;            /* Remove o estilo nativo */
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  height: 70px;
  background-color: #fff;
  border: 3px solid #000;
  color: #000;
  line-height: normal;
  padding: 0.7rem;
  font-size: 32px;
  padding-right: 40px;
  border-radius: 10px;
  outline: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='30' viewBox='0 0 24 24' width='30' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 50px;
  &:focus {
    border-color: #F1C40F;
    box-shadow: 0 0 0 .25rem rgba(241,196,15, 0.25);
  }
  &:hover{
    cursor: pointer;
  }
}
/* Para esconder a seta nativa no Firefox (opcional) */
select::-ms-expand {
  display: none;
}
.pagination{
  position: fixed;
  bottom: 0px;
  width: 100%;
  height: 50px;
  background-color: #000;
  align-items: center;
}

/* Alphabet */
.alphabet {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.alphabet-btn {
  background-color: white;
  color: black;
  border: 3px solid #000;
  border-radius: 10px;
  box-shadow: 1px 1px 0px #000;
  width: 60px;
  height: 60px;
  margin: 4px 8px 4px 4px !important;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  &:hover{
    background-color: grey;
  }
  &:active{
    box-shadow: none;
    transform: translateY(2px);
  }
}

.alphabet-btn.backspace {
  display: inline-block;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 10px !important;
  width: 80px !important;
  height: 60px !important;
  background-color: #4c4c4c;
  color: white;
  &:hover{
    background-color: #383838 !important;
  }
  &:active{
    box-shadow: none;
    transform: translateY(2px);
  }
}

.alphabet-btn.clear {
  display: inline-block;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 10px !important;
  width: 120px !important;
  height: 60px !important;
  background-color: #4c4c4c;
  color: white;
  &:hover{
    background-color: #383838 !important;
  }
  &:active{
    box-shadow: none;
    transform: translateY(2px);
  }
}

/* Footer */
.logo-footer{
  height: 40px;
}

.text-footer{
  font-size: 0.75rem;
}
