


.h1 {
    font-family: 'Courier New', Courier, monospace;
}



.error_input {
    background-color: red;
}

.form-control[disabled]{
  background-color: darkgray;
}


/* .dv {
  text-align: right;
} */
.image {
  width: 250px;
  float: left;
  margin: 20px;
}
body {
  font-size: small;
  line-height: 1.4;
}
p {
  margin: 0;
}

.dv_warning {

  position: fixed;
  background-color: #ab0520;
  color: #fff;
  text-align: center;
  border-radius: 20px;
  padding: 5px 0;
  margin-left: 20px;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

.loader {
  position: fixed;
  border: 40px solid #f3f3f3; /* Light grey */
  border-top: 40px solid #8b0015;
  display: inline-block;
  border-radius: 50%;
  width: 300px;
  height: 300px;
  animation: spin .5s linear infinite;
  z-index: 1;
  display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hide-picker {
  display:none;
}

.hide-error {
  display:none;
}

.warning {
  background-color: red;
}
.nutrition-facts {
  border: 1px solid black;
  margin: 20px;
  float: left;
  width: 400px;
  padding: 0.5rem;
  table {
    border-collapse: collapse;
  }
}
.nutrition-facts__title {
  font-weight: bold;
  font-size: 2rem;
  margin: 0 0 0.25rem 0;
}
.nutrition-facts__header {
  border-bottom: 10px solid black;
  padding: 0 0 0.25rem 0;
  margin: 0 0 0.5rem 0;
  p {
    margin: 0;
  }
}
.nutrition-facts__table {
  width: 100%;
  thead tr {
    th, td {
      border: 0;
    }
  }
  th, td {
    font-weight: normal;
    text-align: left;
    padding: 0.25rem 0;
    border-top: 1px solid black; 
    white-space: nowrap;
  }
  td {
    &:last-child {
      text-align: right;
    }
  }
  .blank-cell {
    width: 1rem;
    border-top: 0;
  }
  .thick-row {
    th, td {
      border-top-width: 5px;
    }
  }
}
.small-info {
  font-size: 0.7rem;
}

.nutrition-facts__table--small {
  @extend .nutrition-facts__table;
  border-bottom: 1px solid #999;
  margin: 0 0 0.5rem 0;
  thead {
    tr {
      border-bottom: 1px solid black; 
    }
  }
  td {
    &:last-child {
      text-align: left;
    }
  }
  th, td {
    border: 0;
    padding: 0;
  }
}

.nutrition-facts__table--grid {
  @extend .nutrition-facts__table;
  margin: 0 0 0.5rem 0;
  td {
    &:last-child {
      text-align: left;
      &::before {
        content: "•";
        font-weight: bold;
        margin: 0 0.25rem 0 0;
      }
    }
  }
}

.text-center {
  text-align: center;
}
.thick-end {
  border-bottom: 10px solid black;
}
.thin-end {
  border-bottom: 1px solid black;
}

.button-col {
  display: inline;
}
#title{
  display: inline;
}
#ingredientHeader{
  width: 50%;
    }
    #ingredientQuantityHeader{
      width: 20%;
    }
    #ingredientQuantityUnit{
      width: 20%;
    }
    #ingredientDelete{
      width: 10%;
    }

@media only screen and (max-width: 600px) {
  .nutrition-facts {
    width: 100%;
    margin: 2px;
  }
  .btn-group{
    text-align: center;
  }
  .button-col{
    margin-left: auto !important;
  }
  .panel {
    text-align: center;
  }
  #ingredientTableDiv{
    width: 100%;
  }
  .delete_row{
    padding: 2px 6px 2px 6px;
  }
  #ingredientHeader{
width: 40%;
  }
  #ingredientQuantityHeader{
    width: 15%;
  }
  #ingredientQuantityUnit{
    width: 35%;
  }
  #ingredientDelete{
    width: 10%;
  }

  
}