body {
  --map-height: 500px;
  --list-height-mobile: 250px;
  --clr-bg-list: #f8f8f8;
}

.container-circuits {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: transparent url("../img/background.png") repeat;
  width: 100%;
}

.container-circuits > div {
  display: -ms-grid;
  display: grid;
  width: 100%;
  max-width: var(--width);
      grid-template-areas: 'title title' 'list map';
  -ms-grid-columns: 40% 60%;
      grid-template-columns: 40% 60%;
  background-color: white;
  padding: 20px;
}

.container-circuits > div > h1 {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  -ms-grid-column-span: 2;
  grid-area: title;
  position: relative;
  line-height: 50px;
  padding-left: 60px;
  margin-bottom: 0;
}

.container-circuits > div > h1::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  top: 0;
  left: 0;
  background: transparent url("../img/header-menu-poi-off.png") no-repeat;
}

.container-circuits > div > #container-circuits__map {
  width: 100%;
  padding-left: 15px;
  -ms-grid-row: 2;
  -ms-grid-column: 2;
  grid-area: map;
}

.container-circuits > div > #container-circuits__map .title-top::before {
  background: transparent url("../img/banner-icons-map.png") no-repeat;
}

.container-circuits > div > #container-circuits__map > .descr {
  padding-left: 5px;
  padding-top: 30px;
}

.container-circuits > div > #container-circuits__map > .descr > div:first-of-type {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.container-circuits > div > #container-circuits__map > .descr > div:first-of-type > h3 {
  margin: 0 0 0 10px;
}

.container-circuits > div > #container-circuits__map > div:nth-of-type(4) {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 100px;
  margin-top: 40px;
  padding: 20px;
  background-color: var(--clr-main-ltgray);
  border-radius: 25px 25px 0 0;
}

.container-circuits > div > #container-circuits__map > div:nth-of-type(4) > h3 {
  margin: 0;
  width: 100%;
  font-size: 1em;
  color: var(--clr-main-midgray);
}

.container-circuits > div > #container-circuits__map > div:nth-of-type(4) > a {
  display: inline-block;
  position: relative;
  width: calc(50% - 10px);
  height: 30px;
  line-height: 30px;
  background-color: aqua;
  border-radius: 5px;
  margin-top: 15px;
  color: white;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.85em;
  text-align: center;
}

.container-circuits > div > #container-circuits__map > div:nth-of-type(4) > a::before {
  content: '';
  width: 30px;
  height: 30px;
  position: absolute;
  left: 10px;
  top: 0;
}

.container-circuits > div > #container-circuits__map > div:nth-of-type(4) > a:first-of-type {
  background-color: var(--clr-facebook);
}

.container-circuits > div > #container-circuits__map > div:nth-of-type(4) > a:first-of-type::before {
  background: transparent url("../img/share-icons-fb.png") no-repeat;
}

.container-circuits > div > #container-circuits__map > div:nth-of-type(4) > a:nth-of-type(2) {
  background-color: var(--clr-twitter);
}

.container-circuits > div > #container-circuits__map > div:nth-of-type(4) > a:nth-of-type(2)::before {
  background: transparent url("../img/share-icons-twitter.png") no-repeat;
}

.container-circuits > div > #container-circuits__list {
  width: 100%;
  padding-right: 15px;
  -ms-grid-row: 2;
  -ms-grid-column: 1;
  grid-area: list;
}

.container-circuits > div > #container-circuits__list .title-top::before {
  background: transparent url("../img/banner-icons-list.png") no-repeat;
}

@media screen and (max-width: 780px) {
  .container-circuits > div {
        grid-template-areas: 'title' 'list' 'map';
    -ms-grid-columns: 100%;
        grid-template-columns: 100%;
  }
  .container-circuits > div > #container-circuits__map {
    padding-left: 0;
  }
  .container-circuits > div > #container-circuits__list {
    height: 250px;
    padding-right: 0;
    padding-bottom: 75px;
  }
  .container-circuits > div > #container-circuits__list > #list {
    height: 100%;
  }
  .container-circuits > div > #container-circuits__list > #list > ul {
    overflow-y: scroll;
    border-bottom: 1px solid var(--clr-main-ltgray);
  }
}

#map, #list {
  position: relative;
  margin-top: 0px;
  margin-left: 5px;
  z-index: 1;
}

#map {
  aspect-ratio: 100 / 80;
  width: calc(100% - 5px);
}

#list {
  width: calc(100% - 5px);
  background-color: var(--clr-bg-list);
}

#list > ul {
  list-style: none;
  -webkit-padding-start: 0;
          padding-inline-start: 0;
  margin: 0;
  max-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

#list > ul > li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-bottom: 1px solid var(--clr-main-ltgray);
  padding: 5px 0;
  width: 100%;
}

#list > ul > li > img:first-of-type {
  height: 37px;
  padding-left: 5px;
}

#list > ul > li > img:nth-of-type(2) {
  height: 40px;
}

#list > ul > li > p {
  width: 99%;
  margin: 0;
  padding: 0 10px;
  font-weight: bold;
  font-size: .85em;
}

#list > ul > li.selected {
  background-color: var(--clr-main-ltgray);
}

.popup {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  min-width: 200px;
}

.popup > h2 {
  margin-bottom: 10px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.popup > img {
  width: 100%;
}

.popup > a {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-item-align: center;
      align-self: center;
  margin-top: 10px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: calc(50% - 5px);
  height: 30px;
  padding: 7px 5px 5px 25px;
  color: white;
}

.popup > a:link, .popup > a:visited, .popup > a:hover, .popup > a:active {
  color: white;
  text-decoration: none;
}

.popup > a::before {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  top: 3px;
  left: 2px;
}

.popup > a:first-of-type {
  margin: 10px 5px 0 0;
  background-color: var(--clr-main-green);
}

.popup > a:first-of-type::before {
  background: transparent url("../img/poi-actions-y-aller-off.png") no-repeat;
}

.popup > a:nth-of-type(2) {
  margin: 10px 0 0 5px;
  background-color: var(--clr-main-rose);
}

.popup > a:nth-of-type(2)::before {
  background: transparent url("../img/poi-actions-voir-off.png") no-repeat;
}

@-webkit-keyframes animBoing {
  0% {
    top: 0;
  }
  20% {
    top: 0;
  }
  100% {
    top: -30px;
  }
}

@keyframes animBoing {
  0% {
    top: 0;
  }
  20% {
    top: 0;
  }
  100% {
    top: -30px;
  }
}

.boing {
  -webkit-animation: animBoing 0.4s ease-in-out 0.01s infinite alternate backwards;
          animation: animBoing 0.4s ease-in-out 0.01s infinite alternate backwards;
}
/*# sourceMappingURL=circuits.css.map */