/* Bootstrap 5 compatible custom styles for HRRR graphics */

img.right {
  float: end;
  margin: 5px;
}

#image_div {
  float: end;
  background-color: #ddd;
  padding: 1em 0em 1em 1em;
  color: #000;
  font-size: 0.8em;
  clear: both;
  width: 306px;
  height: 195px;
}

#image_row {
  float: start;
  background-color: #ddd;
  color: #000;
  font-size: 0.8em;
  width: 7500px;
  vertical-align: middle;
  page-break-before: right;
}

#valid_time_div,
#valid_day_time_div,
#time_header_div,
#valid_day_time_div_new,
#time_header_div_new {
  float: start;
  color: #000;
  font-size: 1em;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #000;
  padding: 1px;
}

#valid_time_div,
#time_header_div {
  width: 120px;
  height: 3em;
}

#valid_day_time_div {
  width: 235px;
  height: 3em;
  font-weight: bold;
}

#time_header_div {
  background-color: #ddd;
  font-weight: bold;
  height: 146px;
}

#cref_image_div,
#cref_image_div_new {
  float: start;
  background-color: #ddd;
  color: #000;
  font-size: 1em;
  font-weight: bold;
  text-align: center;
  position: relative;
  border: 1px solid #000;
  padding: 1px;
}

#cref_image_div {
  width: 235px;
  height: 146px;
  clear: none;
}

#cref_image_div_new {
  width: 215px;
  height: 151px;
  clear: none;
}

#time_header_div_new {
  background-color: #ddd;
  font-weight: bold;
  width: 120px;
  height: 151px;
}

#valid_day_time_div_new {
  width: 215px;
  height: 3em;
  font-weight: bold;
}

#date_div {
  float: start;
  background-color: #fff;
  color: #336699;
  font-size: 1em;
  text-align: center;
  height: 2em;
  width: auto;
  border: 1px solid #000;
}

#date_label_div {
  float: start;
  color: #336699;
  font-size: 1em;
  font-weight: bold;
  text-align: right;
  width: 9em;
  height: 10em;
  padding: 1px;
}

#date_element_div {
  float: start;
  color: #336699;
  font-size: 1em;
  font-weight: bold;
  text-align: left;
  width: 16em;
  height: 10em;
  padding: 1px;
}

.selectRunTimeWidth {
  width: 160px;
}

.selectNumWidth {
  width: 70px;
}

/* Headings */
h1 {
  color: #336699;
  font-size: 1.25em;
  font-weight: bold;
}
h2 {
  color: #336699;
  font-size: 1.1em;
  font-weight: bold;
}

/* Minor nav links */
#minor_nav a {
  color: #336699;
  text-decoration: underline;
}
#minor_nav a:hover {
  color: #000066;
  text-decoration: underline;
}

/* Footer */
#footer {
  clear: both;
  font-size: 0.8em;
  background: #000066 url(../images/gradient.gif) top left repeat-y;
  color: #fff;
  padding: 1em 0.7em 0.6em 0.7em;
  margin: 0;
  line-height: 1.3em;
  width: auto;
  height: 6em;
  border: none;
}
#footer a {
  color: #fff;
  text-decoration: none;
}
#footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Content area */
#cref_content {
  padding: 0 0 0 1em;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  background: #fff url(../images/point.gif) top left repeat-y;
}

/* Valid day time links */
#valid_day_time_div a {
  text-decoration: none;
  color: #006699;
}
#valid_day_time_div a:hover {
  text-decoration: underline;
}

/* Bootstrap 5 suggestions:
   - Use .float-start and .float-end in your HTML instead of float:left/right where possible.
   - Use .text-center, .fw-bold, .bg-light, .bg-dark, .text-primary, etc. for utility classes.
   - Use .form-select for select elements.
*/
