select {
	max-width: 30em;
}

.table-wordbreak {
  word-wrap: break-word;
  table-layout: fixed;
}

.table-wordbreak th, 
.table-wordbreak td {
  overflow: hidden;
}

.nav-active {
  color: #008;
}

.map-container {
  overflow: hidden;
  position: relative; 
  height: 400px;
}

#all_beacon_traffic:checked ~ .grey_on_all_beacon_traffic, #all_beacon_outages:checked ~ .grey_on_all_beacon_outages {
  color: grey;
}

#all_beacon_traffic:checked ~ select.grey_on_all_beacon_traffic,
#all_beacon_traffic:checked ~ select.grey_on_all_beacon_traffic option,
#all_beacon_outages:checked ~ select.grey_on_all_beacon_outages,
#all_beacon_outages:checked ~ select.grey_on_all_beacon_outages option {
  background-color: #ccc;
  color: grey;
}

#main-navigation {
  border-color: #333;
  background-color: #008ec2;
  color: #fff;
}

.nav-link a {
  color: #f59c20;
}

.nav-active {
  color: white !important;
}

.navbar {
  padding: 0px;
}

header {
  background: #008ec2 url('../images/92979_RideScore_background-banner-rhs-1920x297.png') no-repeat right top;
  background-size: auto 100%;
  overflow: hidden;
  width: 100%;
}

.sponsor-image {
  background-size: auto 80%;
  background-repeat: no-repeat;
  background-position: center top;
}

.footer_image {
  background-size: 100% auto !important;
  overflow: hidden;
  width: 100%;
  background: white url('../images/92979_RideScore_background-blue-1920x1080.png') no-repeat center bottom;
}

.container-fluid-maxwidth {
  max-width: 95%;
  margin: auto;
}

.table td.subvalue {
	padding-top: 0.1em !important;
	padding-bottom: 0.1em !important;
}

.email_composer {
	display: none;
	position: absolute;
	bottom: 110%;
	min-width: 75%;
	max-width: 50em;
	background-color: white;
	z-index: 100;
	border: 1px solid #73777a;
}

#show_email:checked ~ .email_composer {
	display: block;
}

#show_email_button {
	padding: 0.2em;
}

table th span {
	cursor: pointer;
}

#show_actions {
	display: none;
}

.show_actions_button,
.show_email_text {
	display: inline;
}

#show_actions:checked ~ div label .show_actions_button,
#show_email:checked ~ label .show_email_text {
	display: none;
}

.hide_actions_button,
.hide_email_text {
	display: none;
}

#show_actions:checked ~ div label .hide_actions_button,
#show_email:checked ~ label .hide_email_text {
	display: inline;
}

.show_action_table_entity {
	display: none;
}

#show_actions:checked ~ div table th.show_action_table_entity,
#show_actions:checked ~ div table td.show_action_table_entity {
	display: table-cell;
}

div table th.show_action_table_entity.unprocessed, div table td.show_action_table_entity.unprocessed {
	display: table-cell!important;
}

.process_registrations_button {
	display: none;
}

.processed.fa.fa-check-circle {
	color: green;
}
.processed.fa.fa-exclamation-circle {
	color: red;
}

.showable_action {
	display: none;
}

#show_actions:checked ~ div .showable_action {
	display: flex;
}

.optional_search_date {
	color: #888;
}

#use_search_date:checked ~ .optional_search_date {
	color: black;
}

.large_line > * {
	margin-bottom: 0.5em !important;
}

.separate_line_on_small_device {
	display: inline;
	display: inline-block;
	white-space: nowrap;
	padding-bottom: 0.1em;
}

input[type="button"]:not(.btn).truncate-btn {
	background-color: #dc3545;
}

@media (max-width: 480px) {
	.hide_on_small_device {
		display: none;
	}

	.sponsor-image {
		background-size: contain;
	}
}
