body {
  height: unset;
  padding: 15;
  background-color: #DFDFDF;
  width: -webkit-calc(100% - 30px);
  width: -moz-calc(100% - 30px);
  width: calc(100% - 30px);
}

.container {
  width: 98%;
  padding: 4px;
  display: inline-block;
}

.row-not-shifted {
  margin-left: 0px;
}

.import-row {
  margin-left: 0px;
}

.header-text {
  display: inline-block;
}

.header-logo {
  height:25px;
  width:25px;
  vertical-align: baseline;
}

.input-group-prepend {
  margin-right: 10px;
  margin-top: 8px;
}

/* From ChatGPT for store page: */

.box-caption.image-date {
  font-size: 0.7rem;
}

.store-left-column {
  background-color: #bcbfd1; 
  border-radius: 8px;
  position: relative;
  height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
}
.store-right-column {
  background-color: #bcbfd1; 
  border-radius: 8px;
  height: calc(100vh - 140px);
  overflow-y: auto;
}

.store-container {
  padding-top: 10px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  height: calc(100vh - 140px);
  box-sizing: border-box;
  margin: 0;
}
.store-thumbnail-container {
  overflow-x: auto;
  white-space: nowrap;
  margin-top: auto;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 8px;
}
.store-thumbnail-container img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-right: 8px;
  border-radius: 6px;
  cursor: pointer;
}
.store-main-image-container {
  position: relative; /* ensure positioning context for overlay button */
  width: 100%;
  height: calc(100% - 120px);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.store-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  cursor: pointer
}

.bold {
  font-weight: bold;
}

.store-device-name {
  font-size:2em;
  line-height: normal;
  margin: 0;
}

.store-additional-info {
  white-space: pre-wrap;
  font-weight: 200;
  line-height: normal;
}

.store-device-list-price {
  margin: 0 0 1.5rem 0;
  font-weight: 300;
}

.store-device-details {
  margin: 0.5rem 0;
}

.store-detail-group {
  margin-bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}

.store-detail-group h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.0rem;
  font-weight: 450;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: normal;
}

.store-detail-item {
  display: flex;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  line-height: 1.2;
}

.store-detail-item:last-child {
  margin-bottom: 0;
}

.detail-label {
  flex: 0 0 120px;
  font-weight: 550;
  color: #555;
}

.detail-wider-label {
  flex: 0 0 160px;
  font-weight: 550;
  color: #555;
}

.detail-widest-label {
  flex: 0 0 290px;
  font-weight: 550;
  color: #555;
  }

.detail-value {
  flex: 1;
  color: #333;
  font-weight: 200;
}


@media (min-width: 768px) {
  .store-clearfix:before,
  .store-clearfix:after {
    content: " ";
    display: table;
  }
  .store-learfix:after {
    clear: both;
  }
  .store-left-column {
    float: left;
    width: 66%;
    padding: 0.5%;
  }
  .store-right-column {
    float: right;
    width: 31%;
    padding: 0.5%;
  }
}

.modal-header {
  position: relative;
}

.contact-close {
  border: none;
  background: none;
  font-size: 2.2rem;
  color: coral;
  opacity: 1.0;
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 2;
  cursor: pointer;
  line-height: 1;
  padding: 0 8px;
}

.spinner-border[role="status"] {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border: 0.2em solid #f3f3f3;
  border-top: 0.2em solid #3498db;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.modal-body {
  max-height: 800px;
}

/* End of chatGPT additions */


.new-button > i {
  font-size: 2.0rem;
}

.back-overlay-btn {
  position: absolute;
  top: -7px;
  left: -7px;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s;
}
.back-overlay-btn:hover {
  background: rgba(0,0,0,0.8);
}

.img-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.2s;
  opacity: 0.85;
}
.img-nav-btn:hover {
  background: rgba(0,0,0,0.8);
  opacity: 1;
}
.img-nav-btn-left {
  left: 10px;
}
.img-nav-btn-right {
  right: 10px;
}

.container label {
  width: 80px;
  display: inline-block;
}

