body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 23px;
  line-height: 20px;
}

.menu {
  height: 40px;
}

#handviewer {
  display: grid;
  width: 600px;
  min-height: 380px;
  grid-template-columns: minmax(200px, 1fr) minmax(200px, 1fr) minmax(200px, 1fr);
  grid-template-rows: 1fr 1fr 1fr;;
  background-color: green;
}

.hand {
  border-width: 1px;
  border-style: solid;
  border-color: black;
  border-radius: 6px;
  background-color: #cbcbcb;
}

#west {
  grid-column-start: 1;
}

#bidding {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  margin: 5px;
  padding: 3px;
  justify-items: center;
  /* justify-content: center; */
  align-items: start;
  align-content: start;
  /* visibility: hidden; */
  background-color: #ACC5C5;;
}

.bid {
  padding: 2px;
  border-radius: 3px;
}

.notPass {
  background-color: lightgrey;
}

.bidDir {
  background-color: white;
  justify-self: stretch;
  text-align: center;
}

.vuln {
  background-color: red;
  color: white;
}

.alert {
  border-color: red;
  border-width: 1.5px;
  border-style: solid;
}

#south {
  grid-column-start: 2;
}

.spade, .club {
  color: black;
}

.diamond, .heart {
  color: #CB0000;
}

.holding {
  line-height: 23px;
  font-size: 25px;
}

.dirHead {
  background-color: white;
  padding: 4px;
  border-radius: 6px;
}

.dirAbbrev {
  background-color: #336799;
  color: white;
  padding: 0;
  margin: 0;
  border-radius: 3px;
  padding-left: 3px;
  padding-right: 3px;
}

#ddsOutcomes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
  margin: 10px;
  padding: 3px;
  background-color: antiquewhite;
}

#ddsOutcomes .club {
  grid-column-start: 2;
}

#par {
  display: grid;
  grid-template-columns: 1fr;
  margin: 10px;
  padding: 3px;
  background-color: antiquewhite;
}

.points {
  float: right;
}

.suit {
  margin-left: 3px;
  display: inline-block;
  width: 13px;
  font-size: 26px;
  vertical-align: text-top;
}

#monaco {
  width: 600px;
  height: 380px;
}

#flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 10px;
}

#tries {
  vertical-align: text-top;
}

#error {
  vertical-align: text-top;
  color: red;
}

#files {
  vertical-align: bottom;
  font-size: 20px;
  line-height: 1;
  display: inline-block;
  white-space: nowrap;
  min-width: 100px;
}

#filterSource {
  font-family: 'Courier New', Courier, monospace;
  font-size: 16px;
  white-space: pre;
  margin: 5px;
}

dialog {
  border-radius: 1.5em;
  border-color: #999;
  box-shadow: 5px 5px 20px #999;
}

dialog label {
  padding-right: 5px;
}

dialog input {
  border-radius: 0.35em;
}

dialog form, hr {
  margin-top: 1em;
}

dialog button {
  border: none;
  padding: 0.5em 1em;
  border-radius: 1em;
  float: right;
  margin-left: 1em;
  margin-top: 0;
}

dialog button:first-of-type {
  outline: 4px solid lightblue;
  outline-offset: -4px;
}
