/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10; /* Sit on top */
  padding-top: 40px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-title {
  background-color: #404040;
  margin: auto;
  /*padding: 5px;*/
  /*border: 1px solid #888;*/
  /*display: block;*/
  width: 100%;
}

/* Modal Content */
.modal-content {
  background-color: #2d2d2d;
  margin: auto;
  padding: 15px;
  border: 1px solid #888;
  width: 50%;
}

.modal-chart {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 6; /* Sit on top */
  padding-top: 40px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-chart-content {
  background-color: #222;
  margin: auto;
  padding: 10px;
  border: 1px solid #888;
  width: 95%;
  height: 85%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  /*float: right;*/
  font-size: 24px;
  font-weight: bold;
  text-align: right;
  vertical-align: middle;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.ok-button {
  background-color: ButtonFace;
  cursor: pointer;
  padding: 10px;
}

.ok-button-disabled {
  background-color: dimgrey;
  cursor:not-allowed ;
  padding: 10px;
}

table.instrumentSearchResults { width: 100%; border-collapse: collapse; }
.instrumentSearchResults tr:hover { background-color: lightgray; cursor: pointer; }
.selectedSearchResult { background-color: #80f530 !important; }
