/* Chip's basic HTML styles... */
body {
  font-family:"Trebuchet MS";
  font-weight: light;
  background-color: white;
  color: black;
}

.SiteBanner {
  color:black;
  background-color:white;
  margin:4px;
  padding:8px;
}

.SiteBanner img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

h1, h2, h3 {
  color: #008000;
  margin-bottom: 0;
}

hr {
  height: 7px;
  border-top: 3px solid #C00000;
  border-bottom: 1px solid #C00000;
}

.ThreadTOC {
  float: right;
  width: 20%;
  background-color: #F0FFF0;
}

.ThreadTOC_Inner {
  border: thin solid #C00000;
  white-space: nowrap;
  overflow-y: hidden;
  overflow-x: auto;
}

.CopyIcon {
  color: #009699;
}

figure {
  width: min-content;
  margin: 8px;
}

button {
  background-color:transparent;
  border-radius: 5px;
  border:2px solid #A0D0B0; /*#34e5eb;*/
  display:inline-block;
  color: green;
  font-family:Arial;
  font-size:11pt;
  font-weight:bold;
  font-style:normal;
  text-decoration:none;
  text-align:center;
  padding:2px;
  margin:2px;
}

button:disabled, button[disabled] {
  color:#000000;
  background-color: black;
}

b { color:#000000; }

a:link,a:visited {
  color: #008000;
  text-decoration:none;
}
a:hover {
  color:#000000;
}
p.Date { /*Date header for each day's entry*/
  font-style:bold;
  //text-decoration:underline;
  color:#000000;
}
p.Note {
  margin-left:2em;
  padding-left:8px;
  border-left: thin solid #000000;
}
div.Note {
  margin-left:2em;
  padding-left:8px;
  border-left: thin solid #000000;
}
.Edit { /*Highlight edit text*/
  font-weight: bold;
  color: green;
}
.Code { /*Code within normal text*/
  font-family:"Bitstream Vera Sans Mono",monospace,Sans-serif;
  color:#000000;
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
}
.Code b { color:#000000; }

div.Code { /*Code that stands alone with <div> </div>*/
  font-family:"Bitstream Vera Sans Mono",monospace,Sans-serif;
  font-size: 75%;
  border-style:solid;
  margin:8px;
  /*margin-right:2em;*/
  padding:4px;
  color: #082010;
  background: #E8FFFC;
  white-space: pre;
  overflow: auto;
  text-overflow: clip;  /* ellipsis will not reveal anything when scrolled. */
  width:  85%;
  height: 25%;
}
div.CodeWrap { /*Code that stands alone with <div> </div>*/
  font-family:"Bitstream Vera Sans Mono",monospace,Sans-serif;
  border-style:solid;
  margin-left:4em;
  padding:4px;
  color: #082010;
  background:DarkBlue;
  white-space: wrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
span.LN {
  color: #204020;
  float: left;
  width: 3em;
  text-align: right;
  margin-right: 8px;
}
span.HiLite {
  color: green;
}
button.CodeToText {
  background-color:transparent;
  border-radius: 5px;
  text-indent:0px;
  border:2px solid #000000;
  display:inline-block;
  color: #000000;
  font-family:Arial;
  font-size:11px;
  font-weight:bold;
  font-style:normal;
  height:20px;
  width:55px;
  text-decoration:none;
  text-align:center;
}
table { border-style:solid; border-collapse: collapse; }
tr { vertical-align:top; border: none; }
tr:nth-child(even) { background: #FCFCFC; }
tr:nth-child(odd) { background: #F8F8F8; }
th { border-bottom: solid 2px gray; }
tr,td {
  vertical-align:top;
  border-top:none;
  border-bottom:none;
  border-left: solid 1px #000000;
  border-right: solid 1px #000000;
  padding-left: 8px;
  padding-right: 8px;
}
td.section {
  font-size: 150%;
  text-align: center;
  background-color: #000000;
}

/* List items with indention levels */
li.A { margin-left:1em; }
li.B { margin-left:2em; }
li.C { margin-left:3em; }
li.D { margin-left:4em; }
blockquote {
  overflow: hidden;
  border: solid 1px green;
  padding: 8px;
  margin-left: 0.5in;
  margin-right: 0.5in;
  margin-top: 4px;
  margin-bottom: 4px;
}
blockquote.Note { border: solid 4px green; }
br.clear { clear: both; display: block; line-height: 0px; }
div.ThreadIndex {
  float:right;
  max-width:20em;
  border:solid #000000 2px;
  padding:4px;
  margin:4px;
}

div.MistakeBox {
  border:solid 2px green;
  padding:8px;
  margin:1em;
}

div.MistakeIcon {
  float:left;
  margin-right:4px;
}

div.NoteBox {
  border:solid 2px #000000;
  padding:1em;
  margin:1em;
}

div.NoteIcon {
  float:left;
  margin-right:4px;
  color:black;
  font-size:400%;
}

div.DangerBox {
  border:solid 2px green;
  background: #000000;
  color: green;
  padding:4px;
  margin:4px;
}

div.DangerIcon {
  float:left;
  padding:4px;
  margin-right:4px;
  color:black;
  background: white;
  font-size:400%;
}

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

input,select {
  background-color: #F0FFFC;
  color: black;
  border: none;
  outline: solid thin black;
}

textarea {
  background-color: #F0FFFC;
  color: black;
  border: none;
  outline: solid thin black;
  padding: 4px;
}

/** NOTE: Alpha blends do not seem to work within the dropdown options. **/
select option {
  background: white;
}

.PageComment {
  white-space: pre-wrap;
}

/* The Far Side panels */
.tfs_panel {
  display:inline-block;
  width:240px;
  height:380px;
  margin:8px;
  vertical-align:top;
  horizontal-align:center;
}

/* 400px photo panels */
.photo_panel {
  display:inline-block;
  width:440px;
  height:380px;
  margin:8px;
  vertical-align:top;
  horizontal-align:center;
}