@font-face {
  font-family: "quadramet";
  src: url("../font/quadramet.eot?o79hxs");
  src: url("../font/quadramet.eot?o79hxs#iefix") format("embedded-opentype"),
    url("../font/quadramet.ttf?o79hxs") format("truetype"),
    url("../font/quadramet.woff?o79hxs") format("woff"),
    url("../font/quadramet.svg?o79hxs#quadramet") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bolder;
}

.qm {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "quadramet" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.qm-sunset:before {
  content: "\e92e";
}
.qm-sunrise:before {
  content: "\e92f";
}

.qm-gusts:before {
  content: "\e924";
}

.qm-humidity:before {
  content: "\e925";
}

.qm-pressure:before {
  content: "\e929";
}

.qm-rainrisk:before {
  content: "\e927";
}

.qm-t-air:before {
  content: "\e928";
}

.qm-t-track:before {
  content: "\e926";
}

.qm-wind-direction:before {
  content: "\e92a";
}

.qm-wind-speed:before {
  content: "\e92b";
}

.qm-wind-vrb:before {
  content: "\e92c";
}

.qm-wind-e:before {
  content: "\e914";
}

.qm-wind-ene:before {
  content: "\e915";
}

.qm-wind-ese:before {
  content: "\e916";
}

.qm-wind-n:before {
  content: "\e917";
}

.qm-wind-ne:before {
  content: "\e918";
}

.qm-wind-nne:before {
  content: "\e919";
}

.qm-wind-nno:before,
.qm-wind-nnw:before {
  content: "\e91a";
}

.qm-wind-no:before,
.qm-wind-nw:before {
  content: "\e91b";
}

.qm-wind-s:before {
  content: "\e91c";
}

.qm-wind-se:before {
  content: "\e91d";
}

.qm-wind-sse:before {
  content: "\e91e";
}

.qm-wind-sso:before,
.qm-wind-sos:before,
.qm-wind-ssw:before {
  content: "\e91f";
}

.qm-wind-so:before,
.qm-wind-sw:before {
  content: "\e920";
}

.qm-wind-o:before,
.qm-wind-w:before {
  content: "\e921";
}

.qm-wind-ono:before,
.qm-wind-wnw:before {
  content: "\e922";
}

.qm-wind-oso:before,
.qm-wind-wsw:before {
  content: "\e923";
}

.qm-1:before {
  content: "\e900";
}

.qm-2:before {
  content: "\e901";
}

.qm-3:before {
  content: "\e902";
}

.qm-4:before {
  content: "\e903";
}

.qm-5:before {
  content: "\e904";
}

.qm-6:before {
  content: "\e905";
}

.qm-7:before {
  content: "\e906";
}

.qm-8:before {
  content: "\e907";
}

.qm-9:before {
  content: "\e908";
}

.qm-10:before {
  content: "\e909";
}

.qm-11:before {
  content: "\e90a";
}

.qm-12:before {
  content: "\e90b";
}

.qm-13:before {
  content: "\e90c";
}

.qm-14:before {
  content: "\e90d";
}

.qm-15:before {
  content: "\e90e";
}

.qm-16:before {
  content: "\e90f";
}

.qm-17:before {
  content: "\e910";
}

.qm-18:before {
  content: "\e911";
}

.qm-19:before {
  content: "\e912";
}

.qm-20:before {
  content: "\e913";
}

.qm-21:before {
  content: "\e92d";
}

.app-header,
.app-header-shadow .app-header,
.has-scroll .app-header {
  background-color: black;
  /*background-image:url("../img/header_background.jpg");*/
}

.app-header .navbar-brand {
  padding: 0 10px 0 10px;
}

.app-header {
  border-bottom: 6px solid white;
}

#advice_forecaster {
  display: none;
  padding: 5px 10px 0 10px;
  border-left: 1px solid grey;
  height: 50px;
  background-color: rgba(0, 0, 0);
  align-items: center;
  justify-content: center;
  height: 48px;
  margin-top: 4px;
  border-radius: 10px;
  border: solid white 3px;
  color: white;
  min-width: 250px;
}

