body {
  margin: 0;
  font-family: sans-serif;
}

html, body, #map {
  height: 100%;
  width: 100%;
}

input, button {
    -webkit-appearance: none;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: auto;
}

.link__signal {
  text-align: center;
  margin: 1em 0;
}

.links-container {
  text-align: center;
  margin: 1em 0;
}
.links-container img {
  max-width: 2em;
  cursor: pointer;
}

/** **/
.container__message {
  height: 65%;
  width: 100%;
  padding-top: calc( 200px + 15% );
  text-align: center;
}

.container__message .middled-annoucement {
  background-color: white;
  width: calc(100% - 88px);
  max-width: 900px;
  padding: 1em;
  margin: auto;
}
.container__message .middled-annoucement img, .container__message .middled-annoucement h1 {
  display: inline;
  vertical-align: middle;
}
.container__message .middled-annoucement h1 {
  margin-left: 1em;
  font-size: 20px;
}
.container__message .middled-annoucement p {
  margin-top: 1em;
  margin-bottom: 0.5em;
  font-size: 15px;
}

.container__message .middled-annoucement i {
  font-size: 12px;
}

/** ZIPCODE search **/
#container__zipcode {
  background: #FF8511;
  color: white;
  font-size: 12px;
  max-height: 35px;
  padding: 5px 7px;
  margin-top: -0.5em;
  margin-left: -0.5em;
  margin-right: -0.5em;
  margin-bottom: 0.5em;
  display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

#container__zipcode input {
  display: inline-block;
  width: calc( 100% - 5.5em );
  border-radius: 5px;
  height: 26px;
  font-size: 13px;
  outline: none;
  border: none;
  padding: 0.3em 0;
  padding-left: 0.5em;
}
#container__zipcode button {
  width: 5em;
  outline: none;
  border: none;
  margin:0;
  height: 35px;
  padding: 0;
  background: transparent;
  vertical-align: middle;
  cursor: pointer;
  display: inline-block;
  border-left: solid 1px #ff8511;
}

#container__zipcode .zipcode__holder {
  background: white;
  width: 100%;
  margin-right: 0.5em;
  max-height: 40px;
  border: 2px solid #ff8511;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

#container__zipcode input--inline {
  display: inline-block;
}

@media (min-width: 768px) {
  .container__message .middled-annoucement img {
    width: 45px;
  }
  .container__message .middled-annoucement img, .container__message .middled-annoucement h1 {
    display: inline;
    vertical-align: middle;
  }
  .container__message .middled-annoucement h1 {
    font-size: 30px;
  }
  .container__message .middled-annoucement p {
    font-size: 17px;
  }

  .container__message .middled-annoucement i {
    font-size: 13px;
  }
}

.leaflet-container ~ footer {
  display: none;
}
/** Overlay en bas **/
#container__down, #container__up {
  position: absolute;
  bottom: 0;
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 200px;
  font-size: 12px;
  padding: 0.5em 0;
  overflow: hidden;
}

#container__down {
  background-color: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  bottom: 18px;
  max-height: 165px;
  padding-bottom: 0.2em;
}
#container__down .logo_text_container, #container__down .map__message{
  padding-left: 0.5em;
  padding-right: 0.5em;
}

#container__up {
  top: 75px;
  max-height: 72px;
}

.banner-ads {
  position: absolute;
  top: 104px;
  left: calc(100% / 2 - 320px / 2);
}

.pub {
  width: 100%;
  height: 60px;
  position: absolute;
  left: 0;
  right: 0;
  top: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1em;
  margin-bottom: 1em;
}
@media (min-width: 768px) {
  .pub {
    height: 150px;
    top: 90px;
  }
}

.map__message__hour {
  font-size: 10px;
}

#container__up .up__message {
  text-align: center;
  font-size: 14px;
}

#container__down .map__message__label {
  margin-bottom: 1em;
}

.header__count-right .header__count, .header__count-left .header__count {
  max-width: 95%;
}

.header__count-right .header__count, .header__count-right div {
  text-align: center;
}

.header__count-right, .header__count-left {
  display: inline-block;
  width: 49%;
}
.header__count-right {
  text-align: center;
}

.up__message img {
  vertical-align: middle;
}

