html,
body,
div,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
  display: block;
}

body {
  line-height: 1;
}

body {
  background-color: #eeeeee;
  /*   font-family: "Roboto", sans-serif; */
  font-family: sans-serif;
}

body * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

ol,
ul {
  list-style: none;
}

/****** bandeau de navigation supérieur  **************/
/* Style the top navigation bar */
.topnav {
  display: flex;
  background-color: #333;
  flex-flow: row nowrap;
  justify-content: space-between;
  margin: 10px 5px 0px 5px;
}


.topnav a,
.topnav a:visited {
  color: #f2f2f2;
  text-align: center;
  padding: 14px 5px;
  text-decoration: none;
  /*width: 100%; */
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}


.topnav .spacer {
  flex-grow: 1;
  /* display: none;*/
}

/************ Masque certains éléments sur petit ecran ***************/
.topnav .no-mobile {
  display: none;
}


/************************* Graphique interactif ********************/
#highchartContainer {
  margin: 0;
  height: 320px;
  min-width: 500px;
  max-width: 1000px;
  flex-grow: 1;
  display: block;
}

@media screen and (min-width : 600px) {

  .topnav .no-mobile
/*  #highchartContainer*/ {
    display: block;
  }

  .topnav a {
    padding: 14px 15px;
  }
}

/* Style the content */
.content {
  background-color: #ddd;
  margin: 5px;
}

/****** placement des cartes selon la largeur du viewport **************/

/* toutes les prévisions disponibles */
.maps-grid {
  width: 100%;
}

/* de 1 à 4 cartes pour une journée donnée */
.maps-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: start;
}

.titre_carte {
  background-color: #333;
  color: white;
  padding: 3px;
}

.map_component {
  aspect-ratio: 521/474;
}

/* affichage sur 1 colonne par défaut (mobile & faible largeur) */
.map-item {
  margin: 0;
  padding: 2px;
  width: 100%;

}

/* affichage sur deux colonnes */
@media screen and (min-width : 600px) {
  .map-item {
    width: 50%;
  }
}

/* affichage sur 4 colonnes */
@media screen and (min-width : 1200px) {
  .map-item {
    width: 25%;
  }
}



/********************** markers sur les cartes ******************/
.map_component .icon-text {
  position: relative;

  z-index: 10;
  top: -12px;
  /*right: -15px;*/
  font-size: 13px;
  color: #333333;
  font-weight: 700;
  margin: 0px;
  width: 40px;
  text-align: center;
  /*line-height: 18px;*/
}

.map_component .tmin {
  color: #1c9bd4;
  font-weight: bold;
}

.map_component .tmax {
  color: #f26522;
  font-weight: bold;
}

.map_component .divIcon {
  text-align: center;
  width: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map_component .divIcon img {
  max-width: 50px;
  display: block;
  z-index: 0;
}


/******************* Tooltips ********************************/

.leaflet-tooltip {
  padding: 5px;
  pointer-events: none;
}

.map_tooltip {
  text-align: center;
  /*background: #c7e180;*/
  /*padding: 20px 5px;*/
  /*border-radius: 15px;*/
  /*width: 150px;*/
}

.map_tooltip .tt_location {
  font-size: 14px;
  color: #145e9a;
  font-weight: 700;
  text-align: center;
}

.map_tooltip .tt_description {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 5px;
}

.map_tooltip img {
  width: 40px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

.map_tooltip .tt_temp {
  display: inline-block;
  vertical-align: middle;
  font-size: 13px;
  font-weight: 700;
}

.map_tooltip .minmax {
  vertical-align: middle;
  font-size: 12px;
}

.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
  border: none !important;
}

/*************** zone des selecteurs + graphique *********/
.selecteurs {
  display: flex;
  flex-flow: column;
  margin: 5px;
  gap: 5px;
}

@media screen and (min-width : 600px) {
  .selecteurs {
    flex-flow: row nowrap;
  }
}

/******************* Data Picker component ******************/
.data-picker {
  display: flex;
  flex-flow: row wrap;
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: #d1d1d1;
  border: 1px solid #555;
}

.data-picker a {
  display: block;
  color: #000;
  padding: 8px 16px 8px 5px;
  text-decoration: none;
}

@media screen and (min-width : 600px) {
  .data-picker {
    flex-flow: column;
    width: auto;
  }
  .data-picker a {
    padding: 8px 16px 8px 15px;
  }
}

.data-picker a.active {
  background-color: #4CAF50;
  color: white;
}

.data-picker a:hover {
  background-color: #555;
  color: white;
}

/******************* Loading / error placeholders ******************/
.status-msg {
  padding: 2em 1em;
  text-align: center;
  font-size: 1.1em;
  color: #555;
}

.status-msg.status-error {
  color: #802020;
}

.status-msg .retry-link {
  display: inline-block;
  margin-left: 0.5em;
  color: #145e9a;
  text-decoration: underline;
  cursor: pointer;
}

/* Style the footer */
.footer {
  background-color: #f1f1f1;
  padding: 10px;
}

