*
{
  box-sizing: border-box;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-size: 1.0em;
}

body {
  background-color: #1e1e1e;
  margin: 8px;
  -webkit-text-size-adjust: 100%;
  font-size: 1.3rem;
  font-family: 'PT Sans', sans-serif;
  color: #ddd;
  overflow-y: scroll;
}

fieldset {
  border: 0;
  outline: 0px dotted red;
  padding: 0;
  margin: 0;
}

fieldset h2 {
  position: relative;
  margin: 0 0 .7rem 0;
  color: #00b5e2;
  font-weight: 500;
}

fieldset h2 span {
  background-color: #1e1e1e;
  padding-left: 10px;
  padding-right: 10px;
}

fieldset h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0.5em;
  border-top: 1px solid #00b5e2;
  z-index: -1;
}

fieldset h2 i {
  background-color: #1e1e1e;
}

p {
  margin: 8px 0 4px 0;
}

.layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "header"
    "announcement"
    "left"
    "right"
    "footer";
  margin: 3px;
}

.left {
  grid-area: left;
}

.right {
  grid-area: right;
}

.header {
  grid-area: header;
  margin: 16px 0;
  font-size: 2rem;
  text-align: center;
  color: #00b5e2;
  font-weight: bold;
}

.announcement {
  grid-area: announcement;
}

.announcement,
.block {
  margin-bottom: 12px;
}

.footer {
  grid-area: footer;
  margin: 16px 0;
  text-align: center;
}

details {
    border: 1px solid rgb(0, 181, 226, 0.3);
    border-radius: 4px;
    padding: .5em .5em 0;
    /*cursor: pointer;*/
    margin: 0.5rem 0;
}

summary {
    margin: -.5em -.5em 0;
    padding: .5em;
    list-style: none;
    outline: none;
}

details[open] {
    padding: .5em;
}

details[open] summary {
    border-bottom: 0px solid rgb(0, 181, 226, 0.3);
    margin-bottom: .5em;
}

.playerid {
}

.name {
  display: inline;
}

.jersey {
  display: inline;
  float: right;
}

/*
details > summary {
  border: 1px solid rgb(0, 181, 226, 0.3);
  cursor: pointer;
  padding: 0.75rem 1rem;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  list-style: none;
  outline: none;
}

details > summary > * {
  display: inline;
}

details > div {
  border:  1px solid rgb(0, 181, 226, 0.3);
  margin-top: 0;
  padding: 1rem;
}

details {
  margin: 0.5rem 0;
}
*/

/*
details {
  border-width: 1px;
  border-color: rgb(0, 181, 226, 0.3);
  border-style: solid;
  margin: 12px 0 0 0;
  padding: 10px 4px 10px 12px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

details summary {
  list-style: none;
  outline: none;
}
*/
summary::-webkit-details-marker {
  display: none;
}

button {
  border: 1px solid darkgrey;
  background: #ddd;
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  height: 2rem;
}

input {
  border: 1px solid darkgrey;
  outline: none;
  -webkit-appearance: none;
  -webkit-user-select: text;
  user-select: text;
  height: 2rem;
}

@media screen and (min-width: 600px) {
  body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
  }

  .layout {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "header header"
      "announcement announcement"
      "left right"
      "footer footer";
    /* gap: 8px; */
    margin: 6px;
  }

  .left {
    margin-right: 16px;
  }

  .right {
    margin-left: 16px;
  }

  .announcement {
    margin: 0;
  }

  .block {
    margin: 16px 0;
  }
}