body {
  font-family: Arial, Tahoma;
  overflow-x: hidden;
  background: rgb(1, 1, 41) !important; /*#000;*/
}

#all {
  margin: 0px auto;
  line-height: 1.5;
}

.w3-card {
	header, footer {
		background: #ddd;
		img { max-width: 400px; max-height: 200px; }
	}
	.content { background: #fff; }
}

.project { width: 450px; height: 293px; position:relative; float: left; margin: 5px; }

#info {
  position: absolute;
  top: 10px;
  width: 100%;
  text-align: center;
  z-index: 100;
  display:block;
}

h1 {
  color: navy;
}
.card-outline-primary {
  border-color: #0275d8 !important;
}
.card-footer .badge {
  margin-right: 5px;
}
h2 {
  width: 100%;
  color: #2602af;
}
canvas {
  margin:0;
  padding:0;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: -1;
}
.navbar-nav > li > a, .navbar-brand {
  padding-top:4px !important; 
  padding-bottom:0 !important;
  height: 28px;
}
.scorerow { max-width: 800px; }

.navbar {
  z-index: 100;
  min-height:28px !important;
  max-width: 1024px;
  margin: 0 auto;
}
.navbar h1 {
  font-size: 24px;
  line-height: 16px;
}

.btn.black, .dice.black {
  background-color: black;
}
.btn.white, .dice.white {
  background-color: white;
}
.btn.blue, .dice.blue {
  background-color: navy;
}
.btn.yellow, .dice.yellow {
  background-color: yellow;
}
.btn.red, .dice.red {
  background-color: #B22222;
}
.btn.green, .dice.green {
  background-color: #acf8ac;
}
.dice {
  -webkit-mask-image: url(dice/dice-1.svg);
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-image: url(dice/dice-1.svg);
  mask-size: contain;
  mask-repeat: no-repeat;
  height: 32px;
  width: 32px;
  color: red;
  margin: 2px;
  position: relative;
  display: inline-block;
}
.dice.red sup { color: white; }
.dice sup {
  position: absolute;
  top: 2px;
  left: 2px;
}
.dice-0 {
  -webkit-mask-image: url(dice/dice-0.svg);
  mask-image: url(dice/dice-0.svg);
}
.dice-1 {
  -webkit-mask-image: url(dice/dice-1.svg);
  mask-image: url(dice/dice-1.svg);
}
.dice-2 {
  -webkit-mask-image: url(dice/dice-2.svg);
  mask-image: url(dice/dice-2.svg);
}
.dice-3 {
  -webkit-mask-image: url(dice/dice-3.svg);
  mask-image: url(dice/dice-3.svg);
}
.dice-4 {
  -webkit-mask-image: url(dice/dice-4.svg);
  mask-image: url(dice/dice-4.svg);
}
.dice-5 {
  -webkit-mask-image: url(dice/dice-5.svg);
  mask-image: url(dice/dice-5.svg);
}
.dice-6 {
  -webkit-mask-image: url(dice/dice-6.svg);
  mask-image: url(dice/dice-6.svg);
}
.panel.footer, .panel.top {
  position: absolute;
  left: calc(50% - 110px);
  background: rgba(255,255,255,.5);
  min-width: 220px;
  border: 1px solid white;
  border-radius: 15px 15px 0px 0px;
  box-shadow: 0px 0px 10px black;
}
.panel.footer {
  bottom: 0px;
  border-bottom: 0px;
}
.panel-title {
  text-align: center;
  font-weight: bold;
  color: white;
}
.panel-body {
  padding: 5px;
  min-width: 220px;
}
.panel.top {
  z-index: 1000;
  top: 0px;
  min-width: 460px;
  left: calc(50% - 240px);
  border-radius: 0px 0px 15px 15px;
  border-top: 0px;
}

/*.console { z-index: 100; position: absolute; bottom: 10px; left: 48%; }*/
.lock {
  position: absolute;
  top: 10px;
  right: 10px;
}
.not-allowed {
  cursor: not-allowed;
}
.hover {
  cursor: pointer;
}
.wd-32 {
  width: 32px;
}
.number-row, .card-footer {
  overflow:auto;
  white-space: nowrap;
}
.number, .card-footer.btn-group {
  display: inline-block;
}
.btn:disabled {
  cursor: not-allowed !important;
  border-color: #8a8a8a !important;
}
.btn:disabled:not(.clicked) {
  color: #8a8a8a !important;
}
.clicked {
  font-weight: bold !important;
}
.number-row .btn {
  width: 43px !important;
  border-style: double !important;
}
.clear {
  clear:both;
  float:none;
}
.no-padding {
  padding: 0px !important;
}

/* rides */
.dial {
  padding: 0 !important;
}
.dial ul {
  list-style-type: none;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), 0 -1px 0 rgba(0, 0, 0, 0.5), 0 -2px 0 rgba(255, 255, 255, 0.1);
  color: #827D74;
  line-height: 64px;
  font-size: 32px;
  padding: 0;
  background: linear-gradient(#000000 0%, #000006 3%, #08000d 4%, #292527 7%, #55514c 9%, #847f76 11%, #979289 12%, #bab3a9 15%, #d9cfc6 17%, #f4eae1 19%, #fff4ec 20%, #fffffc 22%, #ffffff 24%, #fffffe 33%, #fffdf5 35%, #fef3eb 37%, #d4ccc2 45%, #ada69d 54%, #726d66 65%, #595550 71%, #4f4b47 74%, #4b4743 76%, #4b4743 79%, #4f4b47 80%, #6a665f 84%, #6d6861 85%, #6a665f 88%, #65605a 89%, #54504b 91%, #0d0711 98%, #02000a 99%, #000004 100%);
  border: 5px solid rgba(0, 0, 0, 0.25);
  border-top: none;
  border-bottom: none;
  border-left-image: linear-gradient(white, black);
  overflow: hidden;
}
.dial li {
  margin-top: -3px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: none;
}
.dial .up {
  position: absolute;
  left: 0;
  top: 0;
  height: 50%;
  width: 100%;
}
.dial .down {
  position: absolute;
  left: 0;
  top: 50%;
  height: 50%;
  width: 100%;
}
.dial ul.n-0 li:nth-child(1) {
  display: block;
}
.dial ul.n-1 li:nth-child(2) {
  display: block;
}
.dial ul.n-2 li:nth-child(3) {
  display: block;
}
.dial ul.n-3 li:nth-child(4) {
  display: block;
}
.dial ul.n-4 li:nth-child(5) {
  display: block;
}
.dial ul.n-5 li:nth-child(6) {
  display: block;
}
.dial ul.n-6 li:nth-child(7) {
  display: block;
}
.dial ul.n-7 li:nth-child(8) {
  display: block;
}
.dial ul.n-8 li:nth-child(9) {
  display: block;
}
.dial ul.n-9 li:nth-child(10) {
  display: block;
}

.strikethrough {
  text-decoration: line-through;
}