#advice_forecaster h5 {
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 0.95 !important;
}

.app-header .navbar-nav {
  padding: 0 !important;
}

#advice_forecaster span {
  font-size: 0.8rem;
}

.wpglitters {
  z-index: 2000 !important;
}

#farinforecastalert {
  position: absolute;
  bottom: 20px;
  left: 5px;
  z-index: 2000;
  max-width: 33%;
  width: 250px;
  background-color: black;
  color: white;
  border-radius: 15px !important;
  border: solid white 6px !important;
  color: white;
}

.rainalert_comment {
  text-align: justify;
}

#advice_forecaster.no_rain,
#farinforecastalert.no_rain {
  background-color: #36d111;
  color: black;
}

#advice_forecaster.rain_expected,
#farinforecastalert.rain_expected {
  background-color: rgb(255, 142, 1, 1);
  color: black;
}

#advice_forecaster.its_raining,
#farinforecastalert.its_raining {
  background-color: rgb(255, 0, 0, 1);
  color: black;
}

#advice_forecaster.drops_at_time,
#farinforecastalert.drops_at_time {
  background-color: rgb(228, 225, 77, 1);
  color: black;
}

#farinforecastalert {
  background-color: rgb(0, 0, 0, 1);
  color: white;
  margin-bottom: 0.9375rem;
}

#advice_forecaster:before {
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 2.4em;
}

#advice_forecaster:before {
  content: "\f05a";
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900;
  margin-right: 10px;
}

#advice_forecaster.rain_expected:before {
  font-family: "quadramet" !important;
  content: "\e90b";
}

#advice_forecaster.its_raining:before {
  font-family: "quadramet" !important;
  content: "\e90b";
}

#advice_forecaster.drops_at_time:before {
  font-family: "quadramet" !important;
  content: "\e90a";
}

.no-forecast {
  margin-top: 30px;
  text-align: center;
  color: white;
}

.menubtn {
  text-decoration: none;
  color: white;
  font-size: 1.2em;
}

.menubtn li:before {
  font-size: 1.6em;
}

.form-select:disabled {
  color: black;
}

#timeline-container {
  height: 65px;
  width: 100%;
  border-top: 3px solid white;
  position: fixed;
  bottom: 0px;
  background: black;
  z-index: 1000;
}

svg text {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.overlay {
  position: absolute;
  top: 1em;
  z-index: 50000;
  right: 1em;
}

.app-content {
  padding: 0px !important;
  margin: 10px 0 !important;
}

.app-content {
  z-index: 1009;
}

.app-sidebar {
  background-color: var(--app-sidebar-bg);
}

.grid-tooltip {
  box-shadow: none !important;
  background: none !important;
  border: none !important;
}

.grid-tooltip:before {
  display: none !important;
}

#map {
  height: 80vh;
  position: relative;
  outline: none;
  width: 100%;
}

#eventtitlestatus {
  line-height: 22px;
  font-weight: bold;
  max-width: 300px;
  font-family: "Montserrat Alternates";
}

#eventtitlestatus .eventstatus {
  display: block;
}

#cloudsPlayer {
  align-items: center;
  justify-content: center;
  background: black;
  color: white;
  -moz-border-top-colors: solid 1px white;
  border-top: 1px solid white;
  padding: 0 5px;
  z-index: 500;
  width: 100%;
  height: 30px;
  display: none;
}

#groundstations {
  background: black;
  color: white;
  -moz-border-top-colors: solid 1px white;
  z-index: 500;
  display: none;
  margin-top: 0px;
}

#cloudsPlayer > div,
#groundstations > div {
  float: left;
}

#groundstations > div {
  display: flex;
  width: 100%;
}

#cloudsPlayer > .playbtn {
  border: 1px solid white;
  padding: 0 10px 0 10px;
  cursor: pointer;
  text-align: center;
}

