
/* The full-page modal background (semi-transparent overlay). */
.TBDB-versionModal-background {
  display: none;

  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
 
  background-color: rgba(0,0,0,0.6); /* Black background with translucent opacity. */

  font-family:  Helvetica, Arial, sans-serif;
  font-size: 16px;
  user-select: none;
  -webkit-user-select: none;
}


/* We add/remove this class to show/hide the modal .TBDB-versionModal-background */
.TBDB-versionModal-show {
  display: block;
}



/* The modal box that sits in full-page semi-transparent background . */
.TBDB-versionModal-box {
  position: relative;
  margin: auto;
  margin-top: 100px;

  width: 400px;


  background-color: lightgray;
  box-shadow: 2px 2px 9px rgba(0,0,0,0.2);

  animation-name: versionModal-slidein;
  animation-duration: 0.5s;
}


@keyframes versionModal-slidein {
  from {top:-500px;}
  to {top:0; }
}


/* Top bar of modal with title and closeBtn. */
.TBDB-versionModal-topBar {
  margin-bottom: 10px;
  padding-top: 1px;
  padding-bottom: 2px;
  padding-left: 14px;
  padding-right: 12px;
  background-color: slategray;
  color: white;
}

.TBDB-versionModal-topBarText {
  line-height: 30px;
  color: white;
  font-size: 16pt;
}

/* Close "X" modal button. */
.TBDB-versionModal-closeBtn {
  color: white;
  float: right;
  font-size: 24px;

}
.TBDB-versionModal-closeBtn:hover {
  color: black;
  cursor: pointer;
}


/* Main UI area of modal box. */
.TBDB-versionModal-main {
  padding-left: 15px;
  padding-right: 15px;

  padding-bottom: 3px;
}

/* Area for success messages. */
.TBDB-versionModal-messageArea {
  margin-top: 10px;
  background-color: lightgray;
  text-align: right;
}

.TBDB-versionModal-messageSuccess {
  color: green;
}

/* Area for error messages. */
.TBDB-versionModal-messageFail {
  color: red;
}


/*********************/
.TBDB-versionModal-formArea {
    display: grid;
    grid-template-columns: 75px 1fr;
    grid-gap: 10px;
}

.TBDB-versionModal-formAreaLabel {
    grid-column: 1 / 2;
}
.TBDB-versionModal-formAreaTextInput  {
    grid-column: 2 / 3;
    padding-left: 5px;
}


.TBDB-versionModal-formElement {
	width: 275px;
}


 
.TBDB-versionModal-selectBtn {
  grid-column: 2 / 3;
  margin-top: 10px;
  margin-bottom: 10px;
}
