

.container {
  padding-top: 15px;
  padding-bottom: 15px;
}




.navbar {
  padding-right: 100px;
}

.main, .sidebar {
  padding: 25px;
}

figure {
  margin: 20px 0 30px 0;
}

.bg-primary {
  background-color: #0a384d !important;
}

h1, h2, h4, h5, h6 {
  color: #0a384d;
  border-bottom: 1px solid #0a384d;
  padding-bottom: 10px;
  margin-bottom: 20px;
}


h3 {
  color: #0a384d;
  font-size: medium;
}

td,th {
  text-align: left;
  /* width: 1px;  */
  /* padding-right: 20px; */
}




.list-header {
  padding: 10px 10px 5px 0;
  margin: 0 10px 10px 10px;
  border-bottom: 1px solid #0a384d;
  color: #0a384d;
  /*text-align: center*/
}

.footer {
  padding: 20px;
  background-color: #0a384d;
  color: #ffffff;

}
/* THIS IS THE COPIED GUFF FOR THE TABS. NOTE THAT THERE ARE TWO STYLES FOR THE NESTED TABS */

.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  /* padding: 6px 12px; */
  border: 1px solid #ccc;
  border-top: none;
}




/* Style the buttons that are used to open the tab content */

.tabA {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.header-tab-buttons {
  flex-grow: 2;
  /* padding: 15px 15px 15px 10px; */
  /* padding-top: 10px; */
  
  /* flex: 2; */
}

.header-tab-buttons button {
  height: 100%;
}

.header-buttons {
  justify-content: flex-end;
  padding: 10px;
}

.tabA button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  
}

/* Change background color of buttons on hover */
.tabA button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tabA button.active {
  background-color: #ccc;
}

.tabA  input[type="button"] {
  width: 150px;
}

/* Style the tab content */
.tabcontentA {
  display: none;
  padding-top: 10px;
  /* padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none; */
}

.tablinksA.outputs {
  display: none;
}

.scenario-name {
  display: none;
  position: absolute;
  z-index: 99999;
  top: 50px;
  left: 0;
  right: 0;
  margin: 0 auto;
  /* width: 100%; */
  text-align: center;
}

.scenario-name div {
  background-color: white;
  padding: 30px;
  width: 50%;
  margin: 0 auto;
  border: 1px solid #000;
}

.scenario-name div button {
  background-color: lightcyan;
}

.scenario-name div input[type='text'] {
  width: 200px;
}

#loadScenarios {
  max-height: 500px;
  overflow: hidden;
  overflow-y: scroll;
}
.scenario-button {
  right: 50px;
    width: 100%;
    background: lightcyan;
    padding: 11px 16px;
    margin-bottom: 0;
}

.scenario-button .delete {
  background: url('../images/delete.png');
  height: 20px;
  width: 20px;
  display: inline-block;
  /* display: inline-block; */
  background-size: cover;
  float: right;
  margin-top: 3px;
}

.scenario-button:hover {
  background-color: #ccc;
  cursor: pointer;
}

table, tbody {
  display: block;
  width: 100%;
  /* padding: 5px 0; */
}

table td {
  /* width: auto; */
  word-wrap: break-word;
  padding: 10px;
}

table th {
  padding: 15px;
  background-color: lightcyan;
}

table th:nth-of-type(2) {
  padding-left: 10px;
}

input[type="text"], input[type='number'] {
  /* width: 90%; */
  border-color: lightgrey;
  border-style: solid;
  border-top: none;
  border-left: none;
  border-right: none;
  width: 100%;
}

td input[type='checkbox'] {
  width: 20px;
}

table td:nth-child(odd) {
  background-color: lightcyan;
  font-weight: bold;
  padding: 5px 25px 5px 15px;

}

table td:nth-child(even) {
  padding-left: 10px;
}

.warning {
  color: red;
  display: none;
}

.info {
  margin: 0;
}

button[type='submit'] {
  margin-top: 5px; 
}

div.delete-button {
  background:  url('../images/delete.png');
  width: 15px;
  height: 15px;
  float: right;
  background-size: contain;
  position: relative;
  top: -20px;
  right: -20px;
  padding: 0;
  border: none;
  cursor: pointer;
}

.export-button {
  float: right;
  display: none;
  /* margin-right: 25px; */
  margin-top: 10px;
}
/* 
input[type="number"] {
  -webkit-appearance: initial;
          appearance: initial;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: initial;
} */


@media only screen and (max-width: 375px) {

  .main {
    padding: 0;
  }

  #oMassBalance {
    overflow-x: auto;
  }

  table td:nth-child(odd) {
    background-color: lightcyan;
    font-weight: bold;
    padding: 5px 5px 5px 5px;
  
  }
}