/*ARC layout*/
.a_e {
  border-bottom: initial;
}

/* Fix - form geocoder  */
#map #buttons-panel .mapboxgl-ctrl-top-right {
  z-index: 100;
}

/*Map*/

@media (min-width: 990px) {
    .g-big {
      margin-right: calc(var(--grid-12-1-column-content-gap) *  + var(--grid-column-gap) / 2) !important;
      margin-left: calc(var(--grid-12-1-column-content-gap) *  + var(--grid-column-gap) / 2) !important;
    }
  }

@media (min-width: 1366px) {
  .g-big {
    margin-right: calc(var(--grid-12-1-column-content-gap) * -1 + var(--grid-column-gap) / 2) !important;
    margin-left: calc(var(--grid-12-1-column-content-gap) * -1 + var(--grid-column-gap) / 2) !important;
  }
}



.mapboxgl-canvas-container {
  width: 100%;
  height: 100%;
}

.mapboxgl-map {
  border-radius: 5px;
}

/*Tooltip*/
.data-value {
  font-weight: 700;
}

/* @media (max-width: 600px) {
    .tooltip {
      min-height: 150px;
    }
  } */

/*Lengend*/
.legend {
  min-width: 300px;
  max-width: 300px;
  background: hsl(0deg 0% 100%);
  border: 1px solid #e6e6e6;
  border-radius: 5px;
  top: 40px;
}

@media (min-width: 600px) {
  .legend {
    min-width: 300px;
    max-width: 300px;
    border: initial;
  }

  .legend-desktop {
    min-height: initial;
  }
  .mapboxgl-map {
    border-radius: 10px;
    border: #dfdfdf 1px solid;
  }

  .tooltip{
    max-width: 300px !important;
  }
}

@media (max-width: 600px) {
  .legend-subtitle {
    padding-top: 0.2rem;
    line-height: 1rem;
  }
}

/* #g-map > div.g-map-wrapper.active > div.legend.legend-desktop.active > svg > g > g:nth-child(2) {
    display: none;
  } */
/*Tablet*/
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation: portrait) {
  .legend {
    position: absolute;
    top: 0;
    margin-top: 10px;
  }
 
}

.tooltip-graph {
  height: 70px !important;
}

.tick-line {
    stroke: #ababab;
    stroke-width: 0.5;
}

.tooltip-graph .tick-label {
  margin-top: 0px;
  text-anchor: middle;
  font-size: 0.6em;
  fill: rgb(130, 128, 128);
  font-weight: 200;
}

.tooltip-graph-legend {
  font-size: 0.8em;
  font-weight: 200;
  fill: #ababab;
  margin-bottom: -10px !important;
  margin-top: 10px !important;
}
.my-tooltip-twewable .labels-period {
  font-size: 0.8em;
  color: #ababab !important;
}

.my-tooltip-twewable .labels-period .label-mean {
  font-size: 0.8em;
  color: #000000 !important;
  font-weight: 700;
}


.my-tooltip-twewable .prec-below-mean {
  color: #d05858;
}

.my-tooltip-twewable .prec-above-mean {
  color: #2b65a6;
}

.legend-title {
  font-weight: 200 !important;
}

.g-btn-secondary>div:first-child {
  font-weight: 200 !important;
}

.g-btn-secondary>div:last-child {
  font-weight: 200 !important;
}

.tooltip-body {
  padding: 0px 12px 12px !important;
}

