/* Chip's basic HTML styles... */
body {
  font-family:"Trebuchet MS";
  font-weight: light;
  background-color: #001E2E; /*#1d3030;*/ /*DarkSlateGray;*/
  color: #4dc3ff;
}

.BannerDiv {
  color:#FFFFFF;
  background-color:#64401C;
  margin:4px;
  padding:8px;
}

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

.ThreadTOC {
  float: right;
  width: 20%;
  padding: 2px;
  border: thin solid #00bfff;
  background-color: #00284d;
}

.ThreadTOC_Inner {
  white-space: nowrap;
  object-fit: contain;
  overflow: auto hidden;
  scrollbar-color: #00735C #00334d;
}

button {
  background-color:transparent;
  border-radius: 5px;
  border:2px solid #3FFFFF; /*#34e5eb;*/
  display:inline-block;
  color:#B2FFFF;
  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:#3992BF;
  background-color: black;
}

.HideText {
  visibility:hidden;
}

.HideIcon::before {
  position:relative;
  align-items:center;
  display:inline;
  content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2399ddff' stroke='%2399ddff' %3E   %3Cpath d='M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8z'/%3E   %3Cpath d='M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z'/%3E %3C/svg%3E");
}

.CopyIcon {
  color: #99ddff;
}

.CopyIcon::after {
  position:relative;
  align-items:center;
  display:inline;
  content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' %3E %3Cpath d='M2 5h9v9H2z' stroke='%2399ddff' fill='none' stroke-width='2' opacity='75%25' /%3E %3Cpath d='M5 5V2h9v9h-3' fill='none' stroke='%2399ddff' stroke-width='2' opacity='50%25' /%3E %3C/svg %3E ");
}

b { color:#60F3FF; }

a:link,a:visited {
  color:#0EBFBF;
  text-decoration:none;
}
a:hover {
  color:#13F3FF;
}

p {
  margin-top: 1em;
  margin-bottom: 0;
}

p.Date { /*Date header for each day's entry*/
  font-style:bold;
  //text-decoration:underline;
  color:#54F3FF;
}
p.Note {
  margin-left:2em;
  padding-left:8px;
  border-left: thin solid #00669A;
}
div.Note {
  margin-left:2em;
  padding-left:8px;
  border-left: thin solid #00669A;
}
.Edit { /*Highlight edit text*/
  font-weight: bold;
  color: #00e6b8;
}
.Code { /*Code within normal text*/
  font-family:"Bitstream Vera Sans Mono",monospace,Sans-serif;
  color:#60F3FF;
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
}
.Code b { color:#73FFFF; }

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:#60F3FF;
  background:#0F2333;
  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:#60F3FF;
  background:DarkBlue;
  white-space: wrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
span.LN {
  color: color:#3992BF;
  float: left;
  width: 3em;
  text-align: right;
  margin-right: 8px;
}
span.HiLite {
  color: #00e6b8;
}
button.CodeToText {
  background-color:transparent;
  border-radius: 5px;
  text-indent:0px;
  border:2px solid #3992BF;
  display:inline-block;
  color: #00FFFF;
  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: #003854; }
tr:nth-child(odd) { background: #003D5C; }
th { border-bottom: solid 2px gray; }
tr,td {
  vertical-align:top;
  border-top:none;
  border-bottom:none;
  border-left: solid 1px #004C73;
  border-right: solid 1px #004C73;
  padding-left: 8px;
  padding-right: 8px;
}
td.section {
  font-size: 150%;
  text-align: center;
  background-color: #00669A;
}

ul,ol {
  margin-top: 0;
  margin-bottom: 0;
}

/* 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; }

li > p:first-of-type { margin-top:1em; }
li > p { margin-top:0; margin-bottom:1em; }

blockquote {
  overflow: hidden;
  border: solid 1px #00e6b8;
  padding: 8px;
  margin-left: 0.5in;
  margin-right: 0.5in;
  margin-top: 4px;
  margin-bottom: 4px;
}
blockquote.Note { border: solid 4px #00e6b8; }
br.clear { clear: both; display: block; line-height: 0px; }
div.ThreadIndex {
  float:right;
  max-width:20em;
  border:solid #00669A 2px;
  padding:4px;
  margin:4px;
}

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

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

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

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

div.DangerBox {
  border:solid 2px #00e6b8;
  background: #003F60;
  color: #00e6b8;
  padding:4px;
  margin:4px;
}

div.DangerIcon {
  float:left;
  padding:4px;
  margin-right:4px;
  color:#4dc3ff;
  background: #00334d;
  font-size:400%;
}

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

input,select {
  background-color: rgba(0,204,255,0.100000);
  color: #60F3FF;
  border: none;
  outline: solid thin #4dc3ff;
}

textarea {
  background-color: rgba(0,204,255,0.100000);
  color: #60F3FF;
  border: none;
  outline: solid thin #4dc3ff;
  padding: 4px;
}

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

.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;
}

.CodeBorder {
  display:inline-block;
  border: thin solid aqua;
  padding: 4px;
}

/** STOCKS **/
.Stocks {
  .profit {
    color: limegreen;
  }
  .loss {
    color: red;
  }
}

.Stocks_FixedWidth {
  font-family: Bitstream Vera Sans Mono, monospace;
  display: inline-block;
  width: 8em;
  text-align: right;
}