.blink {
  animation: blinkybutton 1s infinite ease-in-out;  /* IE 10+, Fx 29+ */
  transition:all 1s ease-in-out;
}

@-webkit-keyframes blinkybutton {
  0%, 49% {
    background-color: rgb(255,255,255);
  }
  50%, 100% {
    background-color: #e50000;
  }
}

.ABGridButtons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.ABGridButtons_Form {
  /* display: flex; */
  flex-grow: 1;
}

.ABGridButton button {
  color: inherit;
  background: inherit;
  border: none;
  width: 100%;
  height: 100%;
}

.ABGridButton {
  /* outline: 1px solid rgb(213,213,31); */
  display: flex;
  min-width: 350px;
  height: 75px;
  margin: 5px;
  position: relative;
  border: 1px solid var(--sharp-primary);
  border-radius: 5px;
  background: white;
  box-shadow: #00000038 6px 5px 8px 0px;
  overflow-x: hidden;
  white-space: nowrap;
  float: left;
  justify-content: space-evenly;
  align-items: stretch;
  flex-direction: column;
  flex-wrap: nowrap;
}

.ABGridButton:hover {
  color: var(--text-light);
  background: var(--sharp-primary);
  border: 1px solid var(--sharp-primary);
}

.ABGridButton:hover a {
  color: inherit;
}

div.ABGridButton.disabled {
  cursor: not-allowed; 
  background-color: #e0e0e0;
}

div.ABGridButton.disabled span  {
  color: white;
}

.ABGridButton_Block {
  display: flex;
  font-size: 17px;
  font-weight: bold;
  /* top: 0px; */
  /* right: 0px; */
  flex-grow: 1;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  overflow: hidden;
  /* position: absolute; */
}

.ABGridButton_MainText {
  /* outline: 1px solid blue; */
  /* width: 100%; */
  /* display: block; */
  text-align: center;
  /* margin-top: 23px; */
}

.ABGridButton_SubText {
  /* outline: 1px solid magenta; */
  /* display: block; */
  text-align: center;
  font-size: 12px;
  font-weight: normal;
  /* margin-top: -5px; */
}

.ABGridButton_Badge {
  /* outline: 1px solid red; */
  position: absolute;
  top: 5px;
  right: 5px;
  height: 27px;
  background: var(--sharp-primary);
  color: var(--text-light);
  border-radius: 5px;
  min-width: 27px;
  text-align: center;
  font-size: 15px;
  border: 1px solid var(--sharp-primary);
  line-height: 24px;
  padding: 0px 5px 0px 4px;
  box-shadow: #00000033 6px 5px 8px 0px;
}

.ABGridButton_Badge.second {
  left: 5px;
  right: unset;
}

.ABGridButton_BadgeText {
  /* outline: 1px solid orange; */
}

.ABGridButton_Badge.badge-default {
  background: var(--sharp-default);
  color: var(--text-dark);  
  border: 1px solid var(--sharp-primary);
}
.ABGridButton_Badge.badge-primary {
  background: var(--sharp-primary);
  color: var(--text-light);
  border: 1px solid var(--sharp-primary);
}

.ABGridButton_Block:hover .ABGridButton_Badge, 
.ABGridButton_Block:hover .ABGridButton_Badge.badge-primary {
  border-color: var(--sharp-default);
}

.ABGridButton_Badge.badge-success {
  background: var(--sharp-success);
  color: var(--text-light);
  border: 1px solid var(--sharp-success);
}
.ABGridButton_Badge.badge-danger {
  background: var(--sharp-danger);
  color: var(--text-light);
  border: 1px solid var(--sharp-danger);
}
.ABGridButton_Badge.badge-warning {
  background: var(--sharp-warning);
  color: var(--text-light);
  border: 1px solid var(--sharp-warning);
}
.ABGridButton_Badge.badge-info {
  background: var(--sharp-info);
  color: var(--text-light);
  border: 1px solid var(--sharp-info);
}




a.ABGridButton_Anchor {
    flex-grow: 1;
    /* height: 73px; */
    display: flex;
    align-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}