﻿:root {
	--hue: 3;
	--bg: hsl(var(--hue),10%,90%);
	--fg: hsl(var(--hue),10%,10%);
	--primary: hsl(var(--hue),90%,50%);
	--primaryT: hsla(var(--hue),90%,50%,0);
	--trans-dur: 0.3s;
}
::-webkit-scrollbar{
  display: none;
}
.mileBg{
    background-color: var(--bg);
	display: flex;
	flex-wrap: wrap;
    justify-content:space-around;
	font: 1em/1.5 "DM Sans", sans-serif;
	height:100vh;
	overflow-y:auto;
}
.mileBg h1 {
	font-size: 3em;
	margin: 50px 0 0rem;
	text-align: center;
}
.mapWrapper {
  width: 75%;
  color:#333;
  height: auto;
  margin:0px 0px 80px 0px;
}
.mapWrapper .row {
  position: relative;
  width: 100%;
  left: 0;
  height: 7em;
}
.mapWrapper .row .itemBar {
  position: relative;
  display: inline-block;
  width: 33.3333333333%;
  height: 0.10em;
  margin-top: 6.875em;
  background: rgba(249, 56, 39, 0.5);
}
.mapWrapper .row .itemBar .itemInfo {
  position: absolute;
  width: 100%;
  bottom: 0.5em;
  text-align: center;
}
.mapWrapper .row .itemBar .itemInfo:after {
  content: "";
  position: absolute;
  width: 0.5em;
  height: 0.25em;
  background: rgba(249, 56, 39, 0.5);
  border-radius: 3em 3em 0 0;
  left: 50%;
  transform: translateX(-50%);
  bottom: -0.25em;
  transition: width 0.2s ease-in, height 0.2s ease-in;
}
.mapWrapper .row .itemBar:hover .itemInfo:after {
  width: 2.5em;
  height: 0.25em;
  transition: width 0.2s ease-in, height 0.2s ease-in;
  cursor:pointer;
}
.mapWrapper .row .itemBar .itemDate {
  position: absolute;
  width: 100%;
  font-size: 1.25em;
  top: 0.25em;
  text-align: center;
  text-shadow: 1px 1px 2px black;
}
.mapWrapper .row:nth-child(2n) .itemBar:first-child:after {
  content: "";
  position: absolute;
  width: 1.75em;
  height: 7.1em;
  right: 100%;
  top: 0;
  border-radius: 7em 0 0 7em;
  border: 0.15em solid rgba(249, 56, 39, 0.5);
  border-right: unset;
}
.mapWrapper .row:nth-child(2n+1) .itemBar:last-child:after {
  content: "";
  position: absolute;
  width: 1.75em;
  height: 7.1em;
  left: 100%;
  top: 0;
  border-radius: 0 7em 7em 0;
  border: 0.15em solid rgba(249, 56, 39, 0.5);
  border-left: unset;
}
.mapWrapper .row:last-child .itemBar:after {
  
}
.mapWrapper .row:first-child .itemBar:first-child:before 
{
    font-family: "Font Awesome 5 Free";
    content:"\f0d9";
    position:absolute;
    color:#F93827;
    font-size:32px;
    font-weight: 900;
    margin-top:-23px;
    margin-left:-10px;
    padding:0px;
    top:0;
}
.mapWrapper .row:last-child .itemBar:last-child:after 
{
    width:15px;
    height:15px;
    background-color:#000;
    border-radius:50px;
    z-index:10;
    margin-top:-7px;
}

@media (max-width: 767.98px) 
{
    .mileBg
    {
        height:auto;
    }
    .mileBg h1 {
	font-size: 34px;
    }
    .mapWrapper
    {
      display:flex;
      flex-direction:column;
    }
    .mapWrapper .row {
      position: relative;
      width: 100%;
      left: 0;
      height: 12em;
    }
    .mapWrapper .row .itemBar .itemInfo {
      font-size:12px;
    }
    .mapWrapper .row .itemBar .itemDate {
      font-size: 1em;
    }
    .mapWrapper .row:nth-child(2n) .itemBar:first-child:after {
      height: 12.101em;
    }
    .mapWrapper .row:nth-child(2n+1) .itemBar:last-child:after {
      height: 12.101em;
    }
    .mapWrapper .row:last-child .itemBar:last-child:after 
    {
        width:15px;
        height:15px;
        background-color:#000;
        border-radius:50px;
        z-index:9999;
        margin-top:-7px;
    }
}