.map-countries-widget-element {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.map-countries-widget-info {
  margin-right: 3rem;
}
.map-countries-widget-info > .form-item:first-child {
  margin-bottom: 1rem;
}
.map-countries-widget-element .text-format-wrapper {
  width: 100%;
}

#covidMap {
  min-height: 400px;
  max-height: 500px;
  width: 95%;
  margin: 0 auto;
}
.schools-total-table,
.school-repartition-type {
  padding-top: 3px;
  font-size: 12px;
  text-align: center;
}
.schools-total-table {
  margin-top: 1rem;
}
.schools-total-table th {
  padding-right: 0.4rem;
  text-align: left;
}
.school-repartition-type th {
  text-align: center;
}
.school-repartition-type tr td {
  padding: 0.2rem 0.5rem;
  text-align: right;
}
.schools-total-table td.row-label,
.school-repartition-type td.row-label {
  font-weight: bold;
}

@media screen and (min-width: 990px){
  #covidMap {
    height: 500px;
    width: 700px;
  }
}

#mapNavigation #info {
  text-align: center;
}

@media screen and (min-width: 990px){
  #mapNavigation .map-wrapper {
    float: left;
  }
  #mapNavigation #info {
    margin-left: 720px;
    max-width: 210px;
    text-align: left;
  }
}
#mapTimeViewer > p {
  text-align: center;
  margin-top: 2rem;
}
@media screen and (min-width: 990px) {
  #mapTimeViewer > p {
    margin-top: 0;
  }
}
.highlight-data {
  color: #0e76a8;
  font-weight: bold;
}
#globalStats {
  max-height: 150px;
}
#playPauseButton {
  display: inline-block;
}
#playOutput {
  font-weight: bold;
  font-size: 2rem;
  text-align: center;
}
#playRange {
  display: inline-block;
  vertical-align: middle;
  width: 85%;
}

@media screen and (min-width: 990px){
  #playRange {
    width: 75%;
  }
}
input[type="range"]::-moz-range-track {
  padding: 0 10px;
  background: #ccc;
}
input[type=range] {
  -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
  width: 100%; /* Specific width is required for Firefox. */
  background: transparent; /* Otherwise white in Chrome */
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
}

input[type=range]:focus {
  outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

input[type=range]::-ms-track {
  width: 100%;
  cursor: pointer;

  /* Hides the slider so custom styles can be added */
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: 1px solid #555;
  height: 14px;
  width: 14px;
  border-radius: 7px;
  background: #EEE;
  cursor: pointer;
  margin-top: -6px; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
  /*box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d; !* Add cool effects to your sliders! *!*/
}

/* All the same stuff for Firefox */
input[type=range]::-moz-range-thumb {
  padding: 0 0px;
  background: #ccc;
}

/* All the same stuff for IE */
input[type=range]::-ms-thumb {
  padding: 0 0px;
  background: #ccc;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 3px;
  cursor: pointer;

  padding: 0 0px;
  background: #ccc;
}

input[type=range]::-ms-track {
  width: 100%;
  height: 3px;
  cursor: pointer;

  padding: 0 10px;
  background: #ccc;
}
input[type=range]::-ms-fill-lower {
  background: #ccc;
}
input[type=range]::-ms-fill-upper {
  background: #ccc;
}

/* Stupid form overrides to have a decent font size and margin for form items. */
.locations-data-field {
  font-size: 13px;
}
.locations-data-field .form-item,
td.even .locations-data-field .form-item,
td.odd .locations-data-field .form-item,
tr.odd .locations-data-field .form-item,
tr.even .locations-data-field .form-item,
.locations-data-field .form-item .form-item {
  margin-bottom: 7px;
}
.locations-data-field .form-item label,
td.even .locations-data-field .form-item label,
td.odd .locations-data-field .form-item label,
tr.even .locations-data-field .form-item label,
tr.odd .locations-data-field .form-item label,
.locations-data-field .form-item .form-item label {
  margin-bottom: 3px;
}

.map-locations-data-widget-element {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 2rem;
}

.map-locations-data-widget-element .location-address {
  margin-bottom: 1rem;
}

/* Distribute horizontally radio options.*/
.form-radios.location-inline-radios {
  display: flex;
}
.form-radios.location-inline-radios > div.form-item {
  margin-right: 2rem;
}

/* Display markers as a grid.*/
.form-radios.location-markers {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 0.5rem;
  margin: 0.5rem 0;
}
.location-markers .field-locations-icon img {
  vertical-align: middle;
  width: 2rem;
}
