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

.alert {
  width: 90%;
}

.darklink {
  color: black;
}

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

p.img-attribution a.faded:hover, p.img-attribution a.faded:active {
  background-color: inherit;
  border: 1px Solid transparent;
}

div.alert a.faded:hover, div.alert a.faded:active,
table#top-params a.faded:hover, table#top-params a.faded:active {
  background-color: inherit;
  border: 1px Solid transparent;
  filter: opacity(0.5);
}

p.img-attribution a.faded:hover img, p.img-attribution a.faded:active img,
p.img-attribution a.faded:hover i, p.img-attribution a.faded:active i {
  filter: opacity(0.5);
}

.preferred {
  /* background-color: #dee7ec; */
  font-weight: bold;
}

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

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

/* Thanks, ColorBrewer. */
button.btn.OrRd.highlight0 {background-color: rgba(227,74,51,0.6)}
button.btn.OrRd.highlight1 {background-color: rgba(253,187,132,0.6)}
button.btn.OrRd.highlight2 {background-color: rgba(254,232,200,0.6)}

li.OrRd.highlight0 a {background-color: rgba(227,74,51,0.6)}
li.OrRd.highlight1 a {background-color: rgba(253,187,132,0.6)}
li.OrRd.highlight2 a {background-color: rgba(254,232,200,0.6)}

.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;
  width: 30%;
}

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

/* Just for one button !?!? */
.btn.theme-eqexplorer {
  color: #fff;
  background-color: rgb(0, 88, 156);
  border-color: rgb(0, 88, 156);
  height: 36px;
  min-width: 64px;
  margin: 0;
  margin-bottom: 1rem;
  padding: 0 16px;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;

  align-items: center;
  border-radius: 4px;
  font-weight: 600;
  justify-content: center;
}

.btn.theme-eqexplorer:hover, .btn.theme-eqexplorer:active {
  background-color: #e6e6e6;
  color: inherit;
  margin: 0 0 1rem 0;
  padding: 0.4rem 16px 0.4rem 16px;
}

.is-elevated {
  box-shadow: 0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);
}

.is-elevated:hover, .is-elevated:active {
  box-shadow: none;
}

.fancy-click {
  transition-duration: .28s;
  transition-property: box-shadow,transform,opacity;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
}

.btn.theme-eqexplorer span {
  text-transform: uppercase;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap;
}
