@media (hover: none) {
  [title] {
    position: relative;
    display: inline-flex;
    justify-content: center;
  }
  [title]:focus::after {
    content: attr(title);
    position: absolute;
    top: -2px;
    color: #000;
    background-color: #fff;
    border: 1px solid;
    width: fit-content;
    padding: 3px;
  }
}

body {
  overflow-y: scroll;
}

.image-thumb {
  border: 1px solid #c0c0c0;
  border-radius: 4px;
  padding: 5px;
  margin-right:4px;
  height:85px;
  width: 130px;
  object-fit:scale-down;
}

/* not used may delete later */
#gradred {
/*  background: linear-gradient(to right, rgba(255,0,0,1), rgba(255,0,0,0) 2%);
  height: 120px; */
  background: red;
}

.status {
  width: 7px !important;
  max-width: 7px !important;
  min-width: 7px !important;
  padding: 0;
}

.nowrap {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.wpx-50 {
  min-width:50px!important;
}
.wpx-200 {
  min-width:200px!important;
}
.wpx-250 {
  min-width:250px!important;
}
.wpx-300 {
  min-width:300px!important;
}
.wpx-400 {
  width:400px!important;
  min-width:400px!important;
  max-width:400px!important;
}

.font14 {
  font-size: 14px !important;
}
.font13 {
  font-size: 13px !important;
}
.font12 {
  font-size: 12px !important;
}
.font11 {
  font-size: 11px !important;
}
.font10 {
  font-size: 10px !important;
}
.font9 {
  font-size: 9px !important;
}

.btn, .form-control {
  border-radius: 0;
}

.bg-custom {
  background-color: #dddddd;
}

input[type="text"][readonly] {
  color: #777777; /* Text color for readonly input */
  background-color: #f3f3f3; /* Light grey background for readonly */
  outline: none;
}

.custom-col {
  flex: 0 0 12.5%; /* Each column takes up 12.5% of the row */
  max-width: 12.5%;
}

.navbar-search-form {
  margin-right: 1rem;
}

@media (max-width: 991.98px) {
  .navbar-search-form {
    margin-right: 0;
  }
}

.image-add-tile {
  border: 2px dashed #999;
  border-radius: 4px;
  margin-right:4px;
  height:85px;
  width:130px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#888;
  font-size:36px;
  background-color:transparent;
  cursor:pointer;
  user-select:none;
}
.image-add-tile.disabled {
  cursor:not-allowed;
  opacity:0.6;
}

.image-thumb-wrapper {
  position: relative;
  display: inline-block;
  margin-right: 4px;
}
.image-thumb-delete {
  position: absolute !important;
  bottom: 2px;
  right: 6px;
  width: 22px !important;
  height: 22px !important;
  padding: 0;
  padding-top: 1px !important;
  margin: 0;
  border: none;
  border-radius: 4px;
  background: rgba(255,255,255,0.6);
  color: #dc3545 !important;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 2;
  box-sizing: border-box;
}
.image-thumb-delete:disabled {
  opacity: 0.6;
  cursor: default;
}

/* Dark background for checkboxes */
.form-check-input[type="checkbox"] {
  background-color: #2d3035;
  border-color: #495057;
}

.form-check-input[type="checkbox"]:checked {
  background-color: #2d3035;
  border-color: #0d6efd;
}