body {
  font-family: "Microsoft Sans Serif", sans-serif;
}

/* Style for the text column */
.text-column {
  text-align: left;
  height: auto;
  overflow-y: visible;
  display: flex;
  align-items: center;
  font-size: 8.25pt;
}

/* Style for the value column */
.value-column {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid black;
  height: auto;
  background-color: #FFFACD;
  font-weight: bold;
  overflow-y: visible;
  text-align: center;
  font-size: 8.25pt;
}

.value-column-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Style for the unit column */
.unit-column {
  text-align: left;
  height: auto;
  overflow-y: visible;
  display: flex;
  align-items: center;
  font-size: 8.25pt;
}

/* Style for the button column */
.button-column {
  text-align: left;
  height: auto;
  overflow-y: visible;
  display: flex;
  align-items: center;
}

/* Style for the plot column */
.plot-column {
  height: 100%; /* set a percentage height for all plotOutput elements */
  margin-bottom: 5px;
}



/* Apply the following styles for screens narrower than 768px */
@media only screen and (max-width: 768px) {
  .text-column {
    height: 20px;
  }
  .value-column {
    height: 15px;
  }
  .unit-column {
    height: 20px;
  }
  .button-column {
    height: 15px;
  }
  .quantile-plots-row > div:first-child > div.col-sm-5 {
    height: 35px;
  }
  .quantile-plots-row > div:not(:first-child) > div.col-sm-5 {
    height: 15px;
  }
  .modal-dialog {
    width: 750px;
  }
}

/* Apply the following styles for screens between 769px and 1024px */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
  .text-column {
    min-height: 20px;
  }
  .value-column {
    height: 15px;
  }
  .unit-column {
    height: 20px;
  }
  .button-column {
    height: 15px;
  }
  .quantile-plots-row > div:first-child > div:not(.col-sm-5) {
    margin-top: 25px;
  }
  .quantile-plots-row > div:first-child {
    min-height: 50px;
  }
  .quantile-plots-row > div:first-child > div.col-sm-5 {
    height: 45px;
  }
  .quantile-plots-row > div:not(:first-child) {
    min-height: 25px;
  }
  .quantile-plots-row > div:not(:first-child) > div.col-sm-5 {
    height: 20px;
  }
  .modal-dialog {
    width: 750px;
  }
}

/* Apply the following styles for screens wider than 1024px */
@media only screen and (min-width: 1025px) {
  .text-column {
    height: 30px;
  }
  .value-column {
    height: 25px;
  }
  .unit-column {
    height: 30px;
  }
  .button-column {
    height: 30px;
  }
  .quantile-plots-row > div:first-child > div:not(.col-sm-5) {
    margin-top: 25px;
  }
  .quantile-plots-row > div:first-child {
    height: 60px;
  }
  .quantile-plots-row > div:first-child > div.col-sm-5 {
    height: 55px;
  }
  .quantile-plots-row > div:not(:first-child) {
    height: 35px;
  }
  .quantile-plots-row > div:not(:first-child) > div.col-sm-5 {
    height: 30px;
  }
  .modal-dialog {
    width: 750px;
  }
  .btn{
    height: 30px;
  }
}

@media only screen and (max-width: 600px) {
  .btn-block {
    font-size: 8.25pt;
  }
}

@media only screen and (min-width: 601px) {
  .btn-block {
    font-size: 8.25pt;
  }
}

.row {
  height: 100%;
  width: 100%;
  margin-right: 0px;
  margin-left: 0px;
}

.modal-dialog {
  max-width: 800px;
}