#cloudsPlayer > .playbtn:hover {
  background-color: grey;
}

#cloudsPlayer > #starttime,
#cloudsPlayer > #endtime {
  padding: 5px 10px 5px 10px;
  text-align: center;
  height: 100%;
}

#cloudsPlayer > #starttime {
  border-right: 1px solid white;
}

#cloudsPlayer > #endtime {
  border-left: 1px solid white;
}

#mapclock,
#countdown {
  background: rgb(0, 0, 0, 0.65);
  color: white;
  border: 3px solid white;
  border-radius: 10px;
  width: 70px;
  z-index: 401;
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translate(-50%);
  text-align: center;
  padding: 5px;
  font-size: 1.1rem;
  display: none;
  font-weight: bold;
}

#countdown {
  left: 56%;
  width: 120px;
  background: red;
  color: white;
  border: 3px solid white;
}

#countdown.withImpactZone {
  left: 70%;
  width: 30%;
  background: red;
  color: white;
  border: 3px solid white;
}

#countdown.withImpactZone span {
  font-size: 1rem;
}

#mapclock.clock-countdown {
  left: 47%;
}

#mapclock.split {
  left: 25%;
}

#countdown.split {
  left: 30%;
}

#mapclock.clock-countdown.split {
  left: 22%;
}

.leaflet-container img.leaflet-image-layer {
  image-rendering: pixelated;
}

.HourlyWrapper {
  display: flex;
  position: relative;
}

.HourlyWrapper .Days {
  display: flex;
  padding-top: 0px;
  overflow-x: hidden;
  cursor: grab;
  align-items: flex-end;
  user-select: none;
}

.HourlyWrapper .Day {
  float: left;
  position: relative;
  border-right: 6px solid white;
  display: flex;
  flex-direction: column;
  height: 100%;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.HourlyWrapper .date1,
.HourlyWrapper .previousnight,
.HourlyWrapper .weatherconditions {
  min-width: 16rem;
  width: 100%;
  padding: 0 1rem;
  margin-top: 0.3rem;
}

.HourlyWrapper .previousnight h5,
.HourlyWrapper .weatherconditions h5 {
  margin-bottom: 0.2rem;
  overflow: auto;
  min-height: 58px;
}

#secondview .HourlyWrapper .previousnight h5,
#secondview .HourlyWrapper .weatherconditions h5 {
  min-height: 39px;
}

.HourlyWrapper .Legend {
  flex-basis: 120px;
  flex-grow: 0;
  flex-shrink: 0;
  height: 100%;
  background-color: black;
  border-right: 6px solid white;
  white-space: nowrap;
  position: relative;
  user-select: none;
}

.HourlyWrapper .Day .date2 {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  position: absolute;
  top: 4px;
  right: 2px;
}

.HourlyWrapper .Day .Hours {
  display: flex;
  /* 40px: spazio per l'etichetta delle sessioni su due righe */
  padding: 40px 0 0 0;
  justify-content: flex-end;
  min-width: 384px;
}

.HourlyWrapper .Legend .Hours {
  padding: 20px 0 0 0;
}

.HourlyWrapper .Day .Hours .Hour {
  min-width: 8rem;
  max-width: 8rem;
  text-align: center;
  position: relative;
}

.legendcontainer {
  width: 100%;
  position: absolute;
  bottom: 0px;
}

.Legend .hourval,
.HourlyWrapper .Day .Hours .Hour .hourval {
  font-size: 0.9rem;
  padding: 0.5rem;
  display: flex;
  justify-content: right;
  vertical-align: middle;
  align-items: center;
  /* <---- NEW    */
  font-weight: bold;
  height: 2.71em;
}

.Legend .hourval {
  color: rgba(255, 123, 1, 1) !important;
}

.HourlyWrapper .Day .Hours .Hour .hourval i {
  font-size: 2.3em;
}

.widget-card-content.top i {
  font-size: 5em;
}

