header {
  height: 125px;
  background-color: #1d2f4a;
}

#page-header {
    position: relative;
}

.container-header {
    max-width: 1440px;
    display: block;
    margin: 0 auto;
    position: relative;
}

#lettermark {
    display: block;
    margin: 0 auto;
    position: relative;
    top: 12px;
    pointer-events: none;
    user-select: none;
}

#logout {
    position: absolute;
    right: 10px;
    top: 38px;
    transform: rotate(45deg);
    cursor: pointer;
}

.reference-title {
  display: inline-block;
  width: 250px;
  text-align: right;
}

.reference-input {
  display: inline-block;
  width: 200px;
  margin-left: 15px;
  margin-bottom: 15px;
}

.reference-input form {
  display: inline-block;
  width: 300px;
}

.reference-input form input {
  margin-right: 15px;
}

._modal-content input {
  padding-left: 5px;
}

._modal-content select {
  padding: 4px;
}

.column-name {
  margin-bottom: 2px;
}

@media only screen and (min-width: 1200px) {
  .container.container-max {
      max-width: 1440px;
  }
}

.fa.fa-minus-circle.remove-base-finish {
  position: relative;
  top: 1px;
  font-size: 20px;
}

#add-base-finish.fa.fa-plus-circle,
#add-single-material.fa.fa-plus-circle {
  position: relative;
  top: 1px;
  left: 3px;
  font-size: 20px;
  margin-bottom: 12px;
}

.container-main {
  display: block;
  margin: 100px auto;
  width: 500px;
}

.container-materials {
  display: block;
  margin: 100px auto;
}

.row-insert {
  background: #eee;
  margin-bottom: 3px;
}

.row-insert:hover {
  background: #1d2f4a;
  color: white;
  cursor: pointer;
}

.container-materials .row-insert {
  padding-top: 8px;
  padding-bottom: 8px;
}

.center-left-align {
  margin-left: 100px;
}

.new-row {
  margin-bottom: 30px;
}

.header-label {
  position: relative;
  top: 2px;
  margin-right: 30px;
}

/* ------------------------ */
/* ----- Login System ----- */
/* ------------------------ */

.input-auth {
  margin: 0 auto;
}

.portal {
  text-align: center;
}

.btn-logout {
  text-align: center;
}

/* ------------------------ */
/* ----- Modal System ----- */
/* ------------------------ */

#modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 655px;
  padding: 30px;
  background: #e7f7fc;
  z-index: 20;
  max-height: 80%;
  overflow-y: scroll;
}

#modal-bg {
  display: none;
  position: fixed;
  top: -110px;
  background: rgba(0,0,0,0.875);
  z-index: 10;
  width: 100vw;
  height: 110vw;
}

.close-modal {
  position: absolute;
  left: 602px;
  top: 14px;
}

.close-modal:hover {
  cursor: pointer;
}

._modal-content {
    background: #e7f7fc;
}

#modal input {
  width: 100%;
  margin-bottom: 10px;
}

#modal input.psuedo-submit {
  width: 87%;
  display: inline-block;
}

#add-new-row {
  display: none;
}

.fa-trash {
  font-size: 1.66em !important;
  position: relative;
  top: 3px;
  left: 12px;
}

.fa-trash:hover, .psuedo-submit:hover, .new-row:hover {
  cursor: pointer;
}

.add-material-placeholder {
  margin-bottom: 30px;
}

.component-row input {
  width: 83px !important;
}

.component-row input.datalist {
  width: 464px !important;
}

.component-row * {
  margin-right: 15px;
}

.component-row .add-mat-qty-wgt {
  margin-right: 0;
}
