
/* Set the dropdown body over the datetimepicker */
.vscomp-dropbox-container {
  z-index: 5 !important;
}

/* Fix position of the date picker icon */
.btn.action-button.input-group-addon.shiny-bound-input {
  display: table-cell;
}

/* reduce margins between inputs in the sidebar */
section.sidebar .form-group.shiny-input-container {
  margin-bottom: 0px !important;
  padding-top: 3px !important;
  padding-bottom: 8px !important;

  background: #2c3b41;
  color: #c5d2d8; /*#8aa4af;*/
}

/* style metric radio-buttons */
.btn.radiobtn.btn-default {
  text-align: left;
}

/* Set the same height for every boxes in a row */
.row {
  display: flex;
}
.row>div {
  margin-bottom: 20px;
}
.row>div>.box {
  height: 100%;
}

/* Positionning logos in the sidebar */
#sidebarfooter {
  text-align: center;
}
#sidebarfooter a {
  text-decoration: underline;
}
#sidebarlogos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 0;
}
#sidebarlogos>li {
  list-style-type: none;
  align-self: center;
}
#sidebarlogos>li>img {
  width: 65px;
  margin: 12px 0;
}

/* Fix OMIV's too-long title issue */
#maintitle {
  font-size: 17px;
}

#sidebarCollapsed {
  height: 100%;
}
#sidebarItemExpanded{
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Style background-image in the station list blocks */
.station-list-box {
  display: inline-block;
  height: 180px;
  background-color: black;
  overflow: hidden;
  position: relative;
 }
.station-list-box img {
  opacity: 0.85;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .5s ease;
}
.station-list-box:hover img {
  transform: scale(1.05);
  opacity: 0.75;
}
.station-list-box div {
  position: absolute;
  bottom: 0;
  z-index: 10;
  margin-left: 20px;
  margin-bottom: 20px;
}
.station-list-box h2, .station-list-box h4 {
  color: white;
  font-weight: bold;
}

/* Style and reduce size of the nodata image */
.nodata-img {
  max-width: 100%;
  max-width: min(100%,400px);
  display: block;
  margin: auto;
}

/*Style markers on map  */
#home_1-map .fa-circle {
  color: #F2F2F2;
}




.ribbon {
  position: absolute;
  top: 20px;
  right: -50px;
  width: 150px;
  height: 20px;
  text-align: center;
  background-color: gold;
  color: darkgoldenrod;
  transform: rotate(45deg);
  padding: 2px 0;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
