@import url("https://fonts.googleapis.com/css2?family=Merienda+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

* {
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  height: 101vh;
  margin: 0;
  padding: 0;
  background: #193e73;
}

#lineCont {
  margin-top: 90px;
  margin-bottom: 90px;
  width: 100%;
  height: 20%;
}

#line {
  height: 5px;
  width: 90%;
  background: #a2a0a1;
  border-radius: 3px;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  position: relative;
}

#span {
  display: none;
  width: 70%;
  margin: auto;
  margin-top: 25%;
  text-align: center;
  color: #e26e34;
}

.circle {
  width: 24px;
  height: 24px;
  background: #f0eef0;
  border-radius: 100%;
  position: absolute;
  top: -10px;
  border: 2px solid #a2a0a1;
  cursor: pointer;
}
.circle:before {
  content: "";
  width: 16px;
  height: 16px;
  background: #193e73;
  position: absolute;
  border-radius: 100%;
  top: 2px;
  left: 2px;
  display: none;
}
.circle .popupSpan {
  width: auto;
  height: auto;
  padding: 5px;
  white-space: nowrap;
  display: inline-block;
  color: #a2a0a1;
  position: absolute;
  top: 24px;
  left: -17px;
  transition: all 0.1s ease-out;
}
.circle.hover:before,
.circle.active:before {
  display: block;
}
.circle.hover .popupSpan,
.circle.active .popupSpan {
  display: block;
}
.circle.active .popupSpan {
  color: #193e73;
  font-weight: 700;
  top: -40px;
  font-size: 1.05em;
  left: -27px;
}

#mainCont {
  min-height: 100vh;
  margin: 0;
  width: 100%;
  text-align: center;
}
#mainCont span {
  display: inline-block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 30%;
  transition: all 0.2s ease-out;
}
#mainCont span.right {
  left: 200%;
}
#mainCont span.center {
  left: 0% !important;
}
#mainCont span.left {
  left: -100%;
}

.bg-header {
  background-image: url("../img/headerbg.jpg");
  background-color: #003c78;
  background-size: cover;
  background-position: center;
}
.layer-bg {
  padding: 60px 0 60px;
  background-color: rgba(0, 60, 120, 0.65);
}
.title-header {
  font-family: "Merienda One", cursive;
  font-weight: 700;
  font-size: 2.6em;
  margin-top: 30px;
}
.title-header span {
  font-size: 1.5em;
}
.big-card {
  border-top: #df4058 solid 3px;
  padding: 40px 0 0;
  margin-top: -40px;
  background-color: #193e73;
  border-radius: 30px 30px 0 0;
}

.white-card {
  margin-top: 30px;
  min-height: 400px;
  padding-top: 30px;
  background-color: #fff;
  border-radius: 30px 30px 0 0;
}
.primary {
  color: #14427d;
}
.secondary {
  color: #e34051;
}

.white {
  color: #fff;
}

.footer {
  padding-top: 30px;
  background-color: #193e73;
}

.footer a {
  color: #d3e8fe;
  text-decoration: none;
  background-color: transparent;
  font-weight: 600;
}
.footer a:hover {
  color: #fff;
}
.footer-col {
  margin-bottom: 30px;
}
#loading h2 {
  margin-bottom: 40px;
  font-weight: 300;
  color: #a2a0a1;
}
#restaurantName {
  margin-top: 0;
  width: 100%;
  font-weight: 700;
}

#fluiditeCont {
  margin: 0;
  width: 100%;
}

.traffic_light-content {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  margin-top: 20px;
}

.traffic_light-content h3 {
  text-align: center;
  width: 100%;
  display: block;
  flex: none;
}

.zone_name {
  flex: 1;
  background-color: #0a51a0;
  color: #fff;
  margin: 0;
  padding: 5px 0;
  text-align: left;
}

.traffic_light {
  width: 100%;
  margin: 0;
  background-color: #ddd;
  min-height: 90px;
  padding: 5px 0;
  align-items: center;
}
.traffic_light h3 {
  font-family: "Montserrat", sans-serif;
  width: 60px;
  display: block;
  flex: none;
  margin: auto;
  color: #063249;
  border-radius: 100%;
  height: 60px;
  line-height: 0;
  padding: 27px 0 0 0;
}

.lighty_container {
  display: block;
  height: 100%;
  border-radius: 100%;
  margin: 0 10px;
  float: left;
}
.lighty {
  display: block;
  background-color: #e34051;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  margin: 0 10px;
  float: left;
}
.traffic_light h4 {
  margin: auto;
  color: #063249;
}

#loading {
  margin-top: 0;
  margin-bottom: 7px;
}
.green {
  background-color: #b8d268;
}
.yellow {
  background-color: #f7aa52;
}
.red {
  background-color: #e34051;
}
.grey {
  background-color: #d6d6d6;
}
/* ----------------------------------------------
 * Generated by Animista on 2020-7-9 9:1:58
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */
.fade-out {
  -webkit-animation: fade-out 1s ease-out both;
  animation: fade-out 1s ease-out both;
}

/**
 * ----------------------------------------
 * animation fade-out
 * ----------------------------------------
 */
@-webkit-keyframes fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/**
 * ----------------------------------------
 * animation slide-fwd-center
 * ----------------------------------------
 */
.fade-in-fwd {
  -webkit-animation: fade-in-fwd 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  animation: fade-in-fwd 0.6s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}
@-webkit-keyframes fade-in-fwd {
  0% {
    -webkit-transform: translateZ(-80px);
    transform: translateZ(-80px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    opacity: 1;
  }
}
@keyframes fade-in-fwd {
  0% {
    -webkit-transform: translateZ(-80px);
    transform: translateZ(-80px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    opacity: 1;
  }
}

.lds-hourglass {
  display: inline-block;
  position: relative;
  width: 50px;
  height: 50px;
  margin: -22px 5px auto;
}
.lds-hourglass:after {
  content: " ";
  display: block;
  border-radius: 50%;
  width: 0;
  height: 0;
  margin: 0;
  box-sizing: border-box;
  border: 23px solid #0a51a0;
  border-color: #0a51a0 transparent #0a51a0 transparent;
  animation: lds-hourglass 1.2s infinite;
}
@keyframes lds-hourglass {
  0% {
    transform: rotate(0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  50% {
    transform: rotate(900deg);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  100% {
    transform: rotate(1800deg);
  }
}

@media screen and (max-width: 460px) {
  .title-header {
    font-size: 2.1em;
  }

  .title-header span {
    font-size: 1.5em;
  }
  .popupSpan {
    font-size: 0.85em;
  }
  #restaurantName {
    font-size: 2em;
  }
}
