@import url("/assets/fonts.css");
@import url("/assets/topcoat-desktop-light.css");

:root {
  --accent-color: #3e86c5;
  --accent-color-transparent: #e386c500;
  --dark-text: #444;
  --darker-text: #222;
  --light-text: #777;
  --lighter-text: #eee;
  --default-bg: #dfe2e2;
  --double-border: 4px double var(--light-text);
  --awesome-border: linear-gradient(to right, var(--accent-color-transparent) 5%, var(--accent-color) 10%, var(--accent-color-transparent) 90%);
  --awesome-border-heading: linear-gradient(to right, var(--accent-color-transparent) 3%, var(--accent-color) 10%, var(--accent-color-transparent) 65%)
}

:host {
  all: initlal;
  font-family: Source Sans, sans-serif;
  font-weight: normal;
  font-size: 12pt;
}

.grow {
  flex-grow: 1;
}

.hbox {
  display: flex;
  flex-direction: row;
}

.vbox {
  display: flex;
  flex-direction: column;
}

*:focus, .topcoat-button:focus, .topcoat-button--large:focus {
  outline: none !important;
  box-shadow: unset;
  border: 1px solid #9daca9;
}

details {
  font-weight: bold;
}

summary::-webkit-details-marker {
  display: none;
}

summary:before {
  content: '>';
  display: inline-block;
  width: 1rem;
  text-align: center;
  transform: rotateZ(0deg) scaleY(1.2);
  transform-origin: 50% 50%;
  color: var(--light-text);
  transition: 0.25s ease-in-out transform;
  font-weight: normal;
}

details[open] > summary:before {
  transform: rotateZ(90deg) scaleY(1.2);
  transform-origin: 50% 50%;
}

details ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  padding-left: 1rem;
  color: var(--dark-text);
  font-weight: normal;
}

details ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 2rem;
}

:host details[open] > ul > li > button {
  margin-left: 1rem;
  padding: 0px 10px 0px 10px;
  font-size: 0.7rem;
  line-height: 1rem;
  font-weight: normal;
  position: relative;
  top: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  letter-spacing: 0.05rem;
  text-shadow: 0px 1px 1px rgba(0,0,0,0.2);
}

@keyframes SHOW {
  from {
      opacity: 0;
      transform: translate3d(0, -30px, 0);
  }
  to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
  }
}

dialog {
  box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.4);
  border: var(--double-border);
  background: rgba(255, 255, 255, 0.97);
  opacity: 0;
  position: relative;
  width: 70vw;
  height: 70vh;
  overflow: auto;
}

dialog[open] {
  opacity: 1;
  animation: SHOW 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}