/* Chip's basic HTML styles... */
body {
  font-family:"Trebuchet MS";
  font-weight: light;
  background-color: #999986; /*#1d3030;*/ /*DarkSlateGray;*/
  color: #003366;
}
.BannerDiv {
  color:#FFFFFF;
  background-color:#64401C;
  margin:4px;
  padding:8px;
}

.BannerImg {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
button {
  background-color:transparent;
  border-radius: 5px;
  border:2px solid #006600;
  display:inline-block;
  color:#ffffff;
  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:#ffffff;
  background-color: black;
}

b { color:#003F7F; }

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

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:#003F9E;
  background:#ccf2ff;
  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:#003F9E;
  background:DarkBlue;
  white-space: wrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
span.LN {
  color: color:#00265F;
  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 #00264C;
  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: #b6c9bf; }
tr:nth-child(odd) { background: #afcfbe; }
th { border-bottom: solid 2px gray; }
tr,td {
  vertical-align:top;
  border-top:none;
  border-bottom:none;
  border-left: solid 1px #FFFFFF;
  border-right: solid 1px #FFFFFF;
  padding-left: 8px;
  padding-right: 8px;
}
td.section {
  font-size: 150%;
  text-align: center;
  background-color: #FFFFFF;
}

/* 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 #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 #FFFFFF 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 #00264C;
  padding:1em;
  margin:1em;
}

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

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

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

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

input,select {
  background-color: rgba(255,255,255,0.100000);
  color: #003F7F;
  border: none;
  outline: solid thin #003366;
}

textarea {
  background-color: rgba(255,255,255,0.100000);
  color: #003F7F;
  border: none;
  outline: solid thin #003366;
  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;
}

/** STOCKS **/
.Stocks {
  .profit {
    color: darkgreen;
  }
  .loss {
    color: darkred;
  }
}