/* OVERVIEW MAP LEGEND */

div.info.legend.gis-layers.leaflet-control {
    text-align: left;
    background: rgba(255, 255, 255, 0.95) !important;
    max-width: 202px;
}

div.info.legend.gis-layers.leaflet-control>i {
    margin-bottom: 5px;
}

div.info.legend.gis-layers.leaflet-control>i:nth-child(9) {
    border-radius: 18px;
}

div.info.legend.gis-layers.leaflet-control>i:nth-child(11) {
    border-radius: 18px;
}

div.info.legend.gis-layers.leaflet-control>i:nth-child(13) {
    height: 4px;
    margin-top: 7px;
}

div.info.legend.gis-layers.leaflet-control>i:nth-child(15) {
    height: 4px;
    margin-top: 7px;
}

div.info.legend.gis-layers.leaflet-control>i:nth-child(17) {
    height: 4px;
    margin-top: 7px;
    background: repeating-linear-gradient( to right, black, #FFF 0px, #FFF 4px, #FFF 4px, black 2px, black 9px) !important
}


/* wider navbar menu */
#navbarSupportedContent > ul > li > ul.dropdown-menu.show {
  min-width: 210px;
}
div.navbar-collapse.collapse.show > ul > li > ul.dropdown-menu.show {
  min-width: initial !important;
}

/* boxes for tab content */
div.escir-shared-output {
  padding-top: 12px !important;
}
div.escir-shared-output p {
  margin-bottom: 16px !important;
}

hr.escir-thinner {
  margin-left: 6px;
  margin-right: 6px;
}

/* 2x2 grid */
.overview-mon-grid {
  display:flex;
  flex-flow:row wrap
}
.overview-mon-grid > div {
  flex-basis: 500px;
  flex-grow: 1;
  border: 1px solid #DDD;
  margin: 6px;
}
.overview-mon-grid > div > a {
  text-decoration: none !important;
}
#overview-map-div > p {
  padding: 4px 12px 0px 12px;
}
.overview-card {
  height: 100%;
  padding: 12px;
}
.overview-card:hover {
  -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, .08), 0 0 15px 0 rgba(0, 0, 0, .02), 0 0 20px 4px rgba(0, 0, 0, .06);
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, .08), 0 0 15px 0 rgba(0, 0, 0, .02), 0 0 20px 4px rgba(0, 0, 0, .06);
}
.overview-card > .card-body {
  padding: 0 !important;
  color: #174a5b;
}
.card-body > div {
  /* position and center bg image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  /*max-width: 1400px;*/
  margin-left: auto;
  margin-right: auto;
  height: 426px;
}
.card-title {
  margin-bottom: 6px;
}

/* bootstrap fix */
.section.level1, .section.level2, .section.level3, section.level1, section.level2, section.level3 {
  margin-top: 0px !important;
}
div.escir-shared-output {
    border: 1px solid #DDD;
    border-top: none;
    padding: 4px;
    padding-top: 12px;
    margin-top: -28px;
}