.widget-card-content.bottom {
  text-align: center;
}

.HourlyWrapper .Day .Hours .Hour .hourval {
  justify-content: center;
}

.Legend .hourval.airtemp,
.HourlyWrapper .Day .Hours .Hour .hourval.airtemp {
  height: 10em;
}

#overview,
#compare {
  display: none;
}

#overviewlegend div,
#overviewgraphs div {
  height: 8em;
  font-weight: bold;
  color: white;
  font-size: 1.1em;
}

#overviewlegend div,
#overviewgraphs div,
#comparedata {
  font-weight: bold;
  color: white;
  font-size: 1.1em;
}

#overviewlegend div {
  color: rgb(255, 123, 1);
  padding-left: 15px;
}

#overviewlegend .titles_overview,
#overviewgraphs .titles_overview,
#overviewgraphs .titles_overview div {
  height: 4em;
  font-weight: bold;
}

#overviewgraphs .titles_overview {
  height: 4em;
  font-weight: bold;
  border-bottom: 2px solid white;
}

#comparedata .row {
  height: 8em;
  margin-top: 0.5em;
  border-bottom: solid 1px white;
}

#comparedata .row.winddir_compare {
  height: 3em;
}

#comparestations1,
#comparestations2,
#comparedata .row .value1,
#comparedata .row .value2,
#comparedata .row .diff {
  text-align: center;
}

#comparedata .row .diff {
  font-weight: bold;
  color: white;
}

#comparedata .row .legendcomp {
  font-weight: bold;
  color: rgb(255, 123, 1);
}

.prevealingWeather {
  height: 50px;
  line-height: 1em;
}

/* Colonne orarie: le sessioni non le colorano piu', sono un blocco a parte posizionato al minuto */
.HourlyWrapper .Day .Hours .Hour {
  background-color: rgba(149, 133, 133, 0.22);
}

/* Orario della colonna allineato a sinistra: segna l'inizio dell'intervallo, come i blocchi sessione */
.HourlyWrapper .Day .Hours .Hour .HourTitle {
  text-align: left;
  padding-left: 6px;
}

/* Sessione del timeschedule: fondo chiaro per tutta la durata, niente linee sopra i valori */
.HourlyWrapper .Day .Hours .Hour .sessionband {
  position: absolute;
  top: -4px;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 2;
}

/* "Staffa" solo in alto: barra bianca con brevi stanghette ai lati */
.HourlyWrapper .Day .Hours .Hour .sessionband::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  box-sizing: border-box;
  border-top: 2px solid white;
  border-left: 1px solid white;
  border-right: 1px solid white;
  border-top-left-radius: 10px 10px;
  border-top-right-radius: 10px 10px;
}

/* Sessione tagliata dal bordo del giorno: niente bordo sul lato tagliato */
.HourlyWrapper .Day .Hours .Hour .sessionband.cut-left::before {
  border-left: none;
  border-top-left-radius: 0;
}

.HourlyWrapper .Day .Hours .Hour .sessionband.cut-right::before {
  border-right: none;
  border-top-right-radius: 0;
}

/* Etichetta sopra la staffa: nome in grassetto, sotto ora di inizio e ora di fine */
.HourlyWrapper .Day .Hours .Hour .sessionband-label {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  min-width: max-content;
  margin-bottom: 3px;
  white-space: nowrap;
  font-size: 0.95em;
  line-height: 1.15;
  text-align: left;
}

/* Ora di inizio a sinistra, ora di fine allineata alla fine del blocco */
.HourlyWrapper .Day .Hours .Hour .sessionband-times {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

#timeslidercontainer {
  padding: 0 10px;
}

#timeslidercontainer input[type="range"]::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  background: white;
}

#fps {
  display: flex;
  margin: 5px;
}

#length {
  display: flex;
  margin: 5px;
}

#view {
  display: flex;
  margin: 5px;
}

