.eqlist {
  padding-left: 4px;
  padding-right: 4px;
}

.alert {
  width: 90%;
}

.darklink {
  color: black;
}

a.darklink:hover {
  text-decoration: underline;
}

table.params {
	border-collapse: collapse;
	border-bottom: none;
	margin-bottom: 0;
}

table.params thead tr th {
	background-color: white;
}

.eqinfo-status-a {
  /* Like Bootstrap's .alert-danger */
  color: #a94442;
  background-color: #ffffff00;
}

.eqinfo-status-c {
  color: #3c7c3d;
  padding-left: 0.2rem;
  padding-right: 0.2rem;
  border-radius: 4px;
}

.eqinfo-status-m {
  /* Like Bootstrap's .alert-success */
  color: #3c7c3d;
  border-color: #d7e9c6;
  border-radius: 4px;
  padding-left: 0.2rem;
  padding-right: 0.2rem;
}

.eqinfo-all {
  color: black;
  border: 1px solid white;
}

.eqinfo-all :hover {
   color: #337ab7;
}

.eqinfo-big {
  background-color: #f2dede;
  border: 1px solid white;
  color: #000;
}

.eqinfo-big :hover {
  color: #843534;
}

.eqinfo-big > .mag {
  color: #000;   /* #a94442; */  /* BS .warning */
}

.eqinfo-xxl {
  background-color: #f8c8c8;
  border: 1px solid white;
  color: #000;
}

.eqinfo-xxl :hover {
  color: #a94442;
}

.eqinfo-xxl > .mag {
  color: #a94442;
  font-weight: bold;
}

.eqinfo-extra {
  margin-bottom: auto;
  margin-top: auto;
}

.eqlist img {
  display: inline;
}

.thead {
  background-color: #dee7ec;
  border: 1px solid white;
  color: black;
  font-weight: bold;
  vertical-align: top;
}

.no-gutter {
  margin-left: 0;
  padding-left: 0;
}

.thin-gutter {
  margin-left: 4px;
  padding-left: 4px;
}

table.params tr td {
	font-size: small;
	border: 0px solid #fff;
	border-top:    1px solid #fff;
	border-bottom: 1px solid #fff;
        text-align: center;
}
table.params tr td.r, th.r {
	text-align: right;
}

table.params thead th {
  color: #333;
  background-color: #dee7ec;
  padding-top: 0px;
  padding-bottom: 0px;
  font-weight: normal;
  vertical-align: top;
}

#eqlist .thead {
  /* font-size: small; */
  background-color: #dee7ec;
  font-weight: bold;
}

#eqlist .depth {
  text-align: right;
}
.magbox {
  font-size: large;
  margin-top: auto;
  margin-bottom: auto;
  text-align: center;
}
#eqlist .evnrow {
  background-color: #f8fafb;
}
#eqlist .oddrow {
  background-color: #e7eff2;
}

#mtlist img {
  margin-top: 1rem;
}

.disabled {
  color: #dee7ec;
}

/* Only shrink image (to 100%) on narrow devices. */
.eqinfo-thumbnail {
	width: 100%;
}

@media (min-width: 660px) {
.eqinfo-thumbnail {
	width: 640px;
}
}

.row-object {
  margin-bottom: 1rem;
}

/* Guessing */
/* Wide devices: */
@media (min-width: 550px) {
  .visible-xxs {
    display: none !important;
  }
  .hidden-xxs {
    display: inline;
  }
}

/* Narrow devices: */
@media (max-width: 549px) {
  .hidden-xxs {
    display: none;
  }
  .visible-xxs {
    display: block;
  }
}

/* Boostrap small devices (@screen-sm) */
@media( max-width: 768px) {
  .text-left-sm {
    text-align: left;
  }
}

/* Flex for list.php */
.flex-row.row {
  display: flex;
  flex-wrap: wrap;
}
.flex-row.row > [class*='col-'] {
  display: flex;
  flex-direction: column;
}
.flex-row.row:after,
.flex-row.row:before {
  display: flex;
}

/* Event page top parameters */
table#top-params {
  margin-bottom: 2em;
}

table#top-params tr td.dt-like {
  font-weight: bold;
  text-align: right;
  vertical-align: top;
}

table#top-params tr td {
  padding-bottom: 0;
  padding-top: 0;
}
