
table {
  /*border: 1px solid black;*/
  border-collapse: separate;
  border-spacing: inherit;
  font-size: 1.75rem;
}

td {
  width: 75px;
  height: 75px;
  border: 1px solid black;
  padding: .25rem;
  text-align: center;
}

ul {
  margin: 1.5rem 0;
  line-height: 1.7;
}

.prose-subtitle {
  font-weight: 600;
  font-size: 22px;
  padding-top: 1rem;
}

.container {
  margin: 2rem;
  display: flex;
  justify-content: space-around;
  padding: 2rem 0rem;
}

.prose-container {
  max-width: 40rem;
}

.input-field-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

.input-field-prepend {
  margin-right: -1px;
  display: flex;
}

.input-group-text {
  display: flex;
  width: 100%;
  align-items: center;
  padding: .375rem .75rem;
  margin-left: .5rem;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  background-color: #e9ecef;
  border: 1px solid #999;
  border-right: none;
  border-bottom-left-radius: .25rem;
  border-top-left-radius: .25rem;
}

.input-field {
  display: flex;
  max-width: 5rem;
  width: 100%;
  flex: 1 1 auto;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border: 1px solid #999;
  border-radius: .25rem;
  transition: all .15s ease-in-out;
}

.input-accepted {
  border: 1px solid lightgreen;
}

.input-accepted:focus {
  outline: lightgreen auto 5px;
  outline-offset: -2px;
}

/*.input-accepted:-moz-focusring {
  box-shadow: 0px 0px 3px 1px lightgreen;
}*/

.input-failed {
  border: 1px solid red;
}

.input-failed:focus {
  outline: red auto 5px;
}

.with-prepend {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* .alert {
  position: relative;
  padding: .75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  font-size: .9rem;
}

.alert-failure {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-hidden {
  display: none;
} */

.btn-container {
  margin-bottom: 1.5rem;
}

.btn {
  border: 1px solid #999;
  padding: .5rem .75rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  border-radius: .25rem;
  transition: all .15s ease-in-out;
}

.btn:hover {
  transition: .15s ease-in-out;
}

.btn:disabled {
  cursor: not-allowed;
}

#intro-ms-draw-btn:hover:not([disabled]) {
  background-color: #93deff;
}

#intro-ms-animate-btn:hover {
  background-color: lightgreen;
}

.btn-active {
  background-color: lightgreen;
  cursor: default;
}

#intro-magic-square {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-bottom: 3rem;
}

.totals-top-left {
  border: none;
}

.totals-center-top {
  border-top: none;
  border-right: none;
  border-left: none;
}

.totals-top-right {
  border-right: none;
  border-top: none;
  border-bottom: #eee;
}

.totals-center-left {
  border-top: none;
  border-bottom: none;
  border-left: none;
}

.totals-center-right {
  border-right: none;
  border-bottom: #eee;
}

.totals-bottom-left {
  border-left: none;
  border-bottom: none;
}

.totals-center-bottom {
  border-bottom: none;
  border-left: #eee;
}

.totals-bottom-right {
  border-right: none;
  border-bottom: none;
  border-left: #eee;
}

.line-scrolly {
  display: flex;
  margin: 0 50px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.graphic-container {
  display: flex;
  /* border: 1px solid black; */
  justify-content: center;
  width: 50%;
}

.graphic-prose-container {
  width: 50%;
  /* border: 1px solid black; */
}

.graphic {
  display: flex;
  padding: 1rem;
  flex-direction: column;
  align-items: center;
}

.graphic-prose {
  height: 100%;
  display: flex;
  flex: 1;
  flex-grow: 1;
  order: 0;
  padding: 1rem;
  flex-direction: column;
}

.spacer {
  width: 100%;
  height: 200px;
}

.slide-wrapper {
  padding: 6rem 0rem;
}

.slide {
  background: #e9ecef;
  opacity: 0.2;
  border-right: 4px solid #f67280;
  padding: 1rem 1.5rem;
  font-size: 15px;
  line-height: 1.5;
}

.active-slide {
  opacity: 1;
}

#most-perfect-totals-container {
  width: 150%;
  margin-top: 4rem;
}

.most-perfect-totals-row {
  display: flex;
  /* justify-content: center; */
  margin-bottom: 2rem;
  height: 75px;
  border-radius: .25rem;
  opacity: 0;
}

.most-perfect-total-cell {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.7rem;
  font-weight: 400;
  vertical-align: middle;
  /* padding: .25rem; */
  text-align: center;
  width: 20%;
  height: 100%;
  border: 1px solid #444;
}

.most-perfect-centre-cell {
  border: none;
}

.most-perfect-left-cell {
  border-top-left-radius: .25rem;
  border-bottom-left-radius: .25rem;
}

.most-perfect-right-cell {
  border-top-right-radius: .25rem;
  border-bottom-right-radius: .25rem;
}

#most-perfect-pink {
  background-color: pink;
}

#most-perfect-yellow {
  background-color: yellow;
}

#most-perfect-lightblue {
  background-color: lightblue;
}

#most-perfect-orange {
  background-color: orange;
}