.up__message strong {
  color: #fd6e27;
}

.newsletter {
  display: none;
  position: absolute;
  width: 90%;
  max-width: 400px;
  height: auto;
  top: calc(100% /2 - 150px /2);
  left: calc(100% /2 - 400px /2);
  background: rgba(255, 255, 255, 0.99);
  padding: 1em;
  border: 1px solid rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
  .newsletter {
    width: 100%;
    left: 0;
    max-width: 100%;
    padding: 0.5em 0.5em;
  }
  .newsletter span {
    font-size: 13px;
  }
  #container__up {
    top: 0px;

    max-height: 80px;
  }
}

.newsletter input {
  width: 75%;
  padding: 1em;
}

#newsletter__popup #newsletter__button {
  padding: 1em 1em;
  background-color: #fd6d22;
  outline: none;
  border: none;
  color: white;
}

#newsletter__close {
  float: right;
  cursor: pointer;
  color: grey;
  margin-top: 0.5em;
  margin-right: 1em;
}

#newsletter__error {
  font-size: 12px;
  color: red;
}

#newsletter__input {
  margin-top: 1em;
}

#last-update {
  font-size: small;
  color: grey;
}


footer {
  position:fixed;
  bottom:0px;
  height: 50px;
  width: 100%;
  background: #333333;
  text-align: center;
  font-size: 12px;
  color: white;
  justify-content: center;
  display: flex;
  align-items: center;
}

footer *{
  display: inline-block;
}

footer img {
  width: 40px;
  vertical-align: middle;
  margin: 5px;
}

/*** header **/
.header__count {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
}
.header__count img {
  margin-right: 0.5em;
}


/** Content **/
.highlited__words {
  font-weight: bold;
}

.legend {
    line-height: 18px;
    color: #555;
}
.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.7;
}

.legend > div > img {
   width: 20px;
   height: 30px;
   opacity: 1;
 }

.legend > div > span {
   font-weight: bold;
   line-height:30px;
   vertical-align: top;
 }


.legend_title {
  font-size: 18px;
}
.legend_label {
  font-size: 16px;
}

#legend_container {
  display: block;
  margin-top: 12px;
}
#legend_container_left {
  display: inline-block;
  float: left;
}
#legend_container_right {
  display: inline-block;
  margin-left: 8px;
  line-height: 100px;
  width: 60%;
    text-align: center;
}

#legend_container_right img {
  vertical-align: middle;
}




.show_all_button {
  padding: 8px 16px;
  cursor: pointer;
}

.show_all_button > p > .show_all_anchor,
.show_all_button > p > .show_all_anchor:hover,
.leaflet-touch .leaflet-bar a.show_all_anchor {
  background-color: white;
      width: 100%;
}

.leaflet-popup-close-button {
  margin: 10px 5px;
  width: 30px!important;
  height: 30px!important;
}

#anchors-container-middle {
    display: inline-block;
    width: 100%;
}
#anchors-container-left {
    display: inline-block;
    width: 18%;
}
#anchors-container-right {
    display:  inline-block;
    width: 20%;
    height: 69px;
vertical-align: top;

}

.icon_img {
    width: 44px;
    height: auto;
}

.icon_container {
    float: left;
    width: 44px;
}

.brand_station_container {
    float: left;
    max-width: 70%;
    vertical-align: top;
    margin-left: 8px;
}

.brand_container {
    font-weight: bold;
}

.clear_fix {
    clear: both;
    overflow: auto;
}

.station_missing_gas_type_container {
    margin-top: 8px;
}

.missing_gas_types_ul {
    margin-top: 0px;
}

.missing_gas_types_li {
    margin: 3px 0;
}

#event .progressbar {
    width: 100%;
    position: relative;
    top: -4px;
}

.header {
    width: 100%;
    background-color: white;
    text-align: center;
}

.header span {
  margin-left: 1em;
  font-size: 1.5em;
  color: #fd6d22;
}

