body {
  background-color: black;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
  font-family: Arial, Helvetica, Verdana, sans-serif;
  font-size: 1rem;
  font-weight: normal;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

table {
  text-align: left;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
  border-color: white;
  border-width: 1px;
  border-style: solid;
}

th {
  font-size: 1.1em;
  font-weight: normal;
}

a, a:visited {
  color: white;
}

.column_header {
  background: none !important;
  border: none;
  padding: 0 !important;
  font: inherit;
  color: #FFFFFF;
  text-decoration: underline;
}

.column_header:hover {
  color: #8c99a3;
  cursor: pointer;
}

.bi-button {
  background: none !important;
  border: none;
  padding: 0 !important;
  font: inherit;
  color: #FFFFFF;
  text-align: left;
  text-decoration: none;
  font-size: 90%;
}
/*  --------------------------------  */

.button-group {
  text-align: center
}

.button-group-spaced {
  margin-top: 30px;
  text-align: center
}

.footer {
  margin-top: 30px;
  margin-bottom: 50px;
}

.mainframe {
  display: flex;
  flex-direction: column;
  width: 800px;
  margin: auto;
}

.wideframe {
  display: flex;
  flex-direction: column;
  width: 1200px;
  margin: auto;
}

.main_form {
  display: flex;
  flex-direction: column;
  padding-bottom: 50px;
  padding-top: 30px;
  margin: auto;
}

.image_display {
  display: flex;
  object-fit: cover;
  justify-content: center;
  width: 300px;
  height: 300px;
  margin-top: 20px;
}

.no_image_display {
  display: flex;
  flex-direction: column;
  width: 300px;
  height: 300px;
  border: solid 1px white;
  background-color: #343a40;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.illustration {
  object-fit: cover;
  width: 300px;
  height: 300px;
}

.thumbnail {
  object-fit: cover;
  width: 240px;
  height: 240px;
  padding: 10px;
}

.form-content {
  display: flex;
  margin: auto 20px;
  justify-content: space-between;
}

.centered-content {
  margin: auto;
}

.inventory {
  margin-top: 50px !important;
}

/*  MODAL STUFF */
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {
  opacity: 0.7;
}

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* 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.9);
  /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  object-fit: cover;
  width: 700px;
  height: 700px;
  /* width: 80%;
  max-width: 700px; */
}

.caption-field {
  visibility: hidden;
}

.caption-row {
  margin: auto;
  width: 720px;
}

#caption-update {
  display: none;
  position: relative;
  top: -27px;
  left: 130px;
}

#caption-input {
  margin-bottom: 10px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

.medium-label {
  font-size: 1.2em;
}

.btn-menu {
  padding-left: 30px;
  padding-right: 30px;
}

.menu-grp {
  margin-top: 15px;
}

.section-title {
  padding-top: 20px;
}

.section-subtitle {
  padding-bottom: 20px;
}

.footer-filler {
  height: 50px;
}

.login-field {
  margin-bottom: 20px;
}

.forgot {
  position: absolute;
  margin: 30px auto;
  width: 400px;
  left: 75px;
  color: #6c757d !important;
}

.reset-box {
  width: 450px;
}

.search-bar {
  position: relative;
  margin: 20px auto;
  width: 400px;
  text-align: center;
  padding: 10px;
  /* border: 1px solid red; */
}


/*********** Bootstrap Overrides ***********/

/* Remove caret from dropdowns */
.caret-off::before {
  display: none;
}

.caret-off::after {
  display: none;
}


.dropdown-grp {
  border-radius: 0;
}

.table {
  width: 95%;
  font-size: 0.95rem;
}

.form-control {
  font-size: 0.95rem;
  height: 1.4rem;
  margin-top: .2rem;
}

.form-control:disabled, .form-control[readonly] {
  background-color: #8c99a3;
  color: black;
  opacity: 1;
}

select.form-control {
  padding: 0 8px;
  float: left;
  min-width: 20
}

.col-form-label {
  padding-top: .20rem;
  padding-bottom: .20rem;
  text-align: right;
}

.form-label, .form-check-label {
  color: #FFFFFF;
}

.form-group {
  margin: 0;
  text-align: left;
}

.accordion {
  margin: 30px 0;
}

.accordion-button {
  background-color: #212529;
  color: #fff;
  padding: .3rem 1.25rem;
}