.groundstation_clock {
  padding: 5px;
  border-right: 5px solid white;
  overflow: hidden;
}

.grtitle {
  border-right: 5px solid white;
  overflow: hidden;
}

.grcontent {
  flex-wrap: nowrap;
}

.grcontent > .row > div {
  border-right: 5px solid white;
  text-align: center;
}

.grcontent > .row > .nodata {
  border: none !important;
  width: 100% !important;
}

.grcontent > .row > div .qm {
  margin-right: 5px;
}

@media only screen and (max-width: 450px) {
  .grtitle {
    text-align: center;
  }

  #cloudsPlayer h5,
  #advice_forecaster h5 {
    font-size: 0.7rem;
  }

  #length,
  #view {
    display: none;
  }

  #advice_forecaster {
    max-width: 100%;
  }
}

#advice_forecaster h5 span {
  font-size: 0.7em;
  font-weight: normal;
}

#farinforecastalert span {
  font-size: 0.9em;
  font-weight: normal;
}

.app-header .navbar-link .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 4px;
  margin-bottom: 4px;
}

@media only screen and (max-width: 767px) {
  #gostart,
  #goend,
  #gonext,
  #goprevious {
    display: none;
  }

  #groundstations {
    margin-top: 4px;
  }

  .grcontent {
    display: block;
    min-height: 60px;
  }

  #mapclock,
  #countdown {
    bottom: 50px;
  }

  #countdown {
    left: 80%;
  }

  .grcontent > div {
    padding: 5px;
    overflow: hidden;
    text-align: center;
    height: 50%;
  }

  #view {
    display: none;
  }
}

@media only screen and (max-width: 1050px) and (min-width: 770px) {
  #advice_forecaster {
    max-width: 240px;
  }

  #countdown {
    left: 63%;
  }
}

@media only screen and (max-width: 1050px) and (min-width: 770px) {
  #advice_forecaster {
    max-width: 210px;
  }

  #advice_forecaster h5 {
    font-size: 0.8375rem !important;
  }

  #countdown {
    left: 63%;
  }
}

.hiddenradar {
  display: none;
}

#tlZoomButtons {
  float: right;
  background: black;
  width: 31px;
}

#tlZoomButtons a {
  border-top: 1px solid grey;
  width: 100%;
  display: block;
  height: 32px;
  text-align: center;
  font-size: 1.2rem;
  color: white;
}

#tlZoomButtons a:hover {
  background: white;
  color: black;
}

#tlZoomButtons a.disabled {
  background: grey;
  color: darkgray;
  cursor: not-allowed;
}

#secondview {
  overflow-y: auto;
  border-left: 5px solid black;
}

select option {
  color: white;
  background-color: black;
}

.menubtn.active {
  background-color: white;
  border-color: white;
  color: var(--bs-btn-active-bg);
}

.panel .panel-heading .panel-title {
  font-size: 1.6em;
  font-family: "Montserrat Alternates";
}

.menu_eventname {
  font-family: "Montserrat Alternates";
}

.panel-body p-1 {
  color: white;
}
.mabBoxStation {
  border-bottom: 5px solid white;
}
.mabBoxStation,
.mabBoxStation .qm:before {
  line-height: 2.3em;
  font-size: 1.15em;
}

.dark-mode .widget-chart-content {
  border: 8px white solid;
  border-radius: 20px;
}

.dark-mode .widget-chart-content .qm {
  font-size: 3em;
}

.app-cover {
  background-image: url(images/carbon.jpg);
}

.Days .updated,
.UpdateTime {
  font-weight: bold;
  font-size: 1.1em;
}

.app-header .navbar-link .icon-bar {
  height: 4px;
}

.mtmarker {
  z-index: 8000 !important;
}

.ps {
  border-right: 3px solid white;
}

.select2-selection__rendered {
  display: block !important;
}

.swal-overlay .swal-modal {
  background-color: rgba(0, 0, 0, 0.7) !important;
  border: solid white 3px;
  border-radius: 20px;
  padding: 1.75rem 0.7375rem;
}

