@font-face {
  font-family: KillTheNoise;
  src: url("KillTheNoise.otf") format("opentype");
}
:root{
  --dark-grey: #151515;
  --med-grey: #888888;
  --lighter-blue: #6d778f;
  --med-blue: #192029;
  --dark-blue:  #192544;
  --sky-blue: #00aeff;

  --background: white;
  --foreground: black;
  --hover-link: blue;  
  
  --dark-text: var(--lighter-blue);
  --etch-color: var(--med-blue);
}
include{
  display: none;
}
body{
  margin: 0;
  padding: 0;

  background-color: var(--background);
  color: var(--foreground);
  box-sizing: border-box;
  position: relative;
  font-family: sans-seriff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
body a,
body a:visited{
  color: black;
  text-decoration: none;
  font-weight: bold;
}
body a:hover{
  text-decoration: underline;
}
page-background{
  display: block;
  border: none;
  position: relative;
  height: 100%;
}
page-background:before{
  z-index: -5;
  display: block;
  position: fixed;
  content: " ";
  left: -100em;
  top: -100em;
  width: calc(100vw + 200em);
  height: calc(100vh + 200em);
  background-color: #b2bcc7;
/*      background-image: url(https://i.stack.imgur.com/KaEDC.png); */
  /* background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='50px' width='120px'><text x='0' y='15' fill='midnightblue' font-size='20'>7S2M</text></svg>"); */
  opacity: .5;
  transform-origin: center;
  transform: rotate(45deg);

}
page-header{
  padding: 3px;
  position: fixed;
  z-index: 10;
  height: 4em;
  background-color: #b2bcc7;
  display: inline-block;
  width: 100%;
  border-bottom: 1px solid var(--etch-color);
  text-align: center;
}
page-header h1{
  line-height: 1;
  margin: 0 auto 0 auto;
  font-family: KillTheNoise;
  text-transform: uppercase;
  letter-spacing: .2em;
}
page-header .menu{
  position: absolute;
  top: 1em;
  right: 2em;
}
page-header .menu:hover{
  color: var(--hover-link);
}
page-header title-text{
  display: inline;
}
page-header h1 span:after{
  content: "\A";
  white-space: pre;
}
page-buffer{
  background-color: var(--background);
  display: block;
  border-left: 1px solid var(--etch-color);
  border-right: 1px solid var(--etch-color);
  margin: 0 auto 0 auto;
  width: 830px;
  padding: 0;
  height: 4em;
}

page-content{
  position: relative;
  padding: 1em;
  background-color: var(--background);
  display: block;
  border-left: 1px solid var(--etch-color);
  border-right: 1px solid var(--etch-color);
  margin: 0 auto 0 auto;
  width: 830px;
  height: 100%;
  min-height: calc(100vh - 12em);
}
page-content>img,
page-content>iframe{
  max-width: 100%;
}
page-footer{
  display: block;
  text-align: center;
  background-color: var(--background);
  border-top: 1px solid var(--etch-color);
  padding: 1em .1em 1em .1em;
}
main-menu ul{
  margin-block-start: 0;
  padding-inline-start: 0;
}
main-menu a{
  color: var(--dark-text);
  text-decoration: none;
  white-space: nowrap;
}
main-menu a:hover{
  color: var(--hover-link);
}
page-footer a:before{
  content: "[";
  margin-right: .2em;
  margin-left: 0;
}
page-footer a:after{
  content: "]";
  margin-left: .2em;
  margin-right: 1em;
}
page-footer .social{
  margin-bottom: 2em;
}
page-footer .social a{
  white-space: nowrap;
}
main-menu{
  display: block;
}
main-menu ul{
  list-style-type: none;
}
page-footer .notice{
    opacity: .5;
    font-size: x-small;
    font-style: italic;
    color: var(--dark-text);
}

page-footer main-menu ul li{
  display: inline;
  white-space: nowrap;
}

main-menu.popup{
  display: none;
  position: fixed;
  top: 4.4em;
  right: 1px;
  z-index: 100;
  background-color: var(--background);
  padding: 0;
  margin: 0;
  border: 1px solid var(--etch-color);
}
main-menu.popup ul{
  list-style-type: none;
  padding: 0;
  margin: 0;
}
main-menu.popup ul li{
  border-bottom: 1px solid var(--etch-color);
  padding: .1em 1em .1em 1em;
  font-size: x-large;
}
main-menu.popup.visible{
  display: inline-block;
}

@media screen and (max-width: 830px) {
    page-content,
    page-buffer{
      width: 90%;
    }

    page-content .summary{
      text-align: justify;
    }
}





table.chores-list{
  width: 100%;
  border-spacing: 0;
  border: 1px solid gray;
  padding: 0;
  margin: 0;
}
table.chores-list thead tr{
  margin: 0;
  padding: 0;
  background-color: lightgray;
  border-bottom: 2px solid gray;
}
table.chores-list tbody tr{
  margin: 0;
  padding: 0;
  border-bottom: 1px solid gray;
}
table.chores-list tbody tr:nth-child(odd) {
  background-color: #f5f5f5;
}
table.chores-list th,
table.chores-list td {
  border-right: 1px solid gray;
  padding: .2rem;
  margin: 0
}

fieldset {
  position: relative;
  border: 1px solid rgba(0,0,0,.2);
  display: table;
  border-collapse: collapse;
  background-color: rgb(245,245,245);
}

fieldset legend{
  position: relative;
  margin: 0;
  padding: 0;
  padding-right: .5rem;
  padding-left: .5rem;
  font-weight: bold;
  
  background-color: rgb(245,245,245);
  background: linear-gradient(to bottom, white, rgb(245,245,245));
  border: none;
  border-top: 1px solid rgba(0,0,0,.2);
  border-left: 1px solid rgba(0,0,0,.2);
  left: -1px;
}
fieldset legend:before{
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 50%;
  width: 2px;
  border-right: 1px solid rgba(0,0,0,.2);
}

fieldset>p {
  display: table-row;
  margin: 0;
  padding: 0;
}

fieldset p>* {
  display: table-cell;
}
fieldset p>*:only-child {
  display: table-cell;
  width: 100%;
}
fieldset p>*:first-child {
  display: table-cell;
  text-align: right;
  padding-right: .5rem;
}

fieldset p.buttons{
  float: right;
}


dialog {
  margin: 0;
  padding: 0;
  padding-bottom: 5px;
  transform: translateX(-50%);
  left: 50%;
  top: 135px;
  border: 1px solid #323130;
  box-shadow: 0 4px 5px rgb(0 0 0 / 30%);
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

dialog::backdrop{
  background-color: rgba(0,0,0,.4);
}

dialog header {
  display: flex;
  gap: .5rem;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(152, 186, 228);
  background: linear-gradient(0deg, rgb(128, 162, 203) 0%, rgb(187, 204, 228) 100%);
  border-bottom: 1px solid black;
  padding-left: 3px;
  height: 1.7rem;
}
dialog header h3 {
  margin-block: 0px;
  font-weight: normal;
  white-space: nowrap;
  overflow: hidden;
}
dialog header button{
  padding: 0;
  margin: 0;
  background-color: transparent;
  border: none;
  border-left: 1px solid black;
  height: 1.7rem;
  min-width: 2rem;
  margin-left: auto;
}
dialog header button:hover{
  background-color: rgba(255,255,255,.3);
  background-color: rgb(152, 186, 228);
}


#dialogPanel #title{
  margin-left: 1rem;
}
#dialogPanel #content{
  padding: 1.5rem;
}
#dialogPanel .buttons button{
  margin-top: 1rem;
  margin-right: 1rem;
  float: right;
  min-width: 6rem;
}

.hidden{
  display: none;
}
.admin{
  display: none;
}