.centered-image {
  max-width: 100%;
  max-height: 100%;

  border-radius: 10px;
  background-color: Crimson;
}
.square-container {
  width: 120px; /* Or any desired width */
  height: 120px; /* Or any desired height */
  margin: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.well {
  padding-left: 25px;
  padding-right: 1px;
  padding-top: 0px;
  background-color: transparent;
  border: 0px;
  box-shadow: none;
}

.navbar .brand {
  padding: 2px 40px 5px 20px;
  font-size: 32px;
  text-decoration: none;
}


ul[role=menu-bar] {
  margin-top: 5px;
}


.flex-container {
  display: flex;
}

.table-filter {
  width: 100%;
  margin: 5px 0;
}

.filter-icon {
  margin: 9px 20px;
}

.col-sm-9 {
  margin: 0 10px;
}

.button-row {
  padding-top: 15px;
}

/* .note-entry {
    max-width: 80%;
    max-height: 80%;
  } */

.note-entry {
  max-width: 98%;
  max-height: 70%;
  height: 85%;
  width: 100%;
  resize: both;
}

  
.store-image-column {
  padding-top: 10px;
  padding-bottom: 10px;
  width: 140px;
}

.store-device-name {
  /* font-family: Garamond; */
  font-style: normal;
  font-variant: normal;
  font-size: 36px;
  font-weight: 200;   
}

.store-additional-name {
font-size:20px;
font-weight:200;
line-height: normal;  
}

.store-other-columns {
  font-size:20px;
  font-weight:200;
  line-height: normal;  
}

.store-price-column {
  font-size:20px;
  font-weight:200;
  line-height: normal;  
  padding-left: 30px;
}


.vertical-center {
  margin: 0;
  position: absolute;
  -ms-transform: translateX(150%);
  transform: translateX(150%);
}

.centered-text {
  text-align: center;
}

.sold-prefix {
  display: inline; 
  color: red;
}

div .pop-up {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* width: 50%; */
  background-color: #DDD;
  border-radius: 6px;
  padding: 20px;
  /* height: 135px; */
  z-index: 1000; /* Ensure popup appears above other elements */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow for better visibility */
}

label.popup-label {
  width: 100%;
  display: block;
  font-size: larger;
  margin: 3px;
  margin-bottom: 15px;
  text-align: center;
}

.input-label {
  display: inline-block;
  width: 140px;
  text-align: right;
  padding: 5px;
}

.file-target {
  display: inline-block;
  height: 120px;
}

input[type="file"] {
  height: 97px;
  line-height: 10px;
  padding: 10px;
}

.form-buttons {
  padding-top: 15px;
  top: 120px;
}

.button-right {
  margin: 0 auto;
  text-align: right;
  width: 50%;
}

.button-left {
  margin: 0 auto;
  text-align: left;
  width: 50%;
}


.header-add {
  font-size: x-large;
  display: inline-block;
  margin-left: 10px;
}

.table-totals {
  padding-top: 5px;
}

.filter-select {
  margin-top: 5px;
}

table {
  width: 99.8%;
  border-collapse: collapse;
  overflow: hidden;
  background-color: #606793;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

thead {
  background-color: #434971ea;
}

th {
  padding: 5px;
  background-color: #434971ea;
  color: #fff;
  font-weight: 400;
}

.bold-header {
  font-weight: 600;
}

.sort-asc {
  color: #28a745 !important;
  position: relative;
}


.sort-desc {
  color: #dc3545 !important;
  position: relative;
}


.print-device-number {
  max-width: 60px;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 22px;
  border: black;
  border-radius: 15px;
  border: 2px solid #000000;
  padding: 2px 5px 2px 5px;
}

.device-name-print {
  height: 50px;
}

div .device-page { 
  width: 100%;
}

td {
  padding: 0px 5px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

th {
  text-align: left;
}

thead {
  th {
    background-color: #55608f;
  }
}


tbody tr {
  &:hover {
    background-color: rgba(255, 255, 255, 0.3);
  }
}


.table-hover tbody tr:hover>td,
.table-hover tbody tr:hover>th {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Make checkboxes more visible in dark themes */
.form-check-input {
  background-color: #fff;
  border: 1px solid #adb5bd;
  opacity: 1 !important; /* Override the opacity:0 from system.css */
  position: relative !important; /* Override position:fixed from system.css */
  appearance: auto !important; /* Override appearance:none from system.css */
  -webkit-appearance: auto !important;
  -moz-appearance: auto !important;
  margin: 0 !important;
}

.form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

/* Compact styling for export table */
.export-table-container .table {
  font-size: 0.85rem;
}

.export-table-container .table td,
.export-table-container .table th {
  padding: 0.4rem 0.5rem;
}

.export-table-container .form-check {
  margin-bottom: 0;
  padding-left: 0;
}

.export-table-container .table-responsive {
  max-height: 70vh;
  overflow-y: auto;
}


tbody.store-table tr:nth-child(odd) {
  background-color: #535a86;
  &:hover {
    background-color: rgba(255, 255, 255, 0.3);
  }
}

tbody td {
  position: relative;

}

table td .additional-name {
  display: inline-block;
  font-size: small;
  color: lightgray;
  padding-left: 4px;
}


/******************** Edit / View Mode ***************************/

form input.viewMode {
  display: none;
}

form input.editMode {
  display: auto;
}

form textarea.viewMode {
  display: none;
}

form textarea.editMode {
  display: auto;
}


form select.viewMode {
  display: none;
}

form select.editMode {
  display: auto;
}

form .displayValue.viewMode {
  display: auto;
}

.tag-badge {
  display: inline-block;
  background-color: #e0e0e0;
  color: #333;
  padding: 2px 8px;
  margin: 2px;
  border-radius: 12px;
  font-size: 0.9em;
}

form .displayValue.editMode {
  display: none;
}

.displayValue > i {
  font-size: 1.0rem;
}

.error {
  color: red;
}

.viewButton.viewMode {
  display: auto;

}

.viewButton.editMode {
  display: none;

}

.viewButton > i {
  font-size: 1.0rem;
}

.editButton > i {
  font-size: 1.0rem;
}

.detail-button {
  font-size: 1.6rem;
}

.store-button {
  font-size: 1.2rem;
}

.image-button {
  font-size: 1.2rem;
}

.modal {
  display: none;
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0px;
  left: 0px;
  width: 115vw;
  height: 100vh;
  z-index: 9999;
}

.search-header {
  margin: 4px 10px 0px 0px;
}

.editButton.viewMode {
  display: none;
}

.editButton.editMode {
  display: auto;
}



.editHeader.editMode {
  display: block;
}

.editHeader.viewMode {
  display: none;
}

input.image-caption {
  width: 68%;
  display: inline-grid;
}

.primary-image-selector {
  align-self: center;
  justify-self: right;
}

.input-label.popup {
  display: inline-block;
  text-align: left;
  padding-top: 10px;
}

.page-title {
  font-size: xx-large;
  color: #CCC;
  width: 100%;
  text-align: center;
  font-family: Garamond;
  font-size: 48px;
  font-style: normal;
  font-variant: normal;
  font-weight: 100;
  line-height: 60px;
  background-color: #303552ea;
  border-radius: 6px;
}

.login-button {
  max-width: 90px;
  position: absolute;
  top: 35px;
  right: 30px;
  font-size: 20px;
}

table tfoot {
  font-size: 14px;
  font-weight: bold;
  color: #FFFFFF;
  background: #F5F5F5;
  background: -moz-linear-gradient(top, #f7f7f7 0%, #f6f6f6 66%, #F5F5F5 100%);
  background: -webkit-linear-gradient(top, #f7f7f7 0%, #f6f6f6 66%, #F5F5F5 100%);
  background: linear-gradient(to bottom, #f7f7f7 0%, #f6f6f6 66%, #F5F5F5 100%);
  border-top: 2px solid #444444;
}

table tfoot td {
  font-size: 14px;
}

table tfoot .links {
  text-align: right;
}

table tfoot .links a {
  display: inline-block;
  background: #949494;
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 5px;
}

.gg-box {
  box-sizing: border-box;
  position: relative;
  display: block;
  transform: scale(var(--ggs, 1));
  width: 22px;
  height: 20px;
  border: 2px solid;
  border-radius: 3px
}

.gg-box::after,
.gg-box::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  border-radius: 3px;
  height: 2px;
  background: currentColor
}

.gg-box::before {
  left: 6px;
  width: 6px;
  top: 8px
}

.gg-box::after {
  width: 22px;
  left: -2px;
  top: 4px
}

div.small {
  font-size: small;
}

div.asOf {
  display: inline-block;
}


.back-button {
  padding: 5px 10px;
  background-color: #303552ea;
  color: #EEE;
  display: inline-block;
  border-radius: 6px;
  margin-right: 10px;
}

/* .row {
    margin-left: -20px;
} */


.new-button {
  padding: 6px 14px;
  background-color: #303552ea;
  color: #EEE;
  display: inline-block;
  border-radius: 6px;
  /* margin-right: 10px; */
  font-size: 20px;
  margin: 0 20px;
}

.new-button .fa-regular {
  line-height: 1.7;
}

.edit-button {
  padding: 5px 10px;
  background-color: #DFDFDF;
  display: inline-block;
  border-radius: 6px;
  margin-right: 10px;
}

.update-power-on-button {
  padding: 5px 10px;
  background-color: #DFDFDF;
  display: inline-block;
  border-radius: 6px;
  margin-right: 10px;
}

.delete-button {
  padding: 5px 10px;
  background-color: #fb9494;
  display: inline-block;
  border-radius: 6px;
  margin-right: 10px;
  margin-top: 1px;
}

.chargers-body {
  display: inline-block;
  /* padding-top: 20px; */
  max-width: 100%;
  width: 100%
}

.as-of {
  color: #777;
  margin-top: 30px;
  margin-left: 10px;
  font-size: 20px;
}

.main-site,
.other-site {
  display: inline;
  padding: 5px;
}

.main-site {
  padding-top: 15px;
  /* margin: 10px 5px 10px 5px; */
  width: 100%;
  /* background-color: #222; */
}

.category {
  padding-top: 15px;
  /* margin: 10px 5px 10px 5px; */
  width: 100%;
  background-color: #222;
}


.other-site-container {
  margin-top: 20px;
}

.other-site {
  display: inline-flex;
  flex-wrap: wrap;
  margin: 10px 5px 10px 5px;
  border-color: darkgray;
  border-width: 1px;
  border-radius: 4px;
  border-style: solid;
}

.no-favorites {
  color: darkgray;
  display: block;
  margin: 40px 10px 10px 10px;
  font-size: xx-large;
  padding: 10px;
  width: 100%;
  text-align: center;
}


.site-header {
  display: inline-flex;
  padding-top: 20;
}

.site-title {
  color: #999999;
  display: inline-block;
  margin: 2px;
  font-size: xx-large;
}

.site-favorite {
  background-image: url(add-favorite.png);
  background-size: contain;
  height: 25;
  width: 25;
  margin: 7;
  outline: none;
}

.site-favorite.favorited {
  background-image: url(favorite.png);
}

.main-devices {
  display: -webkit-flex;
  /* Safari */
  -webkit-flex-wrap: wrap;
  /* Safari 6.1+ */
  display: flex;
  flex-wrap: wrap;
}

.device-container {
  display: contents;
}

.other-site .site-title {
  margin: 3px 4px 0px 0px;
}


.main-chargers {
  margin: 0px;
  display: inline-flex;
  flex-wrap: wrap;
}

.main-charger {
  color: #AAA;
  display: block;
  margin: 4px;
  font-size: 24px;
  width: 400px;
  height: 80px;
  padding: 10px;
  border-style: solid;
  border-color: #888;
  border-collapse: separate;
  border-width: 1px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  -khtml-border-radius: 6px;
  border-radius: 6px;
  overflow: hidden;
}

.device {
  color: #AAA;
  display: block;
  margin: 6px;
  font-size: 24px;
  width: 400px;
  height: 80px;
  padding: 0px;
  border-style: solid;
  border-color: #888;
  border-collapse: separate;
  border-width: 1px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  -khtml-border-radius: 6px;
  border-radius: 6px;
  overflow: hidden;
}

.device .charger-status {
  font-size: 20px;
  margin: 2px;
}

.main-charger .charging-user {
  font-size: 14px;
  float: right;
  padding-top: 5px;
}

.device-header {
  text-align: center;
  display: table;
  color: #CCC;
  background-color: #555;
  width: 100%;
  margin: 0px;
  height: 22px;
}

.device-name {
  text-align: center;
  display: block; /* table-cell; */
  font-size: 20px;
  padding: 4px;
  margin: 0px;
  text-decoration: none;
  color: #EEE;
  line-height: normal;
}

.device-page .device-name {
  font-size: 24px;
  display: block;
  color: #222;
}

.device-page .device-additional-name {
  color: #505050;
}

table.device-page {
  width: 100%;
  border-collapse:unset;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow:none;
  border:1px solid #000;
  border-radius: 2px;
  margin: 5px;
  padding: 3px;
}
.device-page td {
  color:#000;
}
 
.device-page .long-value{
  white-space:pre-wrap;
}

.device-sub-name {
  text-align: center;
  font-size: 14;
  padding: 0px;
  margin: 2px;
  height: 18px;
}

.status-blocks {
  color: #AAA;
  background-color: #434971ea;
  text-align: right;
  font-size: 14px;
  margin: 2px;
  padding: 2px;
  display: inline-block;
  border-style: solid;
  border-color: #888;
  border-collapse: separate;
  border-width: 1px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  -khtml-border-radius: 6px;
  border-radius: 6px;
  overflow: hidden
}

.model-link {
  color: auto;
  text-decoration-line: none;
}

.model-number {
  color: #EEE;
  background-color: #686f9dea;
  text-align: right;
  font-size: 14px;
  margin: 2px;
  padding: 2px;
  display: inline-block;
  border-style: solid;
  border-color: #333;
  border-collapse: separate;
  border-width: 1px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  -khtml-border-radius: 6px;
  border-radius: 6px;
  overflow: hidden
}

.model-number.clickable {
  background-color: #434971ea;
}

.model-number.clickable:hover {
  color: #6d75aaea;
  background-color: #DDD;
  cursor: pointer;
}

.status-blocks-light {
  color: #434971ea;
  background-color: #EEE;
  text-align: right;
  font-size: 14px;
  margin: 2px;
  padding: 2px;
  display: inline-block;
  border-style: solid;
  border-color: #888;
  border-collapse: separate;
  border-width: 1px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  -khtml-border-radius: 6px;
  border-radius: 6px;
  overflow: hidden
}

.device .device-functional-status {
  color: #222;
  text-align: right;
  font-size: 16px;
  padding-right: 8px;
  display: table-cell;
  width: 20px;
}

.device-functional-status.YES {
  color: #1a8624;
}

.device-functional-status.NO {
  color: #bd4141;
}

.device-functional-status.PARTIAL {
  color: #fae543;
}

.category_header_row {
  display: flex;
  justify-content: center;
}

.category_header_row:not(:first-child) {
  padding-top: 20px;
}


.category_header_row img {
  display: inline-block;
  width: 60%;
  margin: auto;
}

.category_header.compacts {
  background-size: cover;
  /* <------ */
  background-repeat: no-repeat;
  background-position: center center;
  /* optional, center the image */
  background-image: url("images/compact_macs_header.jpg");
  width: 60%;
}

.original-year {
  color: #AAA;
  background-color: #222;
  text-align: right;
  font-size: 14px;
  margin: 2px;
  padding: 2px;
  padding-right: 4px;
  padding-left: 4px;
  display: inline-block;
  border-style: solid;
  border-color: #888;
  border-collapse: separate;
  border-width: 1px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  -khtml-border-radius: 6px;
  border-radius: 6px;
  overflow: hidden
}

.other-chargers {
  margin: 4px 4px 4px 4px;
  display: flex;
}

/* Tag Management Styles */
.tag-badge {
  display: inline-block;
  background-color: #434971ea;
  color: #fff;
  padding: 3px 8px;
  margin: 2px 4px 2px 0;
  border-radius: 12px;
  font-size: 0.9em;
}

.tag-updating {
  display: block;
  color: #3498db;
  margin-top: 5px;
  font-size: 0.9em;
}

.tag-error {
  display: block;
  color: #e74c3c;
  margin-top: 5px;
  font-size: 0.9em;
}

.tags-container {
  margin-top: 5px;
  width: 100%;
}

tags-input .tags {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
  padding: 2px 6px;
}

tags-input .tags .tag-item {
  background: #434971ea;
  color: #111;
  border: 1px solid #2c3154;
  border-radius: 12px;
}

tags-input .tags .tag-item .remove-button {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

/* Make sure tag input is visible in view mode */
.viewMode tags-input .tags {
  display: block;
  min-height: 34px;
  width: 100%;
}

/* Ensure tags are properly displayed in edit mode */
.editMode .tag-badge {
  display: inline-block;
}

/* Styles for read-only tags when not authenticated */
.read-only-tags {
  padding: 6px 8px;
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 4px;
  min-height: 34px;
}

.read-only-tags .tag-badge {
  margin-right: 5px;
  margin-bottom: 3px;
}

.small-charger {
  color: #EEE;
  display: block;
  margin: 1px;
  font-size: x-large;
  width: 4px;
  height: 32px;
  padding: 0px;
}

.small-charger .charger-name {
  display: none;
  text-align: center;
  font-size: large;
  padding: 24px 0;
  margin: 4px
}

.site-body {
  display: inline-block;

}

.spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 60px;
  width: 60px;
  margin: 0px auto;
  -webkit-animation: rotation .6s infinite linear;
  -moz-animation: rotation .6s infinite linear;
  -o-animation: rotation .6s infinite linear;
  animation: rotation .6s infinite linear;
  border-left: 6px solid rgba(30, 165, 189, 0.15);
  border-right: 6px solid rgba(30, 165, 189, 0.15);
  border-bottom: 6px solid rgba(30, 165, 189, 0.15);
  border-top: 6px solid rgba(30, 165, 189, 0.8);
  border-radius: 100%;
}

@-webkit-keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(359deg);
  }
}

@-moz-keyframes rotation {
  from {
    -moz-transform: rotate(0deg);
  }

  to {
    -moz-transform: rotate(359deg);
  }
}

@-o-keyframes rotation {
  from {
    -o-transform: rotate(0deg);
  }

  to {
    -o-transform: rotate(359deg);
  }
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(359deg);
  }
}

div.pulsing-green {
  background-color: #4caf50;
  animation-name: pulsing-green;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

div.pulsing-red {
  background-color: #9E2B12;
  animation-name: pulsing-red;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

@keyframes pulsing-green {
  0% {
    background-color: #4caf50;
  }

  50% {
    background-color: #81c784;
  }

  100% {
    background-color: #4caf50;
  }
}

@keyframes pulsing-red {
  0% {
    background-color: #9E2B12;
  }

  50% {
    background-color: #C56853;
  }

  100% {
    background-color: #9E2B12;
  }
}

@keyframes pulsing-blue {
  0% {
    background-color: #4ba3c7;
  }

  50% {
    background-color: #0288d1;
  }

  100% {
    background-color: #4ba3c7;
  }
}

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

div.authenticating {
  width: 30px;
  height: 30px;
  display: none;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url(data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==);
  background-position: center center;

}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 5px auto;
  /* 15% from the top and centered */
  border: 1px solid #888;
  padding: 15px;
  width: 300px;
  /* Could be more or less, depending on screen size */
  height: 250px;
}

/* Modal Content/Box */
.modal-content-full-height {
  background-color: #fefefe;
  margin: 5px auto;
  /* 15% from the top and centered */
  border: 1px solid #888;
  padding: 15px;
  width: 400px;
}


/* Modal Content/Box */
.loginForm {
  background-color: #fefefe;
  margin: 5px auto;
  /* 15% from the top and centered */
  border: 1px solid #888;
  padding: 15px;
  width: 300px;
  /* Could be more or less, depending on screen size */
  height: 230px;
  display: none;
}


/* Modal Content/Box */
.profileForm {
  background-color: #fefefe;
  margin: 5px auto;
  /* 15% from the top and centered */
  border: 1px solid #888;
  padding: 15px;
  width: 300px;
  /* Could be more or less, depending on screen size */
  /*height: 230px;*/
  display: none;
}

/* Modal Content/Box */
.logoutForm {
  background-color: #fefefe;
  margin: 5px auto;
  /* 15% from the top and centered */
  border: 1px solid #888;
  padding: 15px;
  width: 300px;
  /* Could be more or less, depending on screen size */
  height: 90px;
  display: none;
}

.loginErrorMessage {
  color: red;
  font-weight: bolder;
  border: 1px solid #888;
  margin: 5px auto;
  /* 15% from the top and centered */
  width: 300px;
  /* Could be more or less, depending on screen size */
  height: 20px;
  background-color: #dddddd;
  display: none;
}

.modal-content.authenticated {
  width: 250px;
  height: 75px;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

/* Close button on hover */
.close:hover,
.close:focus {
  color: red;
  cursor: pointer;
}


/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {
    -webkit-transform: scale(0)
  }

  to {
    -webkit-transform: scale(1)
  }
}

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

  to {
    transform: scale(1)
  }
}

.fullscreen-image {
  height: 100vh;
  background-color: green;
}

.images-container {
  margin: 0 auto;
}

.images-container {
  max-width: 200px;
  /* can't have:
  overflow: hidden; */
}

.gallery {
  list-style: none;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 2em 0;
}

.gallery_item {
  width: 32%;
  margin-bottom: .25em;
}

.gallery_link {
  text-decoration: none;
  display: flex;
  position: relative;
  height: 0;
  padding-bottom: 100%;
}

.thumbnail {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition: all .3s;
}

.gallery_link:hover .thumbnail {
  max-width: 120%;
  left: -10%;
  top: -10%;
  z-index: 1;
}


/* NEW SPINNER */
#cover-spin {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 9999;
  display: block;
}

/* NEW SPINNER */
#image-spin {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.465);
  z-index: 9999;
  display: block;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

#image-spin.ng-enter {
  animation: 0.25s linear fade-in;
}

#image-spin.ng-leave {
  animation: 0.25s linear fade-out;
}


