.matrixeq_container {
  padding: 6px 0px 6px 0px;
  background-color: #fcf8e3;
  padding: 6px 6px 6px 6px;
  margin: 0px 0px 6px 0px;
}

span.matrixtable {
  display: inline-table;
  background-color: #fcf8e3;
  border-width: 2px 2px;
  border-style: solid;
  border-color: black;
  text-align: center;
  vertical-align: top;
  padding: 0px 1px;
  margin: 0px 1px;
  overflow: visible;
}

span.vector {
  display: inline-table;
  background-color: inherit;
  padding: 2px 8px 2px 8px;
  margin: 0px 1px;
  border-width: 0px 0px 0px 0px;
  vertical-align: top;
  font-family: monospace;
  font-size: 12px;
  line-height: 200%;
}

span.vector div {
  display: block;
  margin: 1px;
  padding: 2px;
  background-color: inherit;
}

span.matrixtable .vector {
  border-style: none;
  margin-left: 5px;
  margin-right: 5px;
}

span.transpose {
  display: table;
  margin: 1px;
  background-color: white;
}

span.transpose div {
  display: table-cell;
  margin: 1px;
  padding: 2px;
  background-color: white;
}

span.matrixtable:before {
  content: " ";
  background-color: #fcf8e3;
  width: 85%;
  text-align: center;
  height: 2px;
  position: relative;
  top: -2px;
  z-index: 100;
  display: block;
  margin: 0px auto;
}

span.matrixtable:after {
  content: " ";
  background-color: #fcf8e3;
  width: 85%;
  text-align: center;
  height: 2px;
  position: relative;
  top: 2px;
  z-index: 100;
  display: block;
  margin: 0px auto;
}

span.vector:before {
  content: " ";
  background-color: #fcf8e3;
  width: 85%;
  height: 2px;
  position: relative;
  top: -2px;
  z-index: 100;
  display: block;
}

span.vector:after {
  content: " ";
  background-color: #fcf8e3;
  width: 85%;
  height: 2px;
  position: relative;
  top: 2px;
  z-index: 100;
  display: block;
}

span.matrixtable span.vector:before {
  height: 0px;
}

span.matrixtable span.vector:after {
  height: 0px;
}

span input[type="text"] {
  display: block;
  margin: 0;
  width: 50px;
  height: 24px;
  font-family: sans-serif;
  font-size: 12px;
  appearance: none;
  box-shadow: none;
  text-align: right;
}

span.operator {
  display: inline-table;
  background-color: #fcf8e3;
  padding: 0px;
  margin: 0px 1px;
  vertical-align: text-top;
  font-family: monospace;
  font-size: 16px;
  line-height: 100%;
}

span.label {
  display: inline-table;
  background-color: #fcf8e3;
  padding: 0px 0px 0px 20px;
  margin: 0px 1px;
  vertical-align: middle;
  font-family: sans-serif;
  font-size: 12px;
  line-height: 200%;
  color: black;
}

/* Colors for matrix highlighting */

.lightcyanColor {
  background-color: lightcyan;
}

.lightgreyColor {
  background-color: lightgrey;
}

.purpleColor {
  background-color: #DFB5E8;
}

.yellowColor {
  background-color: #FDFF9D;
}

/* Custom classes added by Wayne Brown */

.my-font {
  font-family: "Courier New", courier, monospace;
  font-size: 12pt;
}



