/* Import component styles */
.blurb {
  background-color: #344e41;
  color: #dad7cd;
  margin: 0.5em;
  border: 0.125em solid #4a4a4a;
  overflow: hidden;
  flex: 0;
  box-shadow: 3px 3px 2px 0px rgba(0, 0, 0, 0.5);
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.4);
}
.blurb .header h1, .blurb .header h2, .blurb .header h3 {
  font-family: serif;
  margin: 0px;
  padding: 10px;
  font-weight: bold;
  font-size: 1.50em;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.4);
  background-image: linear-gradient(to left top, #a3b18a, #9ead84);
  color: #dad7cd;
  background-color: #a3b18a;
}
.blurb .header h1 a:hover, .blurb .header h2 a:hover, .blurb .header h3 a:hover {
  color: #a3b18a;
  background-color: #dad7cd;
}
.blurb .header.warning h1 {
  color: orange;
}
.blurb a {
  color: #dad7cd;
  text-decoration-color: yellowgreen;
  text-decoration: underline;
  transition: all 0.25s;
}
.blurb a:hover {
  color: #3a5a40;
  background-color: #c5a5bf;
}
.blurb .body {
  color: #dad7cd;
  background-color: #3a5a40;
  border: 0;
  border-top: 0.125em solid #4a4a4a;
  margin: 0;
  padding: 0.5em;
}
.blurb .body p {
  font-family: sans-serif;
  padding: 0.125em;
  margin: 0.125em;
}
.blurb .body a:hover {
  background-color: #dad7cd;
  color: #3a5a40;
}
.blurb .metadata {
  font-size: 0.75em;
  padding: 0.50em;
  color: #dad7cd;
  background-color: #3a5a40;
}
.blurb .footer {
  color: #dad7cd;
  background-color: #3a5a40;
  border: 0;
  border-top: 0.125em solid #4a4a4a;
}
.blurb.vstretch {
  flex: 1 0 auto;
}

body a {
  color: #dad7cd;
  background-color: #3a5a40;
  margin: 0em;
}
body a:visited {
  color: #c4c0b0;
  background-color: #304a35;
  transition: all 0.125s;
}
body a:hover {
  color: #e5e3dc;
  background-color: #3a5a40;
  transition: all 0.125s;
}

@font-face {
  font-family: estfont;
  src: url("/shared/skin/fonts/BFTinyHand-Regular.otf");
}
header#pageheader {
  flex: 0 1 auto;
  border: 0;
  background-color: #344e41;
  overflow: hidden;
  font-size: large;
  text-align: center;
}
header#pageheader .est2002 {
  font-family: estfont;
}
header#pageheader .body {
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
  color: #dad7cd;
  text-shadow: 4px 3px 3px rgba(0, 0, 0, 0.4);
}
header#pageheader .body h1 {
  font-size: 2.5em;
}
header#pageheader .body h2 {
  font-size: 2.0em;
}
header#pageheader .body h2 a {
  color: green;
  text-decoration: underline;
  text-decoration-color: greenyellow;
}
header#pageheader .body h2 a:hover {
  text-decoration-color: #98fb00;
  background-color: black;
}
header#pageheader a {
  color: white;
}

footer#pagefooter {
  text-shadow: 4px 3px 3px rgba(0, 0, 0, 0.4);
  margin: 0.5em;
  padding: 0.50em;
  text-align: center;
  border: 0.125em solid #4a4a4a;
  flex: 0 1 auto;
  background-color: #344e41;
}
footer#pagefooter .copyright {
  text-align: center;
  font-size: 0.75em;
}
footer#pagefooter ul {
  margin: 0;
  padding: 0;
}

.arrow {
  transition: transform 0.3s ease;
  font-size: 0.8em;
  margin-right: 0.5em;
  display: inline-block;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
}
.arrow:hover {
  cursor: pointer;
}

/* Rotate the arrow 90 degrees when the section is open */
.arrow.open {
  transform: rotate(90deg);
}

.blurb.section {
  border: none;
  margin: 0.25em;
}
.blurb.section .header {
  display: flex;
  align-items: center;
}
.blurb.section .header h1 {
  cursor: pointer;
  user-select: none;
  margin: 0;
  flex: 1;
}

div#topbar {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;
  font-size: 1.0em;
  color: #dad7cd;
  background-color: #3a5a40;
  border: 0;
  border: 0.125em solid #4a4a4a;
  margin: 0.5em;
  padding: 0;
  transition: all 0.5s ease;
}
div#topbar ul {
  padding: 0;
  margin: 0;
}
div#topbar p {
  padding: 0.25em;
  margin: 0;
}
div#topbar .start, div#topbar .end {
  padding: 0.50em;
}
div#topbar .start {
  border: 0;
  border-right: 0.125em solid #4a4a4a;
  justify-content: flex-start;
  order: -1;
}
div#topbar .middle {
  flex: 1;
  flex-grow: 1;
  padding: 0.50em;
}
div#topbar .end {
  border: 0em;
  border-left: 0.125em solid #4a4a4a;
  justify-content: flex-end;
  order: 1;
}
div#topbar #clock {
  display: inline;
}
div#topbar a {
  color: #dad7cd;
  text-decoration-color: yellowgreen;
  text-decoration: underline;
  transition: all 0.25s;
}
div#topbar a:hover {
  color: #dad7cd;
  background-color: #252832;
}
div#topbar.fixed {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  opacity: 1.00;
  margin-left: 0;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.2);
}

/* Import shared accordion styles */
summary {
  border: 0.125em solid #4a4a4a;
  overflow: hidden;
  opacity: 0.90;
  outline: none;
  padding: 1rem;
  display: block;
  background: #a3b18a;
  color: white;
  padding-left: 2.2rem;
  position: relative;
  cursor: pointer;
}
summary:focus {
  border-color: black;
}
summary h1 {
  margin: 0px;
  padding: 10px;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.4);
  background-image: linear-gradient(to left top, #a3b18a, #9ead84);
  color: #dad7cd;
  background-color: #a3b18a;
}

details {
  box-sizing: border-box;
  margin-top: 5px;
}

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

details[open] > summary:before {
  transform: rotate(90deg);
}

summary:before {
  content: '';
  border-width: .4rem;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
  position: absolute;
  top: 1.3rem;
  left: 1rem;
  transform: rotate(0);
  transform-origin: .2rem 50%;
  transition: .25s transform ease;
}

.content {
  border-top: none;
  padding: 10px;
  border: 2px solid #888;
  border-top: none;
}

p {
  margin: 0;
  padding-bottom: 10px;
}
p:last-child {
  padding: 0;
}

img {
  max-width: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
}

/* achilles.scss - site-specific overrides */
.highlight {
  background-color: yellow;
  color: gray;
  text-shadow: none;
}

body {
  background-color: #3a5a40;
  font-size: 1.25em;
}

.blurb .body .chat .user {
  color: yellow;
  font-size: 1.25em;
}
.blurb .body .chat .assistant {
  color: orange;
}
