/*
 * Globals
 */


/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
}


/*
 * Base structure
 */


.cover-container {
  max-width: 97%;
}


/*
 * Header
 */

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

.alert-warning {
  position: relative;
  z-index: 100;
}


.cdx-block {
    line-height: 21pt !important; 
    font-size: 13pt;
}

.cdx-block-small {
  line-height: 18pt !important; 
  font-size: 13pt;
}


.smallfontcls {
  font-size: 9pt;
}


.blocksfixed {
  height: 110px;
  overflow: scroll;
}

.fixedgamemessage {
  position: fixed;
  top: 90px;
  left: 5%;
  width: 90%;
}


.fixedengine {
  position: fixed;
  top: 145px;
  left: 5%;
  width: 92.5%;
  height: 88px;
  border: 1px solid rgba(255, 255, 255, .5);
  overflow: scroll;
}

.fixedtracks {
  position: fixed;
  top: 245px;
  left: 5%;
  width: 92.5%;
  bottom: 2%;
  overflow: scroll;
}

.fixedblockstomove {
  position: fixed;
  top: 155px;
  left: 5%;
  width: 92.5%;
  height: 85px;
  border: 1px solid rgba(255, 255, 255, .5);
  overflow: scroll;
}

.fixedblockstracks {
  position: fixed;
  top: 210px;
  left: 5%;
  width: 92.5%;
  bottom: 2%;
  overflow: scroll;
}



table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
  padding: 2px;
  padding-right: 10px;
  padding-left: 10px;
}

.btn-primary-spacing {
  margin-right: 10px;
}

.centered-input {
  text-align: center;
}


.close-input {
  padding-left: 1x;
  padding-right: 1px;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
    appearance: textfield;
}



.car-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
}

.car-table thead th {
  border-bottom: 2px solid #000;
  padding: 8px;
  text-align: left;
}

.car-table tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

.car-table tbody tr:hover {
  background-color: #ddd;
}

.car-table td {
  border-bottom: 1px solid #ddd;
  padding: 8px;
}

.new-block td {
  border-top: 3px solid black;
}

.new-block-light td {
  border-top: 3px dotted green;
}


@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.blinking {
  animation: blink 1.4s linear infinite;
}


.dark-theme .modal-content {
  background-color: #DCDCDC;
}