.swal-overlay .swal-modal .swal-text {
  font-weight: bold !important;
  color: white !important;
}

.btn-carbon,
.swal-button.swal-button--confirm {
  border: 3px white solid !important;
  background-color: black !important;
  background-image: url(images/carbon_btn.png);
  font-weight: bold !important;
}

.btn-carbon:hover,
.swal-button.swal-button--confirm:hover {
  background-color: black !important;
  background-image: none;
  color: white !important;
}

.btn-carbon.active {
  border: 2px black solid !important;
  background-color: white !important;
  background-image: none;
  color: black !important;
}

.btn-carbon img {
  -webkit-filter: invert(1);
  filter: invert(1);
}
.btn-carbon.active img {
  -webkit-filter: invert(0);
  filter: invert(0);
}

.h5,
h5 {
  font-size: 0.87rem !important;
}

@media (min-width: 768px) {
  .app-header .navbar-header {
    width: 50%;
    /* Imposta la larghezza */
    margin-left: auto;
    /* Oppure gioca con gli spazi */
  }

  .swal-overlay .swal-modal {
    width: 350px !important;
    position: absolute !important;
    top: 120px !important;
    right: 20px !important;
  }

  .menubtn.active:before {
    content: "\f04b";
    position: absolute;
    left: 30px;
    font-family: var(--fa-style-family, "Font Awesome 6 Free");
    font-weight: var(--fa-style, 900);
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    margin-top: 5px;
  }
}
.el7 {
  width: calc(100% / 7);
}
.el8 {
  width: calc(100% / 8);
}
.grtitle .badge {
  display: inline-block;
  width: 100%;
}
@media (max-width: 1024px) {
  #advice_forecaster h5 {
    font-size: 1em;
  }

  .grtitle {
    padding: 0px;
    min-width: auto;
  }

  #eventtitlestatus {
    font-size: 1em !important;
  }
}

@media (max-width: 840px) {
  .grtitle .row div {
    margin-left: 0px !important;
    margin-bottom: 0px !important;
  }
  .el7,
  .el8 {
    height: 50%;
    width: calc(100% / 4);
    border-bottom: 1px solid white;
  }
}
@media (max-width: 767.98px) {
  .HourlyWrapper .previousnight h5,
  .HourlyWrapper .weatherconditions h5 {
    min-height: 39px;
  }

  .app-header .navbar-mobile-toggler + .navbar-brand {
    margin-left: 0px !important;
  }

  .tooltiptext {
    display: none;
  }

  .app-content {
    margin: 0px 0 !important;
  }

  .groundstation_clock {
    display: none;
  }

  .leaflet-touch .leaflet-control-attribution,
  .leaflet-touch .leaflet-control-layers,
  .leaflet-touch .leaflet-bar {
    font-size: 0.65rem !important;
  }

  .grcontent div {
    overflow: hidden;
    font-size: 0.65rem;
  }

  #advice_forecaster {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0px;
    border: solid white 0px;
  }

  .mabBoxStation,
  .mabBoxStation .qm:before {
    line-height: 1.3em;
    font-size: 1em;
  }

  .h2,
  h2 {
    font-size: calc(1rem + 0.3vw);
  }
}

@media (max-width: 367px) {
  .tooltiptext {
    display: none;
  }

  .h2,
  h2 {
    font-size: calc(0.65rem + 0.3vw);
  }

  .h5,
  h5 {
    font-size: 0.7375rem;
  }
}

#toolcontainer {
  overflow: auto;
}

body {
  overflow: hidden;
}

.swal-icon.swal-icon--success {
  display: none;
}

