* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --main-btn-bg: #f6f6f6;
  --main-btn-active: #837e8c;
  --main-btn-hover: #ffde4c;

  --main-btn-text: white;
  --main-btn-text-active: white;
  --main-btn-text-hover: black;

  --ads-bg: #f5f6f7;
  --navbar-bg: #837e8c;
  --other-providers-btn-bg: #4997d0;
  --other-providers-btn-hover: rgba(0, 57, 100, 0.8);
  --sub-header: #999999;
  --back-btn-hover:#424242;
  --search-form-bg: #f0f0f0;
  --travel-method-active: #96d048;
  --green-border: #32db64;
  --light-gray-bg: #f0f0f0;

  --date-item-text: black;
  --date-item-text-hover: var(--main-btn-text-hover);




  --map-list-view-btn-bg: var(--main-btn-bg);
  --map-list-view-btn-bg-active: var(--main-btn-active);
  --map-list-view-btn-bg-hover: var(--main-btn-hover);

  --map-list-view-btn-text: var(--date-item-text);
  --map-list-view-btn-text-active: var(--main-btn-text-active);
  --map-list-view-btn-text-hover: var(--main-btn-text-hover);

  --hero-image-bg-color: var(--search-form-bg);
}

body {
  font-family: Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--light-gray-bg);
}

button {
  background-color: var(--sub-header);
  border: none;
  color: white;
  cursor: pointer;
  font-size: medium;
}


a {
  text-decoration: none;
  color: black;
}

#login-btn{
  width: max-content;
}

.main-nav a:hover {
  transform: scale(1.1);
}


a:visited {
  color: black;
}

.hide {
  display: none;
}

#logo-title {
  font-size: 0.7rem;
  font-weight: bold;
}

.material-icons{
  vertical-align: -0.3rem;
  cursor: pointer;
}

#maintenance-container {
  display: grid;
  grid-template-columns: repeat(3, auto);
  width: 70%;
  margin: auto auto 2rem auto;
  background-color: rgb(255, 255, 90);
  padding: 1rem;
  border: 5px dashed black;
  align-items: center;
  text-align: center;
  margin-top: 0.5rem;
}

#maintenance-container span:first-child{
  font-size: xxx-large;
}

#title-h1 {
  font-size: 16px;
  font-weight: bold;
  justify-self: left;
  margin: 2rem 0 0.5rem 0;
  padding-top: 0;
  text-transform: uppercase;
}

#title-h2 {
  margin: 1rem 0 0 0;
  color: #837e8c;
  justify-self: left;
  font-size: 1.8rem;
}

#static_content {
  grid-area: iframe-container;
  width: 70%;
  margin: 0 auto;
}

#static_content section {
  margin-top: 1.5rem;
}

#static_content div {
  margin-top: 1rem;
}

#static_content img {
  width: 100%;
}

#lang-popup {
  display: block;
}


.validity-popup {
  position: absolute;
  display: inline-block;
}


.validity-popup .validity-popuptext {
  visibility: hidden;
  width: 300px;
  background-color: #555;
  color: #fff;
  padding: 18px;
  text-align: center;
  border-radius: 6px;
  position: fixed;
  z-index: 1000;
}

.validity-popup:hover {
  cursor: pointer;
}

.validity-popup .validity-show {
  visibility: visible;
}

.validity-popup .validity-popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.validity-popup .validity-popuptext::before {
  content: "×";
  font-size: 26px;
  position: absolute;
  z-index: 2;
  left: calc(100% - 20px);
  top: -4px;
}