@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

#cover-spin::after {
  content: '';
  display: block;
  position: absolute;
  left: 48%;
  top: 40%;
  width: 40px;
  height: 40px;
  border-style: solid;
  border-color: black;
  border-top-color: transparent;
  border-width: 4px;
  border-radius: 50%;
  -webkit-animation: spin .8s linear infinite;
  animation: spin .8s linear infinite;
}

#image-spin::after {
  content: '';
  display: block;
  position: absolute;
  left: 48%;
  top: 40%;
  width: 40px;
  height: 40px;
  border-style: solid;
  border-color: rgb(193, 193, 193);
  border-top-color: transparent;
  border-width: 4px;
  border-radius: 50%;
  -webkit-animation: spin .8s linear infinite;
  animation: spin .8s linear infinite;
}

/* Image overlay */
.image-overlay {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: block;
}

.overlay-text {
  position: absolute;
  top: 95%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #000000AA;
  color: #fff;
  padding: 10px 20px;
  font-size: 20px;
  text-align: center;
  font-weight: 200;
  border-radius: 6px;
}

.next-button {
  position: absolute;
  top: 50%;
  left: 95%;
  transform: translate(-50%, -50%);
  background-color: #000000AA;
  color: #ffffffa5;
  padding: 10px 20px;
  font-size: 48px;
  text-align: center;
  font-weight: 200;
  border-radius: 6px;
}