@media (min-width: 768px) {
  .news-feed {
    right: 0 !important;
  }

  .news-image {
    z-index: 1;
  }

  .login-container {
    width: 90% !important;
    min-height: 26vh !important;
    margin: 5% !important;
    padding: 2% !important;
    position: absolute;
    background-image: url("/assets/css/transparent/images/page-cover-v2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    left: 50%;
    bottom: 20%;
    transform: translate(-55%, 0%);
    border: 3px white solid;
    border-radius: 20px;
  }
}

.tooltiptext {
  background-color: black;
  color: #fff;
  text-align: center;
  border: white solid 1px;
  border-radius: 6px;
  padding: 5px;

  /* Position the tooltip */
  position: absolute;
  z-index: 5000;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: none;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.app-header .navbar-nav {
  justify-content: flex-start;
}

.app-sidebar-end.app-sidebar,
.app-sidebar-end.app-sidebar-bg {
  left: -240px;
}

.app-with-two-sidebar .app-sidebar-end.app-sidebar,
.app-with-two-sidebar .app-sidebar-end.app-sidebar-bg {
}

@media (min-width: 768px) {
  .app-sidebar-end-toggled .app-sidebar-end.app-sidebar,
  .app-sidebar-end-toggled .app-sidebar-end.app-sidebar-bg {
    left: 0;
  }
}

#camswrapper {
  position: absolute;
  top: 0px;
  right: 2px;
  z-index: 2000;
  width: 230px;
}

@media (max-width: 800px) {
  #camswrapper {
    width: 150px;
  }
}
@media (max-width: 400px) {
  #camswrapper {
    width: 130px;
  }
}

#camswrapper .camerathumb {
  margin: 10px;
  border: solid white 6px;
  border-radius: 15px;
  cursor: zoom-in;
}

#camswrapper .camerathumb a:hover {
  cursor: zoom-in;
}

#camswrapper .camerathumb img {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

#camswrapper span {
  display: block;
  background-color: black;
  color: white;
  text-align: center;
  font-weight: bold;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

#camswrapper .camerathumb {
  transition: transform 0.1s ease, z-index 0.1s ease;
}

#camswrapper .camerathumb:hover {
  transform: scale(1.1);
  z-index: 20;
}

#camswrapper .camerathumb a {
  text-decoration: none;
}

#compare h6 {
  font-family: "Montserrat Alternates";
}
.forecastarrowcontainer {
  position: absolute;
  top: 10px;
  left: 20px;
  z-index: 2000;
  background-color: black;
  color: white;
  border-radius: 15px !important;
  border: solid white 5px !important;
  color: white;
}
.forecastarrowcontainer a {
  display: block;
  color: white;
  padding: 10px;
  float: left;
  cursor: pointer;
  font-weight: bold;
}
.forecastarrowcontainer .forecastarrowback {
  border-right: solid white 5px !important;
}

.chart-controls {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.day-control-group {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  border-radius: 5px;
  border-left: 3px solid #4488ff;
}

.form-check-input:checked {
  background-color: #4488ff;
  border-color: #4488ff;
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(68, 136, 255, 0.25);
}

.btn-group .btn {
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-group .btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Pulsante di aggiornamento (portale): usa lo stile dei pulsanti del sito (.btn-carbon: stessi colori, bordo e font).
   Qui solo posizione e dimensioni: bersaglio da almeno 44 px, sotto la barra superiore e fuori dalla zona sicura di iOS. */
.qsmet-refresh {
  position: fixed;
  right: 10px;
  top: calc(env(safe-area-inset-top, 0px) + 68px);
  z-index: 1040;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 22px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
#header[style*="display:none"] + .qsmet-refresh,
#header[style*="display: none"] + .qsmet-refresh { display: none; }
.qsmet-refresh #qsmet-refresh-time:empty { display: none; }
.qsmet-refresh.is-busy i { animation: qsmet-spin 1s linear infinite; }
@keyframes qsmet-spin { to { transform: rotate(360deg); } }

/* il pulsante di aggiornamento serve solo sul telefono (sotto i 768 px): sul desktop, anche con la finestra stretta, non si vede */
@media (min-width: 768px) {
  .qsmet-refresh { display: none !important; }
}
