:root {
  font-family: Inter, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
}
@supports (font-variation-settings: normal) {
  :root { font-family: InterVariable, sans-serif; }
}

:root {
  --mr_warning: rgb(212, 78, 78);
  --mr_green: rgb(189, 206, 50);
  --mr_red: #dc3545;
  --mr_blue: #66b8dc;
  --mr_lightgray: rgb(250, 250, 250);
  --mr_silver: rgb(246, 246, 246);
  --mr_gray: rgb(236, 236, 236);
  --mr_grayer: rgb(222, 222, 222);
  --mr_hypodense: rgb(171, 171, 171);
  --mr_wolf: rgb(89, 89, 89);
}

/* body {
  min-height: calc(100% + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
} */
html {
  overflow: hidden;
  min-height: 100vh;
  padding: 0px;
  overscroll-behavior: none;  
  position: relative;
}
body {
  background-color: var(--mr_lightgray);
  overflow: hidden;
  position: fixed;
  height: calc(100% + env(safe-area-inset-top));
  width: 100%;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  margin: 0px;
  padding: 0px;
  height: 100%;
  overscroll-behavior: none;  
  color: var(--mr_wolf);
}
#notifications-container {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 90px;
  align-items: flex-end;
  width: 100%;
  right: 20px;
  gap: 10px;
}
.notification {
  font-weight: bold;
  color: white;
  font-size: 14px;
  background-color: var(--mr_warning);
  padding: 3px 7px;
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.notification.show {
  opacity: 1;
}
#content-container {
    position: absolute;
    top: 0px;
    bottom: 0px;
    width: 100%;
    overflow-y: scroll;
    z-index: 1;
    box-sizing: border-box;
}
.content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    padding-top: calc(80px + env(safe-area-inset-top));
    padding-bottom: 100px;
    overflow: hidden;
    position: relative;
}
#banner {
    width: 100%;
    height: calc(90px + env(safe-area-inset-top));
    position: fixed;
    top: 0px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
    overflow: hidden;
    /* border-bottom: 1px solid var(--mr_silver); */
}
#banner-background {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: linear-gradient(to top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    mask-image: linear-gradient(to top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 40%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 40%);
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    z-index: 0;
}
#banner img {
  margin-top: calc(env(safe-area-inset-top) + 5px);
  z-index: 1;
  height: 50px;
}
button {
  padding: 10px 10px;
  font-size: 16px;
  cursor: pointer; 
  border-radius: 10px;
  font-weight: bold;
  color: color(srgb 1 1 1);
  border: 0px;
  background-color: var(--mr_gray);
}
button i {
  margin-right: 10px;
}
button.positive {
  background-color: var(--mr_green);
}
#version {
    font-size: 10px;
    color: rgb(182, 182, 182);
    width: 100%;
    text-align: center;
    /* position: absolute; */
    /* bottom: 20px; */
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#paginationContainer {
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: fixed;
    top: calc(55px + env(safe-area-inset-top));
    z-index: 3;
    width: 100%;
    height: 5px;
}
#pagination {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 150px;
}
#pagination .swiper-pagination-bullet.middle {
  background-color: var(--mr_green);
  opacity: 1;
}
#pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--mr_blue);
}
#dateInformations {
    position: relative;
    width: calc(100% - 100px);
    font-size: 14px;
    color: var(--mr_wolf);
    margin-bottom: 20px;
    line-height: 22px;
    background-color: white;
    padding-left: 20px;
    border-left: 2px solid var(--mr_green);
    margin-left: 0px;
    padding: 20px;
}
#historyDate, #updateDate, #time-ago {
  font-weight: bold;
}

#reloadWarningContainer, #updateWarningContainer {
  width: 100%;
  display: none;
  top: calc(70px + env(safe-area-inset-top));
  z-index: 1000;
  justify-content: center;
  position: fixed;
}
.warningContainer {
    background-color: var(--mr_warning);
    width: 100%;
    padding: 20px;
    color: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    display: flex;
}
.warningButton {
    background-color: white;
    color: var(--mr_warning);
    display: flex;
    gap: 10px;
}
 .warningTitle {
  font-weight: bold;
 }

 #notesOverlayContainer {
    z-index: 4;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: none;
}
#notesOverlayBackground {
  background-color: rgb(0, 0, 0);
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}
#notesOverlay {
    position: absolute;
    bottom: -600px;
    transition: bottom 0.2s ease-in-out;
    background-color: var(--mr_lightgray);
    padding: 20px;
    left: 0;
    right: 0;
    max-height: 600px;
    font-size: 15px;
    overflow: scroll;
}
#notesBody {
  padding-bottom: 20px;
}
#notesHeader {
    display: flex;
    margin-bottom: 20px;
    justify-content: space-between;
    align-items: flex-start;
}
#notesHeaderStationsSet {
  flex: 0;
}
#notesCloseButton {
    /* flex: 1; */
    background-color: var(--mr_gray);
    padding: 10px;
    border-radius: 100px;
    color: var(--mr_hypodense);
}