:root{
  --coreform-green-yellow: rgb(156,154,117); /* color lifted from Coreform logo (upper right) */
  --coreform-green-yellow-light: rgba(156,154,117,0.3);
  --temp-sidebar-gray-light: rgba(168, 176, 192,0.2);
  --temp-sidebar-gray: rgb(168, 176, 192);
}

.CoreformCommand{
    font-family: monospace;
    font-size: smaller;
    color: black;
    padding: 0.2ex;
    background-color: rgba(128, 128, 128, 0.2);
}

.CoreformCommandBlock{
    font-family: monospace;
    color: black;
    padding: 1ex;
    overflow-wrap: normal;
    overflow-x: auto;
    white-space: pre; 
    display: block;
}

ul.CoreformRemarkList {
  counter-reset: remark;
  margin-left:0; /* Remove the default left margin */
  padding-left:0; /* Remove the default left padding */    
}

li.CoreformRemarkListItem {
  counter-increment: remark;
  position:relative; /* Create a positioning context */
  margin:0ex 0em 0ex 4em; /* Give each list item a left margin to make room for REMARK+counter */
  padding:2ex 0em; /* Add some spacing around the content */
  list-style:none; /* Disable the normal item numbering */
  border-top:1px dotted #666;
  width: 30em;
  padding-left: 2em;/*  */
}

li.CoreformRemarkListItem::before{
  content: "REMARK " counter(remark) " ";
  position:absolute;
  top:-1px;/*  */
  left:-5em;/*  */
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
  box-sizing:border-box;
  width:auto;
  /* margin-right:8px;*/
  padding:3.5ex 0em 0ex 0em;/*  */
  border-top:1px dotted #666;
  color:#666;
  font-weight:bold;
  font-family:"Fira Sans", Arial, sans-serif;
  text-align:center;
  font-size: 0.7em;    
}

.CoreformBlockquote{
  background: #f9f9f9;
  border-left: 6px solid #ccc;
  padding: 0.5em 10px;
}

.CoreformIGACommandBlock{
  font-family: monospace;
  font-size: smaller;
  color: black;
  background-color: var(--temp-sidebar-gray-light);
  padding: 1ex;
  padding-left: 1.5ex;
  border-left: 0.5ex solid var(--temp-sidebar-gray);
  overflow-wrap: normal;
  overflow-x: scroll;
  white-space: pre;
}

blockquote.Figure p.Centertext {
  display: inline-block;
  padding: 1rem 2rem;
  text-align: left !important;
}

.Figure, .FigureMulti, .FigureMultiWide, .Herefigure {
  border: 1px solid #A7B0BE;
}