﻿.rft-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1 !important;
  background-color: #f9fafc !important;
  color: #333 !important;
  border-color: #333 !important;
  margin-left: 5px !important;
  padding: 4px 7px !important;
  font-size: 11px !important;
  max-width: 76px;
  min-height: 56px;
}
.rft-button.btn-green {
  background-color: #306432 !important;
  color: #fff !important;
}
.rft-button.btn-elongated {
  flex-direction: row;
  max-width: 100%;
  padding: 4px 12px !important;
  width: 275px;
}
.rft-button.btn-elongated > div {
  display: inline-flex;
}
.rft-button.btn-elongated .lg-text {
  font-size: 11pt;
}
@media only screen and (max-width: 600px) {
  .rft-button.btn-elongated {
    width: 200px;
  }
}
@media screen and (max-width: 281px) {
  .rft-button {
    margin: 0 2px !important;
    min-width: 45px !important;
    /*width: 45px;*/
  }
}

@media screen and (max-width: 600px) {
  .page-footer {
    background-color: transparent !important;
    box-shadow: none !important;
    justify-content: center !important;
  }
}

@media screen and (max-width: 900px) {
  .no-padding-mobile {
    padding-top: 0 !important;
  }
}

.dlTable .dlTableCellHeader {
  display: none;
}
@media screen and (max-width: 980px) {
  .dlTable .dlTableHead {
    display: none;
  }
  .dlTable .dlTableRow {
    display: flex;
    flex-direction: column;
    padding: 5px 0;
    border-bottom: 1px solid gray !important;
  }
  .dlTable .dlTableRow .dlTableCell {
    padding: 2px 16px !important;
    border: none;
  }
  .dlTable .dlTableRow .dlTableCell .dlTableCellHeader {
    display: inline;
  }
}
@media screen and (max-width: 1200px) {
  .dlTable {
    max-height: calc(100vh - 51px - 80px - 232px) !important;
    min-height: calc(100vh - 51px - 80px - 232px) !important;
  }
}

@media screen and (max-width: 340px) {
  .dlPagination .MuiTablePagination-selectLabel,
  .dlPagination .MuiTablePagination-selectLabel + div {
    display: none !important;
  }
}

.tableFilterables {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-items: center;
}
.tableFilterables > * {
  width: 100%;
}
.tableFilterables > *:last-child {
  margin-top: 10px;
}
@media screen and (max-width: 1200px) {
  .tableFilterables {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
  }
  .tableFilterables > * {
    flex: 1 1 40% !important;
  }
  .tableFilterables > *:nth-of-type(odd) {
    margin-right: 10px !important;
  }
}

@media screen and (max-width: 660px) {
  .no-gap-mobile {
    gap: 0 !important;
  }
}

.doneOrderDesktop {
  display: none;
}
@media screen and (min-width: 1200px) {
  .doneOrderDesktop {
    display: block;
  }
}

.doneOrderMobile {
  display: none;
}
@media screen and (max-width: 1200px) {
  .doneOrderMobile {
    display: block;
  }
}

.inner-box-padding {
  padding: 0 10px 15px;
}
@media only screen and (max-width: 600px) {
  .inner-box-padding {
    padding: 0 3px 15px;
  }
}

.outer-grid {
  padding: 0 15px;
}
@media only screen and (max-width: 600px) {
  .outer-grid {
    padding: 0;
  }
}

.page-header {
  padding: 0 30px;
}
@media only screen and (max-width: 600px) {
  .page-header {
    padding: 0 10px;
  }
}
.page-header h5 {
  font-size: 1.5rem;
}
@media only screen and (max-width: 600px) {
  .page-header h5 {
    font-size: 1.2rem;
  }
}
.page-header .header-buttons-container {
  display: flex;
}

.pdf-viewer {
  position: relative;
}
.pdf-viewer .pdf-spinner {
  text-align: center;
  position: absolute;
}
.pdf-viewer .pdf-spinner i {
  font-size: 5em;
  position: relative;
  top: 50%;
}
.pdf-viewer .pdf-viewer-content {
  position: relative;
  z-index: 9999;
}

.modal-container .modal-header {
  text-align: center;
}
.modal-container .modal-header h1 {
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  font-weight: 400;
  color: white;
}
.modal-container .modal-header > i {
  font-size: 6em;
}
.modal-container .modal-footer {
  float: right;
  min-height: 40px;
}
.modal-container .modal-footer > button {
  padding: 10px;
  min-width: 70px;
  height: 40px;
  line-height: 20px;
  background: transparent !important;
  font-size: 1em;
  font-weight: 100;
  letter-spacing: 1px;
  cursor: pointer;
}
.modal-container .modal-footer > button.btn {
  border-radius: 3px;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px solid transparent;
  color: white;
}
.modal-container .modal-footer > button.btn-warning {
  background-color: #f39c12;
  border-color: #e08e0b;
}

.field-group {
  margin-bottom: 1rem;
  padding: 0.8rem;
  border-radius: 10px;
  background-color: #f6faff;
  border: 1px solid #e5e2e2;
}
.field-group > .fields {
  padding-left: 1rem;
}
.field-group.no-margin {
  margin: 0;
}

.bordered-field {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border: 1px solid #e5e2e2;
  border-radius: 10px;
  margin-bottom: 1rem;
  align-items: center;
}
.bordered-field p {
  margin-bottom: 0;
}

.change-direction {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  justify-content: flex-end;
  display: flex;
}

.rft-chip-container {
  display: flex;
  color: #fff;
  background-color: #306432;
  font-weight: bold;
  height: 32px;
  width: fit-content;
  padding: 3px 7px;
  border-radius: 16px;
  font-size: 0.8125rem;
  align-content: center;
  transition: background-color ease-in 0.2s;
  cursor: pointer;
}
.rft-chip-container.is-focused, .rft-chip-container:hover {
  background-color: #8e8e8e;
}
.rft-chip-container button {
  background: inherit;
  font-weight: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
  border: none;
}
.rft-chip-container button.delete-button {
  border-radius: 100px;
  padding-right: 0;
}
.rft-chip-container button.delete-button:focus .delete-icon, .rft-chip-container button.delete-button:hover .delete-icon {
  fill: rgba(0, 0, 0, 0.6);
}
.rft-chip-container button.delete-button .delete-icon {
  -webkit-tap-highlight-color: transparent;
  color: rgba(0, 0, 0, 0.26);
  font-size: 22px;
  cursor: pointer;
  margin: 0 5px 0 -6px;
  height: 1em;
  display: inline-block;
  fill: currentColor;
}

fieldset {
  border: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.main-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
  margin-left: 12.5%;
  padding-right: 2rem;
  padding-top: 2rem;
}
.main-page img {
  display: block;
  margin: 0 auto;
  width: 100%;
}
.main-page .portal-locks {
  margin: 0 auto;
}
.main-page .portal-locks .lock {
  color: #B50000;
  font-size: 12pt;
}
.main-page .portal-message {
  font-size: 12pt;
  margin-bottom: 15px;
  border-bottom: 1px solid #EEE;
}
.main-page .portal-message:first-child {
  margin-top: 40px;
}
.main-page .portal-message:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.text-center {
  text-align: center;
}

body {
  opacity: 1;
  visibility: visible;
}

body pre {
  font-size: 12px;
}