.previous-button {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translate(-50%, -50%);
  background-color: #000000AA;
  color: #ffffffa5;
  padding: 10px 20px;
  font-size: 48px;
  text-align: center;
  font-weight: 200;
  border-radius: 6px;
}

.fill-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.computer {
  margin: 0px;
  padding: 15px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s;
  position: relative;
}

/* Device Thumbnail Styles */
.device-thumbnail-container {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}

.device-thumbnail-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.device-thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.device-thumbnail-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  text-align: center;
}

.device-thumbnail-placeholder .placeholder-text {
  font-size: 0.8rem;
  margin-top: 5px;
}

.device-thumbnail-button {
  position: absolute;
  bottom: -5px;
  right: -5px;
}

.thumbnail-btn {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s;
}

.thumbnail-btn:hover {
  background-color: #0056b3;
}

.thumbnail-btn i {
  font-size: 14px;
}

/* Thumbnail preview in modal */
.thumbnail-preview {
  margin-top: 15px;
  text-align: center;
}

.data-pair {
  display: flex;
  width: 100%;
}

.data-point {
  margin: 5px 0;
  display: table-cell;
  width: 50%;
  justify-content: space-between;
  font-size: 0.9em;
}

.data-single-point {
  margin: 5px 0;
  display: inline-block;
  width: 100%;
  justify-content: space-between;
  font-size: 0.9em;
  padding-top: 5px;
}