.accordion-button:not(.collapsed) {
  background-color: #212529;
  color: #fff;
  box-shadow: none;
}

.accordion-button::after, .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236c757d'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-item {
  background-color: inherit;
}

.table-sm th {
  font-size: 1rem;
}

.permissions-group {
  margin-top: 50px;
}

.radio-default {
  margin-left: 18px;
}

.dropdown-divider {
  border-top: 1px solid rgba(0, 0, 0, 1) !important;
}

.top-margin-40 {
  margin-top: 40px;
}

.top-margin-20 {
  margin-top: 25px;
}

.switch-below {
  display: block;
  margin-left: 0 !important;
}

.btn-spaced {
  margin: 2px;
}

/********************************************/

.record-log {
  margin-bottom: 0.5rem;
}

.nav-center {
  margin-left: auto;
  margin-right: auto;
}

.form-block {
  width: 800px;
  margin: 40px auto 20px;
  border: 1px solid #343a40;
  padding: 30px 0;
}

.form-block-narrow {
  width: 400px;
  margin: 40px auto 20px;
  border: 1px solid #343a40;
  padding: 30px 0;
}

.filter-box {
  width: 400px;
  margin: 10px auto;
  border: 1px solid #343a40;
  text-align: center;
  padding: 10px 10px;
}

#filter-button {
  margin: 20px 10px;
}

.centered-box {
  position: absolute;
  left: 50%;
  top: 50%;
  webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  padding: 30px 60px;
  border: 1px solid #343a40;
}

.label-stacked {
  margin-bottom: 0px;
  line-height: 0;
}

.control-dark, .control-dark:read-only{
  background-color: #8c99a3;
  color: black;
  font-weight: 600;
}

.buttongroup {
  position: relative;
  display: inline-flex;
  vertical-align: middle
}

/* Fix for ugly file pickers */

.file {
  opacity: 0;
  width: 0.1px;
  height: 0.1px;
}

.file-name {
  margin: inherit auto;
  bottom: 60px;
  left: 10px;
  font-size: 0.85rem;
  color: #CCC;
}

.file-input {
  text-align: center;
}

/* Tabbed content  */
.tabbed-content {
  margin: 0 auto;
  min-width: 320px;
  max-width: 100%;
  text-align:center;
}

.content > div {
  display: none;
  padding: 20px 25px 5px;
  position: relative;
}

.tab-radio {
  display: none;
}

.tab-label {
  display: inline-block;
  padding: 8px 25px;
  text-align: center;
  border-left: 1px solid #343a40;
  border-right: 1px solid #343a40;
  border-top: 1px solid #343a40;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  margin: 30px 0 0;
}

.tab-radio:checked + label {
  background: #343a40;
}

#tab1:checked ~ .content #content1,
#tab2:checked ~ .content #content2,
#tab3:checked ~ .content #content3,
#tab4:checked ~ .content #content4 {
  display: block;
}

.table-tab {
  width: 100%;
  margin: 0 0 20px;
}

.object-id {
  margin: -20px auto 20px;
}

.text-button {
  text-align: left;
  background: none;
  border: none;
  color: inherit;
}

.text-button:hover {
  text-decoration: underline;
}

.textarea-sm {
  height: 3rem;
}

.textarea-md {
  height: 6rem;
}

.textarea-lg {
  height: 12rem;
}

.nb {
  border: none !important;
}

/*  Status Colors  */
.active {
  color: #fff !important;
}

.out {
  color: #f33 !important;
}

.spare {
  color: #0d6efd !important;
}

.warning {
  color: #ffc107 !important;
}


/* To hide the arrows-spinners on the number fields */
/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


/*    ------------------------------------------   */

input[type=date] {
  padding: 0 12px;
}

.tab-top {
  border-top: 1px solid #343a40;
}

.center {
  text-align: center;
}

.maintenance {
  margin: 30px 0 0;
  padding: 20px 0 0;
}

.report-notes {

}

.repair-notes {

}

/* To make disabled inputs display the correct color in all browsers  */
input:disabled, textarea:disabled, input:disabled::placeholder, textarea:disabled::placeholder {
  -webkit-text-fill-color: currentcolor; /* 1. sets text fill to current `color` for safari */
  opacity: 1; /* 2. correct opacity on iOS */
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}
