/* FONTS */

body,
.pure-g [class *="pure-u"],
.popover {
  font-family: 'Roboto Slab', serif;
  font-size: 14px;
}

h1,h2,h3 {
  font-family: 'Georgia', serif;
}

.number {
  font-family: 'Roboto Mono', monospace;
}

td.number {
  font-size: 95%;
}

a {
  text-decoration: none;
}

/* COLORS */

/* http://paletton.com/#uid=32v0u0kcglL4Zvw8Eq6eXhmkwen */

.color-primary-0 { color: #839E61 }
.color-primary-1 { color: #D5E5C1 } /* not used! */
.color-primary-2 { color: #A6BD8A }
.color-primary-3 { color: #637E43 }
.color-primary-4 { color: #4A6825 } /* not used! */

.color-secondary-1-0 { color: #AD786B } /* not used! */
.color-secondary-1-1 { color: #FBDCD4 } /* not used! */
.color-secondary-1-2 { color: #D0A398 } /* not used! */
.color-secondary-1-3 { color: #8A564A } /* not used! */
.color-secondary-1-4 { color: #723729 } /* not used! */

.color-secondary-2-0 { color: #6B4872 }
.color-secondary-2-1 { color: #A18CA5 } /* not used! */
.color-secondary-2-2 { color: #836589 }
.color-secondary-2-3 { color: #54325B }
.color-secondary-2-4 { color: #431C4B }

.default-font-color { color: #777; }
.menu-background { color: #191818; }
.GreenCont { color: green; }
.RedCont { color: red; }

body {
  background-color: #FFF;
}

a, a:link,
a:visited {
  color: #637E43; /* primary-3 */
}
a:hover,
a:active {
  color: #54325B; /* secondary-2-3 */
}

.header {
  color: #333;
  border-bottom: 1px solid #839E61; /* primary-0 */
}

.header h2 {
  color: #A6BD8A; /* primary-2 */
}

.content-subhead {
  color: #777; /* default-font-color */
}

.pure-table thead {
  background-color: #A6BD8A; /* primary-2 */
}

.pure-table-striped tr:nth-child(2n-1) td {
  background-color: rgba(166,189,138,0.15); /* primary-2 with low opacity */
}

hr {
  border-top: 1px solid #839E61; /* primary-0 */
}

#menu {
  background: #191818; /* menu-background */
}

#menu a {
  color: #836589; /* secondary-2-2 */
}

#menu .pure-menu .menu-item-divided {
  border-top: 1px solid #6B4872; /* secondary-2-0 */
}

#menu .pure-menu li a:hover,
#menu .pure-menu li a:focus {
  background: #431C4B; /* secondary-2-4 */
}

#menu .pure-menu-selected {
  background: #431C4B; /* secondary-2-4 */
}

#menu .pure-menu-heading {
  background: #637E43; /* primary-3 */
}

#menu .pure-menu-selected a {
  color: #fff;
}

#menu .pure-menu-heading {
  color: #fff;
}

tr.summary {
  border-top: 3px double #333;
}

.popover {
  color: #333;
}

a.pure-button, a.pure-button:link,
a.pure-button:visited {
  color: rgba(0,0,0,.8);
}
a.pure-button:hover,
a.pure-button:active {
  color: rgba(0,0,0,.8);
}

.pagination > li > a,
.pagination > li > span,
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  background-color: #FFF;
  color: #836589; /* secondary-2-2 */
  border: 1px solid #6B4872;  /* secondary-2-0 */
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  background: #431C4B;  /* secondary-2-4 */
  border-color: #6B4872; /* secondary-2-0 */
  color: #836589; /* secondary-2-2 */
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background: #431C4B; /* secondary-2-4 */
  color: #ffffff;
  border-color: #6B4872; /* secondary-2-0 */
  cursor: default;
}

.pure-button-primary,
.pure-button-selected,
a.pure-button-primary,
a.pure-button-selected {
  background-color: #431C4B; /* secondary-2-4 */
  color: #fff;
}

.button-danger {
  background-color: red; /* red */
  color: #FFF;
}

/* SIZES ETC */

.header {
  margin: 0;
  text-align: center;
  padding: 2.5em 1em 0;
}
.header h1 {
  margin: 0.2em 0;
  font-size: 3em;
  font-weight: 300;
}
.header h2 {
  font-weight: 300;
  padding: 0;
  margin-top: 0;
}

.content-subhead {
  font-weight: 300;
}

.content {
  margin-top: 2em;
}

.content + .content-subhead {
  margin-top: -2em;
}

td.sign {
  text-align: center;
}

table.eq-pool,
table.member-table,
table.transfer-table,
table.minbid-table {
  width: 100%;
}

table .id {
  width: 3em;
}

table .bid {
  width: 6em;
}

table .datetime {
  width: 8em;
}

table .date {
  width: 4em;
}

table .playername {
  width: 6.5em;
}

table .cost {
  width: 3em;
}

table .area {
  width: 12em;
}

table .monstercenter
{
  text-align: center;
}

.eq-pool td,
.menu-table td {
  max-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.eq-pool.delivered-padding,
.eq-pool.closebid-padding {
  width: calc(100% - 20px - 1.2em);
}

.eq-pool .admindeliverybox {
  width: 40px;
}

.eq-pool .deliverybox,
.eq-pool .closebid {
  width: 20px;
}

.pure-table td, .pure-table th {
  padding: 0.4em 0.6em;
}

textarea {
  font-family: monospace;
}

.popover-content ul {
  margin: 0;
  padding: 0 1em;
}

.delivery-button {
  margin-top: 1em;
}

.pagination-margins {
  margin: 20px 0;
}

.maxwidth {
  width: 100%;
}
#suggest {
    position: absolute;
    background-color: #FFFFFF;
    border: 1px solid #CCCCFF;
    font-size: 90%;
    width: 200px;
}
#suggest div {
    display: block;
    width: 200px;
    overflow: hidden;
    white-space: nowrap;
}
#suggest div.select{ /* keydown, keyup */
    color: #FFFFFF;
    background-color: #3366FF;
}
#suggest div.over{ /* mouse over */
    background-color: #99CCFF;
}

body {
  margin:0 3em 2em 3em;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  margin: 1em 0;
  padding: 0;
}

.button-group input {
  margin-right: 0.5em;
  margin-bottom: 0.5em;
}

#menu .pure-menu ul {
  border: none;
}

.menu-table {
  border-top: 1px solid #333;
  padding: 0.6em;
  font-size: 90%;
  color: #777;
}

.menu-table table {
  width: 100%;
}

.menu-table td {
  padding: 0.3em 0 0.3em 0;
}

.number {
  text-align: right;
}

.flex-left-and-right {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
}

.flex-right {
  display: flex;
  flex-flow: row;
  justify-content: flex-end;
}

.flex-valign {
  display: flex;
  align-items: center;
}

.pure-form label.party-only-checkbox {
  margin-left: 11em;
}

.pure-form input.party-only-checkbox {
  margin-left: 3px;
}

.search-row {
  margin-bottom: 1em;
}

.search-row h2.content-subhead {
  margin: 0;
}

.pure-table td.named-eq-id,
.pure-table-striped tr:nth-child(2n-1) td.named-eq-id {
  background-color: rgba(166,189,138,0.5);
  color: #637E43;
}

.pure-button.help-button {
  float: right;
  margin-left: 1em;
  padding: .2em .5em;
  font-size: 20px;
}

.eq-pool.bidded .bid {
  display: table-cell;
}
.eq-pool.bidded .cost {
  display: none;
}

.pure-form .pure-input-1 {
  width: 98%;
  width: calc(100% - 4px);
}

.pure-form input[type=text],
.pure-form input[type=password],
.pure-form input[type=email],
.pure-form input[type=url],
.pure-form input[type=date],
.pure-form input[type=month],
.pure-form input[type=time],
.pure-form input[type=datetime],
.pure-form input[type=datetime-local],
.pure-form input[type=week],
.pure-form input[type=number],
.pure-form input[type=search],
.pure-form input[type=tel],
.pure-form input[type=color],
.pure-form select,
.pure-form textarea {
  background-color: inherit;
  color: inherit;
  border-color: #ccc;
  box-shadow: inset 0 1px 3px #ddd;
}

.pure-form input[readonly],
.pure-form select[readonly],
.pure-form textarea[readonly] {
  background-color: #f5f5f5;
  color: inherit;
  border-color: #ccc;
}

.pure-form input[type="text"]:focus,
.pure-form input[type="password"]:focus,
.pure-form input[type="email"]:focus,
.pure-form input[type="url"]:focus,
.pure-form input[type="date"]:focus,
.pure-form input[type="month"]:focus,
.pure-form input[type="time"]:focus,
.pure-form input[type="datetime"]:focus,
.pure-form input[type="datetime-local"]:focus,
.pure-form input[type="week"]:focus,
.pure-form input[type="number"]:focus,
.pure-form input[type="search"]:focus,
.pure-form input[type="tel"]:focus,
.pure-form input[type="color"]:focus,
.pure-form select:focus,
.pure-form textarea:focus {
  outline: 0;
  border-color: #637E43;
}

.menu-link {
  cursor: pointer;
}

a.menu-link,
a.menu-link:link,
a.menu-link:visited,
a.menu-link:hover,
a.menu-link:active {
  color: #839E61; /* primary-0 */
}

@media (max-width: 1100px) {
  .eq-pool.bidded .bid {
    display: none;
  }
  .eq-pool.bidded .cost {
    display: table-cell;
  }
  body {
    margin: 0;
  }
}

@media (max-width: 959px) {
  body {
    margin: 0 3em 2em 3em;
  }
}

@media (max-width: 800px) {
  body {
    margin: 0;
  }

  .eq-pool.unbidded .leader {
    display: none;
  }
}