.data-single-point p {
  background-color: #F5F5F5;
  padding: 0px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  -khtml-border-radius: 6px;
  border-radius: 6px;
  white-space: pre-line;
}

.data-single-point .long-value {
  margin-block-start: .3em;
  background-color: #F5F5F5;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  -khtml-border-radius: 6px;
  border-radius: 6px;
  white-space: pre-line;
  display: block;
}

.view-label {
  font-weight: bold;
  margin-right: 5px;
  width: 200px;
  text-align: right;
  display: inline-block;
}

.single-label {
  font-weight: bold;
  margin-right: 5px;
}

.value {
  text-align: left;
  display: inline-block;
}

.value {
  text-align: left;
  display: inline-block;
}

input.editMode {
  width: 400px;
}

.computer .device-name {
  font-family: Garamond;
  font-style: normal;
  font-variant: normal;

  font-size: 30px;
  font-weight: 600;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-image: radial-gradient(#a0a0a0, #3a3a3a);
  text-align: center;
  line-height: normal;
}

.device-additional-name {
  font-family: Garamond;
  font-style: normal;
  font-variant: normal;

  font-size: 18px;
  font-weight: 400;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-image: radial-gradient(#a0a0a0, #9a9a9a);
  text-align: center;
}

.section-header {
  font-family: Garamond;
  font-style: normal;
  font-variant: normal;
  display: inline-block;
  margin-block-start: .8em;
  margin-block-end: .2em;
  border-radius: 6px;
  padding: 3px 15px;
  font-size: 24px;
  font-weight: 600;
  color: #EEE;
  background-color: #797979;
}

ul {
  margin-block-start: 0.25em;
}

.comments {
  margin-top: 20px;
}

.comments h3 {
  margin-bottom: 10px;
}

.comments ul {
  list-style-type: none;
  padding: 0;
}

.comments li {
  padding: 5px;
  border: 0px solid #ddd;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  -khtml-border-radius: 6px;
  border-radius: 6px;
  display: inline-flex;
  white-space: pre-line;
  width: 99%;
  line-height: 16px;
}

.comments li:nth-child(odd) {
  background-color: #e9e9e9;
  /* Background color for even-numbered comments */
}

.comments li:last-child {
  border-bottom: none;
}

.device-note {
  font-weight: 300;
  display: inline-block;
  margin-left: 5px;
}

.device-note span {
  font-weight: 300;
}

.comment-date {
  font-size: 0.8em;
  color: #777;
  margin-right: 10px;
  display: table-cell;
  min-width: 65px;
  white-space: normal;
}

.comment-delete, .comment-edit {
  font-size: 0.8em;
  color: #777;
  margin-right: 10px;
  display: table-row;
  width: 30px;
  white-space: normal;
  margin-top: 1px;
}

.sold-indicator {
  max-width: 90px;
  position: absolute;
  top: 10px;
  right: 15px;
}

.sold-list-indicator {
  max-width: 80px;
  max-height: 80px;
}

.status-indicator {
  max-width: 90px;
  position: absolute;
  top: 10px;
  right: 190px;
  font-size: 40px;
}

.yellow {
  color: rgb(218, 196, 2);
}

.green {
  color: rgb(34, 153, 30);
}

.money-green {
  color: rgb(17, 74, 15);
}

.red {
  color: rgb(176, 0, 0);
}



.sort-green {
  color: #5EBD3E;
}

.sort-red {
  color: rgb(176, 0, 0);
}

.apple-green {
  color: #5EBD3E;
}

.apple-yellow {
  color: #FFB900;
}

.apple-orange {
  color: #F78200;
}

.apple-red {
  color: #E23838;
}

.apple-purple {
  color: #973999;
}

.apple-blue {
  color: #009CDF;
}

.apple-gray {
  color: #666666;
}

/* Pending sale icon - cart with clock overlay */
.pending-sale-icon {
  position: relative;
  display: inline-block;
}

.pending-sale-icon::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="white" stroke="%23666" stroke-width="2"/><path d="M12 6v6l4 2" stroke="%23666" stroke-width="2" fill="none" stroke-linecap="round"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
}

.functional-used-lately {
  color: #256211;
}

.functional-used-last-six-months {
  color: #588219;
}

.functional-used-last-year {
  color: #83a78b;
}

.functional-not-used-lately {
  color: #babdbc;
}

.functional-not-working {
  color: #823737;
}

input[type=file]::file-selector-button {
  border: 2px solid #6c5ce7;
  padding: 2em 4em;
  border-radius: .2em;
  background-color: #a29bfe;
  transition: 1s;
}

input[type=file]::file-selector-button:hover {
  background-color: #81ecec;
  border: 2px solid #00cec9;
}

/* small screens ----------- */


/* @media screen and (prefers-color-scheme: light) {
  body {
    background-color: #DFDFDF;
  }
} */

/* @media (prefers-color-scheme: dark) {

    body 
    {
      background-color: #111111;
    }

} */



/***************************************************** Small Screens and Touch Devices *************************************************/


@media (hover: none), (max-width: 1000px) {


  .container {
    line-height: normal;
    font-size: 36px;
  }

  .page-title {
    font-size: x-large;
    text-align: center;
  }

  .site-title {
    margin: 7;
    font-size: x-large;
  }

  .no-favorites {
    width: 70%;
    font-size: large;
  }

  .spinner {
    left: 35%;
  }


  /* Modal Content/Box */
  .modal-content {
    margin: 2px auto;
    /* 15% from the top and centered */
    padding: 5px;
    width: 300px;
    /* Could be more or less, depending on screen size */
  }

  th {
    padding: 2px;
    background-color: #434971ea;
    color: #fff;
  }

  th .secondary_data {
    display: none;
  }

  .device-column {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  td {
    padding: 6px 2px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
  }

  .secondary_data {
    display: none;
  }

  table td .additional-name {
    font-size: 18px;
  }

  li {
    line-height: initial;
  }

  .comments li {
    font-size: 40px;
    line-height: 40px;
  }

  label.popup-label {
    font-size: 48px;
  }

  .popup-text {
    font-size: 24px;
  }

  .data-pair {
    display: inline-block;
    width: 100%;
  }

  .data-point {
    display: inline-block;
    width: 100%;
    font-size: 32px;
  }

  .displayValue > i {
    font-size: 3.0rem;
  }

  .header-add {
    font-size: 48px;
  }

  .photos {
    font-size: 48px;
  }

  .comments {
    font-size: 48px;
  }

  .box-caption {
    font-size: 40px;
  }

  h6.box-caption {
    font-size: 16px;
  }


  h6.thumb-large{
    font-size: 24px;
  }

  .box-img.thumb-small {
    width: 200px;
    height: 200px;
  }

  .box-img.thumb-large {
    width: 300px;
    height: 300px;
  }  

  .box-grid {
    grid-template-columns: repeat(auto-fill, minmax(315px, 1fr));
    grid-gap: .5rem;
  }

  .box-grid.thumb-small {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    grid-gap: .2rem;
  }


  .data-single-point {
    padding-top: 15px;
    display: inline-block;
    width: 100%;
    font-size: 32px;
  }

  .view-label {
    display: inline-block;
    text-align: left;
    width: 35%;
    font-size: 32px;
    line-height: 40px;
    padding: 15px 5px;
  }

  .section-header {
    line-height: 60px;
    font-size: 48px;
  }

  .device-additional-name {
    font-size: 36px;
    line-height: normal;
  }

  .comment-delete {
    display: table-row;
    min-width: 80px;
  }

  .comment-edit {
    display: table-row;
    min-width: 80px;
  }

  input.editMode {
    width: 100%;
  }

  form textarea.editMode {
    width: 100%;
    resize: vertical;
    max-width: 100%;
  }

  div .pop-up {
    top: 0.3%;
    left: 2%;
    transform: none;
    width: 87%;
    height: 93%;
    background-color: #6f6e6e;
    color: #f3f3f3;
  }

  div .centered-popup {
    top: 25.3%;
    height: auto;
  }

  .input-label.popup {
    display: block;
    text-align: left;
    color: #f3f3f3;
  }

  .note-entry {
    max-width: 100%;
    max-height: 85%;
    height: 85%;
    width: 98%;
    font-size: 28px;
    resize: none
  }

  label, input, button, select, textarea {
    font-size: 36px;
    line-height: 40px;
  }

  select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    font-size: 36px;
    line-height: 40px;
    height: auto;
  }

  input.image-caption {
    width: 98%;
  }

  .file-target {
    display: inline-block;
    height: 280px;
  }

  .file-upload-button {
    height: 200px;
  } 

  input[type="file"] {
    height: 200px;
    line-height: normal;
  }


  .viewButton.viewMode {
    font-size: 60px;
    padding: 5px 20px;
  }    

  .status-indicator {
    font-size: 60px;
  }

  .computer .device-name {
    font-size: 60px;
  }

  ul[role=menu-bar] {
    margin-top: 20px;
  }

  ul[role=menu] {
    min-width: 350px;
  }

  li[role=menu-item] {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  ul[role=menu-bar]>[role=menu-item] {
    padding: 2px 30px;
  }

  .well {
    padding-left: 20px;
  }

  .header-logo {
    height:60px;
    width:60px;
    margin-top: 15px;
  }

  .store-left-column {
    height: auto;
    width: 100%;
  }

  .store-right-column {
    height: auto;
    width: 100%;
    margin-top: 10px;
    float: inline-start;
  }
  
  .table-filter {
    padding-left: 20px;
    }

  .new-button > i {
    font-size: 5.5rem;
  }

  .viewButton > i {
    font-size: 3.0rem;
  }

  .editButton > i {
    font-size: 3.0rem;
  }

  .edit-button {
    font-size: 48px;
  }

  .detail-button {
    font-size: 3.0rem;
  }

  .store-button {
    font-size: 5.0rem;
  }

  .image-button {
    font-size: 2.5rem;
  }

  .lead {
    font-size: 36px;
    line-height: 42px;
    margin-bottom: 5px;
  }

  .store-device-name {
    font-size: 48px;
    line-height: 52px;
    margin-bottom: 15px;
  }

  .store-detail-group h3 {
    margin: 0 0 1.5rem 0;
    font-size: 3.0rem;
    }

  .store-additional-info {
    font-size: 1.5rem;  
  }

  .store-device-details {
    margin: 1.5rem 0;
  }

  .store-detail-item {
    font-size: 1.5rem;
  }

  .detail-label {
    flex: 0 0 220px; 
  }
  .detail-wider-label {
    flex: 0 0 270px; 
  }

  /* .store-detail-group {
    display: none;
  } */

  .modal {
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    margin-left: 0px;
  }

  .container label {
    width: 100px;
  }

  .btn-large {
    font-size: 4.0rem;
    height: 5.0rem;
  }

  .navbar .brand {
    font-size: 48px;
    padding-bottom: 0px;
  }

  a.brand {
    text-decoration: none;
  }

  .header-text {
    display: none;
  }

  li {
    font-size: 40px;
    }


  table {
    font-size: 24px;
  }

  .table-totals {
    font-size: 22px;
  }

  .new-button {
    padding-top: 10px;
  }

  .filter-icon {
    padding-top: 20px;
  }


  .device-note {
    font-size: 24px;
    line-height: 26px;
    display: table-cell;
    margin-right: 90px;
    }

    .comment-date {
      font-size: 24px;
      line-height: 26px;
      }


}

/******************************************************** PRINT ********************************************************/

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

  .modal-content {
    margin: 2px auto;
    /* 15% from the top and centered */
    padding: 5px;
    width: 210;
    height: 300;
  }

  .secondary_data {
    display: none;
  }

}


.print-sold-indicator {
  height: 15px;
}


@media print {

  .main-devices {
    display:block; 

  }

  thead
th {
  background-color: #888;
}

  .navbar  {
    visibility: hidden;
    display: none;
  }

  .viewButton {
    visibility: hidden;
    display: none;
  }

  .status-indicator {
    display: inline-block;
  }

  .no-print {
    visibility: hidden;
    display: none;
  }

  td {
    color:#000;
    font-size: 8px;
  }  

  table td .additional-name {
    font-size: 8px;
    color:#686868;
  }


  th {
    color:#000;
  }

  .device-row.true td {
    background-color: #edeb8fa9 !important;
  }

  
  .model-number {
    font-size: 8px;
  }

  table.device-page {
    page-break-before: always!important;
  }

  table.device-page .data-point {
    page-break-inside: avoid!important;
  }

  .no-break {
    page-break-inside: avoid!important;
  }

  thead {display: table-header-group;}

  table.device-list {
    background-color: #ffffff;
  }
  table.device-list th, table.device-list td {
    border: 1px solid black;
    border-color: #606060;
    page-break-inside: avoid;
  }


  .device-image-print {
    page-break-inside: avoid!important;
    margin: 2px;
    width: 220px;
    height: 220px;
    object-fit:contain;
  }

  .pagebreak {
    clear: both;
    page-break-after: always;
}

.row:before, .row:after {
  display:block;
}

.container {
  display:block;
}

.container:before, .container:after {
  display:block;
}

  .section-header {
    font-size: 16pt;
    color:#333;
    display: inline-block;
    margin-block-start: .8em;
    margin-block-end: .2em;
    border:none;
  /* padding: 3px 15px; */
    font-size: 16px;
    font-weight:normal;
    background-color:transparent;
  }

  .comment-date {
    color:#333;
  }

  .view-label {
    font-size: 8pt;
  }
  .displayValue {
    font-size: 8pt;
  }

  .device-page .device-additional-name {
    font-size: 12pt;
    }

  .view-label {
    margin-right: 3px;
    width: 150px;
  }
  .data-point {
    margin: 1px 0;
  }

  .comments li {
    font-size: 8pt;
  }

  .section-header {
    margin-block-start: 0;
    margin-block-end: 0;
 }
.box-img {
  page-break-inside: avoid;
}

 .box-img.thumb-large {
  width: 200px;
  height: 200px;
}  
.box-img.thumb-small {
  width: 200px;
  height: 200px;
}  
.box-grid.thumb-small {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  grid-gap: .3rem;
}

.computer {
  border: 0px;
  padding: 0px; 
  page-break-before: always;
}

.well {
  padding: 0px;
  margin-bottom: 0px;
}

.comment-date {
  width: 60px; 
}

.device-list {
  margin-bottom: 8px;
}

.row {
  margin-left: 3px;
}

.sort-green {
  color: #000;
}

.sort-red {
  color:#000;
}

}

.pending-sale-icon::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="white" stroke="%23666" stroke-width="2"/><path d="M12 6v6l4 2" stroke="%23666" stroke-width="2" fill="none" stroke-linecap="round"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
}

/* Pending sale price overlay for store page */
.pending-sale-price-overlay {
  position: absolute;
  top: 25px;
  left: 22px;
  right: 2px;
  bottom: 25px;
  background-color: rgba(255, 187, 0, 0.6);
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.75em;
  border-radius: 4px;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
  transform: rotate(-8deg);
  border: 2px solid rgba(255, 140, 0, 0.8);
  padding: 2px 4px;
}

.pending-sale-notice {
  color: rgb(255, 187, 0);
}