.header img {
  vertical-align: middle;
  margin-bottom: 0.5em;
}
.header p {
  font-size: 1.2em;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

p {
    font-size: 16px;
    margin: 0;
    margin-bottom: .1em;
}

a {
    color: #ff6d00;
}

.leaflet-container a.orange {
    color: #ff6d00;
    font-size: 12px;
}

.header .logo_container {
  margin: 1em 0;
}

.info {
  padding: 6px 8px;
  background: white;
  background: rgba(255,255,255,0.8);
  border-radius: 5px;
}
.legend_label {
    font-size: 12px;
}

.badges-container {
    margin-top: 4px;
    margin-bottom: 1em;
    text-align: center;
    margin-left: -8px;
}

.list-anchor-container {
    margin: .5em 0;
    text-align: center;
}


/* List */

.city_elements {
    list-style: none;
    border-bottom: 1px solid silver;
    margin-bottom: 10px;
}

#alpha-list {
    margin-left: 0px;
    padding-left: 0px;
}

#alpha-list-nav {
    width: 100%;
    margin: auto;
}

.listNavShow {
    display: list-item;
    border-bottom: 1px solid gainsboro;
    margin-bottom: 1em;
}

.list_pop_container {
    margin-left: 12px;
    margin-top: 8px;
    margin-bottom: 18px;
}

.list_city_name {
    font-weight: bold;
}

.list_icon_img {
    width: 44px;
    height: auto;
}

.list_missing_gas_types_ul {
    margin-top: 0px;
    list-style: none;
}

.list_missing_gas_types_li {
    padding-left: 20px;
    margin: 3px 0;
}

.list_icon_container {
    float: left;
    width: 44px;
    margin-right: 12px;
}

.list_brand_station_container {
    float: left;
    max-width: 75%;
    vertical-align: top;
    margin-left: 8px;
}

.list_brand_container {
    font-weight: 500;
    text-decoration: underline;
    margin-bottom: 7px;
}

.list_station_missing_gas_type_container {
    margin-top: 8px;
    margin-left: 63px;
}

.list_station_name, .list_station_address {
    font-weight: 300;
}

progress[value] {
  /* Reset the default appearance */
  -webkit-appearance: none;
   appearance: none;

  width: 250px;
  height: 6px;
}

progress[value]::-webkit-progress-bar {
  background-color: #eee;
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
}

progress[value]::-webkit-progress-value {
  background-image:
	   -webkit-linear-gradient(top,
	                           rgba(255, 255, 255, .25),
	                           rgba(0, 0, 0, .25)),
	   -webkit-linear-gradient(left, #FF8725, #ff6d00);

    border-radius: 2px;
    background-size: 35px 20px, 100% 100%, 100% 100%;
}

.leaflet-top {
    top: 126px!important;
}

@media (max-width: 768px) {

    .map__title {
      font-size: 1em;
    }

    #legend_title strong {
      display: none;
    }

}

@media (min-width: 600px) {
  #container__down {
    padding: 1em;
  }
  .container-marged {
    left: calc(100% / 2 - 600px / 2);
  }
  #container__down {
    bottom: 8px;
    padding-bottom: 0.2em;
  }
  #container__zipcode {
    font-size: 14px;
    padding: 0.7em 1em;
    margin-top: -1em;
    margin-left: -1em;
    margin-right: -1em;
    margin-bottom: 0.5em;
    vertical-align: middle;
  }
}

#slideshow {
	position: relative;
	width: 100%;
	height: 30px;
	margin:  5px auto;
	overflow: hidden;
}
#sContent li {
	display: inline;
  margin-right: 2em;
}

#sContent li span {
  -webkit-text-size-adjust:none;
  font-size: 12px;
}
#sContent li img{
  vertical-align: middle;
}

#sContent {
	position: absolute;
	top: 0;
	left: 0;
  width: 900px;
	margin: 0;
	padding: 0;

	/*CSS3 keyframes animation*/
	animation-name: AutoSlide;
	animation-duration: 10s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}
@keyframes AutoSlide {
	0%, 15%, 100% {
		left: 0px; /*1ère image*/
	}
	35%, 50% {
		left: -50%; /*2ème image*/
	}
	70%, 85% {
		left: -90%; /*3ème image*/
	}
}
@keyframes AutoSlide2 {
	0%, 15%, 100% {
		left: 0px; /*1ère image*/
	}
	35%, 50% {
		left: -45%; /*2ème image*/
	}
}

@media (min-width: 768px) {
  #sContent {
    animation-name: AutoSlide2;
  }
}
